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.



1105
1106
1107
# File 'lib/google/apis/logging_v2/classes.rb', line 1105

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

Instance Attribute Details

#optionsGoogle::Apis::LoggingV2::GetPolicyOptions

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



1103
1104
1105
# File 'lib/google/apis/logging_v2/classes.rb', line 1103

def options
  @options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1110
1111
1112
# File 'lib/google/apis/logging_v2/classes.rb', line 1110

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