[−][src]Struct google_policytroubleshooter1::GoogleCloudPolicytroubleshooterV1BindingExplanation
Details about how a binding in a policy affects a member's ability to use a permission.
This type is not used in any activity, and only used as part of another schema.
Fields
access: Option<String>
Required. Indicates whether this binding provides the specified permission to the specified member for the specified resource.
This field does not indicate whether the member actually has the
permission for the resource. There might be another binding that overrides
this binding. To determine whether the member actually has the permission,
use the access
field in the
TroubleshootIamPolicyResponse.
memberships: Option<HashMap<String, GoogleCloudPolicytroubleshooterV1BindingExplanationAnnotatedMembership>>
Indicates whether each member in the binding includes the member specified in the request, either directly or indirectly. Each key identifies a member in the binding, and each value indicates whether the member in the binding includes the member in the request.
For example, suppose that a binding includes the following members:
user:alice@example.com
group:product-eng@example.com
You want to troubleshoot access for user:bob@example.com
. This user is a
member of the group group:product-eng@example.com
.
For the first member in the binding, the key is user:alice@example.com
,
and the membership
field in the value is set to
MEMBERSHIP_NOT_INCLUDED
.
For the second member in the binding, the key is
group:product-eng@example.com
, and the membership
field in the value is
set to MEMBERSHIP_INCLUDED
.
role_permission: Option<String>
Indicates whether the role granted by this binding contains the specified permission.
role: Option<String>
The role that this binding grants. For example,
roles/compute.serviceAgent
.
For a complete list of predefined IAM roles, as well as the permissions in each role, see https://cloud.google.com/iam/help/roles/reference.
role_permission_relevance: Option<String>
The relevance of the permission's existence, or nonexistence, in the role to the overall determination for the entire policy.
relevance: Option<String>
The relevance of this binding to the overall determination for the entire policy.
condition: Option<GoogleTypeExpr>
A condition expression that prevents access unless the expression evaluates
to true
.
To learn about IAM Conditions, see http://cloud.google.com/iam/help/conditions/overview.
Trait Implementations
impl Clone for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
fn clone(&self) -> GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
impl Default for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
impl<'de> Deserialize<'de> for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
impl Serialize for GoogleCloudPolicytroubleshooterV1BindingExplanation
[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudPolicytroubleshooterV1BindingExplanation
impl Send for GoogleCloudPolicytroubleshooterV1BindingExplanation
impl Sync for GoogleCloudPolicytroubleshooterV1BindingExplanation
impl Unpin for GoogleCloudPolicytroubleshooterV1BindingExplanation
impl UnwindSafe for GoogleCloudPolicytroubleshooterV1BindingExplanation
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,