Package Methods (2.29.0)

Summary of entries of Methods for texttospeech.

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient

TextToSpeechAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1.services.text_to_speech.transports.base.TextToSpeechTransport, typing.Callable[[...], google.cloud.texttospeech_v1.services.text_to_speech.transports.base.TextToSpeechTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the text to speech async client.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_file

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_info

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_json

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

Return the API endpoint and client cert source for mutual TLS.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_mtls_endpoint_and_cert_source

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_operation

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_transport_class

get_transport_class(
 label: typing.Optional[str] = None,
) -> typing.Type[
 google.cloud.texttospeech_v1.services.text_to_speech.transports.base.TextToSpeechTransport
]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.list_operations

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.list_voices

list_voices(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts.ListVoicesRequest, dict
 ]
 ] = None,
 *,
 language_code: typing.Optional[str] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1.types.cloud_tts.ListVoicesResponse

Returns a list of Voice supported for synthesis.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.list_voices

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.streaming_synthesize

streaming_synthesize(
 requests: typing.Optional[
 typing.AsyncIterator[
 google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeRequest
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> typing.Awaitable[
 typing.AsyncIterable[
 google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeResponse
 ]
]

Performs bidirectional streaming speech synthesis: receives audio while sending text.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.streaming_synthesize

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.synthesize_speech

synthesize_speech(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts.SynthesizeSpeechRequest, dict
 ]
 ] = None,
 *,
 input: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.SynthesisInput
 ] = None,
 voice: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.VoiceSelectionParams
 ] = None,
 audio_config: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.AudioConfig
 ] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1.types.cloud_tts.SynthesizeSpeechResponse

Synthesizes speech synchronously: receive results after all text input has been processed.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.synthesize_speech

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient

TextToSpeechClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1.services.text_to_speech.transports.base.TextToSpeechTransport, typing.Callable[[...], google.cloud.texttospeech_v1.services.text_to_speech.transports.base.TextToSpeechTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the text to speech client.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.exit

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_file

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_info

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.from_service_account_json

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.get_operation

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.list_operations

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.list_voices

list_voices(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts.ListVoicesRequest, dict
 ]
 ] = None,
 *,
 language_code: typing.Optional[str] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1.types.cloud_tts.ListVoicesResponse

Returns a list of Voice supported for synthesis.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.list_voices

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

Parses a model path into its component segments.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_model_path

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.streaming_synthesize

streaming_synthesize(
 requests: typing.Optional[
 typing.Iterator[
 google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeRequest
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> typing.Iterable[
 google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeResponse
]

Performs bidirectional streaming speech synthesis: receives audio while sending text.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.streaming_synthesize

google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.synthesize_speech

synthesize_speech(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts.SynthesizeSpeechRequest, dict
 ]
 ] = None,
 *,
 input: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.SynthesisInput
 ] = None,
 voice: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.VoiceSelectionParams
 ] = None,
 audio_config: typing.Optional[
 google.cloud.texttospeech_v1.types.cloud_tts.AudioConfig
 ] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1.types.cloud_tts.SynthesizeSpeechResponse

Synthesizes speech synchronously: receive results after all text input has been processed.

See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.synthesize_speech

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient

TextToSpeechLongAudioSynthesizeAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport, typing.Callable[[...], google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the text to speech long audio synthesize async client.

See more: google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_transport_class

get_transport_class(
 label: typing.Optional[str] = None,
) -> typing.Type[
 google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport
]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.synthesize_long_audio

synthesize_long_audio(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts_lrs.SynthesizeLongAudioRequest,
 dict,
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient

TextToSpeechLongAudioSynthesizeClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport, typing.Callable[[...], google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.__exit__

__exit__(type, value, traceback)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.synthesize_long_audio

synthesize_long_audio(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1.types.cloud_tts_lrs.SynthesizeLongAudioRequest,
 dict,
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient

TextToSpeechAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1beta1.services.text_to_speech.transports.base.TextToSpeechTransport, typing.Callable[[...], google.cloud.texttospeech_v1beta1.services.text_to_speech.transports.base.TextToSpeechTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the text to speech async client.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_file

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_info

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.from_service_account_json

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.get_transport_class

get_transport_class(
 label: typing.Optional[str] = None,
) -> typing.Type[
 google.cloud.texttospeech_v1beta1.services.text_to_speech.transports.base.TextToSpeechTransport
]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.list_operations

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.list_voices

list_voices(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.ListVoicesRequest, dict
 ]
 ] = None,
 *,
 language_code: typing.Optional[str] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1beta1.types.cloud_tts.ListVoicesResponse

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.streaming_synthesize

streaming_synthesize(
 requests: typing.Optional[
 typing.AsyncIterator[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeRequest
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> typing.Awaitable[
 typing.AsyncIterable[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeResponse
 ]
]

Performs bidirectional streaming speech synthesis: receives audio while sending text.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.streaming_synthesize

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.synthesize_speech

synthesize_speech(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesizeSpeechRequest,
 dict,
 ]
 ] = None,
 *,
 input: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesisInput
 ] = None,
 voice: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.VoiceSelectionParams
 ] = None,
 audio_config: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.AudioConfig
 ] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesizeSpeechResponse

Synthesizes speech synchronously: receive results after all text input has been processed.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.synthesize_speech

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient

TextToSpeechClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1beta1.services.text_to_speech.transports.base.TextToSpeechTransport, typing.Callable[[...], google.cloud.texttospeech_v1beta1.services.text_to_speech.transports.base.TextToSpeechTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

Instantiates the text to speech client.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.exit

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_file

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

Creates an instance of this client using the provided credentials info.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_info

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

Creates an instance of this client using the provided credentials file.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.from_service_account_json

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

Gets the latest state of a long-running operation.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.get_operation

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

Lists operations that match the specified filter in the request.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.list_operations

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.list_voices

list_voices(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.ListVoicesRequest, dict
 ]
 ] = None,
 *,
 language_code: typing.Optional[str] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1beta1.types.cloud_tts.ListVoicesResponse

Returns a list of Voice supported for synthesis.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.list_voices

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.streaming_synthesize

streaming_synthesize(
 requests: typing.Optional[
 typing.Iterator[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeRequest
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> typing.Iterable[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeResponse
]

Performs bidirectional streaming speech synthesis: receives audio while sending text.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.streaming_synthesize

google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.synthesize_speech

synthesize_speech(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesizeSpeechRequest,
 dict,
 ]
 ] = None,
 *,
 input: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesisInput
 ] = None,
 voice: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.VoiceSelectionParams
 ] = None,
 audio_config: typing.Optional[
 google.cloud.texttospeech_v1beta1.types.cloud_tts.AudioConfig
 ] = None,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.cloud.texttospeech_v1beta1.types.cloud_tts.SynthesizeSpeechResponse

Synthesizes speech synchronously: receive results after all text input has been processed.

See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.synthesize_speech

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient

TextToSpeechLongAudioSynthesizeAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport, typing.Callable[[...], google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport]]] = 'grpc_asyncio', client_options: typing.Optional[google.api_core.client_options.ClientOptions] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.get_transport_class

get_transport_class(
 label: typing.Optional[str] = None,
) -> typing.Type[
 google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport
]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.synthesize_long_audio

synthesize_long_audio(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts_lrs.SynthesizeLongAudioRequest,
 dict,
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary_async.AsyncRetry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient

TextToSpeechLongAudioSynthesizeClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport, typing.Callable[[...], google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.transports.base.TextToSpeechLongAudioSynthesizeTransport]]] = None, client_options: typing.Optional[typing.Union[google.api_core.client_options.ClientOptions, dict]] = None, client_info: google.api_core.gapic_v1.client_info.ClientInfo = 

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.__exit__

__exit__(type, value, traceback)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_billing_account_path

common_billing_account_path(billing_account: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_location_path

common_location_path(project: str, location: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_project_path

common_project_path(project: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_file

from_service_account_file(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_info

from_service_account_info(info: dict, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_json

from_service_account_json(filename: str, *args, **kwargs)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.get_mtls_endpoint_and_cert_source

get_mtls_endpoint_and_cert_source(
 client_options: typing.Optional[
 google.api_core.client_options.ClientOptions
 ] = None,
)

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.get_operation

get_operation(
 request: typing.Optional[
 google.longrunning.operations_pb2.GetOperationRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.Operation

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.list_operations

list_operations(
 request: typing.Optional[
 google.longrunning.operations_pb2.ListOperationsRequest
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.model_path

model_path(project: str, location: str, model: str) -> str

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_billing_account_path

parse_common_billing_account_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_folder_path

parse_common_folder_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_location_path

parse_common_location_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_organization_path

parse_common_organization_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_common_project_path

parse_common_project_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_model_path

parse_model_path(path: str) -> typing.Dict[str, str]

google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.synthesize_long_audio

synthesize_long_audio(
 request: typing.Optional[
 typing.Union[
 google.cloud.texttospeech_v1beta1.types.cloud_tts_lrs.SynthesizeLongAudioRequest,
 dict,
 ]
 ] = None,
 *,
 retry: typing.Optional[
 typing.Union[
 google.api_core.retry.retry_unary.Retry,
 google.api_core.gapic_v1.method._MethodDefault,
 ]
 ] = _MethodDefault._DEFAULT_VALUE,
 timeout: typing.Union[float, object] = _MethodDefault._DEFAULT_VALUE,
 metadata: typing.Sequence[typing.Tuple[str, typing.Union[str, bytes]]] = ()
) -> google.api_core.operation.Operation

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年10月30日 UTC.