Service Client: Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::TextToSpeechLongAudioSynthesizeClient
Client stub representing the remote TextToSpeechLongAudioSynthesize gRPC service. Delegates call dispatching to Google::gRPC::Client.
target
The endpoint target address. Defaults to texttospeech.googleapis.com:443.
credentials
The authentication credentials provider. Defaults to application default credentials via Google::Auth.
NAME
Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs - Compiled Protocol Buffers messages for google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto
SYNOPSIS
use Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs;
my $msg = Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::SynthesizeLongAudioRequest->new({
parent => $parent,
input => $input,
audio_config => $audio_config,
output_gcs_uri => $output_gcs_uri,
});
# Read or update a field
my $val = $msg->parent();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::SynthesizeLongAudioRequest->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/texttospeech/v1beta1/cloud_tts_lrs.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::SynthesizeLongAudioRequest
The top-level message sent by the client for the `SynthesizeLongAudio` method.
Inherits from Protobuf::Message.
Accessors
$msg->parent()/$msg->parent($value)Type:
StringThe resource states of the request in the form of `projects/*/locations/*`.
$msg->input()/$msg->input($value)Type:
Message(Google::Cloud::Texttospeech::V1beta1::CloudTts::SynthesisInput)Required. The Synthesizer requires either plain text or SSML as input.
$msg->audio_config()/$msg->audio_config($value)Type:
Message(Google::Cloud::Texttospeech::V1beta1::CloudTts::AudioConfig)Required. The configuration of the synthesized audio.
$msg->output_gcs_uri()/$msg->output_gcs_uri($value)Type:
StringRequired. 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.
$msg->voice()/$msg->voice($value)Type:
Message(Google::Cloud::Texttospeech::V1beta1::CloudTts::VoiceSelectionParams)Required. The desired voice of the synthesized audio.
Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::SynthesizeLongAudioResponse
The message returned to the client by the `SynthesizeLongAudio` method.
Inherits from Protobuf::Message.
Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::SynthesizeLongAudioMetadata
Metadata for response returned by the `SynthesizeLongAudio` method.
Inherits from Protobuf::Message.
Accessors
$msg->start_time()/$msg->start_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Time when the request was received.
$msg->last_update_time()/$msg->last_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)Deprecated. Do not use.
$msg->progress_percentage()/$msg->progress_percentage($value)Type:
DoubleThe progress of the most recent processing update in percentage, ie. 70.0%.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Texttospeech::V1beta1::CloudTtsLrs::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.