Generated from protobuf messagegoogle.cloud.speech.v2.ListPhraseSetsRequest
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 PhraseSet resources to list. The expected format isprojects/{project}/locations/{location}.
↳ page_size
int
The maximum number of PhraseSets to return. The service may return fewer than this value. If unspecified, at most 5 PhraseSets will be returned. The maximum value is 100; values above 100 will be coerced to 100.
↳ page_token
string
A page token, received from a previousListPhraseSetscall. Provide this to retrieve the subsequent page. When paginating, all other parameters provided toListPhraseSetsmust 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 PhraseSet resources to list. The
expected format isprojects/{project}/locations/{location}.
Returns
Type
Description
string
setParent
Required. The project and location of PhraseSet resources to list. The
expected format isprojects/{project}/locations/{location}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of PhraseSets to return. The service may return fewer
than this value. If unspecified, at most 5 PhraseSets will be returned.
The maximum value is 100; values above 100 will be coerced to 100.
Returns
Type
Description
int
setPageSize
The maximum number of PhraseSets to return. The service may return fewer
than this value. If unspecified, at most 5 PhraseSets will be returned.
The maximum value is 100; values above 100 will be coerced to 100.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
A page token, received from a previousListPhraseSetscall.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListPhraseSetsmust match
the call that provided the page token.
Returns
Type
Description
string
setPageToken
A page token, received from a previousListPhraseSetscall.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided toListPhraseSetsmust 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 PhraseSet 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 ListPhraseSetsRequest (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-speech/latest/V2.ListPhraseSetsRequest)\n- [2.1.0](/php/docs/reference/cloud-speech/2.1.0/V2.ListPhraseSetsRequest)\n- [2.0.1](/php/docs/reference/cloud-speech/2.0.1/V2.ListPhraseSetsRequest)\n- [1.20.1](/php/docs/reference/cloud-speech/1.20.1/V2.ListPhraseSetsRequest)\n- [1.19.2](/php/docs/reference/cloud-speech/1.19.2/V2.ListPhraseSetsRequest)\n- [1.18.3](/php/docs/reference/cloud-speech/1.18.3/V2.ListPhraseSetsRequest)\n- [1.16.0](/php/docs/reference/cloud-speech/1.16.0/V2.ListPhraseSetsRequest)\n- [1.15.0](/php/docs/reference/cloud-speech/1.15.0/V2.ListPhraseSetsRequest)\n- [1.14.3](/php/docs/reference/cloud-speech/1.14.3/V2.ListPhraseSetsRequest)\n- [1.13.1](/php/docs/reference/cloud-speech/1.13.1/V2.ListPhraseSetsRequest)\n- [1.12.0](/php/docs/reference/cloud-speech/1.12.0/V2.ListPhraseSetsRequest)\n- [1.11.2](/php/docs/reference/cloud-speech/1.11.2/V2.ListPhraseSetsRequest)\n- [1.10.0](/php/docs/reference/cloud-speech/1.10.0/V2.ListPhraseSetsRequest)\n- [1.9.1](/php/docs/reference/cloud-speech/1.9.1/V2.ListPhraseSetsRequest)\n- [1.8.0](/php/docs/reference/cloud-speech/1.8.0/V2.ListPhraseSetsRequest)\n- [1.7.0](/php/docs/reference/cloud-speech/1.7.0/V2.ListPhraseSetsRequest) \nReference documentation and code samples for the Cloud Speech V2 Client class ListPhraseSetsRequest.\n\nRequest message for the\n[ListPhraseSets](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listPhraseSets__) method.\n\nGenerated from protobuf message `google.cloud.speech.v2.ListPhraseSetsRequest`\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 PhraseSet resources to list. The\nexpected format is `projects/{project}/locations/{location}`.\n\n### setParent\n\nRequired. The project and location of PhraseSet resources to list. The\nexpected format is `projects/{project}/locations/{location}`.\n\n### getPageSize\n\nThe maximum number of PhraseSets to return. The service may return fewer\nthan this value. If unspecified, at most 5 PhraseSets will be returned.\n\nThe maximum value is 100; values above 100 will be coerced to 100.\n\n### setPageSize\n\nThe maximum number of PhraseSets to return. The service may return fewer\nthan this value. If unspecified, at most 5 PhraseSets will be returned.\n\nThe maximum value is 100; values above 100 will be coerced to 100.\n\n### getPageToken\n\nA page token, received from a previous\n[ListPhraseSets](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listPhraseSets__) call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to\n[ListPhraseSets](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listPhraseSets__) must match\nthe call that provided the page token.\n\n### setPageToken\n\nA page token, received from a previous\n[ListPhraseSets](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listPhraseSets__) call.\n\nProvide this to retrieve the subsequent page.\nWhen paginating, all other parameters provided to\n[ListPhraseSets](/php/docs/reference/cloud-speech/latest/V2.Client.SpeechClient#_Google_Cloud_Speech_V2_Client_SpeechClient__listPhraseSets__) must match\nthe 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"]]