Google Cloud Dialogflow Cx V3 Client - Class AudioExportSettings (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class AudioExportSettings.

Settings for exporting audio.

Generated from protobuf message google.cloud.dialogflow.cx.v3.SecuritySettings.AudioExportSettings

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3 \ SecuritySettings

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_bucket string

Cloud Storage bucket to export audio record to. Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.

↳ audio_export_pattern string

Filename pattern for exported audio.

↳ enable_audio_redaction bool

Enable audio redaction if it is true.

↳ audio_format int

File format for exported audio file. Currently only in telephony recordings.

getGcsBucket

Cloud Storage bucket to export audio record to.

Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.

Returns
TypeDescription
string

setGcsBucket

Cloud Storage bucket to export audio record to.

Setting this field would grant the Storage Object Creator role to the Dialogflow Service Agent. API caller that tries to modify this field should have the permission of storage.buckets.setIamPolicy.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAudioExportPattern

Filename pattern for exported audio.

Returns
TypeDescription
string

setAudioExportPattern

Filename pattern for exported audio.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnableAudioRedaction

Enable audio redaction if it is true.

Returns
TypeDescription
bool

setEnableAudioRedaction

Enable audio redaction if it is true.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getAudioFormat

File format for exported audio file. Currently only in telephony recordings.

Returns
TypeDescription
int

setAudioFormat

File format for exported audio file. Currently only in telephony recordings.

Parameter
NameDescription
var int
Returns
TypeDescription
$this