Class: Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest

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

Overview

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

Defined Under Namespace

Modules: TimepointType

Instance Attribute Summary collapse

Instance Attribute Details

#advanced_voice_options::Google::Cloud::TextToSpeech::V1beta1::AdvancedVoiceOptions

Returns Advanced voice options.

Returns:



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 95

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of timepoint information that is returned in the response.
  module TimepointType
    # Not specified. No timepoint information will be returned.
    TIMEPOINT_TYPE_UNSPECIFIED = 0

    # Timepoint information of `<mark>` tags in SSML input will be returned.
    SSML_MARK = 1
  end
end

#audio_config::Google::Cloud::TextToSpeech::V1beta1::AudioConfig

Returns Required. The configuration of the synthesized audio.

Returns:



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 95

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of timepoint information that is returned in the response.
  module TimepointType
    # Not specified. No timepoint information will be returned.
    TIMEPOINT_TYPE_UNSPECIFIED = 0

    # Timepoint information of `<mark>` tags in SSML input will be returned.
    SSML_MARK = 1
  end
end

#enable_time_pointing::Array<::Google::Cloud::TextToSpeech::V1beta1::SynthesizeSpeechRequest::TimepointType>

Returns Whether and what timepoints are returned in the response.

Returns:



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 95

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of timepoint information that is returned in the response.
  module TimepointType
    # Not specified. No timepoint information will be returned.
    TIMEPOINT_TYPE_UNSPECIFIED = 0

    # Timepoint information of `<mark>` tags in SSML input will be returned.
    SSML_MARK = 1
  end
end

#input::Google::Cloud::TextToSpeech::V1beta1::SynthesisInput

Returns Required. The Synthesizer requires either plain text or SSML as input.

Returns:



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 95

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of timepoint information that is returned in the response.
  module TimepointType
    # Not specified. No timepoint information will be returned.
    TIMEPOINT_TYPE_UNSPECIFIED = 0

    # Timepoint information of `<mark>` tags in SSML input will be returned.
    SSML_MARK = 1
  end
end

#voice::Google::Cloud::TextToSpeech::V1beta1::VoiceSelectionParams

Returns Required. The desired voice of the synthesized audio.

Returns:



95
96
97
98
99
100
101
102
103
104
105
106
107
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 95

class SynthesizeSpeechRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The type of timepoint information that is returned in the response.
  module TimepointType
    # Not specified. No timepoint information will be returned.
    TIMEPOINT_TYPE_UNSPECIFIED = 0

    # Timepoint information of `<mark>` tags in SSML input will be returned.
    SSML_MARK = 1
  end
end