public interface CreateServiceAccountRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the serviceAccount field is set. |