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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OsLoginServiceGrpc.OsLoginServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey>
createSshPublicKey(CreateSshPublicKeyRequest request)
Create an SSH public keycom.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deletePosixAccount(DeletePosixAccountRequest request)
Deletes a POSIX account.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deleteSshPublicKey(DeleteSshPublicKeyRequest request)
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>
importSshPublicKey(ImportSshPublicKeyRequest request)
Adds an SSH public key and returns the profile information.com.google.common.util.concurrent.ListenableFuture<OsLoginProto.SshPublicKey>
updateSshPublicKey(UpdateSshPublicKeyRequest request)
Updates an SSH public key and returns the profile information.
-
-
-
Method Detail
-
build
protected OsLoginServiceGrpc.OsLoginServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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.
-
-