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



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

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)


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

def server_info
  @server_info
end

#server_trace_infoString

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

Returns:

  • (String)


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

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)


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

def service_url
  @service_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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