Package com.google.cloud.oslogin.v1
Class OsLoginServiceGrpc.OsLoginServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<OsLoginServiceGrpc.OsLoginServiceFutureStub>
com.google.cloud.oslogin.v1.OsLoginServiceGrpc.OsLoginServiceFutureStub
- Enclosing class:
- OsLoginServiceGrpc
public static final class OsLoginServiceGrpc.OsLoginServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<OsLoginServiceGrpc.OsLoginServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey>Create an SSH public keycom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes a POSIX account.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes an SSH public key.com.google.common.util.concurrent.ListenableFuture<LoginProfile>getLoginProfile(GetLoginProfileRequest request) Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey>getSshPublicKey(GetSshPublicKeyRequest request) Retrieves an SSH public key.com.google.common.util.concurrent.ListenableFuture<ImportSshPublicKeyResponse>Adds an SSH public key and returns the profile information.com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey>Updates an SSH public key and returns the profile information.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.OsLoginServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OsLoginServiceGrpc.OsLoginServiceFutureStub>
-
createSshPublicKey
public com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey> createSshPublicKey(CreateSshPublicKeyRequest request) Create an SSH public key
-
deletePosixAccount
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePosixAccount(DeletePosixAccountRequest request) Deletes a POSIX account.
-
deleteSshPublicKey
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteSshPublicKey(DeleteSshPublicKeyRequest request) Deletes an SSH public key.
-
getLoginProfile
public com.google.common.util.concurrent.ListenableFuture<LoginProfile> getLoginProfile(GetLoginProfileRequest request) Retrieves the profile information used for logging in to a virtual machine on Google Compute Engine.
-
getSshPublicKey
public com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey> getSshPublicKey(GetSshPublicKeyRequest request) Retrieves an SSH public key.
-
importSshPublicKey
public com.google.common.util.concurrent.ListenableFuture<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 com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey> updateSshPublicKey(UpdateSshPublicKeyRequest request) Updates an SSH public key and returns the profile information. This method supports patch semantics.
-