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 \ V2Methods
__construct
Constructor.
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.
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.
$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.
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.
$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.
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.
$this