Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConversationProfile

Returns a new instance of GoogleCloudDialogflowV2ConversationProfile.



7312
7313
7314
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7312

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#automated_agent_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2AutomatedAgentConfig

Defines the Automated Agent to connect to a conversation. Corresponds to the JSON property automatedAgentConfig



7236
7237
7238
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7236

def automated_agent_config
  @automated_agent_config
end

#create_timeString

Output only. Create time of the conversation profile. Corresponds to the JSON property createTime

Returns:

  • (String)


7241
7242
7243
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7241

def create_time
  @create_time
end

#display_nameString

Required. Human readable name for this profile. Max length 1024 bytes. Corresponds to the JSON property displayName

Returns:

  • (String)


7246
7247
7248
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7246

def display_name
  @display_name
end

#human_agent_assistant_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfig

Defines the Human Agent Assist to connect to a conversation. Corresponds to the JSON property humanAgentAssistantConfig



7251
7252
7253
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7251

def human_agent_assistant_config
  @human_agent_assistant_config
end

#human_agent_handoff_configGoogle::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



7258
7259
7260
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7258

def human_agent_handoff_config
  @human_agent_handoff_config
end

#language_codeString

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

Returns:

  • (String)


7266
7267
7268
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7266

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

Defines logging behavior for conversation lifecycle events. Corresponds to the JSON property loggingConfig



7271
7272
7273
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7271

def logging_config
  @logging_config
end

#nameString

The unique identifier of this conversation profile. Format: projects// locations//conversationProfiles/. Corresponds to the JSON property name

Returns:

  • (String)


7277
7278
7279
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7277

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



7282
7283
7284
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7282

def new_message_event_notification_config
  @new_message_event_notification_config
end

#notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



7287
7288
7289
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7287

def notification_config
  @notification_config
end

#security_settingsString

Name of the CX SecuritySettings reference for the agent. Format: projects// locations//securitySettings/. Corresponds to the JSON property securitySettings

Returns:

  • (String)


7293
7294
7295
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7293

def security_settings
  @security_settings
end

#stt_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig

Configures speech transcription for ConversationProfile. Corresponds to the JSON property sttConfig



7298
7299
7300
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7298

def stt_config
  @stt_config
end

#time_zoneString

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

Returns:

  • (String)


7305
7306
7307
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7305

def time_zone
  @time_zone
end

#update_timeString

Output only. Update time of the conversation profile. Corresponds to the JSON property updateTime

Returns:

  • (String)


7310
7311
7312
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7310

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7317

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)
  @update_time = args[:update_time] if args.key?(:update_time)
end