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.
-
#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.
5786 5787 5788 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5786 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
5731 5732 5733 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5731 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
5736 5737 5738 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5736 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
5741 5742 5743 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5741 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
5746 5747 5748 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5746 def human_agent_assistant_config @human_agent_assistant_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
5753 5754 5755 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5753 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
5758 5759 5760 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5758 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
5764 5765 5766 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5764 def name @name end |
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newMessageEventNotificationConfig
5769 5770 5771 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5769 def @new_message_event_notification_config end |
#notification_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig
Defines notification behavior.
Corresponds to the JSON property notificationConfig
5774 5775 5776 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5774 def notification_config @notification_config end |
#stt_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig
Configures speech transcription for ConversationProfile.
Corresponds to the JSON property sttConfig
5779 5780 5781 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5779 def stt_config @stt_config end |
#update_time ⇒ String
Output only. Update time of the conversation profile.
Corresponds to the JSON property updateTime
5784 5785 5786 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5784 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5791 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) @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 |