# Package Classes (2.40.0)

2.40.0 (latest) 2.39.0 2.38.0 2.37.0 2.36.1 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.1 2.27.0 2.26.1 2.25.1 2.24.1 2.23.0 2.22.0 2.21.1 2.20.1 2.19.0 2.18.0 2.17.3 2.16.2 2.15.1 2.14.1 2.13.1 2.12.0 2.11.1 2.10.0 2.9.3 2.8.0 2.7.0 2.6.0 2.5.1 2.4.1 2.3.0 2.2.1 2.1.0 2.0.1 1.3.4 1.2.0 1.1.0 Summary of entries of Classes for speech.

## Classes

### [AdaptationAsyncClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.AdaptationAsyncClient)

Service that implements Google Cloud Speech Adaptation API.

### [AdaptationClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.AdaptationClient)

Service that implements Google Cloud Speech Adaptation API.

### [ListCustomClassesAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesAsyncPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesResponse) object, and
provides an `__aiter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__aiter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCustomClassesPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.pagers.ListCustomClassesPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesResponse) object, and
provides an `__iter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__iter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetAsyncPager)

A pager for iterating through `list_phrase_set` requests.

This class thinly wraps an initial
[ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetResponse) object, and
provides an `__aiter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__aiter__` method will make additional
`ListPhraseSet` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.pagers.ListPhraseSetPager)

A pager for iterating through `list_phrase_set` requests.

This class thinly wraps an initial
[ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetResponse) object, and
provides an `__iter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__iter__` method will make additional
`ListPhraseSet` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SpeechAsyncClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.speech.SpeechAsyncClient)

Service that implements Google Cloud Speech API.

### [SpeechClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.speech.SpeechClient)

Service that implements Google Cloud Speech API.

### [CreateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.CreateCustomClassRequest)

Message sent by the client for the `CreateCustomClass` method.

### [CreatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.CreatePhraseSetRequest)

Message sent by the client for the `CreatePhraseSet` method.

### [CustomClass](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.CustomClass)

A set of words or phrases that represents a common concept
likely to appear in your audio, for example a list of passenger
ship names. CustomClass items can be substituted into
placeholders that you set in PhraseSet phrases.

### [ClassItem](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.CustomClass.ClassItem)

An item of the class.

### [DeleteCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.DeleteCustomClassRequest)

Message sent by the client for the `DeleteCustomClass` method.

### [DeletePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.DeletePhraseSetRequest)

Message sent by the client for the `DeletePhraseSet` method.

### [GetCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.GetCustomClassRequest)

Message sent by the client for the `GetCustomClass` method.

### [GetPhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.GetPhraseSetRequest)

Message sent by the client for the `GetPhraseSet` method.

### [ListCustomClassesRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesRequest)

Message sent by the client for the `ListCustomClasses` method.

### [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListCustomClassesResponse)

Message returned to the client by the `ListCustomClasses` method.

### [ListPhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetRequest)

Message sent by the client for the `ListPhraseSet` method.

### [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.ListPhraseSetResponse)

Message returned to the client by the `ListPhraseSet` method.

### [LongRunningRecognizeMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.LongRunningRecognizeMetadata)

Describes the progress of a long-running `LongRunningRecognize`
call. It is included in the `metadata` field of the `Operation`
returned by the `GetOperation` call of the
`google::longrunning::Operations` service.

### [LongRunningRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.LongRunningRecognizeRequest)

The top-level message sent by the client for the
`LongRunningRecognize` method.

### [LongRunningRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.LongRunningRecognizeResponse)

The only message returned to the client by the
`LongRunningRecognize` method. It contains the result as zero or
more sequential `SpeechRecognitionResult` messages. It is included
in the `result.response` field of the `Operation` returned by
the `GetOperation` call of the `google::longrunning::Operations`
service.

### [PhraseSet](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.PhraseSet)

Provides "hints" to the speech recognizer to favor specific
words and phrases in the results.

### [Phrase](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.PhraseSet.Phrase)

A phrases containing words and phrase "hints" so that the speech
recognition is more likely to recognize them. This can be used to
improve the accuracy for specific words and phrases, for example, if
specific commands are typically spoken by the user. This can also be
used to add additional words to the vocabulary of the recognizer.
See `usage
limits <https://cloud.google.com/speech-to-text/quotas#content>`__.

List items can also include pre-built or custom classes containing
groups of words that represent common concepts that occur in natural
language. For example, rather than providing a phrase hint for every
month of the year (e.g. "i was born in january", "i was born in
febuary", ...), use the pre-built `$MONTH` class improves the
likelihood of correctly transcribing audio that includes months
(e.g. "i was born in $month"). To refer to pre-built classes, use
the class' symbol prepended with `$` e.g. `$MONTH`. To refer to
custom classes that were defined inline in the request, set the
class's `custom_class_id` to a string unique to all class
resources and inline classes. Then use the class' id wrapped in
$\\ `{...}` e.g. "${my-months}". To refer to custom classes
resources, use the class' id wrapped in `${}` (e.g.
`${my-months}`).

