Google Cloud Text-to-Speech v1 API - Class SynthesizeLongAudioRequest (3.7.0)

public sealed class SynthesizeLongAudioRequest : IMessage<SynthesizeLongAudioRequest>, IEquatable<SynthesizeLongAudioRequest>, IDeepCloneable<SynthesizeLongAudioRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 API class SynthesizeLongAudioRequest.

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

Inheritance

object > SynthesizeLongAudioRequest

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

SynthesizeLongAudioRequest()

public SynthesizeLongAudioRequest()

SynthesizeLongAudioRequest(SynthesizeLongAudioRequest)

public SynthesizeLongAudioRequest(SynthesizeLongAudioRequest other)
Parameter
Name Description
other SynthesizeLongAudioRequest

Properties

AudioConfig

public AudioConfig AudioConfig { get; set; }

Required. The configuration of the synthesized audio.

Property Value
Type Description
AudioConfig

Input

public SynthesisInput Input { get; set; }

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

Property Value
Type Description
SynthesisInput

OutputGcsUri

public string OutputGcsUri { get; set; }

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.

Property Value
Type Description
string

Parent

public string Parent { get; set; }

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

Property Value
Type Description
string

Voice

public VoiceSelectionParams Voice { get; set; }

Required. The desired voice of the synthesized audio.

Property Value
Type Description
VoiceSelectionParams

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.