#[non_exhaustive]pub struct DefaultServiceAccount {
pub name: String,
pub service_account_email: String,
/* private fields */
}Expand description
The default service account used for Builds.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIdentifier. Format:
projects/{project}/locations/{location}/defaultServiceAccount
service_account_email: StringOutput 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.
Implementations§
Source§impl DefaultServiceAccount
impl DefaultServiceAccount
Trait Implementations§
Source§impl Clone for DefaultServiceAccount
impl Clone for DefaultServiceAccount
Source§fn clone(&self) -> DefaultServiceAccount
fn clone(&self) -> DefaultServiceAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DefaultServiceAccount
impl Debug for DefaultServiceAccount
Source§impl Default for DefaultServiceAccount
impl Default for DefaultServiceAccount
Source§fn default() -> DefaultServiceAccount
fn default() -> DefaultServiceAccount
Returns the “default value” for a type. Read more
Source§impl Message for DefaultServiceAccount
impl Message for DefaultServiceAccount
Source§impl PartialEq for DefaultServiceAccount
impl PartialEq for DefaultServiceAccount
impl StructuralPartialEq for DefaultServiceAccount
Auto Trait Implementations§
impl Freeze for DefaultServiceAccount
impl RefUnwindSafe for DefaultServiceAccount
impl Send for DefaultServiceAccount
impl Sync for DefaultServiceAccount
impl Unpin for DefaultServiceAccount
impl UnwindSafe for DefaultServiceAccount
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more