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.



371
372
373
# File 'generated/google/apis/partners_v2/classes.rb', line 371

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)


359
360
361
# File 'generated/google/apis/partners_v2/classes.rb', line 359

def server_info
  @server_info
end

#server_trace_infoString

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

Returns:

  • (String)


369
370
371
# File 'generated/google/apis/partners_v2/classes.rb', line 369

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)


364
365
366
# File 'generated/google/apis/partners_v2/classes.rb', line 364

def service_url
  @service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
380
# File 'generated/google/apis/partners_v2/classes.rb', line 376

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