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.



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

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



6065
6066
6067
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6065

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)


6070
6071
6072
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6070

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)


6075
6076
6077
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6075

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



6080
6081
6082
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6080

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



6087
6088
6089
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6087

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)


6094
6095
6096
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6094

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

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



6099
6100
6101
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6099

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)


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

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



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

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



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

def notification_config
  @notification_config
end

#stt_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig

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



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

def stt_config
  @stt_config
end

#update_timeString

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

Returns:

  • (String)


6125
6126
6127
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6125

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 6132

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