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.



5957
5958
5959
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5957

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



5895
5896
5897
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5895

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)


5900
5901
5902
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5900

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)


5905
5906
5907
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5905

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



5910
5911
5912
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5910

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



5917
5918
5919
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5917

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)


5924
5925
5926
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5924

def language_code
  @language_code
end

#logging_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2LoggingConfig

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



5929
5930
5931
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5929

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)


5935
5936
5937
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5935

def name
  @name
end

#new_message_event_notification_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2NotificationConfig

Defines notification behavior. Corresponds to the JSON property newMessageEventNotificationConfig



5940
5941
5942
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5940

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



5945
5946
5947
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5945

def notification_config
  @notification_config
end

#stt_configGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2SpeechToTextConfig

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



5950
5951
5952
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5950

def stt_config
  @stt_config
end

#update_timeString

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

Returns:

  • (String)


5955
5956
5957
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5955

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 5962

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