Class Recognizer (2.26.1)

Recognizer(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Recognizer message. Stores recognition configuration and metadata.

Attributes

Name Description
name str
Output only. Identifier. The resource name of the Recognizer. Format: projects/{project}/locations/{location}/recognizers/{recognizer}.
uid str
Output only. System-assigned unique identifier for the Recognizer.
display_name str
User-settable, human-readable name for the Recognizer. Must be 63 characters or less.
model str
Optional. This field is now deprecated. Prefer the [model][google.cloud.speech.v2.RecognitionConfig.model] field in the [RecognitionConfig][google.cloud.speech.v2.RecognitionConfig] message. Which model to use for recognition requests. Select the model best suited to your domain to get best results. Guidance for choosing which model to use can be found in the `Transcription Models Documentation
language_codes MutableSequence[str]
Optional. This field is now deprecated. Prefer the [language_codes][google.cloud.speech.v2.RecognitionConfig.language_codes] field in the [RecognitionConfig][google.cloud.speech.v2.RecognitionConfig] message. The language of the supplied audio as a BCP-47 __ language tag. Supported languages for each model are listed in the `Table of Supported Models
default_recognition_config google.cloud.speech_v2.types.RecognitionConfig
Default configuration to use for requests with this Recognizer. This can be overwritten by inline configuration in the RecognizeRequest.config field.
annotations MutableMapping[str, str]
Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations.
state google.cloud.speech_v2.types.Recognizer.State
Output only. The Recognizer lifecycle state.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation time.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The most recent time this Recognizer was modified.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this Recognizer was requested for deletion.
expire_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which this Recognizer will be purged.
etag str
Output only. This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.
reconciling bool
Output only. Whether or not this Recognizer is in the process of being updated.
kms_key_name str
Output only. The `KMS key name
kms_key_version_name str
Output only. The `KMS key version name

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

Set of states that define the lifecycle of a Recognizer.