Class: Google::Cloud::PolicyTroubleshooter::V1::TroubleshootIamPolicyResponse

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/policytroubleshooter/v1/checker.rb

Overview

Response for TroubleshootIamPolicy.

Instance Attribute Summary collapse

Instance Attribute Details

#access::Google::Cloud::PolicyTroubleshooter::V1::AccessState

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

Returns:



56
57
58
59
# File 'proto_docs/google/cloud/policytroubleshooter/v1/checker.rb', line 56

class TroubleshootIamPolicyResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#errors::Array<::Google::Rpc::Status>

Returns The general errors contained in the troubleshooting response.

Returns:



56
57
58
59
# File 'proto_docs/google/cloud/policytroubleshooter/v1/checker.rb', line 56

class TroubleshootIamPolicyResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#explained_policies::Array<::Google::Cloud::PolicyTroubleshooter::V1::ExplainedPolicy>

Returns 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.



56
57
58
59
# File 'proto_docs/google/cloud/policytroubleshooter/v1/checker.rb', line 56

class TroubleshootIamPolicyResponse
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end