Speech-to-Text supports three locations: `global`, `us` (US
North America), and `eu` (Europe). If you are calling the
`speech.googleapis.com` endpoint, use the `global` location. To
specify a region, use a `regional
endpoint <https://cloud.google.com/speech-to-text/docs/endpoints>`__
with matching `us` or `eu` location value.

### [RecognitionAudio](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionAudio)

Contains audio data in the encoding specified in the
`RecognitionConfig`. Either `content` or `uri` must be
supplied. Supplying both or neither returns
`google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]`.
See `content
limits <https://cloud.google.com/speech-to-text/quotas#content>`__.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionConfig)

Provides information to the recognizer that specifies how to
process the request.

### [AudioEncoding](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionConfig.AudioEncoding)

The encoding of the audio data sent in the request.

All encodings support only 1 channel (mono) audio, unless the
`audio_channel_count` and
`enable_separate_recognition_per_channel` fields are set.

For best results, the audio source should be captured and
transmitted using a lossless encoding (`FLAC` or `LINEAR16`).
The accuracy of the speech recognition can be reduced if lossy
codecs are used to capture or transmit audio, particularly if
background noise is present. Lossy codecs include `MULAW`,
`AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`,
`MP3`, and `WEBM_OPUS`.

The `FLAC` and `WAV` audio file formats include a header that
describes the included audio content. You can request recognition
for `WAV` files that contain either `LINEAR16` or `MULAW`
encoded audio. If you send `FLAC` or `WAV` audio file format in
your request, you do not need to specify an `AudioEncoding`; the
audio encoding format is determined from the file header. If you
specify an `AudioEncoding` when you send send `FLAC` or `WAV`
audio, the encoding configuration must match the encoding described
in the audio header; otherwise the request returns an
`google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]`
error code.

### [RecognitionMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionMetadata)

Description of audio data to be recognized.

### [InteractionType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionMetadata.InteractionType)

Use case categories that the audio recognition request can be
described by.

### [MicrophoneDistance](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionMetadata.MicrophoneDistance)

Enumerates the types of capture settings describing an audio
file.

### [OriginalMediaType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionMetadata.OriginalMediaType)

The original media the speech was recorded on.

### [RecordingDeviceType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognitionMetadata.RecordingDeviceType)

The type of device the speech was recorded with.

### [RecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognizeRequest)

The top-level message sent by the client for the `Recognize`
method.

### [RecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.RecognizeResponse)

The only message returned to the client by the `Recognize` method.
It contains the result as zero or more sequential
`SpeechRecognitionResult` messages.

### [SpeakerDiarizationConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeakerDiarizationConfig)

Config to enable speaker diarization.

### [SpeechAdaptation](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechAdaptation)

Speech adaptation configuration.

### [ABNFGrammar](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechAdaptation.ABNFGrammar)

### [SpeechAdaptationInfo](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechAdaptationInfo)

Information on speech adaptation use in results

### [SpeechContext](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechContext)

Provides "hints" to the speech recognizer to favor specific
words and phrases in the results.

### [SpeechRecognitionAlternative](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechRecognitionAlternative)

Alternative hypotheses (a.k.a. n-best list).

### [SpeechRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.SpeechRecognitionResult)

A speech recognition result corresponding to a portion of the
audio.

### [StreamingRecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognitionConfig)

Provides information to the recognizer that specifies how to
process the request.

### [VoiceActivityTimeout](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognitionConfig.VoiceActivityTimeout)

Events that a timeout can be set on for voice activity.

### [StreamingRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognitionResult)

A streaming speech recognition result corresponding to a
portion of the audio that is currently being processed.

### [StreamingRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognizeRequest)

The top-level message sent by the client for the
`StreamingRecognize` method. Multiple
`StreamingRecognizeRequest` messages are sent. The first message
must contain a `streaming_config` message and must not contain
`audio_content`. All subsequent messages must contain
`audio_content` and must not contain a `streaming_config`
message.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [StreamingRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognizeResponse)

`StreamingRecognizeResponse` is the only message returned to the
client by `StreamingRecognize`. A series of zero or more
`StreamingRecognizeResponse` messages are streamed back to the
client. If there is no recognizable audio, and `single_utterance`
is set to false, then no messages are streamed back to the client.

Here's an example of a series of `StreamingRecognizeResponse`\\ s
that might be returned while processing audio:

1. results { alternatives { transcript: "tube" } stability: 0.01 }

2. results { alternatives { transcript: "to be a" } stability: 0.01
   }

3. results { alternatives { transcript: "to be" } stability: 0.9 }
   results { alternatives { transcript: " or not to be" } stability:
   0.01 }

