Interface CreateServiceAccountRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getAccountId()
      Required.
      com.google.protobuf.ByteString getAccountIdBytes()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      ServiceAccount getServiceAccount()
      The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create.
      ServiceAccountOrBuilder getServiceAccountOrBuilder()
      The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create.
      boolean hasServiceAccount()
      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 Detail

      • 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;