Required. The CustomClass to update. The CustomClass's name field is used to identify the CustomClass to update. Format: projects/{project}/locations/{location}/customClasses/{custom_class}.
The list of fields to be updated. If empty, all fields are considered for update.
↳ validate_only
bool
If set, validate the request and preview the updated CustomClass, but do not actually update it.
getCustomClass
Required. The CustomClass to update.
The CustomClass's name field is used to identify the CustomClass to
update. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}.
The CustomClass's name field is used to identify the CustomClass to
update. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}.
The CustomClass's name field is used to identify the CustomClass to
update. Format:
projects/{project}/locations/{location}/customClasses/{custom_class}.
[[["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 UpdateCustomClassRequest (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.UpdateCustomClassRequest)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.UpdateCustomClassRequest)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.UpdateCustomClassRequest)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.UpdateCustomClassRequest)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.UpdateCustomClassRequest)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.UpdateCustomClassRequest)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.UpdateCustomClassRequest)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.UpdateCustomClassRequest)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.UpdateCustomClassRequest)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.UpdateCustomClassRequest)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.UpdateCustomClassRequest)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.UpdateCustomClassRequest)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.UpdateCustomClassRequest)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.UpdateCustomClassRequest)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.UpdateCustomClassRequest)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.UpdateCustomClassRequest) \nReference documentation and code samples for the Cloud Speech V2 Client class UpdateCustomClassRequest.\n\nRequest message for the\n[UpdateCustomClass](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__updateCustomClass__) method.\n\nGenerated from protobuf message `google.cloud.speech.v2.UpdateCustomClassRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getCustomClass\n\nRequired. The CustomClass to update.\n\nThe CustomClass's `name` field is used to identify the CustomClass to\nupdate. Format:\n`projects/{project}/locations/{location}/customClasses/{custom_class}`.\n\n### hasCustomClass\n\n### clearCustomClass\n\n### setCustomClass\n\nRequired. The CustomClass to update.\n\nThe CustomClass's `name` field is used to identify the CustomClass to\nupdate. Format:\n`projects/{project}/locations/{location}/customClasses/{custom_class}`.\n\n### getUpdateMask\n\nThe list of fields to be updated. If empty, all fields are considered for\nupdate.\n\n### hasUpdateMask\n\n### clearUpdateMask\n\n### setUpdateMask\n\nThe list of fields to be updated. If empty, all fields are considered for\nupdate.\n\n### getValidateOnly\n\nIf set, validate the request and preview the updated CustomClass, but do\nnot actually update it.\n\n### setValidateOnly\n\nIf set, validate the request and preview the updated CustomClass, but do\nnot actually update it.\n\n### static::build"]]