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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Speech V2 Client - Class OutputFormatConfig (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.OutputFormatConfig)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.OutputFormatConfig)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.OutputFormatConfig)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.OutputFormatConfig)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.OutputFormatConfig)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.OutputFormatConfig)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.OutputFormatConfig)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.OutputFormatConfig)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.OutputFormatConfig)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.OutputFormatConfig)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.OutputFormatConfig)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.OutputFormatConfig)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.OutputFormatConfig)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.OutputFormatConfig)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.OutputFormatConfig)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.OutputFormatConfig) \nReference documentation and code samples for the Cloud Speech V2 Client class OutputFormatConfig.\n\nConfiguration for the format of the results stored to `output`.\n\nGenerated from protobuf message `google.cloud.speech.v2.OutputFormatConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNative\n\nConfiguration for the native output format. If this field is set or if no\nother output format field is set, then transcripts will be written to the\nsink in the native format.\n\n### hasNative\n\n### clearNative\n\n### setNative\n\nConfiguration for the native output format. If this field is set or if no\nother output format field is set, then transcripts will be written to the\nsink in the native format.\n\n### getVtt\n\nConfiguration for the VTT output format. If this field is set, then\ntranscripts will be written to the sink in the VTT format.\n\n### hasVtt\n\n### clearVtt\n\n### setVtt\n\nConfiguration for the VTT output format. If this field is set, then\ntranscripts will be written to the sink in the VTT format.\n\n### getSrt\n\nConfiguration for the SRT output format. If this field is set, then\ntranscripts will be written to the sink in the SRT format.\n\n### hasSrt\n\n### clearSrt\n\n### setSrt\n\nConfiguration for the SRT output format. If this field is set, then\ntranscripts will be written to the sink in the SRT format."]]