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.
-
#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.
-
#stt_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig
Configures speech transcription for ConversationProfile.
-
#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.
8328 8329 8330 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8328 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
8273 8274 8275 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8273 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
8278 8279 8280 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8278 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
8283 8284 8285 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8283 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
8288 8289 8290 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8288 def human_agent_assistant_config @human_agent_assistant_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.
Corresponds to the JSON property languageCode
8295 8296 8297 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8295 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
8300 8301 8302 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8300 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
8306 8307 8308 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8306 def name @name end |
#new_message_event_notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
Corresponds to the JSON property newMessageEventNotificationConfig
8311 8312 8313 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8311 def @new_message_event_notification_config end |
#notification_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig
Defines notification behavior.
Corresponds to the JSON property notificationConfig
8316 8317 8318 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8316 def notification_config @notification_config end |
#stt_config ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig
Configures speech transcription for ConversationProfile.
Corresponds to the JSON property sttConfig
8321 8322 8323 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8321 def stt_config @stt_config end |
#update_time ⇒ String
Output only. Update time of the conversation profile.
Corresponds to the JSON property updateTime
8326 8327 8328 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8326 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8333 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 |