class Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse

Response for TroubleshootIamPolicy.

Attributes

access[RW]

Indicates whether the member has the specified permission for the specified resource, based on evaluating all of the applicable policies. Corresponds to the JSON property `access` @return [String]

explained_policies[RW]

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 cloud.google.com/iam/help/ resource-hierarchy. Corresponds to the JSON property `explainedPolicies` @return [Array<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/policytroubleshooter_v1beta/classes.rb, line 305
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/policytroubleshooter_v1beta/classes.rb, line 310
def update!(**args)
  @access = args[:access] if args.key?(:access)
  @explained_policies = args[:explained_policies] if args.key?(:explained_policies)
end