Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile
- 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
Defines the services to connect to incoming Dialogflow conversations.
Instance Attribute Summary collapse
-
#automated_agent_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#human_agent_assistant_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig
Defines the Human Agent Assist to connect to a conversation.
-
#human_agent_handoff_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig
Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation.
-
#language_code ⇒ String
Language which represents the conversationProfile.
-
#logging_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig
Defines logging behavior for conversation lifecycle events.
-
#name ⇒ String
The unique identifier of this conversation profile.
-
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
-
#notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
-
#stt_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationProfile
constructor
A new instance of GoogleCloudDialogflowV2ConversationProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationProfile
Returns a new instance of GoogleCloudDialogflowV2ConversationProfile.
6174 6175 6176 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6174 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automated_agent_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
Corresponds to the JSON property automatedAgentConfig
6112 6113 6114 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6112 def automated_agent_config @automated_agent_config end |
#create_time ⇒ String
Output only. Create time of the conversation profile.
Corresponds to the JSON property createTime
6117 6118 6119 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6117 def create_time @create_time end |
#display_name ⇒ String
Required. Human readable name for this profile. Max length 1024 bytes.
Corresponds to the JSON property displayName
6122 6123 6124 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6122 def display_name @display_name end |
#human_agent_assistant_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig
Defines the Human Agent Assist to connect to a conversation.
Corresponds to the JSON property humanAgentAssistantConfig
6127 6128 6129 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6127 def human_agent_assistant_config @human_agent_assistant_config end |
#human_agent_handoff_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentHandoffConfig
Defines the hand off to a live agent, typically on which external agent
service provider to connect to a conversation. Currently, this feature is not
general available, please contact Google to get access.
Corresponds to the JSON property humanAgentHandoffConfig
6134 6135 6136 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6134 def human_agent_handoff_config @human_agent_handoff_config end |
#language_code ⇒ String
Language which represents the conversationProfile. If unspecified, the default
language code en-us applies. Users need to create a ConversationProfile for
each language they want to support.
Corresponds to the JSON property languageCode
6141 6142 6143 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6141 def language_code @language_code end |
#logging_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig
Defines logging behavior for conversation lifecycle events.
Corresponds to the JSON property loggingConfig
6146 6147 6148 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6146 def logging_config @logging_config end |
#name ⇒ String
The unique identifier of this conversation profile. Format: projects//
locations//conversationProfiles/.
Corresponds to the JSON property name
6152 6153 6154 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6152 def name @name end |
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newMessageEventNotificationConfig
6157 6158 6159 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6157 def @new_message_event_notification_config end |
#notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property notificationConfig
6162 6163 6164 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6162 def notification_config @notification_config end |
#stt_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
Corresponds to the JSON property sttConfig
6167 6168 6169 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6167 def stt_config @stt_config end |
#update_time ⇒ String
Output only. Update time of the conversation profile.
Corresponds to the JSON property updateTime
6172 6173 6174 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6172 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6179 def update!(**args) @automated_agent_config = args[:automated_agent_config] if args.key?(:automated_agent_config) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @human_agent_assistant_config = args[:human_agent_assistant_config] if args.key?(:human_agent_assistant_config) @human_agent_handoff_config = args[:human_agent_handoff_config] if args.key?(:human_agent_handoff_config) @language_code = args[:language_code] if args.key?(:language_code) @logging_config = args[:logging_config] if args.key?(:logging_config) @name = args[:name] if args.key?(:name) @new_message_event_notification_config = args[:new_message_event_notification_config] if args.key?(:new_message_event_notification_config) @notification_config = args[:notification_config] if args.key?(:notification_config) @stt_config = args[:stt_config] if args.key?(:stt_config) @update_time = args[:update_time] if args.key?(:update_time) end |