Generated from protobuf messagegoogle.cloud.speech.v2.ListCustomClassesRequest
Namespace
Google \ Cloud \ Speech \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The project and location of CustomClass resources to list. The expected format isprojects/{project}/locations/{location}.
↳ page_size
int
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
string
A page token, received from a previousListCustomClassescall. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListCustomClassesmust match the call that provided the page token.
↳ show_deleted
bool
Whether, or not, to show resources that have been deleted.
getParent
Required. The project and location of CustomClass resources to list. The
expected format isprojects/{project}/locations/{location}.
Returns
Type
Description
string
setParent
Required. The project and location of CustomClass resources to list. The
expected format isprojects/{project}/locations/{location}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
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
Type
Description
int
setPageSize
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.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListCustomClassesmust
match the call that provided the page token.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListCustomClassesmust
match the call that provided the page token.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getShowDeleted
Whether, or not, to show resources that have been deleted.
Returns
Type
Description
bool
setShowDeleted
Whether, or not, to show resources that have been deleted.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The project and location of CustomClass resources to list. The
expected format isprojects/{project}/locations/{location}. Please seeSpeechClient::locationName()for help formatting this field.
[[["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 ListCustomClassesRequest (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.ListCustomClassesRequest)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.ListCustomClassesRequest)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.ListCustomClassesRequest)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.ListCustomClassesRequest)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.ListCustomClassesRequest)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.ListCustomClassesRequest)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.ListCustomClassesRequest)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.ListCustomClassesRequest)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.ListCustomClassesRequest)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.ListCustomClassesRequest)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.ListCustomClassesRequest)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.ListCustomClassesRequest)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.ListCustomClassesRequest)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.ListCustomClassesRequest)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.ListCustomClassesRequest)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.ListCustomClassesRequest) \nReference documentation and code samples for the Cloud Speech V2 Client class ListCustomClassesRequest.\n\nRequest message for the\n[ListCustomClasses](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listCustomClasses__) method.\n\nGenerated from protobuf message `google.cloud.speech.v2.ListCustomClassesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Speech \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The project and location of CustomClass resources to list. The\nexpected format is `projects/{project}/locations/{location}`.\n\n### setParent\n\nRequired. The project and location of CustomClass resources to list. The\nexpected format is `projects/{project}/locations/{location}`.\n\n### getPageSize\n\nNumber of results per requests. A valid page_size ranges from 0 to 100\ninclusive. If the page_size is zero or unspecified, a page size of 5 will\nbe chosen. If the page size exceeds 100, it will be coerced down to 100.\n\nNote that a call might return fewer results than the requested page size.\n\n### setPageSize\n\nNumber of results per requests. A valid page_size ranges from 0 to 100\ninclusive. If the page_size is zero or unspecified, a page size of 5 will\nbe chosen. If the page size exceeds 100, it will be coerced down to 100.\n\nNote that a call might return fewer results than the requested page size.\n\n### getPageToken\n\nA page token, received from a previous\n[ListCustomClasses](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listCustomClasses__) call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to\n[ListCustomClasses](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listCustomClasses__) must\nmatch the call that provided the page token.\n\n### setPageToken\n\nA page token, received from a previous\n[ListCustomClasses](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listCustomClasses__) call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to\n[ListCustomClasses](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listCustomClasses__) must\nmatch the call that provided the page token.\n\n### getShowDeleted\n\nWhether, or not, to show resources that have been deleted.\n\n### setShowDeleted\n\nWhether, or not, to show resources that have been deleted.\n\n### static::build"]]