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.
5347 5348 5349 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5347 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
5345 5346 5347 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5345 def inline_force_intents @inline_force_intents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5352 5353 5354 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 5352 def update!(**args) @inline_force_intents = args[:inline_force_intents] if args.key?(:inline_force_intents) end |