Class: Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/policytroubleshooter_v1beta/classes.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb,
generated/google/apis/policytroubleshooter_v1beta/representations.rb

Overview

TroubleshootIamPolicyResponse is used in TroubleshootIamPolicy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse

Returns a new instance of GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse



291
292
293
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 291

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#accessString

Reflects whether the probed access was granted, denied or ultimately could not be decided from the caller's point of view. Corresponds to the JSON property access

Returns:

  • (String)


283
284
285
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 283

def access
  @access
end

#explained_policiesArray<Google::Apis::PolicytroubleshooterV1beta::GoogleCloudPolicytroubleshooterV1betaExplainedPolicy>

List of explained policies. Each explanation corresponds to one policy along the ancestry path. Corresponds to the JSON property explainedPolicies



289
290
291
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 289

def explained_policies
  @explained_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



296
297
298
299
# File 'generated/google/apis/policytroubleshooter_v1beta/classes.rb', line 296

def update!(**args)
  @access = args[:access] if args.key?(:access)
  @explained_policies = args[:explained_policies] if args.key?(:explained_policies)
end