Class: Google::Cloud::TextToSpeech::V1::SynthesizeLongAudioRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb

Overview

The top-level message sent by the client for the SynthesizeLongAudio method.

Instance Attribute Summary collapse

Instance Attribute Details

#audio_config::Google::Cloud::TextToSpeech::V1::AudioConfig

Returns Required. The configuration of the synthesized audio.

Returns:



45
46
47
48
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb', line 45

class SynthesizeLongAudioRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input::Google::Cloud::TextToSpeech::V1::SynthesisInput

Returns Required. The Synthesizer requires either plain text or SSML as input. While Long Audio is in preview, SSML is temporarily unsupported.

Returns:



45
46
47
48
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb', line 45

class SynthesizeLongAudioRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#output_gcs_uri::String

Returns Required. Specifies a Cloud Storage URI for the synthesis results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.

Returns:

  • (::String)

    Required. Specifies a Cloud Storage URI for the synthesis results. Must be specified in the format: gs://bucket_name/object_name, and the bucket must already exist.



45
46
47
48
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb', line 45

class SynthesizeLongAudioRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns The resource states of the request in the form of projects/*/locations/*.

Returns:

  • (::String)

    The resource states of the request in the form of projects/*/locations/*.



45
46
47
48
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb', line 45

class SynthesizeLongAudioRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#voice::Google::Cloud::TextToSpeech::V1::VoiceSelectionParams

Returns Required. The desired voice of the synthesized audio.

Returns:



45
46
47
48
# File 'proto_docs/google/cloud/texttospeech/v1/cloud_tts_lrs.rb', line 45

class SynthesizeLongAudioRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end