Package Methods (2.27.0)

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

google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_location_path

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

google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.common_project_path

common_project_path(project: str) -> str

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

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

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

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

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

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

google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient.get_transport_class

get_transport_class() -> (
    typing.Type[
        google.cloud.speech_v1.services.adaptation.transports.base.AdaptationTransport
    ]
)

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

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

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

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

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

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

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

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

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

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,
)

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

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

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

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

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

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,
    *,
    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.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,
    *,
    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.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,
    *,
    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.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,
    *,
    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.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,
)

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_location_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.common_project_path

common_project_path(project: str) -> str

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

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.custom_class_path

custom_class_path(project: str, location: str, custom_class: str) -> str

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

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

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

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.

See more: google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_mtls_endpoint_and_cert_source

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.get_transport_class

get_transport_class() -> (
    typing.Type[
        google.cloud.speech_v1p1beta1.services.adaptation.transports.base.AdaptationTransport
    ]
)

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
)

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_billing_account_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_folder_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_location_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_organization_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient.parse_common_project_path

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

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

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

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

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_folder_path

common_folder_path(folder: str) -> str

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_location_path

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

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient.common_project_path

common_project_path(project: str) -> str

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

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

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

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

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

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,
)

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

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

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

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]

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]

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

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

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,
    *,
    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.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,
    *,
    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.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,
    *,
    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.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,
    *,
    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.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

google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_location_path

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

google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.common_project_path

common_project_path(project: str) -> str

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
    ]
)

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.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_v1p1beta1.types.cloud_speech.StreamingRecognizeResponse
    ]
]

Performs bidirectional streaming speech recognition: receive results while sending audio.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient.streaming_recognize

google.cloud.speech_v1p1beta1.services.speech.SpeechClient

SpeechClient(*, 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]]] = 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_v1p1beta1.services.speech.SpeechClient

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechClient.exit

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.common_billing_account_path

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_folder_path

common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_folder_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.common_location_path

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_organization_path

common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_organization_path

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_project_path

common_project_path(project: str) -> str

Returns a fully-qualified project string.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechClient.common_project_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.custom_class_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.from_service_account_file

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.from_service_account_info

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.from_service_account_json

google.cloud.speech_v1p1beta1.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,
)

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.get_operation

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.list_operations

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.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.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_v1p1beta1.services.speech.SpeechClient.long_running_recognize

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_common_billing_account_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_common_folder_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_common_location_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_common_organization_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_common_project_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_custom_class_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.parse_phrase_set_path

google.cloud.speech_v1p1beta1.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_v1p1beta1.services.speech.SpeechClient.phrase_set_path

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.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.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.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.SpeechClient.recognize

google.cloud.speech_v1p1beta1.services.speech.SpeechClient.streaming_recognize

streaming_recognize(
    requests: typing.Optional[
        typing.Iterator[
            google.cloud.speech_v1p1beta1.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_v1p1beta1.types.cloud_speech.StreamingRecognizeResponse
]

Performs bidirectional streaming speech recognition: receive results while sending audio.

See more: google.cloud.speech_v1p1beta1.services.speech.SpeechClient.streaming_recognize

google.cloud.speech_v2.services.speech.SpeechAsyncClient

SpeechAsyncClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v2.services.speech.transports.base.SpeechTransport, typing.Callable[[...], google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient

google.cloud.speech_v2.services.speech.SpeechAsyncClient.batch_recognize

batch_recognize(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.BatchRecognizeRequest, dict
        ]
    ] = None,
    *,
    recognizer: typing.Optional[str] = None,
    config: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.RecognitionConfig
    ] = None,
    config_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    files: typing.Optional[
        typing.MutableSequence[
            google.cloud.speech_v2.types.cloud_speech.BatchRecognizeFileMetadata
        ]
    ] = 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 batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.batch_recognize

google.cloud.speech_v2.services.speech.SpeechAsyncClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = 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

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.cancel_operation

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.common_billing_account_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_folder_path

common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_folder_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.common_location_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_organization_path

common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_organization_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_project_path

common_project_path(project: str) -> str

Returns a fully-qualified project string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.common_project_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.config_path

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

Returns a fully-qualified config string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.config_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.create_custom_class

create_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreateCustomClassRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    custom_class: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.create_phrase_set

create_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreatePhraseSetRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    phrase_set: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.create_recognizer

create_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreateRecognizerRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    recognizer: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.Recognizer
    ] = None,
    recognizer_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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.crypto_key_path

crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> str

Returns a fully-qualified crypto_key string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.crypto_key_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.crypto_key_version_path

crypto_key_version_path(
    project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> str

Returns a fully-qualified crypto_key_version string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.crypto_key_version_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.custom_class_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.delete_custom_class

delete_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = 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

google.cloud.speech_v2.services.speech.SpeechAsyncClient.delete_phrase_set

delete_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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]] = ()
) -> google.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.delete_recognizer

delete_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.DeleteRecognizerRequest, 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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.from_service_account_file

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.from_service_account_info

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.from_service_account_json

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_config

get_config(
    request: typing.Optional[
        typing.Union[google.cloud.speech_v2.types.cloud_speech.GetConfigRequest, 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_v2.types.cloud_speech.Config

Returns the requested xref_Config.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_config

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_custom_class

get_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.types.cloud_speech.CustomClass

Returns the requested xref_CustomClass.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_custom_class

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_location

get_location(
    request: typing.Optional[
        google.cloud.location.locations_pb2.GetLocationRequest
    ] = 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.location.locations_pb2.Location

Gets information about a location.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_location

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.get_mtls_endpoint_and_cert_source

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.get_operation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_phrase_set

get_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.types.cloud_speech.PhraseSet

Returns the requested xref_PhraseSet.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_phrase_set

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_recognizer

get_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.GetRecognizerRequest, 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_v2.types.cloud_speech.Recognizer

Returns the requested xref_Recognizer.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_recognizer

google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_transport_class

get_transport_class() -> (
    typing.Type[google.cloud.speech_v2.services.speech.transports.base.SpeechTransport]
)

Returns an appropriate transport class.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.get_transport_class

google.cloud.speech_v2.services.speech.SpeechAsyncClient.list_custom_classes

list_custom_classes(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.services.speech.pagers.ListCustomClassesAsyncPager

google.cloud.speech_v2.services.speech.SpeechAsyncClient.list_locations

list_locations(
    request: typing.Optional[
        google.cloud.location.locations_pb2.ListLocationsRequest
    ] = 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.location.locations_pb2.ListLocationsResponse

Lists information about the supported locations for this service.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.list_locations

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.list_operations

google.cloud.speech_v2.services.speech.SpeechAsyncClient.list_phrase_sets

list_phrase_sets(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest, 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_v2.services.speech.pagers.ListPhraseSetsAsyncPager

google.cloud.speech_v2.services.speech.SpeechAsyncClient.list_recognizers

list_recognizers(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest, 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_v2.services.speech.pagers.ListRecognizersAsyncPager

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_common_billing_account_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_common_folder_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_common_location_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_common_organization_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_common_project_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_config_path

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

Parses a config path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_config_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_crypto_key_path

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

Parses a crypto_key path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_crypto_key_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_crypto_key_version_path

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

Parses a crypto_key_version path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_crypto_key_version_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_custom_class_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.parse_phrase_set_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_recognizer_path

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

Parses a recognizer path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.parse_recognizer_path

google.cloud.speech_v2.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_v2.services.speech.SpeechAsyncClient.phrase_set_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.recognize

recognize(
    request: typing.Optional[
        typing.Union[google.cloud.speech_v2.types.cloud_speech.RecognizeRequest, dict]
    ] = None,
    *,
    recognizer: typing.Optional[str] = None,
    config: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.RecognitionConfig
    ] = None,
    config_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    content: typing.Optional[bytes] = None,
    uri: 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_v2.types.cloud_speech.RecognizeResponse

Performs synchronous Speech recognition: receive results after all audio has been sent and processed.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.recognize

google.cloud.speech_v2.services.speech.SpeechAsyncClient.recognizer_path

recognizer_path(project: str, location: str, recognizer: str) -> str

Returns a fully-qualified recognizer string.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.recognizer_path

google.cloud.speech_v2.services.speech.SpeechAsyncClient.streaming_recognize

streaming_recognize(
    requests: typing.Optional[
        typing.AsyncIterator[
            google.cloud.speech_v2.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_v2.types.cloud_speech.StreamingRecognizeResponse
    ]
]

Performs bidirectional streaming speech recognition: receive results while sending audio.

See more: google.cloud.speech_v2.services.speech.SpeechAsyncClient.streaming_recognize

google.cloud.speech_v2.services.speech.SpeechAsyncClient.undelete_custom_class

undelete_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeleteCustomClassRequest, 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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.undelete_phrase_set

undelete_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeletePhraseSetRequest, 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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.undelete_recognizer

undelete_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeleteRecognizerRequest, 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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.update_config

update_config(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateConfigRequest, dict
        ]
    ] = None,
    *,
    config: typing.Optional[google.cloud.speech_v2.types.cloud_speech.Config] = 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_v2.types.cloud_speech.Config

google.cloud.speech_v2.services.speech.SpeechAsyncClient.update_custom_class

update_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateCustomClassRequest, dict
        ]
    ] = None,
    *,
    custom_class: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.update_phrase_set

update_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdatePhraseSetRequest, dict
        ]
    ] = None,
    *,
    phrase_set: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechAsyncClient.update_recognizer

update_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateRecognizerRequest, dict
        ]
    ] = None,
    *,
    recognizer: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.Recognizer
    ] = 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.api_core.operation_async.AsyncOperation

google.cloud.speech_v2.services.speech.SpeechClient

SpeechClient(*, credentials: typing.Optional[google.auth.credentials.Credentials] = None, transport: typing.Optional[typing.Union[str, google.cloud.speech_v2.services.speech.transports.base.SpeechTransport, typing.Callable[[...], google.cloud.speech_v2.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_v2.services.speech.SpeechClient

google.cloud.speech_v2.services.speech.SpeechClient.__exit__

__exit__(type, value, traceback)

Releases underlying transport's resources.

See more: google.cloud.speech_v2.services.speech.SpeechClient.exit

google.cloud.speech_v2.services.speech.SpeechClient.batch_recognize

batch_recognize(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.BatchRecognizeRequest, dict
        ]
    ] = None,
    *,
    recognizer: typing.Optional[str] = None,
    config: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.RecognitionConfig
    ] = None,
    config_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    files: typing.Optional[
        typing.MutableSequence[
            google.cloud.speech_v2.types.cloud_speech.BatchRecognizeFileMetadata
        ]
    ] = 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 batch asynchronous speech recognition: send a request with N audio files and receive a long running operation that can be polled to see when the transcriptions are finished.

See more: google.cloud.speech_v2.services.speech.SpeechClient.batch_recognize

google.cloud.speech_v2.services.speech.SpeechClient.cancel_operation

cancel_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.CancelOperationRequest
    ] = 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

Starts asynchronous cancellation on a long-running operation.

See more: google.cloud.speech_v2.services.speech.SpeechClient.cancel_operation

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.common_billing_account_path

google.cloud.speech_v2.services.speech.SpeechClient.common_folder_path

common_folder_path(folder: str) -> str

Returns a fully-qualified folder string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.common_folder_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.common_location_path

google.cloud.speech_v2.services.speech.SpeechClient.common_organization_path

common_organization_path(organization: str) -> str

Returns a fully-qualified organization string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.common_organization_path

google.cloud.speech_v2.services.speech.SpeechClient.common_project_path

common_project_path(project: str) -> str

Returns a fully-qualified project string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.common_project_path

google.cloud.speech_v2.services.speech.SpeechClient.config_path

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

Returns a fully-qualified config string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.config_path

google.cloud.speech_v2.services.speech.SpeechClient.create_custom_class

create_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreateCustomClassRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    custom_class: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.create_phrase_set

create_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreatePhraseSetRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    phrase_set: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.create_recognizer

create_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.CreateRecognizerRequest, dict
        ]
    ] = None,
    *,
    parent: typing.Optional[str] = None,
    recognizer: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.Recognizer
    ] = None,
    recognizer_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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.crypto_key_path

