Cloud Speech-to-Text V2 API - Class Google::Cloud::Speech::V2::OutputFormatConfig (v0.13.1)
Stay organized with collections
Save and categorize content based on your preferences.
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
defnative()->::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=
defnative=(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
defsrt()->::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=
defsrt=(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
defvtt()->::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=
defvtt=(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.