Cloud Speech V1 Client - Class OriginalMediaType (1.9.1)

Reference documentation and code samples for the Cloud Speech V1 Client class OriginalMediaType.

The original media the speech was recorded on.

Protobuf type google.cloud.speech.v1.RecognitionMetadata.OriginalMediaType

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

ORIGINAL_MEDIA_TYPE_UNSPECIFIED

Value: 0

Unknown original media type.

Generated from protobuf enum ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;

AUDIO

Value: 1

The speech data is an audio recording.

Generated from protobuf enum AUDIO = 1;

VIDEO

Value: 2

The speech data originally recorded on a video.

Generated from protobuf enum VIDEO = 2;