4. results { alternatives { transcript: "to be or not to be"
   confidence: 0.92 } alternatives { transcript: "to bee or not to
   bee" } is_final: true }

5. results { alternatives { transcript: " that's" } stability: 0.01
   }

6. results { alternatives { transcript: " that is" } stability: 0.9
   } results { alternatives { transcript: " the question" }
   stability: 0.01 }

7. results { alternatives { transcript: " that is the question"
   confidence: 0.98 } alternatives { transcript: " that was the
   question" } is_final: true }

Notes:

- Only two of the above responses #4 and #7 contain final results;
  they are indicated by `is_final: true`. Concatenating these
  together generates the full transcript: "to be or not to be that
  is the question".

- The others contain interim `results`. #3 and #6 contain two
  interim `results`: the first portion has a high stability and is
  less likely to change; the second portion has a low stability and
  is very likely to change. A UI designer might choose to show only
  high stability `results`.

- The specific `stability` and `confidence` values shown above
  are only for illustrative purposes. Actual values may vary.

- In each response, only one of these fields will be set: `error`,
  `speech_event_type`, or one or more (repeated) `results`.

### [SpeechEventType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.StreamingRecognizeResponse.SpeechEventType)

Indicates the type of speech event.

### [TranscriptNormalization](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.TranscriptNormalization)

Transcription normalization configuration. Use transcription
normalization to automatically replace parts of the transcript
with phrases of your choosing. For StreamingRecognize, this
normalization only applies to stable partial transcripts
(stability \> 0.8) and final transcripts.

### [Entry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.TranscriptNormalization.Entry)

A single replacement configuration.

### [TranscriptOutputConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.TranscriptOutputConfig)

Specifies an optional destination for the recognition
results.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [UpdateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.UpdateCustomClassRequest)

Message sent by the client for the `UpdateCustomClass` method.

### [UpdatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.UpdatePhraseSetRequest)

Message sent by the client for the `UpdatePhraseSet` method.

### [WordInfo](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.types.WordInfo)

Word-specific information for recognized words.

### [AdaptationAsyncClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.AdaptationAsyncClient)

Service that implements Google Cloud Speech Adaptation API.

### [AdaptationClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.AdaptationClient)

Service that implements Google Cloud Speech Adaptation API.

### [ListCustomClassesAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesAsyncPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesResponse) object, and
provides an `__aiter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__aiter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCustomClassesPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListCustomClassesPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesResponse) object, and
provides an `__iter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__iter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetAsyncPager)

A pager for iterating through `list_phrase_set` requests.

This class thinly wraps an initial
[ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetResponse) object, and
provides an `__aiter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__aiter__` method will make additional
`ListPhraseSet` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.pagers.ListPhraseSetPager)

A pager for iterating through `list_phrase_set` requests.

This class thinly wraps an initial
[ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetResponse) object, and
provides an `__iter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__iter__` method will make additional
`ListPhraseSet` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [SpeechAsyncClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.speech.SpeechAsyncClient)

Service that implements Google Cloud Speech API.

### [SpeechClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.speech.SpeechClient)

Service that implements Google Cloud Speech API.

### [CreateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CreateCustomClassRequest)

Message sent by the client for the `CreateCustomClass` method.

### [CreatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CreatePhraseSetRequest)

Message sent by the client for the `CreatePhraseSet` method.

### [CustomClass](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CustomClass)

A set of words or phrases that represents a common concept
likely to appear in your audio, for example a list of passenger
ship names. CustomClass items can be substituted into
placeholders that you set in PhraseSet phrases.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CustomClass.AnnotationsEntry)

The abstract base class for a message.

### [ClassItem](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CustomClass.ClassItem)

An item of the class.

### [State](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.CustomClass.State)

Set of states that define the lifecycle of a CustomClass.

### [DeleteCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.DeleteCustomClassRequest)

Message sent by the client for the `DeleteCustomClass` method.

### [DeletePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.DeletePhraseSetRequest)

Message sent by the client for the `DeletePhraseSet` method.

### [GetCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.GetCustomClassRequest)

Message sent by the client for the `GetCustomClass` method.

### [GetPhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.GetPhraseSetRequest)

Message sent by the client for the `GetPhraseSet` method.

### [ListCustomClassesRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesRequest)

Message sent by the client for the `ListCustomClasses` method.

### [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListCustomClassesResponse)

Message returned to the client by the `ListCustomClasses` method.

### [ListPhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetRequest)

Message sent by the client for the `ListPhraseSet` method.

### [ListPhraseSetResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.ListPhraseSetResponse)

Message returned to the client by the `ListPhraseSet` method.

### [LongRunningRecognizeMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.LongRunningRecognizeMetadata)

Describes the progress of a long-running `LongRunningRecognize`
call. It is included in the `metadata` field of the `Operation`
returned by the `GetOperation` call of the
`google::longrunning::Operations` service.

### [LongRunningRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.LongRunningRecognizeRequest)

The top-level message sent by the client for the
`LongRunningRecognize` method.

### [LongRunningRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.LongRunningRecognizeResponse)

The only message returned to the client by the
`LongRunningRecognize` method. It contains the result as zero or
more sequential `SpeechRecognitionResult` messages. It is included
in the `result.response` field of the `Operation` returned by
the `GetOperation` call of the `google::longrunning::Operations`
service.

### [PhraseSet](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.PhraseSet)

Provides "hints" to the speech recognizer to favor specific
words and phrases in the results.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.PhraseSet.AnnotationsEntry)

