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



804
805
806
# File 'generated/google/apis/partners_v2/classes.rb', line 804

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)


792
793
794
# File 'generated/google/apis/partners_v2/classes.rb', line 792

def server_info
  @server_info
end

#server_trace_infoString

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

Returns:

  • (String)


797
798
799
# File 'generated/google/apis/partners_v2/classes.rb', line 797

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)


802
803
804
# File 'generated/google/apis/partners_v2/classes.rb', line 802

def service_url
  @service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



809
810
811
812
813
# File 'generated/google/apis/partners_v2/classes.rb', line 809

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