Reference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::OutputFormatConfig.
Configuration for the format of the results stored to output
.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#native
def native() -> ::Google::Cloud::Speech::V2::NativeOutputFileFormatConfig
Returns
- (::Google::Cloud::Speech::V2::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.
#native=
def native=(value) -> ::Google::Cloud::Speech::V2::NativeOutputFileFormatConfig
Parameter
- value (::Google::Cloud::Speech::V2::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.
Returns
- (::Google::Cloud::Speech::V2::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.
#srt
def srt() -> ::Google::Cloud::Speech::V2::SrtOutputFileFormatConfig
Returns
- (::Google::Cloud::Speech::V2::SrtOutputFileFormatConfig) — Configuration for the srt output format. If this field is set then transcripts will be written to the sink in the srt format.
#srt=
def srt=(value) -> ::Google::Cloud::Speech::V2::SrtOutputFileFormatConfig
Parameter
- value (::Google::Cloud::Speech::V2::SrtOutputFileFormatConfig) — Configuration for the srt output format. If this field is set then transcripts will be written to the sink in the srt format.
Returns
- (::Google::Cloud::Speech::V2::SrtOutputFileFormatConfig) — Configuration for the srt output format. If this field is set then transcripts will be written to the sink in the srt format.
#vtt
def vtt() -> ::Google::Cloud::Speech::V2::VttOutputFileFormatConfig
Returns
- (::Google::Cloud::Speech::V2::VttOutputFileFormatConfig) — Configuration for the vtt output format. If this field is set then transcripts will be written to the sink in the vtt format.
#vtt=
def vtt=(value) -> ::Google::Cloud::Speech::V2::VttOutputFileFormatConfig
Parameter
- value (::Google::Cloud::Speech::V2::VttOutputFileFormatConfig) — Configuration for the vtt output format. If this field is set then transcripts will be written to the sink in the vtt format.
Returns
- (::Google::Cloud::Speech::V2::VttOutputFileFormatConfig) — Configuration for the vtt output format. If this field is set then transcripts will be written to the sink in the vtt format.