The abstract base class for a message.

### [Phrase](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.PhraseSet.Phrase)

A phrases containing words and phrase "hints" so that the speech
recognition is more likely to recognize them. This can be used to
improve the accuracy for specific words and phrases, for example, if
specific commands are typically spoken by the user. This can also be
used to add additional words to the vocabulary of the recognizer.
See `usage
limits <https://cloud.google.com/speech-to-text/quotas#content>`__.

List items can also include pre-built or custom classes containing
groups of words that represent common concepts that occur in natural
language. For example, rather than providing a phrase hint for every
month of the year (e.g. "i was born in january", "i was born in
febuary", ...), use the pre-built `$MONTH` class improves the
likelihood of correctly transcribing audio that includes months
(e.g. "i was born in $month"). To refer to pre-built classes, use
the class' symbol prepended with `$` e.g. `$MONTH`. To refer to
custom classes that were defined inline in the request, set the
class's `custom_class_id` to a string unique to all class
resources and inline classes. Then use the class' id wrapped in
$\\ `{...}` e.g. "${my-months}". To refer to custom classes
resources, use the class' id wrapped in `${}` (e.g.
`${my-months}`).

Speech-to-Text supports three locations: `global`, `us` (US
North America), and `eu` (Europe). If you are calling the
`speech.googleapis.com` endpoint, use the `global` location. To
specify a region, use a `regional
endpoint <https://cloud.google.com/speech-to-text/docs/endpoints>`__
with matching `us` or `eu` location value.

### [State](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.PhraseSet.State)

Set of states that define the lifecycle of a CustomClass.

### [RecognitionAudio](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionAudio)

Contains audio data in the encoding specified in the
`RecognitionConfig`. Either `content` or `uri` must be
supplied. Supplying both or neither returns
`google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]`.
See `content
limits <https://cloud.google.com/speech-to-text/quotas#content>`__.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionConfig)

Provides information to the recognizer that specifies how to
process the request.

### [AudioEncoding](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionConfig.AudioEncoding)

The encoding of the audio data sent in the request.

All encodings support only 1 channel (mono) audio, unless the
`audio_channel_count` and
`enable_separate_recognition_per_channel` fields are set.

For best results, the audio source should be captured and
transmitted using a lossless encoding (`FLAC` or `LINEAR16`).
The accuracy of the speech recognition can be reduced if lossy
codecs are used to capture or transmit audio, particularly if
background noise is present. Lossy codecs include `MULAW`,
`AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`,
`MP3`, and `WEBM_OPUS`.

The `FLAC` and `WAV` audio file formats include a header that
describes the included audio content. You can request recognition
for `WAV` files that contain either `LINEAR16` or `MULAW`
encoded audio. If you send `FLAC` or `WAV` audio file format in
your request, you do not need to specify an `AudioEncoding`; the
audio encoding format is determined from the file header. If you
specify an `AudioEncoding` when you send send `FLAC` or `WAV`
audio, the encoding configuration must match the encoding described
in the audio header; otherwise the request returns an
`google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]`
error code.

### [RecognitionMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionMetadata)

Description of audio data to be recognized.

### [InteractionType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionMetadata.InteractionType)

Use case categories that the audio recognition request can be
described by.

### [MicrophoneDistance](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionMetadata.MicrophoneDistance)

Enumerates the types of capture settings describing an audio
file.

### [OriginalMediaType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionMetadata.OriginalMediaType)

The original media the speech was recorded on.

### [RecordingDeviceType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognitionMetadata.RecordingDeviceType)

The type of device the speech was recorded with.

### [RecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognizeRequest)

The top-level message sent by the client for the `Recognize`
method.

### [RecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.RecognizeResponse)

The only message returned to the client by the `Recognize` method.
It contains the result as zero or more sequential
`SpeechRecognitionResult` messages.

### [SpeakerDiarizationConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeakerDiarizationConfig)

Config to enable speaker diarization.

### [SpeechAdaptation](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechAdaptation)

Speech adaptation configuration.

### [ABNFGrammar](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechAdaptation.ABNFGrammar)

### [SpeechAdaptationInfo](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechAdaptationInfo)

Information on speech adaptation use in results

### [SpeechContext](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechContext)

Provides "hints" to the speech recognizer to favor specific
words and phrases in the results.

### [SpeechRecognitionAlternative](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechRecognitionAlternative)

Alternative hypotheses (a.k.a. n-best list).

### [SpeechRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.SpeechRecognitionResult)

A speech recognition result corresponding to a portion of the
audio.

### [StreamingRecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognitionConfig)

Provides information to the recognizer that specifies how to
process the request.

### [VoiceActivityTimeout](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognitionConfig.VoiceActivityTimeout)

Events that a timeout can be set on for voice activity.

### [StreamingRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognitionResult)

A streaming speech recognition result corresponding to a
portion of the audio that is currently being processed.

### [StreamingRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognizeRequest)

