Speech-to-Text supports three locations: global, us (US North America),
and eu (Europe). If you are calling the speech.googleapis.com
endpoint, use the global location. To specify a region, use a
regional endpoint
with matching us or eu location value.
Speech-to-Text supports three locations: global, us (US North America),
and eu (Europe). If you are calling the speech.googleapis.com
endpoint, use the global location. To specify a region, use a
regional endpoint
with matching us or eu location value.
Speech-to-Text supports three locations: global, us (US North America),
and eu (Europe). If you are calling the speech.googleapis.com
endpoint, use the global location. To specify a region, use a
regional endpoint
with matching us or eu location value.
[[["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-08-28 UTC."],[],[],null,["# Cloud Speech-to-Text V1p1beta1 API - Class Google::Cloud::Speech::V1p1beta1::UpdateCustomClassRequest (v0.25.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.25.0 (latest)](/ruby/docs/reference/google-cloud-speech-v1p1beta1/latest/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.24.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.24.1/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.23.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.22.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.21.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.21.1/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.20.2](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.20.2/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.19.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.18.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.18.1/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.17.1](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.17.1/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.16.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.15.3](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.15.3/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.14.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.13.0/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest)\n- [0.12.4](/ruby/docs/reference/google-cloud-speech-v1p1beta1/0.12.4/Google-Cloud-Speech-V1p1beta1-UpdateCustomClassRequest) \nReference documentation and code samples for the Cloud Speech-to-Text V1p1beta1 API class Google::Cloud::Speech::V1p1beta1::UpdateCustomClassRequest.\n\nMessage sent by the client for the `UpdateCustomClass` method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #custom_class\n\n def custom_class() -\u003e ::Google::Cloud::Speech::V1p1beta1::CustomClass\n\n**Returns**\n\n- ([::Google::Cloud::Speech::V1p1beta1::CustomClass](./Google-Cloud-Speech-V1p1beta1-CustomClass)) --- Required. The custom class to update.\n\n\n The custom class's `name` field is used to identify the custom class to be\n updated. Format:\n\n `projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n Speech-to-Text supports three locations: `global`, `us` (US North America),\n and `eu` (Europe). If you are calling the `speech.googleapis.com`\n endpoint, use the `global` location. To specify a region, use a\n [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)\n with matching `us` or `eu` location value.\n\n### #custom_class=\n\n def custom_class=(value) -\u003e ::Google::Cloud::Speech::V1p1beta1::CustomClass\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Speech::V1p1beta1::CustomClass](./Google-Cloud-Speech-V1p1beta1-CustomClass)) --- Required. The custom class to update.\n\n\n The custom class's `name` field is used to identify the custom class to be\n updated. Format:\n\n `projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n Speech-to-Text supports three locations: `global`, `us` (US North America),\n and `eu` (Europe). If you are calling the `speech.googleapis.com`\n endpoint, use the `global` location. To specify a region, use a\n [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)\nwith matching `us` or `eu` location value. \n**Returns**\n\n- ([::Google::Cloud::Speech::V1p1beta1::CustomClass](./Google-Cloud-Speech-V1p1beta1-CustomClass)) --- Required. The custom class to update.\n\n\n The custom class's `name` field is used to identify the custom class to be\n updated. Format:\n\n `projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n Speech-to-Text supports three locations: `global`, `us` (US North America),\n and `eu` (Europe). If you are calling the `speech.googleapis.com`\n endpoint, use the `global` location. To specify a region, use a\n [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)\n with matching `us` or `eu` location value.\n\n### #update_mask\n\n def update_mask() -\u003e ::Google::Protobuf::FieldMask\n\n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated.\n\n### #update_mask=\n\n def update_mask=(value) -\u003e ::Google::Protobuf::FieldMask\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated. \n**Returns**\n\n- ([::Google::Protobuf::FieldMask](./Google-Protobuf-FieldMask)) --- The list of fields to be updated."]]