pub struct ServiceAccount {
pub name: String,
pub display_name: String,
pub member: String,
pub state: i32,
pub creator: String,
pub create_time: Option<Timestamp>,
pub delete_time: Option<Timestamp>,
pub type: i32,
}Expand description
A credential of an organization for software.
Fields§
§name: StringThe service account’s resource name.
display_name: StringA name of your own, shown in the console; at most 100 characters.
member: StringThe service account’s full name,
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
which a role binding names it by as a member.
state: i32Where the service account is in its lifecycle.
creator: StringThe full name of who created the service account: //iam.origincloudapis.eu/users/{user},
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
//iam.origincloudapis.eu/serviceAgents/{service_agent} for a platform
service agent, or //iam.origincloudapis.eu/services/{service} for a
change the platform made itself.
create_time: Option<Timestamp>When the service account was created.
delete_time: Option<Timestamp>When the service account was deleted; unset while it is active.
type: i32How the service account authenticates; service_account::Type::External when the create
leaves it unset.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceAccount
impl Clone for ServiceAccount
Source§impl Debug for ServiceAccount
impl Debug for ServiceAccount
Source§impl Default for ServiceAccount
impl Default for ServiceAccount
Source§impl<'de> Deserialize<'de> for ServiceAccount
impl<'de> Deserialize<'de> for ServiceAccount
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>,
impl Eq for ServiceAccount
Source§impl Hash for ServiceAccount
impl Hash for ServiceAccount
Source§impl Message for ServiceAccount
impl Message for ServiceAccount
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ServiceAccount
impl PartialEq for ServiceAccount
Source§impl Serialize for ServiceAccount
impl Serialize for ServiceAccount
impl StructuralPartialEq for ServiceAccount
Auto Trait Implementations§
impl Forget for ServiceAccount
impl Freeze for ServiceAccount
impl Move for ServiceAccount
impl RefUnwindSafe for ServiceAccount
impl Send for ServiceAccount
impl Sync for ServiceAccount
impl Unpin for ServiceAccount
impl UnsafeUnpin for ServiceAccount
impl UnwindSafe for ServiceAccount
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.