Interface CreateServiceAccountRequestOrBuilder

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

@Generated public interface CreateServiceAccountRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create.
    The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create.
    boolean
    The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. The resource name of the project associated with the service
       accounts, such as `projects/my-project-123`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the project associated with the service
       accounts, such as `projects/my-project-123`.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for name.
    • getAccountId

      String getAccountId()
       Required. The account id that is used to generate the service account
       email address and a stable unique id. It is unique within a project,
       must be 6-30 characters long, and match the regular expression
       `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
       
      string account_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The accountId.
    • getAccountIdBytes

      com.google.protobuf.ByteString getAccountIdBytes()
       Required. The account id that is used to generate the service account
       email address and a stable unique id. It is unique within a project,
       must be 6-30 characters long, and match the regular expression
       `[a-z]([-a-z0-9]*[a-z0-9])` to comply with RFC1035.
       
      string account_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for accountId.
    • hasServiceAccount

      boolean hasServiceAccount()
       The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
       create. Currently, only the following values are user assignable:
       `display_name` and `description`.
       
      .google.iam.admin.v1.ServiceAccount service_account = 3;
      Returns:
      Whether the serviceAccount field is set.
    • getServiceAccount

      ServiceAccount getServiceAccount()
       The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
       create. Currently, only the following values are user assignable:
       `display_name` and `description`.
       
      .google.iam.admin.v1.ServiceAccount service_account = 3;
      Returns:
      The serviceAccount.
    • getServiceAccountOrBuilder

      ServiceAccountOrBuilder getServiceAccountOrBuilder()
       The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to
       create. Currently, only the following values are user assignable:
       `display_name` and `description`.
       
      .google.iam.admin.v1.ServiceAccount service_account = 3;