Class: Google::Apis::PartnersV2::ResponseMetadata

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

Overview

Common data that is in each API response.

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) ⇒ ResponseMetadata

Returns a new instance of ResponseMetadata



2075
2076
2077
# File 'generated/google/apis/partners_v2/classes.rb', line 2075

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

Instance Attribute Details

#debug_infoGoogle::Apis::PartnersV2::DebugInfo

Debug information about this request. Corresponds to the JSON property debugInfo



2073
2074
2075
# File 'generated/google/apis/partners_v2/classes.rb', line 2073

def debug_info
  @debug_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2080
2081
2082
# File 'generated/google/apis/partners_v2/classes.rb', line 2080

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