[][src]Struct google_policytroubleshooter1::GoogleCloudPolicytroubleshooterV1ExplainedPolicy

pub struct GoogleCloudPolicytroubleshooterV1ExplainedPolicy {
    pub access: Option<String>,
    pub policy: Option<GoogleIamV1Policy>,
    pub full_resource_name: Option<String>,
    pub binding_explanations: Option<Vec<GoogleCloudPolicytroubleshooterV1BindingExplanation>>,
    pub relevance: Option<String>,
}

Details about how a specific IAM Policy contributed to the access check.

This type is not used in any activity, and only used as part of another schema.

Fields

access: Option<String>

Indicates whether this policy 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 policy that overrides this policy. To determine whether the member actually has the permission, use the access field in the TroubleshootIamPolicyResponse.

policy: Option<GoogleIamV1Policy>

The IAM policy attached to the resource.

If the sender of the request does not have access to the policy, this field is empty.

full_resource_name: Option<String>

The full resource name that identifies the resource. For example, //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance.

If the sender of the request does not have access to the policy, this field is omitted.

For examples of full resource names for Google Cloud services, see https://cloud.google.com/iam/help/troubleshooter/full-resource-names.

binding_explanations: Option<Vec<GoogleCloudPolicytroubleshooterV1BindingExplanation>>

Details about how each binding in the policy affects the member's ability, or inability, to use the permission for the resource.

If the sender of the request does not have access to the policy, this field is omitted.

relevance: Option<String>

The relevance of this policy to the overall determination in the TroubleshootIamPolicyResponse.

If the sender of the request does not have access to the policy, this field is omitted.

Trait Implementations

impl Clone for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

impl Debug for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

impl Default for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

impl<'de> Deserialize<'de> for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

impl Part for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

impl Serialize for GoogleCloudPolicytroubleshooterV1ExplainedPolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any