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.



10110
10111
10112
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10110

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



10024
10025
10026
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10024

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)


10029
10030
10031
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10029

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)


10034
10035
10036
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10034

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



10039
10040
10041
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10039

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



10046
10047
10048
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10046

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)


10054
10055
10056
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10054

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

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



10059
10060
10061
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10059

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)


10065
10066
10067
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10065

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



10070
10071
10072
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10070

def new_message_event_notification_config
  @new_message_event_notification_config
end

#new_recognition_result_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newRecognitionResultNotificationConfig



10075
10076
10077
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10075

def new_recognition_result_notification_config
  @new_recognition_result_notification_config
end

#notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



10080
10081
10082
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10080

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)


10086
10087
10088
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10086

def security_settings
  @security_settings
end

#stt_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig

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



10091
10092
10093
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10091

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)


10098
10099
10100
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10098

def time_zone
  @time_zone
end

#tts_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SynthesizeSpeechConfig

Configuration of how speech should be synthesized. Corresponds to the JSON property ttsConfig



10103
10104
10105
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10103

def tts_config
  @tts_config
end

#update_timeString

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

Returns:

  • (String)


10108
10109
10110
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10108

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 10115

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