Class: Google::Apis::CloudsearchV1::QueryItem
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryItem
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Information relevant only to a query entry.
Instance Attribute Summary collapse
-
#is_synthetic ⇒ Boolean
(also: #is_synthetic?)
True if the text was generated by means other than a previous user search.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryItem
constructor
A new instance of QueryItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ QueryItem
Returns a new instance of QueryItem
3034 3035 3036 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3034 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_synthetic ⇒ Boolean Also known as: is_synthetic?
True if the text was generated by means other than a previous user search.
Corresponds to the JSON property isSynthetic
3031 3032 3033 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3031 def is_synthetic @is_synthetic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3039 3040 3041 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3039 def update!(**args) @is_synthetic = args[:is_synthetic] if args.key?(:is_synthetic) end |