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 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
Source§impl<'de> Deserialize<'de> for DefaultServiceAccount
impl<'de> Deserialize<'de> for DefaultServiceAccount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for DefaultServiceAccount
impl Serialize for DefaultServiceAccount
impl ResponseResult 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more