Interface CreateServiceAccountRequestOrBuilder (3.2.0)

public interface CreateServiceAccountRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountId()

public abstract 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 to comply with RFC1035.

string account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The accountId.

getAccountIdBytes()

public abstract 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 to comply with RFC1035.

string account_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for accountId.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getServiceAccount()

public abstract ServiceAccount getServiceAccount()

The 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
TypeDescription
ServiceAccount

The serviceAccount.

getServiceAccountOrBuilder()

public abstract ServiceAccountOrBuilder getServiceAccountOrBuilder()

The 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
TypeDescription
ServiceAccountOrBuilder

hasServiceAccount()

public abstract boolean hasServiceAccount()

The 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
TypeDescription
boolean

Whether the serviceAccount field is set.