Package com.google.cloud.oslogin.v1
Class OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub>
com.google.cloud.oslogin.v1.OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub
- Enclosing class:
- OsLoginServiceGrpc
public static final class OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub>
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Create an SSH public keycom.google.protobuf.EmptyDeletes a POSIX account.com.google.protobuf.EmptyDeletes an SSH public key.getLoginProfile(GetLoginProfileRequest request) Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.getSshPublicKey(GetSshPublicKeyRequest request) Retrieves an SSH public key.Adds an SSH public key and returns the profile information.Updates an SSH public key and returns the profile information.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub>
-
createSshPublicKey
public OsLoginProto.SshPublicKey createSshPublicKey(CreateSshPublicKeyRequest request) throws io.grpc.StatusException Create an SSH public key
- Throws:
io.grpc.StatusException
-
deletePosixAccount
public com.google.protobuf.Empty deletePosixAccount(DeletePosixAccountRequest request) throws io.grpc.StatusException Deletes a POSIX account.
- Throws:
io.grpc.StatusException
-
deleteSshPublicKey
public com.google.protobuf.Empty deleteSshPublicKey(DeleteSshPublicKeyRequest request) throws io.grpc.StatusException Deletes an SSH public key.
- Throws:
io.grpc.StatusException
-
getLoginProfile
Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
- Throws:
io.grpc.StatusException
-
getSshPublicKey
public OsLoginProto.SshPublicKey getSshPublicKey(GetSshPublicKeyRequest request) throws io.grpc.StatusException Retrieves an SSH public key.
- Throws:
io.grpc.StatusException
-
importSshPublicKey
public ImportSshPublicKeyResponse importSshPublicKey(ImportSshPublicKeyRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
updateSshPublicKey
public OsLoginProto.SshPublicKey updateSshPublicKey(UpdateSshPublicKeyRequest request) throws io.grpc.StatusException Updates an SSH public key and returns the profile information. This method supports patch semantics.
- Throws:
io.grpc.StatusException
-