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

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

#errors

def errors() -> ::Array<::Google::Rpc::Status>
Returns

#errors=

def errors=(value) -> ::Array<::Google::Rpc::Status>
Parameter
  • value (::Array<::Google::Rpc::Status>) — The general errors contained in the troubleshooting response.
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 principal'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 principal'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 principal'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.