Class: Google::Apis::PartnersV2::DebugInfo

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

Debug information about this request.

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

Returns a new instance of DebugInfo



222
223
224
# File 'generated/google/apis/partners_v2/classes.rb', line 222

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

Instance Attribute Details

#server_infoString

Info about the server that serviced this request. Corresponds to the JSON property serverInfo

Returns:

  • (String)


210
211
212
# File 'generated/google/apis/partners_v2/classes.rb', line 210

def server_info
  @server_info
end

#server_trace_infoString

Server-side debug stack trace. Corresponds to the JSON property serverTraceInfo

Returns:

  • (String)


215
216
217
# File 'generated/google/apis/partners_v2/classes.rb', line 215

def server_trace_info
  @server_trace_info
end

#service_urlString

URL of the service that handled this request. Corresponds to the JSON property serviceUrl

Returns:

  • (String)


220
221
222
# File 'generated/google/apis/partners_v2/classes.rb', line 220

def service_url
  @service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



227
228
229
230
231
# File 'generated/google/apis/partners_v2/classes.rb', line 227

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