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
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_location_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.common_project_path
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.
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.
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.
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.
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, str]] = ()
) -> 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
]
Returns an appropriate transport class.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.get_transport_class
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, str]] = ()
) -> 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, str]] = ()
) -> 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
Returns a fully-qualified model string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.model_path
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]
Parse a billing_account path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechAsyncClient.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.TextToSpeechAsyncClient.parse_model_path
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, str]] = ()
) -> typing.Awaitable[
typing.AsyncIterable[
google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeResponse
]
]
Performs bidirectional streaming speech synthesis: receive 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, str]] = ()
) -> 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
Returns a fully-qualified billing_account string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_billing_account_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_folder_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_location_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_organization_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.common_project_path
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,
)
Deprecated.
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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
Returns a fully-qualified model string.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.model_path
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]
Parse a billing_account path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_folder_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_location_path
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
See more: google.cloud.texttospeech_v1.services.text_to_speech.TextToSpeechClient.parse_common_project_path
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, str]] = ()
) -> typing.Iterable[
google.cloud.texttospeech_v1.types.cloud_tts.StreamingSynthesizeResponse
]
Performs bidirectional streaming speech synthesis: receive 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, str]] = ()
) -> 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.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
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,
)
Return the API endpoint and client cert source for mutual TLS.
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, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running 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
]
Returns an appropriate transport class.
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, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.model_path
model_path(project: str, location: str, model: str) -> str
Returns a fully-qualified model string.
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]
Parse a billing_account path into its component segments.
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]
Parse a folder path into its component segments.
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]
Parse a location path into its component segments.
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]
Parse a organization path into its component segments.
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]
Parse a project path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_model_path
parse_model_path(path: str) -> typing.Dict[str, str]
Parses a model path into its component segments.
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, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Synthesizes long form text asynchronously.
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 =
Instantiates the text to speech long audio synthesize client.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
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,
)
Deprecated.
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, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running 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, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.model_path
model_path(project: str, location: str, model: str) -> str
Returns a fully-qualified model string.
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]
Parse a billing_account path into its component segments.
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]
Parse a folder path into its component segments.
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]
Parse a location path into its component segments.
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]
Parse a organization path into its component segments.
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]
Parse a project path into its component segments.
google.cloud.texttospeech_v1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_model_path
parse_model_path(path: str) -> typing.Dict[str, str]
Parses a model path into its component segments.
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, str]] = ()
) -> google.api_core.operation.Operation
Synthesizes long form text asynchronously.
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
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_folder_path
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
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.
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.
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.
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,
)
Return the API endpoint and client cert source for mutual TLS.
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, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running operation.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.get_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
]
Returns an appropriate transport class.
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, str]] = ()
) -> 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, str]] = ()
) -> 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.TextToSpeechAsyncClient.list_voices
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.model_path
model_path(project: str, location: str, model: str) -> str
Returns a fully-qualified model string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.model_path
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]
Parse a billing_account path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.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_v1beta1.services.text_to_speech.TextToSpeechAsyncClient.parse_model_path
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, str]] = ()
) -> typing.Awaitable[
typing.AsyncIterable[
google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeResponse
]
]
Performs bidirectional streaming speech synthesis: receive audio while sending text.
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, str]] = ()
) -> 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
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_folder_path
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_location_path
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.common_project_path
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.
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.
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.
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,
)
Deprecated.
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, str]] = ()
) -> 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, str]] = ()
) -> 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, str]] = ()
) -> 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
Returns a fully-qualified model string.
See more: google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.model_path
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]
Parse a billing_account path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech.TextToSpeechClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.texttospeech_v1beta1.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_v1beta1.services.text_to_speech.TextToSpeechClient.parse_model_path
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, str]] = ()
) -> typing.Iterable[
google.cloud.texttospeech_v1beta1.types.cloud_tts.StreamingSynthesizeResponse
]
Performs bidirectional streaming speech synthesis: receive 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, str]] = ()
) -> 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 =
Instantiates the text to speech long audio synthesize async client.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
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,
)
Return the API endpoint and client cert source for mutual TLS.
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, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running 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
]
Returns an appropriate transport class.
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, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.model_path
model_path(project: str, location: str, model: str) -> str
Returns a fully-qualified model string.
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]
Parse a billing_account path into its component segments.
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]
Parse a folder path into its component segments.
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]
Parse a location path into its component segments.
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]
Parse a organization path into its component segments.
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]
Parse a project path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeAsyncClient.parse_model_path
parse_model_path(path: str) -> typing.Dict[str, str]
Parses a model path into its component segments.
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, str]] = ()
) -> google.api_core.operation_async.AsyncOperation
Synthesizes long form text asynchronously.
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 =
Instantiates the text to speech long audio synthesize client.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_file
from_service_account_file(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_info
from_service_account_info(info: dict, *args, **kwargs)
Creates an instance of this client using the provided credentials info.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.from_service_account_json
from_service_account_json(filename: str, *args, **kwargs)
Creates an instance of this client using the provided credentials file.
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,
)
Deprecated.
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, str]] = ()
) -> google.longrunning.operations_pb2.Operation
Gets the latest state of a long-running 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, str]] = ()
) -> google.longrunning.operations_pb2.ListOperationsResponse
Lists operations that match the specified filter in the request.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.model_path
model_path(project: str, location: str, model: str) -> str
Returns a fully-qualified model string.
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]
Parse a billing_account path into its component segments.
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]
Parse a folder path into its component segments.
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]
Parse a location path into its component segments.
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]
Parse a organization path into its component segments.
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]
Parse a project path into its component segments.
google.cloud.texttospeech_v1beta1.services.text_to_speech_long_audio_synthesize.TextToSpeechLongAudioSynthesizeClient.parse_model_path
parse_model_path(path: str) -> typing.Dict[str, str]
Parses a model path into its component segments.
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, str]] = ()
) -> google.api_core.operation.Operation
Synthesizes long form text asynchronously.