Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Inline source for intent classifications.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
constructor
A new instance of GoogleCloudRetailV2betaIntentClassificationConfigInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaIntentClassificationConfigInlineSource
Returns a new instance of GoogleCloudRetailV2betaIntentClassificationConfigInlineSource.
5366 5367 5368 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#inline_force_intents ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaIntentClassificationConfigInlineForceIntent>
Optional. A list of inline force intent classifications.
Corresponds to the JSON property inlineForceIntents
5364 5365 5366 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5364 def inline_force_intents @inline_force_intents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5371 5372 5373 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5371 def update!(**args) @inline_force_intents = args[:inline_force_intents] if args.key?(:inline_force_intents) end |