(::Integer) — Number of results per requests. A valid page_size ranges from 0 to 100
inclusive. If the page_size is zero or unspecified, a page size of 5 will
be chosen. If the page size exceeds 100, it will be coerced down to 100.
Note that a call might return fewer results than the requested page size.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — Number of results per requests. A valid page_size ranges from 0 to 100
inclusive. If the page_size is zero or unspecified, a page size of 5 will
be chosen. If the page size exceeds 100, it will be coerced down to 100.
Note that a call might return fewer results than the requested page size.
Returns
(::Integer) — Number of results per requests. A valid page_size ranges from 0 to 100
inclusive. If the page_size is zero or unspecified, a page size of 5 will
be chosen. If the page size exceeds 100, it will be coerced down to 100.
Note that a call might return fewer results than the requested page size.
#page_token
defpage_token()->::String
Returns
(::String) — A page token, received from a previous
ListCustomClasses call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListCustomClasses must
match the call that provided the page token.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — A page token, received from a previous
ListCustomClasses call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListCustomClasses must
match the call that provided the page token.
Returns
(::String) — A page token, received from a previous
ListCustomClasses call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListCustomClasses must
match the call that provided the page token.
#parent
defparent()->::String
Returns
(::String) — Required. The project and location of CustomClass resources to list. The
expected format is projects/{project}/locations/{location}.
#parent=
defparent=(value)->::String
Parameter
value (::String) — Required. The project and location of CustomClass resources to list. The
expected format is projects/{project}/locations/{location}.
Returns
(::String) — Required. The project and location of CustomClass resources to list. The
expected format is projects/{project}/locations/{location}.
#show_deleted
defshow_deleted()->::Boolean
Returns
(::Boolean) — Whether, or not, to show resources that have been deleted.
#show_deleted=
defshow_deleted=(value)->::Boolean
Parameter
value (::Boolean) — Whether, or not, to show resources that have been deleted.
Returns
(::Boolean) — Whether, or not, to show resources that have been deleted.
[[["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::ListCustomClassesRequest (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-ListCustomClassesRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-speech-v2/1.2.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-speech-v2/1.1.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-speech-v2/1.0.1/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-speech-v2/0.16.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-speech-v2/0.15.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-speech-v2/0.14.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.13.1](/ruby/docs/reference/google-cloud-speech-v2/0.13.1/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-speech-v2/0.12.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-speech-v2/0.11.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-speech-v2/0.10.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.9.2](/ruby/docs/reference/google-cloud-speech-v2/0.9.2/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-speech-v2/0.8.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-speech-v2/0.7.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-speech-v2/0.6.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.5.1](/ruby/docs/reference/google-cloud-speech-v2/0.5.1/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-speech-v2/0.4.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-speech-v2/0.3.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-speech-v2/0.2.0/Google-Cloud-Speech-V2-ListCustomClassesRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-speech-v2/0.1.0/Google-Cloud-Speech-V2-ListCustomClassesRequest) \nReference documentation and code samples for the Cloud Speech-to-Text V2 API class Google::Cloud::Speech::V2::ListCustomClassesRequest.\n\nRequest message for the\n[ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") 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### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Number of results per requests. A valid page_size ranges from 0 to 100 inclusive. If the page_size is zero or unspecified, a page size of 5 will be chosen. If the page size exceeds 100, it will be coerced down to 100. Note that a call might return fewer results than the requested page size.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Number of results per requests. A valid page_size ranges from 0 to 100 inclusive. If the page_size is zero or unspecified, a page size of 5 will be chosen. If the page size exceeds 100, it will be coerced down to 100. Note that a call might return fewer results than the requested page size. \n**Returns**\n\n- (::Integer) --- Number of results per requests. A valid page_size ranges from 0 to 100 inclusive. If the page_size is zero or unspecified, a page size of 5 will be chosen. If the page size exceeds 100, it will be coerced down to 100. Note that a call might return fewer results than the requested page size.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A page token, received from a previous [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to\n [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") must\n match the call that provided the page token.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A page token, received from a previous [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to\n [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") must\nmatch the call that provided the page token. \n**Returns**\n\n- (::String) --- A page token, received from a previous [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") call. Provide this to retrieve the subsequent page.\n\n\n When paginating, all other parameters provided to\n [ListCustomClasses](/ruby/docs/reference/google-cloud-speech-v2/latest/Google-Cloud-Speech-V2-Speech-Client#Google__Cloud__Speech__V2__Speech__Client_list_custom_classes_instance_ \"Google::Cloud::Speech::V2::Speech::Client#list_custom_classes (method)\") must\n match the call that provided the page token.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The project and location of CustomClass resources to list. The expected format is `projects/{project}/locations/{location}`.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The project and location of CustomClass resources to list. The expected format is `projects/{project}/locations/{location}`. \n**Returns**\n\n- (::String) --- Required. The project and location of CustomClass resources to list. The expected format is `projects/{project}/locations/{location}`.\n\n### #show_deleted\n\n def show_deleted() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Whether, or not, to show resources that have been deleted.\n\n### #show_deleted=\n\n def show_deleted=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Whether, or not, to show resources that have been deleted. \n**Returns**\n\n- (::Boolean) --- Whether, or not, to show resources that have been deleted."]]