Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings

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

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) ⇒ GoogleCloudDialogflowCxV3beta1AdvancedSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AdvancedSettings.



3787
3788
3789
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3787

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

Instance Attribute Details

#audio_export_gcs_destinationGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1GcsDestination

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



3770
3771
3772
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3770

def audio_export_gcs_destination
  @audio_export_gcs_destination
end

#dtmf_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings

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



3775
3776
3777
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3775

def dtmf_settings
  @dtmf_settings
end

#logging_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings

Define behaviors on logging. Corresponds to the JSON property loggingSettings



3780
3781
3782
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3780

def logging_settings
  @logging_settings
end

#speech_settingsGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings

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



3785
3786
3787
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3785

def speech_settings
  @speech_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3792
3793
3794
3795
3796
3797
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3792

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