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



1962
1963
1964
# File 'generated/google/apis/partners_v2/classes.rb', line 1962

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



1960
1961
1962
# File 'generated/google/apis/partners_v2/classes.rb', line 1960

def debug_info
  @debug_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1967
1968
1969
# File 'generated/google/apis/partners_v2/classes.rb', line 1967

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