Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

Settings for exporting audio.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings

Returns a new instance of GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings.



4926
4927
4928
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4926

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

Instance Attribute Details

#audio_export_patternString

Filename pattern for exported audio. Corresponds to the JSON property audioExportPattern

Returns:

  • (String)


4906
4907
4908
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4906

def audio_export_pattern
  @audio_export_pattern
end

#audio_formatString

File format for exported audio file. Currently only in telephony recordings. Corresponds to the JSON property audioFormat

Returns:

  • (String)


4911
4912
4913
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4911

def audio_format
  @audio_format
end

#enable_audio_redactionBoolean Also known as: enable_audio_redaction?

Enable audio redaction if it is true. Corresponds to the JSON property enableAudioRedaction

Returns:

  • (Boolean)


4916
4917
4918
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4916

def enable_audio_redaction
  @enable_audio_redaction
end

#gcs_bucketString

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

Returns:

  • (String)


4924
4925
4926
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4924

def gcs_bucket
  @gcs_bucket
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4931
4932
4933
4934
4935
4936
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4931

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