Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb

Overview

Inline source for intent classifications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource

Returns a new instance of GoogleCloudRetailV2alphaIntentClassificationConfigInlineSource.



4360
4361
4362
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4360

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#inline_force_intentsArray<Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaIntentClassificationConfigInlineForceIntent>

Optional. A list of inline force intent classifications. Corresponds to the JSON property inlineForceIntents



4358
4359
4360
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4358

def inline_force_intents
  @inline_force_intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4365
4366
4367
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 4365

def update!(**args)
  @inline_force_intents = args[:inline_force_intents] if args.key?(:inline_force_intents)
end