Cloud Speech V1 Client - Class OriginalMediaType (1.10.0)

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

Parameter
Name
Description
value
mixed
Parameter
Name
Description
name
mixed

Constants

 Value: 0 

Unknown original media type.

Generated from protobuf enum ORIGINAL_MEDIA_TYPE_UNSPECIFIED = 0;

 Value: 1 

The speech data is an audio recording.

Generated from protobuf enum AUDIO = 1;

 Value: 2 

The speech data originally recorded on a video.

Generated from protobuf enum VIDEO = 2;