The top-level message sent by the client for the
`StreamingRecognize` method. Multiple
`StreamingRecognizeRequest` messages are sent. The first message
must contain a `streaming_config` message and must not contain
`audio_content`. All subsequent messages must contain
`audio_content` and must not contain a `streaming_config`
message.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [StreamingRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognizeResponse)

`StreamingRecognizeResponse` is the only message returned to the
client by `StreamingRecognize`. A series of zero or more
`StreamingRecognizeResponse` messages are streamed back to the
client. If there is no recognizable audio, and `single_utterance`
is set to false, then no messages are streamed back to the client.

Here's an example of a series of `StreamingRecognizeResponse`\\ s
that might be returned while processing audio:

1. results { alternatives { transcript: "tube" } stability: 0.01 }

2. results { alternatives { transcript: "to be a" } stability: 0.01
   }

3. results { alternatives { transcript: "to be" } stability: 0.9 }
   results { alternatives { transcript: " or not to be" } stability:
   0.01 }

4. results { alternatives { transcript: "to be or not to be"
   confidence: 0.92 } alternatives { transcript: "to bee or not to
   bee" } is_final: true }

5. results { alternatives { transcript: " that's" } stability: 0.01
   }

6. results { alternatives { transcript: " that is" } stability: 0.9
   } results { alternatives { transcript: " the question" }
   stability: 0.01 }

7. results { alternatives { transcript: " that is the question"
   confidence: 0.98 } alternatives { transcript: " that was the
   question" } is_final: true }

Notes:

- Only two of the above responses #4 and #7 contain final results;
  they are indicated by `is_final: true`. Concatenating these
  together generates the full transcript: "to be or not to be that
  is the question".

- The others contain interim `results`. #3 and #6 contain two
  interim `results`: the first portion has a high stability and is
  less likely to change; the second portion has a low stability and
  is very likely to change. A UI designer might choose to show only
  high stability `results`.

- The specific `stability` and `confidence` values shown above
  are only for illustrative purposes. Actual values may vary.

- In each response, only one of these fields will be set: `error`,
  `speech_event_type`, or one or more (repeated) `results`.

### [SpeechEventType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.StreamingRecognizeResponse.SpeechEventType)

Indicates the type of speech event.

### [TranscriptNormalization](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.TranscriptNormalization)

Transcription normalization configuration. Use transcription
normalization to automatically replace parts of the transcript
with phrases of your choosing. For StreamingRecognize, this
normalization only applies to stable partial transcripts
(stability \> 0.8) and final transcripts.

### [Entry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.TranscriptNormalization.Entry)

A single replacement configuration.

### [TranscriptOutputConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.TranscriptOutputConfig)

Specifies an optional destination for the recognition
results.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [UpdateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.UpdateCustomClassRequest)

Message sent by the client for the `UpdateCustomClass` method.

### [UpdatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.UpdatePhraseSetRequest)

Message sent by the client for the `UpdatePhraseSet` method.

### [WordInfo](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.types.WordInfo)

Word-specific information for recognized words.

### [SpeechAsyncClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.SpeechAsyncClient)

Enables speech transcription and resource management.

### [SpeechClient](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.SpeechClient)

Enables speech transcription and resource management.

### [ListCustomClassesAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListCustomClassesAsyncPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesResponse) object, and
provides an `__aiter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__aiter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListCustomClassesPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListCustomClassesPager)

A pager for iterating through `list_custom_classes` requests.

This class thinly wraps an initial
[ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesResponse) object, and
provides an `__iter__` method to iterate through its
`custom_classes` field.

If there are more pages, the `__iter__` method will make additional
`ListCustomClasses` requests and continue to iterate
through the `custom_classes` field on the
corresponding responses.

All the usual [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetsAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListPhraseSetsAsyncPager)

A pager for iterating through `list_phrase_sets` requests.

This class thinly wraps an initial
[ListPhraseSetsResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsResponse) object, and
provides an `__aiter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__aiter__` method will make additional
`ListPhraseSets` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetsResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListPhraseSetsPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListPhraseSetsPager)

A pager for iterating through `list_phrase_sets` requests.

This class thinly wraps an initial
[ListPhraseSetsResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsResponse) object, and
provides an `__iter__` method to iterate through its
`phrase_sets` field.

If there are more pages, the `__iter__` method will make additional
`ListPhraseSets` requests and continue to iterate
through the `phrase_sets` field on the
corresponding responses.

All the usual [ListPhraseSetsResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListRecognizersAsyncPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListRecognizersAsyncPager)

A pager for iterating through `list_recognizers` requests.

This class thinly wraps an initial
[ListRecognizersResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersResponse) object, and
provides an `__aiter__` method to iterate through its
`recognizers` field.

If there are more pages, the `__aiter__` method will make additional
`ListRecognizers` requests and continue to iterate
through the `recognizers` field on the
corresponding responses.

All the usual [ListRecognizersResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [ListRecognizersPager](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers.ListRecognizersPager)

A pager for iterating through `list_recognizers` requests.

This class thinly wraps an initial
[ListRecognizersResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersResponse) object, and
provides an `__iter__` method to iterate through its
`recognizers` field.

If there are more pages, the `__iter__` method will make additional
`ListRecognizers` requests and continue to iterate
through the `recognizers` field on the
corresponding responses.

All the usual [ListRecognizersResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersResponse)
attributes are available on the pager. If multiple requests are made, only
the most recent response is retained, and thus used for attribute lookup.

### [AccessMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.AccessMetadata)

The access metadata for a particular region. This can be
applied if the org policy for the given project disallows a
particular region.

### [ConstraintType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.AccessMetadata.ConstraintType)

Describes the different types of constraints that can be
applied on a region.

### [AutoDetectDecodingConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.AutoDetectDecodingConfig)

Automatically detected decoding parameters. Supported for the
following encodings:

- WAV_LINEAR16: 16-bit signed little-endian PCM samples in a WAV
  container.

- WAV_MULAW: 8-bit companded mulaw samples in a WAV container.

- WAV_ALAW: 8-bit companded alaw samples in a WAV container.

- RFC4867_5_AMR: AMR frames with an rfc4867.5 header.

- RFC4867_5_AMRWB: AMR-WB frames with an rfc4867.5 header.

- FLAC: FLAC frames in the "native FLAC" container format.

- MP3: MPEG audio frames with optional (ignored) ID3 metadata.

- OGG_OPUS: Opus audio frames in an Ogg container.

- WEBM_OPUS: Opus audio frames in a WebM container.

- MP4_AAC: AAC audio frames in an MP4 container.

- M4A_AAC: AAC audio frames in an M4A container.

- MOV_AAC: AAC audio frames in an MOV container.

### [BatchRecognizeFileMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeFileMetadata)

Metadata about a single file in a batch for BatchRecognize.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BatchRecognizeFileResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeFileResult)

Final results for a single file.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [BatchRecognizeMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeMetadata)

Operation metadata for
BatchRecognize.

### [TranscriptionMetadataEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeMetadata.TranscriptionMetadataEntry)

The abstract base class for a message.

### [BatchRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeRequest)

Request message for the
BatchRecognize
method.

### [ProcessingStrategy](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeRequest.ProcessingStrategy)

Possible processing strategies for batch requests.

### [BatchRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeResponse)

Response message for
BatchRecognize that
is packaged into a longrunning
`Operation][google.longrunning.Operation]`.

### [ResultsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeResponse.ResultsEntry)

The abstract base class for a message.

### [BatchRecognizeResults](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeResults)

Output type for Cloud Storage of BatchRecognize transcripts.
Though this proto isn't returned in this API anywhere, the Cloud
Storage transcripts will be this proto serialized and should be
parsed as such.

### [BatchRecognizeTranscriptionMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.BatchRecognizeTranscriptionMetadata)

Metadata about transcription for a single file (for example,
progress percent).

### [CloudStorageResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CloudStorageResult)

Final results written to Cloud Storage.

### [Config](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.Config)

Message representing the config for the Speech-to-Text API. This
includes an optional `KMS
key <https://cloud.google.com/kms/docs/resource-hierarchy#keys>`__
with which incoming data will be encrypted.

### [CreateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CreateCustomClassRequest)

Request message for the
CreateCustomClass
method.

### [CreatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CreatePhraseSetRequest)

Request message for the
CreatePhraseSet
method.

### [CreateRecognizerRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CreateRecognizerRequest)

Request message for the
CreateRecognizer
method.

### [CustomClass](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CustomClass)

CustomClass for biasing in speech recognition. Used to define
a set of words or phrases that represents a common concept or
theme likely to appear in your audio, for example a list of
passenger ship names.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CustomClass.AnnotationsEntry)

The abstract base class for a message.

### [ClassItem](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CustomClass.ClassItem)

An item of the class.

### [State](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CustomClass.State)

Set of states that define the lifecycle of a CustomClass.

### [CustomPromptConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.CustomPromptConfig)

Configuration to enable custom prompt in chirp3.

### [DeleteCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.DeleteCustomClassRequest)

Request message for the
DeleteCustomClass
method.

### [DeletePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.DeletePhraseSetRequest)

Request message for the
DeletePhraseSet
method.

### [DeleteRecognizerRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.DeleteRecognizerRequest)

Request message for the
DeleteRecognizer
method.

### [DenoiserConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.DenoiserConfig)

Denoiser config. May not be supported for all models and may
have no effect.

### [ExplicitDecodingConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ExplicitDecodingConfig)

Explicitly specified decoding parameters.

### [AudioEncoding](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ExplicitDecodingConfig.AudioEncoding)

Supported audio data encodings.

### [GcsOutputConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.GcsOutputConfig)

Output configurations for Cloud Storage.

### [GetConfigRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.GetConfigRequest)

Request message for the
GetConfig method.

### [GetCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.GetCustomClassRequest)

Request message for the
GetCustomClass
method.

### [GetPhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.GetPhraseSetRequest)

Request message for the
GetPhraseSet method.

### [GetRecognizerRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.GetRecognizerRequest)

Request message for the
GetRecognizer method.

### [InlineOutputConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.InlineOutputConfig)

Output configurations for inline response.

### [InlineResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.InlineResult)

Final results returned inline in the recognition response.

### [LanguageMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.LanguageMetadata)

The metadata about locales available in a given region.
Currently this is just the models that are available for each
locale

### [ModelsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.LanguageMetadata.ModelsEntry)

The abstract base class for a message.

### [ListCustomClassesRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesRequest)

Request message for the
ListCustomClasses
method.

### [ListCustomClassesResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListCustomClassesResponse)

Response message for the
ListCustomClasses
method.

### [ListPhraseSetsRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsRequest)

Request message for the
ListPhraseSets
method.

### [ListPhraseSetsResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListPhraseSetsResponse)

Response message for the
ListPhraseSets
method.

### [ListRecognizersRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersRequest)

Request message for the
ListRecognizers
method.

### [ListRecognizersResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ListRecognizersResponse)

Response message for the
ListRecognizers
method.

### [LocationsMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.LocationsMetadata)

Main metadata for the Locations API for STT V2. Currently
this is just the metadata about locales, models, and features

### [ModelFeature](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ModelFeature)

Represents a singular feature of a model. If the feature is
`recognizer`, the release_state of the feature represents the
release_state of the model

### [ModelFeatures](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ModelFeatures)

Represents the collection of features belonging to a model

### [ModelMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ModelMetadata)

The metadata about the models in a given region for a
specific locale. Currently this is just the features of the
model

### [ModelFeaturesEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.ModelMetadata.ModelFeaturesEntry)

The abstract base class for a message.

### [NativeOutputFileFormatConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.NativeOutputFileFormatConfig)

Output configurations for serialized `BatchRecognizeResults`
protos.

### [OperationMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.OperationMetadata)

Represents the metadata of a long-running operation.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [OutputFormatConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.OutputFormatConfig)

Configuration for the format of the results stored to `output`.

### [PhraseSet](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.PhraseSet)

PhraseSet for biasing in speech recognition. A PhraseSet is
used to provide "hints" to the speech recognizer to favor
specific words and phrases in the results.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.PhraseSet.AnnotationsEntry)

The abstract base class for a message.

### [Phrase](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.PhraseSet.Phrase)

A Phrase contains words and phrase "hints" so that the speech
recognition is more likely to recognize them. This can be used
to improve the accuracy for specific words and phrases, for
example, if specific commands are typically spoken by the user.
This can also be used to add additional words to the vocabulary
of the recognizer.

List items can also include CustomClass references containing
groups of words that represent common concepts that occur in
natural language.

### [State](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.PhraseSet.State)

Set of states that define the lifecycle of a PhraseSet.

### [RecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionConfig)

Provides information to the Recognizer that specifies how to
process the recognition request.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognitionFeatures](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionFeatures)

