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

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

Returns Required. The configuration of the synthesized audio.

Returns:



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 82

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:



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 82

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:



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 82

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:



82
83
84
85
86
87
88
89
90
91
92
93
94
# File 'proto_docs/google/cloud/texttospeech/v1beta1/cloud_tts.rb', line 82

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