Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::OutputAudioConfig.
OutputAudioConfig configures how the CES agent should synthesize outgoing audio responses.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#audio_encoding
def audio_encoding() -> ::Google::Cloud::Ces::V1::AudioEncoding
Returns
- (::Google::Cloud::Ces::V1::AudioEncoding) — Required. The encoding of the output audio data.
#audio_encoding=
def audio_encoding=(value) -> ::Google::Cloud::Ces::V1::AudioEncoding
Parameter
- value (::Google::Cloud::Ces::V1::AudioEncoding) — Required. The encoding of the output audio data.
Returns
- (::Google::Cloud::Ces::V1::AudioEncoding) — Required. The encoding of the output audio data.
#sample_rate_hertz
def sample_rate_hertz() -> ::Integer
Returns
- (::Integer) — Required. The sample rate (in Hertz) of the output audio data.
#sample_rate_hertz=
def sample_rate_hertz=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The sample rate (in Hertz) of the output audio data.
Returns
- (::Integer) — Required. The sample rate (in Hertz) of the output audio data.