Class: Google::Apis::CloudsearchV1::DebugResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Debug Search Response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DebugResponse

Returns a new instance of DebugResponse.



879
880
881
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 879

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

Instance Attribute Details

#gsr_requestString

Serialized string of GenericSearchRequest. Corresponds to the JSON property gsrRequest NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


866
867
868
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 866

def gsr_request
  @gsr_request
end

#gsr_responseString

Serialized string of GenericSearchResponse. Corresponds to the JSON property gsrResponse NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


872
873
874
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 872

def gsr_response
  @gsr_response
end

#search_responseGoogle::Apis::CloudsearchV1::SearchResponse

The search API response. NEXT ID: 17 Corresponds to the JSON property searchResponse



877
878
879
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 877

def search_response
  @search_response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



884
885
886
887
888
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 884

def update!(**args)
  @gsr_request = args[:gsr_request] if args.key?(:gsr_request)
  @gsr_response = args[:gsr_response] if args.key?(:gsr_response)
  @search_response = args[:search_response] if args.key?(:search_response)
end