Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Query classification specification.
Instance Attribute Summary collapse
-
#types ⇒ Array<String>
Enabled query classification types.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec.
3026 3027 3028 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#types ⇒ Array<String>
Enabled query classification types.
Corresponds to the JSON property types
3024 3025 3026 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3024 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3031 3032 3033 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3031 def update!(**args) @types = args[:types] if args.key?(:types) end |