Features and audio metadata to use for the Automatic Speech Recognition. This field in combination with theconfig_maskfield can be used to override parts of thedefault_recognition_configof the Recognizer resource as well as theconfigat the request level.
The list of fields inconfigthat override the values in thedefault_recognition_configof the recognizer during this recognition request. If no mask is provided, all non-default valued fields inconfigoverride the values in the recognizer for this recognition request. If a mask is provided, only the fields listed in the mask override the config in the recognizer for this recognition request. If a wildcard (*) is provided,configcompletely overrides and replaces the config in the recognizer for this recognition request.
getUri
Cloud Storage URI for the audio file.
Returns
Type
Description
string
hasUri
setUri
Cloud Storage URI for the audio file.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getConfig
Features and audio metadata to use for the Automatic Speech Recognition.
This field in combination with theconfig_maskfield can be used to override parts of thedefault_recognition_configof the Recognizer resource as well as theconfigat the
request level.
Features and audio metadata to use for the Automatic Speech Recognition.
This field in combination with theconfig_maskfield can be used to override parts of thedefault_recognition_configof the Recognizer resource as well as theconfigat the
request level.
The list of fields inconfigthat
override the values in thedefault_recognition_configof the recognizer during this recognition request. If no mask is provided,
all non-default valued fields inconfigoverride
the values in the recognizer for this recognition request. If a mask is
provided, only the fields listed in the mask override the config in the
recognizer for this recognition request. If a wildcard (*) is provided,configcompletely overrides and replaces the config in the recognizer for this
recognition request.
The list of fields inconfigthat
override the values in thedefault_recognition_configof the recognizer during this recognition request. If no mask is provided,
all non-default valued fields inconfigoverride
the values in the recognizer for this recognition request. If a mask is
provided, only the fields listed in the mask override the config in the
recognizer for this recognition request. If a wildcard (*) is provided,configcompletely overrides and replaces the config in the recognizer for this
recognition request.
[[["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 BatchRecognizeFileMetadata (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.BatchRecognizeFileMetadata)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.BatchRecognizeFileMetadata)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.BatchRecognizeFileMetadata)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.BatchRecognizeFileMetadata)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.BatchRecognizeFileMetadata)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.BatchRecognizeFileMetadata)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.BatchRecognizeFileMetadata)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.BatchRecognizeFileMetadata)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.BatchRecognizeFileMetadata)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.BatchRecognizeFileMetadata)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.BatchRecognizeFileMetadata)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.BatchRecognizeFileMetadata)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.BatchRecognizeFileMetadata)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.BatchRecognizeFileMetadata)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.BatchRecognizeFileMetadata) \nReference documentation and code samples for the Cloud Speech V2 Client class BatchRecognizeFileMetadata.\n\nMetadata about a single file in a batch for BatchRecognize.\n\nGenerated from protobuf message `google.cloud.speech.v2.BatchRecognizeFileMetadata`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUri\n\nCloud Storage URI for the audio file.\n\n### hasUri\n\n### setUri\n\nCloud Storage URI for the audio file.\n\n### getConfig\n\nFeatures and audio metadata to use for the Automatic Speech Recognition.\n\nThis field in combination with the\n[config_mask](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfigMask__)\nfield can be used to override parts of the\n[default_recognition_config](/php/docs/reference/cloud-speech/latest/V2.Recognizer#_Google_Cloud_Speech_V2_Recognizer__getDefaultRecognitionConfig__)\nof the Recognizer resource as well as the\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeRequest#_Google_Cloud_Speech_V2_BatchRecognizeRequest__getConfig__) at the\nrequest level.\n\n### hasConfig\n\n### clearConfig\n\n### setConfig\n\nFeatures and audio metadata to use for the Automatic Speech Recognition.\n\nThis field in combination with the\n[config_mask](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfigMask__)\nfield can be used to override parts of the\n[default_recognition_config](/php/docs/reference/cloud-speech/latest/V2.Recognizer#_Google_Cloud_Speech_V2_Recognizer__getDefaultRecognitionConfig__)\nof the Recognizer resource as well as the\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeRequest#_Google_Cloud_Speech_V2_BatchRecognizeRequest__getConfig__) at the\nrequest level.\n\n### getConfigMask\n\nThe list of fields in\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__) that\noverride the values in the\n[default_recognition_config](/php/docs/reference/cloud-speech/latest/V2.Recognizer#_Google_Cloud_Speech_V2_Recognizer__getDefaultRecognitionConfig__)\nof the recognizer during this recognition request. If no mask is provided,\nall non-default valued fields in\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__) override\nthe values in the recognizer for this recognition request. If a mask is\nprovided, only the fields listed in the mask override the config in the\nrecognizer for this recognition request. If a wildcard (`*`) is provided,\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__)\ncompletely overrides and replaces the config in the recognizer for this\nrecognition request.\n\n### hasConfigMask\n\n### clearConfigMask\n\n### setConfigMask\n\nThe list of fields in\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__) that\noverride the values in the\n[default_recognition_config](/php/docs/reference/cloud-speech/latest/V2.Recognizer#_Google_Cloud_Speech_V2_Recognizer__getDefaultRecognitionConfig__)\nof the recognizer during this recognition request. If no mask is provided,\nall non-default valued fields in\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__) override\nthe values in the recognizer for this recognition request. If a mask is\nprovided, only the fields listed in the mask override the config in the\nrecognizer for this recognition request. If a wildcard (`*`) is provided,\n[config](/php/docs/reference/cloud-speech/latest/V2.BatchRecognizeFileMetadata#_Google_Cloud_Speech_V2_BatchRecognizeFileMetadata__getConfig__)\ncompletely overrides and replaces the config in the recognizer for this\nrecognition request.\n\n### getAudioSource"]]