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 code for the conversation profile.
-
#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.
-
#new_recognition_result_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
-
#notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
-
#security_settings ⇒ String
Name of the CX SecuritySettings reference for the agent.
-
#stt_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
-
#time_zone ⇒ String
The time zone of this conversational profile from the time zone database, e.g., America/New_York, Europe/Paris.
-
#tts_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
-
#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.
9235 9236 9237 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9235 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
9149 9150 9151 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9149 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
9154 9155 9156 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9154 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
9159 9160 9161 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9159 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
9164 9165 9166 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9164 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
9171 9172 9173 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9171 def human_agent_handoff_config @human_agent_handoff_config end |
#language_code ⇒ String
Language code for the conversation profile. If not specified, the language is
en-US. Language at ConversationProfile should be set for all non en-US
languages. This should be a BCP-47 language tag. Example: "en-US".
Corresponds to the JSON property languageCode
9179 9180 9181 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9179 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
9184 9185 9186 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9184 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
9190 9191 9192 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9190 def name @name end |
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newMessageEventNotificationConfig
9195 9196 9197 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9195 def @new_message_event_notification_config end |
#new_recognition_result_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newRecognitionResultNotificationConfig
9200 9201 9202 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9200 def new_recognition_result_notification_config @new_recognition_result_notification_config end |
#notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property notificationConfig
9205 9206 9207 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9205 def notification_config @notification_config end |
#security_settings ⇒ String
Name of the CX SecuritySettings reference for the agent. Format: projects//
locations//securitySettings/.
Corresponds to the JSON property securitySettings
9211 9212 9213 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9211 def security_settings @security_settings end |
#stt_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
Corresponds to the JSON property sttConfig
9216 9217 9218 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9216 def stt_config @stt_config end |
#time_zone ⇒ String
The time zone of this conversational profile from the time zone database, e.g., America/New_York, Europe/Paris.
Defaults to America/New_York.
Corresponds to the JSON property timeZone
9223 9224 9225 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9223 def time_zone @time_zone end |
#tts_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
Corresponds to the JSON property ttsConfig
9228 9229 9230 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9228 def tts_config @tts_config end |
#update_time ⇒ String
Output only. Update time of the conversation profile.
Corresponds to the JSON property updateTime
9233 9234 9235 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9233 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9240 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) @new_recognition_result_notification_config = args[:new_recognition_result_notification_config] if args.key?(:new_recognition_result_notification_config) @notification_config = args[:notification_config] if args.key?(:notification_config) @security_settings = args[:security_settings] if args.key?(:security_settings) @stt_config = args[:stt_config] if args.key?(:stt_config) @time_zone = args[:time_zone] if args.key?(:time_zone) @tts_config = args[:tts_config] if args.key?(:tts_config) @update_time = args[:update_time] if args.key?(:update_time) end |