Summary of entries of Methods for mediatranslation.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient
SpeechTranslationServiceAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.mediatranslation_v1beta1.services.speech_translation_service.transports.base.SpeechTranslationServiceTransport, typing.Callable[[...], google.cloud.mediatranslation_v1beta1.services.speech_translation_service.transports.base.SpeechTranslationServiceTransport]]] = '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 speech translation service async client.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.get_transport_class
get_transport_class(
label: typing.Optional[str] = None,
) -> typing.Type[
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.transports.base.SpeechTranslationServiceTransport
]
Returns an appropriate transport class.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceAsyncClient.streaming_translate_speech
streaming_translate_speech(
requests: typing.Optional[
typing.AsyncIterator[
google.cloud.mediatranslation_v1beta1.types.media_translation.StreamingTranslateSpeechRequest
]
] = 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.mediatranslation_v1beta1.types.media_translation.StreamingTranslateSpeechResponse
]
]
Performs bidirectional streaming speech translation: receive results while sending audio.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient
SpeechTranslationServiceClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.mediatranslation_v1beta1.services.speech_translation_service.transports.base.SpeechTranslationServiceTransport, typing.Callable[[...], google.cloud.mediatranslation_v1beta1.services.speech_translation_service.transports.base.SpeechTranslationServiceTransport]]] = 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 speech translation service client.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.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.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.parse_common_folder_path
parse_common_folder_path(path: str) -> typing.Dict[str, str]
Parse a folder path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.parse_common_location_path
parse_common_location_path(path: str) -> typing.Dict[str, str]
Parse a location path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.parse_common_project_path
parse_common_project_path(path: str) -> typing.Dict[str, str]
Parse a project path into its component segments.
google.cloud.mediatranslation_v1beta1.services.speech_translation_service.SpeechTranslationServiceClient.streaming_translate_speech
streaming_translate_speech(
requests: typing.Optional[
typing.Iterator[
google.cloud.mediatranslation_v1beta1.types.media_translation.StreamingTranslateSpeechRequest
]
] = 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.mediatranslation_v1beta1.types.media_translation.StreamingTranslateSpeechResponse
]
Performs bidirectional streaming speech translation: receive results while sending audio.