(::String) — This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
#etag=
defetag=(value)->::String
Parameter
value (::String) — This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
Returns
(::String) — This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
#name
defname()->::String
Returns
(::String) — Required. The name of the CustomClass to undelete.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
#name=
defname=(value)->::String
Parameter
value (::String) — Required. The name of the CustomClass to undelete.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
Returns
(::String) — Required. The name of the CustomClass to undelete.
Format:
projects/{project}/locations/{location}/customClasses/{custom_class}
#validate_only
defvalidate_only()->::Boolean
Returns
(::Boolean) — If set, validate the request and preview the undeleted CustomClass, but do
not actually undelete it.
#validate_only=
defvalidate_only=(value)->::Boolean
Parameter
value (::Boolean) — If set, validate the request and preview the undeleted CustomClass, but do
not actually undelete it.
Returns
(::Boolean) — If set, validate the request and preview the undeleted CustomClass, but do
not actually undelete it.
[[["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-to-Text V2 API - Class Google::Cloud::Speech::V2::UndeleteCustomClassRequest (v1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-speech-v2/1.2.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-speech-v2/1.1.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-speech-v2/1.0.1/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v2/0.16.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-speech-v2/0.15.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v2/0.14.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.13.1](/ruby/docs/reference/google-cloud-speech-v2/0.13.1/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-speech-v2/0.12.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-speech-v2/0.11.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-speech-v2/0.10.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-speech-v2/0.9.2/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-speech-v2/0.8.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-speech-v2/0.7.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-speech-v2/0.6.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-speech-v2/0.5.1/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-speech-v2/0.4.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-speech-v2/0.3.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-speech-v2/0.2.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-speech-v2/0.1.0/Google-Cloud-Speech-V2-UndeleteCustomClassRequest) \nReference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::UndeleteCustomClassRequest.\n\nRequest message for the\n[UndeleteCustomClass](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_undelete_custom_class_instance_ \"Google::Cloud::Speech::V2::Speech::Client#undelete_custom_class (method)\")\nmethod. \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### #etag\n\n def etag() -\u003e ::String\n\n**Returns**\n\n- (::String) --- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.\n\n### #etag=\n\n def etag=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. \n**Returns**\n\n- (::String) --- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the CustomClass to undelete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The name of the CustomClass to undelete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}` \n**Returns**\n\n- (::String) --- Required. The name of the CustomClass to undelete. Format: `projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If set, validate the request and preview the undeleted CustomClass, but do not actually undelete it.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If set, validate the request and preview the undeleted CustomClass, but do not actually undelete it. \n**Returns**\n\n- (::Boolean) --- If set, validate the request and preview the undeleted CustomClass, but do not actually undelete it."]]