Struct gapi_grpc::google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyResponse[][src]

pub struct TroubleshootIamPolicyResponse {
    pub access: i32,
    pub explained_policies: Vec<ExplainedPolicy>,
}

Response for [TroubleshootIamPolicy][google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy].

Fields

access: i32

Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable IAM policies.

explained_policies: Vec<ExplainedPolicy>

List of IAM policies that were evaluated to check the member’s permissions, with annotations to indicate how each policy contributed to the final result.

The list of policies can include the policy for the resource itself. It can also include policies that are inherited from higher levels of the resource hierarchy, including the organization, the folder, and the project.

To learn more about the resource hierarchy, see https://cloud.google.com/iam/help/resource-hierarchy.

Implementations

impl TroubleshootIamPolicyResponse[src]

pub fn access(&self) -> AccessState[src]

Returns the enum value of access, or the default if the field is set to an invalid enum value.

pub fn set_access(&mut self, value: AccessState)[src]

Sets access to the provided enum value.

Trait Implementations

impl Clone for TroubleshootIamPolicyResponse[src]

impl Debug for TroubleshootIamPolicyResponse[src]

impl Default for TroubleshootIamPolicyResponse[src]

impl Message for TroubleshootIamPolicyResponse[src]

impl PartialEq<TroubleshootIamPolicyResponse> for TroubleshootIamPolicyResponse[src]

impl StructuralPartialEq for TroubleshootIamPolicyResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for TroubleshootIamPolicyResponse

impl Send for TroubleshootIamPolicyResponse

impl Sync for TroubleshootIamPolicyResponse

impl Unpin for TroubleshootIamPolicyResponse

impl UnwindSafe for TroubleshootIamPolicyResponse

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]