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.



12736
12737
12738
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12736

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



12650
12651
12652
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12650

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)


12655
12656
12657
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12655

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)


12660
12661
12662
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12660

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



12665
12666
12667
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12665

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



12672
12673
12674
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12672

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)


12680
12681
12682
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12680

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1LoggingConfig

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



12685
12686
12687
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12685

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)


12691
12692
12693
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12691

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



12696
12697
12698
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12696

def new_message_event_notification_config
  @new_message_event_notification_config
end

#new_recognition_result_notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property newRecognitionResultNotificationConfig



12701
12702
12703
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12701

def new_recognition_result_notification_config
  @new_recognition_result_notification_config
end

#notification_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1NotificationConfig

Defines notification behavior. Corresponds to the JSON property notificationConfig



12706
12707
12708
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12706

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)


12712
12713
12714
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12712

def security_settings
  @security_settings
end

#stt_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechToTextConfig

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



12717
12718
12719
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12717

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)


12724
12725
12726
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12724

def time_zone
  @time_zone
end

#tts_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig

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



12729
12730
12731
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12729

def tts_config
  @tts_config
end

#update_timeString

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

Returns:

  • (String)


12734
12735
12736
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12734

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12741

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