Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedAssistantDebugContext

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

Represents info regarding suggestion debug information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedAssistantDebugContext

Returns a new instance of AppsDynamiteSharedAssistantDebugContext.



790
791
792
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 790

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

Instance Attribute Details

#queryString

The query that triggered the resulting suggestion. Corresponds to the JSON property query

Returns:

  • (String)


788
789
790
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 788

def query
  @query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 795

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