Class: Google::Apis::LoggingV2::GetIamPolicyRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/logging_v2/classes.rb,
lib/google/apis/logging_v2/representations.rb,
lib/google/apis/logging_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.



844
845
846
# File 'lib/google/apis/logging_v2/classes.rb', line 844

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

Instance Attribute Details

#optionsGoogle::Apis::LoggingV2::GetPolicyOptions

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



842
843
844
# File 'lib/google/apis/logging_v2/classes.rb', line 842

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



849
850
851
# File 'lib/google/apis/logging_v2/classes.rb', line 849

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