Class: Google::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest

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

Overview

Request for TroubleshootIamPolicy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest

Returns a new instance of GoogleCloudPolicytroubleshooterV1TroubleshootIamPolicyRequest.



274
275
276
# File 'lib/google/apis/policytroubleshooter_v1/classes.rb', line 274

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

Instance Attribute Details

#access_tupleGoogle::Apis::PolicytroubleshooterV1::GoogleCloudPolicytroubleshooterV1AccessTuple

Information about the principal, resource, and permission to check. Corresponds to the JSON property accessTuple



272
273
274
# File 'lib/google/apis/policytroubleshooter_v1/classes.rb', line 272

def access_tuple
  @access_tuple
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



279
280
281
# File 'lib/google/apis/policytroubleshooter_v1/classes.rb', line 279

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