crypto_key_path(project: str, location: str, key_ring: str, crypto_key: str) -> str

Returns a fully-qualified crypto_key string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.crypto_key_path

google.cloud.speech_v2.services.speech.SpeechClient.crypto_key_version_path

crypto_key_version_path(
    project: str, location: str, key_ring: str, crypto_key: str, crypto_key_version: str
) -> str

Returns a fully-qualified crypto_key_version string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.crypto_key_version_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.custom_class_path

google.cloud.speech_v2.services.speech.SpeechClient.delete_custom_class

delete_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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]] = ()
) -> google.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.delete_operation

delete_operation(
    request: typing.Optional[
        google.longrunning.operations_pb2.DeleteOperationRequest
    ] = 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

google.cloud.speech_v2.services.speech.SpeechClient.delete_phrase_set

delete_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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]] = ()
) -> google.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.delete_recognizer

delete_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.DeleteRecognizerRequest, 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.api_core.operation.Operation

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.from_service_account_file

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.from_service_account_info

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.from_service_account_json

google.cloud.speech_v2.services.speech.SpeechClient.get_config

get_config(
    request: typing.Optional[
        typing.Union[google.cloud.speech_v2.types.cloud_speech.GetConfigRequest, 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_v2.types.cloud_speech.Config

Returns the requested xref_Config.

See more: google.cloud.speech_v2.services.speech.SpeechClient.get_config

google.cloud.speech_v2.services.speech.SpeechClient.get_custom_class

get_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.types.cloud_speech.CustomClass

Returns the requested xref_CustomClass.

See more: google.cloud.speech_v2.services.speech.SpeechClient.get_custom_class

google.cloud.speech_v2.services.speech.SpeechClient.get_location

get_location(
    request: typing.Optional[
        google.cloud.location.locations_pb2.GetLocationRequest
    ] = 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.location.locations_pb2.Location

Gets information about a location.

See more: google.cloud.speech_v2.services.speech.SpeechClient.get_location

google.cloud.speech_v2.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,
)

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.get_operation

google.cloud.speech_v2.services.speech.SpeechClient.get_phrase_set

get_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.types.cloud_speech.PhraseSet

Returns the requested xref_PhraseSet.

See more: google.cloud.speech_v2.services.speech.SpeechClient.get_phrase_set

google.cloud.speech_v2.services.speech.SpeechClient.get_recognizer

get_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.GetRecognizerRequest, 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_v2.types.cloud_speech.Recognizer

Returns the requested xref_Recognizer.

See more: google.cloud.speech_v2.services.speech.SpeechClient.get_recognizer

google.cloud.speech_v2.services.speech.SpeechClient.list_custom_classes

list_custom_classes(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.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_v2.services.speech.pagers.ListCustomClassesPager

google.cloud.speech_v2.services.speech.SpeechClient.list_locations

list_locations(
    request: typing.Optional[
        google.cloud.location.locations_pb2.ListLocationsRequest
    ] = 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.location.locations_pb2.ListLocationsResponse

Lists information about the supported locations for this service.

See more: google.cloud.speech_v2.services.speech.SpeechClient.list_locations

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.list_operations

google.cloud.speech_v2.services.speech.SpeechClient.list_phrase_sets

list_phrase_sets(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest, 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_v2.services.speech.pagers.ListPhraseSetsPager

google.cloud.speech_v2.services.speech.SpeechClient.list_recognizers

list_recognizers(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest, 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_v2.services.speech.pagers.ListRecognizersPager

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_common_billing_account_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_common_folder_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_common_location_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_common_organization_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_common_project_path

google.cloud.speech_v2.services.speech.SpeechClient.parse_config_path

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

Parses a config path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechClient.parse_config_path

google.cloud.speech_v2.services.speech.SpeechClient.parse_crypto_key_path

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

Parses a crypto_key path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechClient.parse_crypto_key_path

google.cloud.speech_v2.services.speech.SpeechClient.parse_crypto_key_version_path

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

Parses a crypto_key_version path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechClient.parse_crypto_key_version_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_custom_class_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.parse_phrase_set_path

google.cloud.speech_v2.services.speech.SpeechClient.parse_recognizer_path

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

Parses a recognizer path into its component segments.

See more: google.cloud.speech_v2.services.speech.SpeechClient.parse_recognizer_path

google.cloud.speech_v2.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_v2.services.speech.SpeechClient.phrase_set_path

google.cloud.speech_v2.services.speech.SpeechClient.recognize

recognize(
    request: typing.Optional[
        typing.Union[google.cloud.speech_v2.types.cloud_speech.RecognizeRequest, dict]
    ] = None,
    *,
    recognizer: typing.Optional[str] = None,
    config: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.RecognitionConfig
    ] = None,
    config_mask: typing.Optional[google.protobuf.field_mask_pb2.FieldMask] = None,
    content: typing.Optional[bytes] = None,
    uri: 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_v2.types.cloud_speech.RecognizeResponse

Performs synchronous Speech recognition: receive results after all audio has been sent and processed.

See more: google.cloud.speech_v2.services.speech.SpeechClient.recognize

google.cloud.speech_v2.services.speech.SpeechClient.recognizer_path

recognizer_path(project: str, location: str, recognizer: str) -> str

Returns a fully-qualified recognizer string.

See more: google.cloud.speech_v2.services.speech.SpeechClient.recognizer_path

google.cloud.speech_v2.services.speech.SpeechClient.streaming_recognize

streaming_recognize(
    requests: typing.Optional[
        typing.Iterator[
            google.cloud.speech_v2.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_v2.types.cloud_speech.StreamingRecognizeResponse
]

Performs bidirectional streaming speech recognition: receive results while sending audio.

See more: google.cloud.speech_v2.services.speech.SpeechClient.streaming_recognize

google.cloud.speech_v2.services.speech.SpeechClient.undelete_custom_class

undelete_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeleteCustomClassRequest, 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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.undelete_phrase_set

undelete_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeletePhraseSetRequest, 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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.undelete_recognizer

undelete_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UndeleteRecognizerRequest, 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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.update_config

update_config(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateConfigRequest, dict
        ]
    ] = None,
    *,
    config: typing.Optional[google.cloud.speech_v2.types.cloud_speech.Config] = 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_v2.types.cloud_speech.Config

google.cloud.speech_v2.services.speech.SpeechClient.update_custom_class

update_custom_class(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateCustomClassRequest, dict
        ]
    ] = None,
    *,
    custom_class: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.update_phrase_set

update_phrase_set(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdatePhraseSetRequest, dict
        ]
    ] = None,
    *,
    phrase_set: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.SpeechClient.update_recognizer

update_recognizer(
    request: typing.Optional[
        typing.Union[
            google.cloud.speech_v2.types.cloud_speech.UpdateRecognizerRequest, dict
        ]
    ] = None,
    *,
    recognizer: typing.Optional[
        google.cloud.speech_v2.types.cloud_speech.Recognizer
    ] = 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.api_core.operation.Operation

google.cloud.speech_v2.services.speech.pagers.ListCustomClassesAsyncPager

ListCustomClassesAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse
        ],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse,
    *,
    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_v2.services.speech.pagers.ListCustomClassesPager

ListCustomClassesPager(
    method: typing.Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListCustomClassesResponse,
    *,
    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_v2.services.speech.pagers.ListPhraseSetsAsyncPager

ListPhraseSetsAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse
        ],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse,
    *,
    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_v2.services.speech.pagers.ListPhraseSetsPager

ListPhraseSetsPager(
    method: typing.Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListPhraseSetsResponse,
    *,
    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_v2.services.speech.pagers.ListRecognizersAsyncPager

ListRecognizersAsyncPager(
    method: typing.Callable[
        [...],
        typing.Awaitable[
            google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse
        ],
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse,
    *,
    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_v2.services.speech.pagers.ListRecognizersPager

ListRecognizersPager(
    method: typing.Callable[
        [...], google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse
    ],
    request: google.cloud.speech_v2.types.cloud_speech.ListRecognizersRequest,
    response: google.cloud.speech_v2.types.cloud_speech.ListRecognizersResponse,
    *,
    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]] = ()
)