Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::InputAudioConfig.
InputAudioConfig configures how the CES agent should interpret the incoming audio data.
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 input 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 input audio data.
Returns
- (::Google::Cloud::Ces::V1::AudioEncoding) — Required. The encoding of the input audio data.
#noise_suppression_level
def noise_suppression_level() -> ::String
Returns
- (::String) — Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high".
#noise_suppression_level=
def noise_suppression_level=(value) -> ::String
Parameter
- value (::String) — Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high".
Returns
- (::String) — Optional. Whether to enable noise suppression on the input audio. Available values are "low", "moderate", "high", "very_high".
#sample_rate_hertz
def sample_rate_hertz() -> ::Integer
Returns
- (::Integer) — Required. The sample rate (in Hertz) of the input audio data.
#sample_rate_hertz=
def sample_rate_hertz=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The sample rate (in Hertz) of the input audio data.
Returns
- (::Integer) — Required. The sample rate (in Hertz) of the input audio data.