Available recognition features.

### [MultiChannelMode](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionFeatures.MultiChannelMode)

Options for how to recognize multi-channel audio.

### [RecognitionOutputConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionOutputConfig)

Configuration options for the output(s) of recognition.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognitionResponseMetadata](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognitionResponseMetadata)

Metadata about the recognition request and response.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognizeRequest)

Request message for the
Recognize method. Either
`content` or `uri` must be supplied. Supplying both or neither
returns `INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]`. See
`content
limits <https://cloud.google.com/speech-to-text/quotas#content>`__.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [RecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.RecognizeResponse)

Response message for the
Recognize method.

### [Recognizer](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.Recognizer)

A Recognizer message. Stores recognition configuration and
metadata.

### [AnnotationsEntry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.Recognizer.AnnotationsEntry)

The abstract base class for a message.

### [State](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.Recognizer.State)

Set of states that define the lifecycle of a Recognizer.

### [SpeakerDiarizationConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SpeakerDiarizationConfig)

Configuration to enable speaker diarization.

### [SpeechAdaptation](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SpeechAdaptation)

Provides "hints" to the speech recognizer to favor specific
words and phrases in the results. PhraseSets can be specified as
an inline resource, or a reference to an existing PhraseSet
resource.

### [AdaptationPhraseSet](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SpeechAdaptation.AdaptationPhraseSet)

