Interface CreateSshPublicKeyRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CreateSshPublicKeyRequest, CreateSshPublicKeyRequest.Builder

    public interface CreateSshPublicKeyRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getParent

        String getParent()
         Required. The unique ID for the user in format `users/{user}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The unique ID for the user in format `users/{user}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasSshPublicKey

        boolean hasSshPublicKey()
         Required. The SSH public key and expiration time.
         
        .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the sshPublicKey field is set.
      • getSshPublicKey

        OsLoginProto.SshPublicKey getSshPublicKey()
         Required. The SSH public key and expiration time.
         
        .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The sshPublicKey.
      • getSshPublicKeyOrBuilder

        OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()
         Required. The SSH public key and expiration time.
         
        .google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];