Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConversationProfile

Returns a new instance of GoogleCloudDialogflowV2beta1ConversationProfile.



8497
8498
8499
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8497

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

Instance Attribute Details

#automated_agent_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AutomatedAgentConfig

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



8435
8436
8437
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8435

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)


8440
8441
8442
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8440

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)


8445
8446
8447
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8445

def display_name
  @display_name
end

#human_agent_assistant_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig

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



8450
8451
8452
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8450

def human_agent_assistant_config
  @human_agent_assistant_config
end

#human_agent_handoff_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentHandoffConfig

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



8457
8458
8459
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8457

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. Corresponds to the JSON property languageCode

Returns:

  • (String)


8464
8465
8466
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8464

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig

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



8469
8470
8471
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8469

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)


8475
8476
8477
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8475

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



8480
8481
8482
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8480

def new_message_event_notification_config
  @new_message_event_notification_config
end

#notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



8485
8486
8487
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8485

def notification_config
  @notification_config
end

#stt_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig

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



8490
8491
8492
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8490

def stt_config
  @stt_config
end

#update_timeString

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

Returns:

  • (String)


8495
8496
8497
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8495

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 8502

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