A biasing PhraseSet, which can be either a string referencing
the name of an existing PhraseSets resource, or an inline
definition of a PhraseSet.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [SpeechRecognitionAlternative](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SpeechRecognitionAlternative)

Alternative hypotheses (a.k.a. n-best list).

### [SpeechRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SpeechRecognitionResult)

A speech recognition result corresponding to a portion of the
audio.

### [SrtOutputFileFormatConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.SrtOutputFileFormatConfig)

Output configurations `SubRip
Text <https://www.matroska.org/technical/subtitles.html#srt-subtitles>`__
formatted subtitle file.

### [StreamingRecognitionConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognitionConfig)

Provides configuration information for the StreamingRecognize
request.

### [StreamingRecognitionFeatures](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognitionFeatures)

Available recognition features specific to streaming
recognition requests.

### [EndpointingSensitivity](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognitionFeatures.EndpointingSensitivity)

Endpointing sensitivity is intended for applications that
want to minimize result latency, possibly at the expense of
quality. Some utterances may be broken up into multiple
fragments.

### [VoiceActivityTimeout](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognitionFeatures.VoiceActivityTimeout)

Events that a timeout can be set on for voice activity.

### [StreamingRecognitionResult](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognitionResult)

A streaming speech recognition result corresponding to a
portion of the audio that is currently being processed.

