Cloud Speech V1 Client - Class InteractionType (1.18.3)

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

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

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

Namespace

Google \ Cloud \ Speech \ V1 \ RecognitionMetadata

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

INTERACTION_TYPE_UNSPECIFIED

Value: 0

Use case is either unknown or is something other than one of the other values below.

Generated from protobuf enum INTERACTION_TYPE_UNSPECIFIED = 0;

DISCUSSION

Value: 1

Multiple people in a conversation or discussion. For example in a meeting with two or more people actively participating. Typically all the primary people speaking would be in the same room (if not, see PHONE_CALL)

Generated from protobuf enum DISCUSSION = 1;

PRESENTATION

Value: 2

One or more persons lecturing or presenting to others, mostly uninterrupted.

Generated from protobuf enum PRESENTATION = 2;

PHONE_CALL

Value: 3

A phone-call or video-conference in which two or more people, who are not in the same room, are actively participating.

Generated from protobuf enum PHONE_CALL = 3;

VOICEMAIL

Value: 4

A recorded message intended for another person to listen to.

Generated from protobuf enum VOICEMAIL = 4;

PROFESSIONALLY_PRODUCED

Value: 5

Professionally produced audio (eg. TV Show, Podcast).

Generated from protobuf enum PROFESSIONALLY_PRODUCED = 5;

Value: 6

Transcribe spoken questions and queries into text.

Generated from protobuf enum VOICE_SEARCH = 6;

VOICE_COMMAND

Value: 7

Transcribe voice commands, such as for controlling a device.

Generated from protobuf enum VOICE_COMMAND = 7;

DICTATION

Value: 8

Transcribe speech to text to create a written document, such as a text-message, email or report.

Generated from protobuf enum DICTATION = 8;