Cloud Text-to-Speech V1beta1 API - Class Google::Cloud::TextToSpeech::V1beta1::StreamingAudioConfig (v0.19.0)

Reference documentation and code samples for the Cloud Text-to-Speech V1beta1 API class Google::Cloud::TextToSpeech::V1beta1::StreamingAudioConfig.

Description of the desired output audio data.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#audio_encoding

def audio_encoding() -> ::Google::Cloud::TextToSpeech::V1beta1::AudioEncoding
Returns

#audio_encoding=

def audio_encoding=(value) -> ::Google::Cloud::TextToSpeech::V1beta1::AudioEncoding
Parameter
Returns

#sample_rate_hertz

def sample_rate_hertz() -> ::Integer
Returns
  • (::Integer) — Optional. The synthesis sample rate (in hertz) for this audio.

#sample_rate_hertz=

def sample_rate_hertz=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The synthesis sample rate (in hertz) for this audio.
Returns
  • (::Integer) — Optional. The synthesis sample rate (in hertz) for this audio.