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



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

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)


781
782
783
# File 'generated/google/apis/partners_v2/classes.rb', line 781

def server_info
  @server_info
end

#server_trace_infoString

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

Returns:

  • (String)


786
787
788
# File 'generated/google/apis/partners_v2/classes.rb', line 786

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)


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

def service_url
  @service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



798
799
800
801
802
# File 'generated/google/apis/partners_v2/classes.rb', line 798

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