### [StreamingRecognizeRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognizeRequest)

Request message for the
StreamingRecognize
method. Multiple
StreamingRecognizeRequest
messages are sent in one call.

If the Recognizer referenced by
recognizer
contains a fully specified request configuration then the stream may
only contain messages with only
audio set.

Otherwise the first message must contain a
recognizer
and a
streaming_config
message that together fully specify the request configuration and
must not contain
audio. All
subsequent messages must only have
audio set.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### [StreamingRecognizeResponse](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognizeResponse)

`StreamingRecognizeResponse` is the only message returned to the
client by `StreamingRecognize`. A series of zero or more
`StreamingRecognizeResponse` messages are streamed back to the
client. If there is no recognizable audio then no messages are
streamed back to the client.

Here are some examples of `StreamingRecognizeResponse`\\ s that
might be returned while processing audio:

1. results { alternatives { transcript: "tube" } stability: 0.01 }

2. results { alternatives { transcript: "to be a" } stability: 0.01
   }

3. results { alternatives { transcript: "to be" } stability: 0.9 }
   results { alternatives { transcript: " or not to be" } stability:
   0.01 }

4. results { alternatives { transcript: "to be or not to be"
   confidence: 0.92 } alternatives { transcript: "to bee or not to
   bee" } is_final: true }

5. results { alternatives { transcript: " that's" } stability: 0.01
   }

6. results { alternatives { transcript: " that is" } stability: 0.9
   } results { alternatives { transcript: " the question" }
   stability: 0.01 }

7. results { alternatives { transcript: " that is the question"
   confidence: 0.98 } alternatives { transcript: " that was the
   question" } is_final: true }

Notes:

- Only two of the above responses #4 and #7 contain final results;
  they are indicated by `is_final: true`. Concatenating these
  together generates the full transcript: "to be or not to be that
  is the question".

- The others contain interim `results`. #3 and #6 contain two
  interim `results`: the first portion has a high stability and is
  less likely to change; the second portion has a low stability and
  is very likely to change. A UI designer might choose to show only
  high stability `results`.

- The specific `stability` and `confidence` values shown above
  are only for illustrative purposes. Actual values may vary.

- In each response, only one of these fields will be set: `error`,
  `speech_event_type`, or one or more (repeated) `results`.

### [SpeechEventType](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.StreamingRecognizeResponse.SpeechEventType)

Indicates the type of speech event.

### [TranscriptNormalization](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.TranscriptNormalization)

Transcription normalization configuration. Use transcription
normalization to automatically replace parts of the transcript
with phrases of your choosing. For StreamingRecognize, this
normalization only applies to stable partial transcripts
(stability \> 0.8) and final transcripts.

### [Entry](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.TranscriptNormalization.Entry)

A single replacement configuration.

### [TranslationConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.TranslationConfig)

Translation configuration. Use to translate the given audio
into text for the desired language.

### [UndeleteCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UndeleteCustomClassRequest)

Request message for the
UndeleteCustomClass
method.

### [UndeletePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UndeletePhraseSetRequest)

Request message for the
UndeletePhraseSet
method.

### [UndeleteRecognizerRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UndeleteRecognizerRequest)

Request message for the
UndeleteRecognizer
method.

### [UpdateConfigRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UpdateConfigRequest)

Request message for the
UpdateConfig method.

### [UpdateCustomClassRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UpdateCustomClassRequest)

Request message for the
UpdateCustomClass
method.

### [UpdatePhraseSetRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UpdatePhraseSetRequest)

Request message for the
UpdatePhraseSet
method.

### [UpdateRecognizerRequest](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.UpdateRecognizerRequest)

Request message for the
UpdateRecognizer
method.

### [VttOutputFileFormatConfig](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.VttOutputFileFormatConfig)

Output configurations for
`WebVTT <https://www.w3.org/TR/webvtt1/>`__ formatted subtitle file.

### [WordInfo](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.types.WordInfo)

Word-specific information for recognized words.

## Modules

### [pagers](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1.services.adaptation.pagers)

API documentation for `speech_v1.services.adaptation.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v1p1beta1.services.adaptation.pagers)

API documentation for `speech_v1p1beta1.services.adaptation.pagers` module.

### [pagers](https://docs.cloud.google.com/python/docs/reference/speech/latest/google.cloud.speech_v2.services.speech.pagers)

API documentation for `speech_v2.services.speech.pagers` module.