Package com.google.cloud.oslogin.v1
Class OsLoginServiceGrpc.OsLoginServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<OsLoginServiceGrpc.OsLoginServiceBlockingStub>
-
- com.google.cloud.oslogin.v1.OsLoginServiceGrpc.OsLoginServiceBlockingStub
-
- Enclosing class:
- OsLoginServiceGrpc
public static final class OsLoginServiceGrpc.OsLoginServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<OsLoginServiceGrpc.OsLoginServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service OsLoginService.Cloud OS Login API The Cloud OS Login API allows you to manage users and their associated SSH public keys for logging into virtual machines on Google Cloud Platform.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OsLoginServiceGrpc.OsLoginServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
OsLoginProto.SshPublicKey
createSshPublicKey(CreateSshPublicKeyRequest request)
Create an SSH public keycom.google.protobuf.Empty
deletePosixAccount(DeletePosixAccountRequest request)
Deletes a POSIX account.com.google.protobuf.Empty
deleteSshPublicKey(DeleteSshPublicKeyRequest request)
Deletes an SSH public key.LoginProfile
getLoginProfile(GetLoginProfileRequest request)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.OsLoginProto.SshPublicKey
getSshPublicKey(GetSshPublicKeyRequest request)
Retrieves an SSH public key.ImportSshPublicKeyResponse
importSshPublicKey(ImportSshPublicKeyRequest request)
Adds an SSH public key and returns the profile information.OsLoginProto.SshPublicKey
updateSshPublicKey(UpdateSshPublicKeyRequest request)
Updates an SSH public key and returns the profile information.
-
-
-
Method Detail
-
build
protected OsLoginServiceGrpc.OsLoginServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<OsLoginServiceGrpc.OsLoginServiceBlockingStub>
-
createSshPublicKey
public OsLoginProto.SshPublicKey createSshPublicKey(CreateSshPublicKeyRequest request)
Create an SSH public key
-
deletePosixAccount
public com.google.protobuf.Empty deletePosixAccount(DeletePosixAccountRequest request)
Deletes a POSIX account.
-
deleteSshPublicKey
public com.google.protobuf.Empty deleteSshPublicKey(DeleteSshPublicKeyRequest request)
Deletes an SSH public key.
-
getLoginProfile
public LoginProfile getLoginProfile(GetLoginProfileRequest request)
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
-
getSshPublicKey
public OsLoginProto.SshPublicKey getSshPublicKey(GetSshPublicKeyRequest request)
Retrieves an SSH public key.
-
importSshPublicKey
public ImportSshPublicKeyResponse importSshPublicKey(ImportSshPublicKeyRequest request)
Adds an SSH public key and returns the profile information. Default POSIX account information is set when no username and UID exist as part of the login profile.
-
updateSshPublicKey
public OsLoginProto.SshPublicKey updateSshPublicKey(UpdateSshPublicKeyRequest request)
Updates an SSH public key and returns the profile information. This method supports patch semantics.
-
-