Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
Settings for exporting audio.
Instance Attribute Summary collapse
-
#audio_export_pattern ⇒ String
Filename pattern for exported audio.
-
#audio_format ⇒ String
File format for exported audio file.
-
#enable_audio_redaction ⇒ Boolean
(also: #enable_audio_redaction?)
Enable audio redaction if it is true.
-
#gcs_bucket ⇒ String
Cloud Storage bucket to export audio record to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings
constructor
A new instance of GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings
Returns a new instance of GoogleCloudDialogflowCxV3beta1SecuritySettingsAudioExportSettings.
7651 7652 7653 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audio_export_pattern ⇒ String
Filename pattern for exported audio.
Corresponds to the JSON property audioExportPattern
7631 7632 7633 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7631 def audio_export_pattern @audio_export_pattern end |
#audio_format ⇒ String
File format for exported audio file. Currently only in telephony recordings.
Corresponds to the JSON property audioFormat
7636 7637 7638 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7636 def audio_format @audio_format end |
#enable_audio_redaction ⇒ Boolean Also known as: enable_audio_redaction?
Enable audio redaction if it is true.
Corresponds to the JSON property enableAudioRedaction
7641 7642 7643 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7641 def enable_audio_redaction @enable_audio_redaction end |
#gcs_bucket ⇒ String
Cloud Storage bucket to export audio record to. You need to grant service-@
gcp-sa-dialogflow.iam.gserviceaccount.com the Storage Object Admin role in
this bucket.
Corresponds to the JSON property gcsBucket
7649 7650 7651 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7649 def gcs_bucket @gcs_bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7656 7657 7658 7659 7660 7661 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7656 def update!(**args) @audio_export_pattern = args[:audio_export_pattern] if args.key?(:audio_export_pattern) @audio_format = args[:audio_format] if args.key?(:audio_format) @enable_audio_redaction = args[:enable_audio_redaction] if args.key?(:enable_audio_redaction) @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket) end |