Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig

Returns a new instance of GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig.



8556
8557
8558
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8556

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

Instance Attribute Details

#modelString

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

Returns:

  • (String)


8554
8555
8556
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8554

def model
  @model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8561
8562
8563
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 8561

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