Class: Google::Apis::RetailV2::GoogleCloudRetailV2IntentClassificationConfigInlineSource

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

Overview

Inline source for intent classifications.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2IntentClassificationConfigInlineSource

Returns a new instance of GoogleCloudRetailV2IntentClassificationConfigInlineSource.



2931
2932
2933
# File 'lib/google/apis/retail_v2/classes.rb', line 2931

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

Instance Attribute Details

#inline_force_intentsArray<Google::Apis::RetailV2::GoogleCloudRetailV2IntentClassificationConfigInlineForceIntent>

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



2929
2930
2931
# File 'lib/google/apis/retail_v2/classes.rb', line 2929

def inline_force_intents
  @inline_force_intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2936
2937
2938
# File 'lib/google/apis/retail_v2/classes.rb', line 2936

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