Interface DefaultServiceAccountOrBuilder (3.83.0)

public interface DefaultServiceAccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getServiceAccountEmail()

public abstract String getServiceAccountEmail()

Output only. The email address of the service account identity that will be used for a build by default.

This is returned in the format projects/{project}/serviceAccounts/{service_account} where {service_account} could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.

If no service account will be used by default, this will be empty.

string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The serviceAccountEmail.

getServiceAccountEmailBytes()

public abstract ByteString getServiceAccountEmailBytes()

Output only. The email address of the service account identity that will be used for a build by default.

This is returned in the format projects/{project}/serviceAccounts/{service_account} where {service_account} could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER]-compute@developer.gserviceaccount.com.

If no service account will be used by default, this will be empty.

string service_account_email = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for serviceAccountEmail.