IAM Policy Troubleshooter V1 API - Class Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse (v0.4.0)

Reference documentation and code samples for the IAM Policy Troubleshooter V1 API class Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse.

Response for TroubleshootIamPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#access

def access() -> ::Google::Cloud::PolicyTroubleshooter::V1::AccessState
Returns

#access=

def access=(value) -> ::Google::Cloud::PolicyTroubleshooter::V1::AccessState
Parameter
Returns

#explained_policies

def explained_policies() -> ::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>
Returns
  • (::Array<::Google::Cloud::PolicyTroubleshooter::V1::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.

#explained_policies=

def explained_policies=(value) -> ::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>
Parameter
  • value (::Array<::Google::Cloud::PolicyTroubleshooter::V1::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.

Returns
  • (::Array<::Google::Cloud::PolicyTroubleshooter::V1::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.