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.



6168
6169
6170
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6168

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



6106
6107
6108
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6106

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)


6111
6112
6113
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6111

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)


6116
6117
6118
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6116

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



6121
6122
6123
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6121

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



6128
6129
6130
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6128

def human_agent_handoff_config
  @human_agent_handoff_config
end

#language_codeString

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

Returns:

  • (String)


6135
6136
6137
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6135

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

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



6140
6141
6142
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6140

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)


6146
6147
6148
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6146

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



6151
6152
6153
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6151

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



6156
6157
6158
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6156

def notification_config
  @notification_config
end

#stt_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig

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



6161
6162
6163
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6161

def stt_config
  @stt_config
end

#update_timeString

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

Returns:

  • (String)


6166
6167
6168
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6166

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6173

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