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.
 
  • Method Details

    • build

      protected OsLoginServiceGrpc.OsLoginServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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

      public LoginProfile getLoginProfile(GetLoginProfileRequest request) throws io.grpc.StatusException
       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