audioExportPattern = $audioExportPattern; } /** * @return string */ public function getAudioExportPattern() { return $this->audioExportPattern; } /** * File format for exported audio file. Currently only in telephony * recordings. * * Accepted values: AUDIO_FORMAT_UNSPECIFIED, MULAW, MP3, OGG * * @param self::AUDIO_FORMAT_* $audioFormat */ public function setAudioFormat($audioFormat) { $this->audioFormat = $audioFormat; } /** * @return self::AUDIO_FORMAT_* */ public function getAudioFormat() { return $this->audioFormat; } /** * Enable audio redaction if it is true. Note that this only redacts end-user * audio data; Synthesised audio from the virtual agent is not redacted. * * @param bool $enableAudioRedaction */ public function setEnableAudioRedaction($enableAudioRedaction) { $this->enableAudioRedaction = $enableAudioRedaction; } /** * @return bool */ public function getEnableAudioRedaction() { return $this->enableAudioRedaction; } /** * 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. * * @param string $gcsBucket */ public function setGcsBucket($gcsBucket) { $this->gcsBucket = $gcsBucket; } /** * @return string */ public function getGcsBucket() { return $this->gcsBucket; } /** * Whether to store TTS audio. By default, TTS audio from the virtual agent is * not exported. * * @param bool $storeTtsAudio */ public function setStoreTtsAudio($storeTtsAudio) { $this->storeTtsAudio = $storeTtsAudio; } /** * @return bool */ public function getStoreTtsAudio() { return $this->storeTtsAudio; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings::class, 'Google_Service_Dialogflow_GoogleCloudDialogflowCxV3SecuritySettingsAudioExportSettings');