Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig

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

Overview

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig

Returns a new instance of GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig.



9350
9351
9352
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9350

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

Instance Attribute Details

#modelString

Required. Conversation model resource name. Format: projects// conversationModels/. Corresponds to the JSON property model

Returns:

  • (String)


9348
9349
9350
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9348

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9355
9356
9357
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9355

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