pub struct DefaultServiceAccount {
pub name: Option<String>,
pub service_account_email: Option<String>,
}Expand description
The default service account used for Builds.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§name: Option<String>Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
service_account_email: Option<String>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.
Trait Implementations§
Source§impl Clone for DefaultServiceAccount
impl Clone for DefaultServiceAccount
Source§fn clone(&self) -> DefaultServiceAccount
fn clone(&self) -> DefaultServiceAccount
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more