Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Query classification specification.
Instance Attribute Summary collapse
-
#types ⇒ Array<String>
Enabled query classification types.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.
19108 19109 19110 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19108 def initialize(**args) update!(**args) end |
Instance Attribute Details
#types ⇒ Array<String>
Enabled query classification types.
Corresponds to the JSON property types
19106 19107 19108 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19106 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19113 19114 19115 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 19113 def update!(**args) @types = args[:types] if args.key?(:types) end |