Struct google_api_proto::google::cloud::audit::AuthenticationInfo
source · pub struct AuthenticationInfo {
pub principal_email: String,
pub authority_selector: String,
pub third_party_principal: Option<Struct>,
pub service_account_key_name: String,
pub service_account_delegation_info: Vec<ServiceAccountDelegationInfo>,
pub principal_subject: String,
}
Expand description
Authentication information for the operation.
Fields§
§principal_email: String
The email address of the authenticated user (or service account on behalf
of third party principal) making the request. For third party identity
callers, the principal_subject
field is populated instead of this field.
For privacy reasons, the principal email address is sometimes redacted.
For more information, see Caller identities in audit
logs.
The authority selector specified by the requestor, if any. It is not guaranteed that the principal was allowed to use this authority.
third_party_principal: Option<Struct>
The third party identification (if any) of the authenticated user making
the request.
When the JSON object represented here has a proto equivalent, the proto
name will be indicated in the @type
property.
service_account_key_name: String
The name of the service account key used to create or exchange credentials for authenticating the service account making the request. This is a scheme-less URI full resource name. For example:
“//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}”
service_account_delegation_info: Vec<ServiceAccountDelegationInfo>
Identity delegation history of an authenticated service account that makes the request. It contains information on the real authorities that try to access GCP resources by delegating on a service account. When multiple authorities present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
principal_subject: String
String representation of identity of requesting party. Populated for both first and third party identities.
Trait Implementations§
source§impl Clone for AuthenticationInfo
impl Clone for AuthenticationInfo
source§fn clone(&self) -> AuthenticationInfo
fn clone(&self) -> AuthenticationInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuthenticationInfo
impl Debug for AuthenticationInfo
source§impl Default for AuthenticationInfo
impl Default for AuthenticationInfo
source§impl Message for AuthenticationInfo
impl Message for AuthenticationInfo
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 AuthenticationInfo
impl PartialEq for AuthenticationInfo
source§fn eq(&self, other: &AuthenticationInfo) -> bool
fn eq(&self, other: &AuthenticationInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AuthenticationInfo
Auto Trait Implementations§
impl Freeze for AuthenticationInfo
impl RefUnwindSafe for AuthenticationInfo
impl Send for AuthenticationInfo
impl Sync for AuthenticationInfo
impl Unpin for AuthenticationInfo
impl UnwindSafe for AuthenticationInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request