Cloud Speech V2 Client - Class OutputFormatConfig (2.1.1)

Reference documentation and code samples for the Cloud Speech V2 Client class OutputFormatConfig.

Configuration for the format of the results stored to output .

Generated from protobuf message google.cloud.speech.v2.OutputFormatConfig

Namespace

Google \ Cloud \ Speech \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ native
NativeOutputFileFormatConfig

Configuration for the native output format. If this field is set or if no other output format field is set, then transcripts will be written to the sink in the native format.

↳ vtt
VttOutputFileFormatConfig

Configuration for the VTT output format. If this field is set, then transcripts will be written to the sink in the VTT format.

↳ srt
SrtOutputFileFormatConfig

Configuration for the SRT output format. If this field is set, then transcripts will be written to the sink in the SRT format.

getNative

Configuration for the native output format. If this field is set or if no other output format field is set, then transcripts will be written to the sink in the native format.

Returns
Type
Description

hasNative

clearNative

setNative

Configuration for the native output format. If this field is set or if no other output format field is set, then transcripts will be written to the sink in the native format.

Parameter
Name
Description
Returns
Type
Description
$this

getVtt

Configuration for the VTT output format. If this field is set, then transcripts will be written to the sink in the VTT format.

Returns
Type
Description

hasVtt

clearVtt

setVtt

Configuration for the VTT output format. If this field is set, then transcripts will be written to the sink in the VTT format.

Parameter
Name
Description
Returns
Type
Description
$this

getSrt

Configuration for the SRT output format. If this field is set, then transcripts will be written to the sink in the SRT format.

Returns
Type
Description

hasSrt

clearSrt

setSrt

Configuration for the SRT output format. If this field is set, then transcripts will be written to the sink in the SRT format.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: