Class: Google::Apis::CloudsearchV1::QueryInterpretationOptions
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::QueryInterpretationOptions
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Options to interpret user query.
Instance Attribute Summary collapse
-
#disable_nl_interpretation ⇒ Boolean
(also: #disable_nl_interpretation?)
Flag to disable natural language (NL) interpretation of queries.
Instance Method Summary collapse
-
#initialize(**args) ⇒ QueryInterpretationOptions
constructor
A new instance of QueryInterpretationOptions.
-
#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) ⇒ QueryInterpretationOptions
Returns a new instance of QueryInterpretationOptions
2994 2995 2996 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disable_nl_interpretation ⇒ Boolean Also known as: disable_nl_interpretation?
Flag to disable natural language (NL) interpretation of queries. Default is
false, Set to true to disable natural language interpretation. NL
interpretation only applies to predefined datasources.
Corresponds to the JSON property disableNlInterpretation
2991 2992 2993 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2991 def disable_nl_interpretation @disable_nl_interpretation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2999 3000 3001 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 2999 def update!(**args) @disable_nl_interpretation = args[:disable_nl_interpretation] if args.key?(:disable_nl_interpretation) end |