Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettings

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

Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. Settings exposed at lower level overrides the settings exposed at higher level. Overriding occurs at the sub-setting level. For example, the playback_interruption_settings at fulfillment level only overrides the playback_interruption_settings at the agent level, leaving other settings at the agent level unchanged. DTMF settings does not override each other. DTMF settings set at different levels define DTMF detections running in parallel. Hierarchy: Agent->Flow->Page->Fulfillment/Parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AdvancedSettings

Returns a new instance of GoogleCloudDialogflowCxV3AdvancedSettings.



57
58
59
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 57

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

Instance Attribute Details

#audio_export_gcs_destinationGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3GcsDestination

Google Cloud Storage location for a Dialogflow operation that writes or exports objects (e.g. exported agent or transcripts) outside of Dialogflow. Corresponds to the JSON property audioExportGcsDestination



40
41
42
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 40

def audio_export_gcs_destination
  @audio_export_gcs_destination
end

#dtmf_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings

Define behaviors for DTMF (dual tone multi frequency). Corresponds to the JSON property dtmfSettings



45
46
47
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 45

def dtmf_settings
  @dtmf_settings
end

#logging_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings

Define behaviors on logging. Corresponds to the JSON property loggingSettings



50
51
52
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 50

def logging_settings
  @logging_settings
end

#speech_settingsGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings

Define behaviors of speech to text detection. Corresponds to the JSON property speechSettings



55
56
57
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 55

def speech_settings
  @speech_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



62
63
64
65
66
67
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 62

def update!(**args)
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
  @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
end