Struct google_api_proto::google::cloud::policytroubleshooter::iam::v3::AccessTuple
source · pub struct AccessTuple {
pub principal: String,
pub full_resource_name: String,
pub permission: String,
pub permission_fqdn: String,
pub condition_context: Option<ConditionContext>,
}
Expand description
Information about the principal, resource, and permission to check.
Fields§
§principal: String
Required. The email address of the principal whose access you want to
check. For example, alice@example.com
or
my-service-account@my-project.iam.gserviceaccount.com
.
The principal must be a Google Account or a service account. Other types of principals are not supported.
full_resource_name: String
Required. The full resource name that identifies the resource. For example,
//compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance
.
For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.
permission: String
Required. The IAM permission to check for, either in the v1
permission
format or the v2
permission format.
For a complete list of IAM permissions in the v1
format, see
https://cloud.google.com/iam/help/permissions/reference.
For a list of IAM permissions in the v2
format, see
https://cloud.google.com/iam/help/deny/supported-permissions.
For a complete list of predefined IAM roles and the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.
permission_fqdn: String
Output only. The permission that Policy Troubleshooter checked for, in
the v2
format.
condition_context: Option<ConditionContext>
Optional. Additional context for the request, such as the request time or IP address. This context allows Policy Troubleshooter to troubleshoot conditional role bindings and deny rules.
Trait Implementations§
source§impl Clone for AccessTuple
impl Clone for AccessTuple
source§fn clone(&self) -> AccessTuple
fn clone(&self) -> AccessTuple
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccessTuple
impl Debug for AccessTuple
source§impl Default for AccessTuple
impl Default for AccessTuple
source§impl Message for AccessTuple
impl Message for AccessTuple
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 AccessTuple
impl PartialEq for AccessTuple
source§fn eq(&self, other: &AccessTuple) -> bool
fn eq(&self, other: &AccessTuple) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessTuple
Auto Trait Implementations§
impl Freeze for AccessTuple
impl RefUnwindSafe for AccessTuple
impl Send for AccessTuple
impl Sync for AccessTuple
impl Unpin for AccessTuple
impl UnwindSafe for AccessTuple
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