Class: Google::Apis::CloudtasksV2::GetIamPolicyRequest

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

Overview

Request message for GetIamPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetIamPolicyRequest

Returns a new instance of GetIamPolicyRequest.



555
556
557
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 555

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

Instance Attribute Details

#optionsGoogle::Apis::CloudtasksV2::GetPolicyOptions

Encapsulates settings provided to GetIamPolicy. Corresponds to the JSON property options



553
554
555
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 553

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



560
561
562
# File 'lib/google/apis/cloudtasks_v2/classes.rb', line 560

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