public sealed class DefaultServiceAccount : IMessage<DefaultServiceAccount>, IEquatable<DefaultServiceAccount>, IDeepCloneable<DefaultServiceAccount>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Build v1 API class DefaultServiceAccount.
The default service account used for Builds.
Implements
IMessageDefaultServiceAccount, IEquatableDefaultServiceAccount, IDeepCloneableDefaultServiceAccount, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
DefaultServiceAccount()
public DefaultServiceAccount()DefaultServiceAccount(DefaultServiceAccount)
public DefaultServiceAccount(DefaultServiceAccount other)| Parameter | |
|---|---|
| Name | Description |
other |
DefaultServiceAccount |
Properties
DefaultServiceAccountName
public DefaultServiceAccountName DefaultServiceAccountName { get; set; }DefaultServiceAccountName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
DefaultServiceAccountName |
|
Name
public string Name { get; set; }Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceAccountEmail
public string ServiceAccountEmail { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
ServiceAccountEmailAsServiceAccountName
public ServiceAccountName ServiceAccountEmailAsServiceAccountName { get; set; }ServiceAccountName-typed view over the ServiceAccountEmail resource name property.
| Property Value | |
|---|---|
| Type | Description |
ServiceAccountName |
|