Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile
- 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
Defines the services to connect to incoming Dialogflow conversations.
Instance Attribute Summary collapse
-
#automated_agent_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Required.
-
#human_agent_assistant_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
Defines the Human Agent Assistant to connect to a conversation.
-
#human_agent_handoff_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig
Defines logging behavior for conversation lifecycle events.
-
#name ⇒ String
The unique identifier of this conversation profile.
-
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
-
#notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
-
#security_settings ⇒ String
Name of the CX SecuritySettings reference for the agent.
-
#stt_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig
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::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationProfile
constructor
A new instance of GoogleCloudDialogflowV2beta1ConversationProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationProfile
Returns a new instance of GoogleCloudDialogflowV2beta1ConversationProfile.
10699 10700 10701 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automated_agent_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig
Defines the Automated Agent to connect to a conversation.
Corresponds to the JSON property automatedAgentConfig
10618 10619 10620 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10618 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
10623 10624 10625 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10623 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
10628 10629 10630 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10628 def display_name @display_name end |
#human_agent_assistant_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
Defines the Human Agent Assistant to connect to a conversation.
Corresponds to the JSON property humanAgentAssistantConfig
10633 10634 10635 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10633 def human_agent_assistant_config @human_agent_assistant_config end |
#human_agent_handoff_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig
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
10640 10641 10642 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10640 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
10648 10649 10650 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10648 def language_code @language_code end |
#logging_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig
Defines logging behavior for conversation lifecycle events.
Corresponds to the JSON property loggingConfig
10653 10654 10655 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10653 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
10659 10660 10661 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10659 def name @name end |
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newMessageEventNotificationConfig
10664 10665 10666 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10664 def @new_message_event_notification_config end |
#notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
Corresponds to the JSON property notificationConfig
10669 10670 10671 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10669 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
10675 10676 10677 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10675 def security_settings @security_settings end |
#stt_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig
Configures speech transcription for ConversationProfile.
Corresponds to the JSON property sttConfig
10680 10681 10682 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10680 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
10687 10688 10689 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10687 def time_zone @time_zone end |
#tts_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
Corresponds to the JSON property ttsConfig
10692 10693 10694 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10692 def tts_config @tts_config end |
#update_time ⇒ String
Output only. Update time of the conversation profile.
Corresponds to the JSON property updateTime
10697 10698 10699 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10697 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 10704 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) @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 |