Summary of entries of Methods for speech.
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient
AdaptationAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport, typing.Callable[[...], google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport]]] = '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 adaptation async client.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_billing_account_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_folder_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_location_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_organization_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_project_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.create_custom_class
create_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.CreateCustomClassRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_class: typing.Optional[
google.cloud.speech_v1.types.resource.CustomClass
] = None,
custom_class_id: 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.speech_v1.types.resource.CustomClass
Create a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.create_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.create_phrase_set
create_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.CreatePhraseSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
phrase_set: typing.Optional[google.cloud.speech_v1.types.resource.PhraseSet] = None,
phrase_set_id: 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.speech_v1.types.resource.PhraseSet
Create a set of phrase hints.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.create_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.custom_class_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.delete_custom_class
delete_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.DeleteCustomClassRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.delete_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.delete_phrase_set
delete_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.DeletePhraseSetRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.delete_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.from_service_account_file
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.from_service_account_info
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.from_service_account_json
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_custom_class
get_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.GetCustomClassRequest,
dict,
]
] = None,
*,
name: 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.speech_v1.types.resource.CustomClass
Get a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.get_operation
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_phrase_set
get_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.GetPhraseSetRequest,
dict,
]
] = None,
*,
name: 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.speech_v1.types.resource.PhraseSet
Get a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_transport_class
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.list_custom_classes
list_custom_classes(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1.services.adaptation.pagers.ListCustomClassesAsyncPager
List custom classes.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.list_custom_classes
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.list_operations
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.list_phrase_set
list_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1.services.adaptation.pagers.ListPhraseSetAsyncPager
List phrase sets.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.list_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_billing_account_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_folder_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_location_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_organization_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.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.speech_v1.services.adaptation.AdaptationAsyncClient.parse_common_project_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_custom_class_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.parse_phrase_set_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.phrase_set_path
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.update_custom_class
update_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.UpdateCustomClassRequest,
dict,
]
] = None,
*,
custom_class: typing.Optional[
google.cloud.speech_v1.types.resource.CustomClass
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1.types.resource.CustomClass
Update a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.update_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.update_phrase_set
update_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.UpdatePhraseSetRequest,
dict,
]
] = None,
*,
phrase_set: typing.Optional[google.cloud.speech_v1.types.resource.PhraseSet] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1.types.resource.PhraseSet
Update a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.update_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationClient
AdaptationClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport, typing.Callable[[...], google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport]]] = 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 adaptation client.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient
google.cloud.speech_v1.services.adaptation.AdaptationClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.exit
google.cloud.speech_v1.services.adaptation.AdaptationClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.common_billing_account_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.common_folder_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.common_location_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.common_organization_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.common_project_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.create_custom_class
create_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.CreateCustomClassRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_class: typing.Optional[
google.cloud.speech_v1.types.resource.CustomClass
] = None,
custom_class_id: 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.speech_v1.types.resource.CustomClass
Create a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.create_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationClient.create_phrase_set
create_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.CreatePhraseSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
phrase_set: typing.Optional[google.cloud.speech_v1.types.resource.PhraseSet] = None,
phrase_set_id: 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.speech_v1.types.resource.PhraseSet
Create a set of phrase hints.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.create_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.custom_class_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.delete_custom_class
delete_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.DeleteCustomClassRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.delete_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationClient.delete_phrase_set
delete_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.DeletePhraseSetRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.delete_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.from_service_account_file
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.from_service_account_info
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.from_service_account_json
google.cloud.speech_v1.services.adaptation.AdaptationClient.get_custom_class
get_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.GetCustomClassRequest,
dict,
]
] = None,
*,
name: 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.speech_v1.types.resource.CustomClass
Get a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.get_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.get_operation
google.cloud.speech_v1.services.adaptation.AdaptationClient.get_phrase_set
get_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.GetPhraseSetRequest,
dict,
]
] = None,
*,
name: 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.speech_v1.types.resource.PhraseSet
Get a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.get_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationClient.list_custom_classes
list_custom_classes(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1.services.adaptation.pagers.ListCustomClassesPager
List custom classes.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.list_custom_classes
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.list_operations
google.cloud.speech_v1.services.adaptation.AdaptationClient.list_phrase_set
list_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1.services.adaptation.pagers.ListPhraseSetPager
List phrase sets.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.list_phrase_set
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_common_billing_account_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.parse_common_folder_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.parse_common_location_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_common_organization_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.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.speech_v1.services.adaptation.AdaptationClient.parse_common_project_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_custom_class_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.parse_phrase_set_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.phrase_set_path
google.cloud.speech_v1.services.adaptation.AdaptationClient.update_custom_class
update_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.UpdateCustomClassRequest,
dict,
]
] = None,
*,
custom_class: typing.Optional[
google.cloud.speech_v1.types.resource.CustomClass
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1.types.resource.CustomClass
Update a custom class.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.update_custom_class
google.cloud.speech_v1.services.adaptation.AdaptationClient.update_phrase_set
update_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech_adaptation.UpdatePhraseSetRequest,
dict,
]
] = None,
*,
phrase_set: typing.Optional[google.cloud.speech_v1.types.resource.PhraseSet] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1.types.resource.PhraseSet
Update a phrase set.
See more: google.cloud.speech_v1.services.adaptation.AdaptationClient.update_phrase_set
google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesAsyncPager
ListCustomClassesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse
],
],
request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesAsyncPager
google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesPager
ListCustomClassesPager(
method: typing.Callable[
[...],
google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
],
request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesRequest,
response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListCustomClassesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesPager
google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetAsyncPager
ListPhraseSetAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse
],
],
request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetAsyncPager
google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetPager
ListPhraseSetPager(
method: typing.Callable[
[...],
google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
],
request: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetRequest,
response: google.cloud.speech_v1.types.cloud_speech_adaptation.ListPhraseSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetPager
google.cloud.speech_v1.services.speech.SpeechAsyncClient
SpeechAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1.services.speech.transports.base.SpeechTransport, typing.Callable[[...], google.cloud.speech_v1.services.speech.transports.base.SpeechTransport]]] = '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 async client.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient
google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_billing_account_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_folder_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_location_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_organization_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.common_project_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.custom_class_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.from_service_account_file
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.from_service_account_info
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.from_service_account_json
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.get_operation
google.cloud.speech_v1.services.speech.SpeechAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[google.cloud.speech_v1.services.speech.transports.base.SpeechTransport]
)
Returns an appropriate transport class.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.get_transport_class
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.list_operations
google.cloud.speech_v1.services.speech.SpeechAsyncClient.long_running_recognize
long_running_recognize(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech.LongRunningRecognizeRequest, dict
]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionAudio
] = 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
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.long_running_recognize
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_common_billing_account_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.parse_common_folder_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.parse_common_location_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_common_organization_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.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.speech_v1.services.speech.SpeechAsyncClient.parse_common_project_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_custom_class_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.parse_phrase_set_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.phrase_set_path
google.cloud.speech_v1.services.speech.SpeechAsyncClient.recognize
recognize(
request: typing.Optional[
typing.Union[google.cloud.speech_v1.types.cloud_speech.RecognizeRequest, dict]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionAudio
] = 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.speech_v1.types.cloud_speech.RecognizeResponse
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.recognize
google.cloud.speech_v1.services.speech.SpeechAsyncClient.streaming_recognize
streaming_recognize(
requests: typing.Optional[
typing.AsyncIterator[
google.cloud.speech_v1.types.cloud_speech.StreamingRecognizeRequest
]
] = 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.speech_v1.types.cloud_speech.StreamingRecognizeResponse
]
]
Performs bidirectional streaming speech recognition: receive results while sending audio.
See more: google.cloud.speech_v1.services.speech.SpeechAsyncClient.streaming_recognize
google.cloud.speech_v1.services.speech.SpeechClient
SpeechClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1.services.speech.transports.base.SpeechTransport, typing.Callable[[...], google.cloud.speech_v1.services.speech.transports.base.SpeechTransport]]] = 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 client.
See more: google.cloud.speech_v1.services.speech.SpeechClient
google.cloud.speech_v1.services.speech.SpeechClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.speech_v1.services.speech.SpeechClient.exit
google.cloud.speech_v1.services.speech.SpeechClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.common_billing_account_path
google.cloud.speech_v1.services.speech.SpeechClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.common_folder_path
google.cloud.speech_v1.services.speech.SpeechClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.common_location_path
google.cloud.speech_v1.services.speech.SpeechClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.common_organization_path
google.cloud.speech_v1.services.speech.SpeechClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.common_project_path
google.cloud.speech_v1.services.speech.SpeechClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.custom_class_path
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.from_service_account_file
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.from_service_account_info
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.from_service_account_json
google.cloud.speech_v1.services.speech.SpeechClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.speech_v1.services.speech.SpeechClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.get_operation
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.list_operations
google.cloud.speech_v1.services.speech.SpeechClient.long_running_recognize
long_running_recognize(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1.types.cloud_speech.LongRunningRecognizeRequest, dict
]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionAudio
] = 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
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface.
See more: google.cloud.speech_v1.services.speech.SpeechClient.long_running_recognize
google.cloud.speech_v1.services.speech.SpeechClient.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.
See more: google.cloud.speech_v1.services.speech.SpeechClient.parse_common_billing_account_path
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.parse_common_folder_path
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.parse_common_location_path
google.cloud.speech_v1.services.speech.SpeechClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechClient.parse_common_organization_path
google.cloud.speech_v1.services.speech.SpeechClient.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.speech_v1.services.speech.SpeechClient.parse_common_project_path
google.cloud.speech_v1.services.speech.SpeechClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechClient.parse_custom_class_path
google.cloud.speech_v1.services.speech.SpeechClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1.services.speech.SpeechClient.parse_phrase_set_path
google.cloud.speech_v1.services.speech.SpeechClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1.services.speech.SpeechClient.phrase_set_path
google.cloud.speech_v1.services.speech.SpeechClient.recognize
recognize(
request: typing.Optional[
typing.Union[google.cloud.speech_v1.types.cloud_speech.RecognizeRequest, dict]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1.types.cloud_speech.RecognitionAudio
] = 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.speech_v1.types.cloud_speech.RecognizeResponse
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
See more: google.cloud.speech_v1.services.speech.SpeechClient.recognize
google.cloud.speech_v1.services.speech.SpeechClient.streaming_recognize
streaming_recognize(
requests: typing.Optional[
typing.Iterator[
google.cloud.speech_v1.types.cloud_speech.StreamingRecognizeRequest
]
] = 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.speech_v1.types.cloud_speech.StreamingRecognizeResponse
]
Performs bidirectional streaming speech recognition: receive results while sending audio.
See more: google.cloud.speech_v1.services.speech.SpeechClient.streaming_recognize
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient
AdaptationAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport, typing.Callable[[...], google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport]]] = '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 adaptation async client.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_billing_account_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_folder_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_location_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_organization_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_project_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.create_custom_class
create_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.CreateCustomClassRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_class: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.CustomClass
] = None,
custom_class_id: 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.speech_v1p1beta1.types.resource.CustomClass
Create a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.create_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.create_phrase_set
create_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.CreatePhraseSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
phrase_set: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.PhraseSet
] = None,
phrase_set_id: 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.speech_v1p1beta1.types.resource.PhraseSet
Create a set of phrase hints.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.create_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.custom_class_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.delete_custom_class
delete_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.DeleteCustomClassRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.delete_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.delete_phrase_set
delete_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.DeletePhraseSetRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.delete_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.from_service_account_file
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.from_service_account_info
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.from_service_account_json
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_custom_class
get_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.GetCustomClassRequest,
dict,
]
] = None,
*,
name: 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.speech_v1p1beta1.types.resource.CustomClass
Get a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_operation
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_phrase_set
get_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.GetPhraseSetRequest,
dict,
]
] = None,
*,
name: 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.speech_v1p1beta1.types.resource.PhraseSet
Get a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_transport_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.list_custom_classes
list_custom_classes(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesAsyncPager
)
List custom classes.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.list_custom_classes
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.list_operations
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.list_phrase_set
list_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetAsyncPager
List phrase sets.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.list_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_folder_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_location_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.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.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_project_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_custom_class_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_phrase_set_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.phrase_set_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.update_custom_class
update_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.UpdateCustomClassRequest,
dict,
]
] = None,
*,
custom_class: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.CustomClass
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1p1beta1.types.resource.CustomClass
Update a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.update_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.update_phrase_set
update_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.UpdatePhraseSetRequest,
dict,
]
] = None,
*,
phrase_set: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.PhraseSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1p1beta1.types.resource.PhraseSet
Update a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.update_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient
AdaptationClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport, typing.Callable[[...], google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport]]] = 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 adaptation client.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.__exit__
__exit__(type, value, traceback)
Releases underlying transport's resources.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.exit
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_billing_account_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_folder_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_location_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_organization_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_project_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.create_custom_class
create_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.CreateCustomClassRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
custom_class: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.CustomClass
] = None,
custom_class_id: 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.speech_v1p1beta1.types.resource.CustomClass
Create a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.create_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.create_phrase_set
create_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.CreatePhraseSetRequest,
dict,
]
] = None,
*,
parent: typing.Optional[str] = None,
phrase_set: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.PhraseSet
] = None,
phrase_set_id: 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.speech_v1p1beta1.types.resource.PhraseSet
Create a set of phrase hints.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.create_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.custom_class_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.delete_custom_class
delete_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.DeleteCustomClassRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.delete_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.delete_phrase_set
delete_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.DeletePhraseSetRequest,
dict,
]
] = None,
*,
name: 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]] = ()
) -> None
Delete a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.delete_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.from_service_account_file
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.from_service_account_info
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.from_service_account_json
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_custom_class
get_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.GetCustomClassRequest,
dict,
]
] = None,
*,
name: 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.speech_v1p1beta1.types.resource.CustomClass
Get a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_mtls_endpoint_and_cert_source
get_mtls_endpoint_and_cert_source(
client_options: typing.Optional[
google.api_core.client_options.ClientOptions
] = None,
)
Deprecated.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.get_operation
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_phrase_set
get_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.GetPhraseSetRequest,
dict,
]
] = None,
*,
name: 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.speech_v1p1beta1.types.resource.PhraseSet
Get a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.get_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.list_custom_classes
list_custom_classes(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesPager
List custom classes.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.list_custom_classes
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.list_operations
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.list_phrase_set
list_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetRequest,
dict,
]
] = None,
*,
parent: 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.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetPager
List phrase sets.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.list_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_billing_account_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_folder_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_location_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_organization_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.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.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_common_project_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_custom_class_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.parse_phrase_set_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.phrase_set_path
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.update_custom_class
update_custom_class(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.UpdateCustomClassRequest,
dict,
]
] = None,
*,
custom_class: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.CustomClass
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1p1beta1.types.resource.CustomClass
Update a custom class.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.update_custom_class
google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.update_phrase_set
update_phrase_set(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.UpdatePhraseSetRequest,
dict,
]
] = None,
*,
phrase_set: typing.Optional[
google.cloud.speech_v1p1beta1.types.resource.PhraseSet
] = None,
update_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = 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.speech_v1p1beta1.types.resource.PhraseSet
Update a phrase set.
See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.update_phrase_set
google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesAsyncPager
ListCustomClassesAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesResponse
],
],
request: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesRequest,
response: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesAsyncPager
google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesPager
ListCustomClassesPager(
method: typing.Callable[
[...],
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesResponse,
],
request: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesRequest,
response: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListCustomClassesResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesPager
google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetAsyncPager
ListPhraseSetAsyncPager(
method: typing.Callable[
[...],
typing.Awaitable[
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetResponse
],
],
request: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetRequest,
response: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiates the pager.
See more: google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetAsyncPager
google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetPager
ListPhraseSetPager(
method: typing.Callable[
[...],
google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetResponse,
],
request: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetRequest,
response: google.cloud.speech_v1p1beta1.types.cloud_speech_adaptation.ListPhraseSetResponse,
*,
metadata: typing.Sequence[typing.Tuple[str, str]] = ()
)
Instantiate the pager.
See more: google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetPager
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient
SpeechAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v1p1beta1.services.speech.transports.base.SpeechTransport, typing.Callable[[...], google.cloud.speech_v1p1beta1.services.speech.transports.base.SpeechTransport]]] = '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 async client.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_billing_account_path
common_billing_account_path(billing_account: str) -> str
Returns a fully-qualified billing_account string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_billing_account_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_folder_path
common_folder_path(folder: str) -> str
Returns a fully-qualified folder string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_folder_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_location_path
common_location_path(project: str, location: str) -> str
Returns a fully-qualified location string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_location_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_organization_path
common_organization_path(organization: str) -> str
Returns a fully-qualified organization string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_organization_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_project_path
common_project_path(project: str) -> str
Returns a fully-qualified project string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_project_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.custom_class_path
custom_class_path(project: str, location: str, custom_class: str) -> str
Returns a fully-qualified custom_class string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.custom_class_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.from_service_account_file
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.from_service_account_info
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.from_service_account_json
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.get_mtls_endpoint_and_cert_source
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.get_operation
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.get_transport_class
get_transport_class() -> (
typing.Type[
google.cloud.speech_v1p1beta1.services.speech.transports.base.SpeechTransport
]
)
Returns an appropriate transport class.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.get_transport_class
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.list_operations
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.long_running_recognize
long_running_recognize(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech.LongRunningRecognizeRequest,
dict,
]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1p1beta1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1p1beta1.types.cloud_speech.RecognitionAudio
] = 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
Performs asynchronous speech recognition: receive results via the google.longrunning.Operations interface.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.long_running_recognize
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_billing_account_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_folder_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_location_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_organization_path
parse_common_organization_path(path: str) -> typing.Dict[str, str]
Parse a organization path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_organization_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.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.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_common_project_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_custom_class_path
parse_custom_class_path(path: str) -> typing.Dict[str, str]
Parses a custom_class path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_custom_class_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_phrase_set_path
parse_phrase_set_path(path: str) -> typing.Dict[str, str]
Parses a phrase_set path into its component segments.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.parse_phrase_set_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.phrase_set_path
phrase_set_path(project: str, location: str, phrase_set: str) -> str
Returns a fully-qualified phrase_set string.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.phrase_set_path
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.recognize
recognize(
request: typing.Optional[
typing.Union[
google.cloud.speech_v1p1beta1.types.cloud_speech.RecognizeRequest, dict
]
] = None,
*,
config: typing.Optional[
google.cloud.speech_v1p1beta1.types.cloud_speech.RecognitionConfig
] = None,
audio: typing.Optional[
google.cloud.speech_v1p1beta1.types.cloud_speech.RecognitionAudio
] = 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.speech_v1p1beta1.types.cloud_speech.RecognizeResponse
Performs synchronous speech recognition: receive results after all audio has been sent and processed.
See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.recognize
google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.streaming_recognize
streaming_recognize(
requests: typing.Optional[
typing.AsyncIterator[
google.cloud.speech_v1p1beta1.types.cloud_speech