Generated from protobuf messagegoogle.cloud.resourcemanager.v3.ListProjectsRequest
Namespace
Google \ Cloud \ ResourceManager \ V3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the parent resource whose projects are being listed. Only children of this parent resource are listed; descendants are not listed. If the parent is a folder, use the valuefolders/{folder_id}. If the parent is an organization, use the valueorganizations/{org_id}.
↳ page_token
string
Optional. A pagination token returned from a previous call toListProjectsthat indicates from where listing should continue.
↳ page_size
int
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
↳ show_deleted
bool
Optional. Indicate that projects in theDELETE_REQUESTEDstate should also be returned. Normally onlyACTIVEprojects are returned.
getParent
Required. The name of the parent resource whose projects are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the valuefolders/{folder_id}. If the
parent is an organization, use the valueorganizations/{org_id}.
Returns
Type
Description
string
setParent
Required. The name of the parent resource whose projects are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the valuefolders/{folder_id}. If the
parent is an organization, use the valueorganizations/{org_id}.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageToken
Optional. A pagination token returned from a previous call toListProjectsthat
indicates from where listing should continue.
Returns
Type
Description
string
setPageToken
Optional. A pagination token returned from a previous call toListProjectsthat
indicates from where listing should continue.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. The maximum number of projects to return in the response.
The server can return fewer projects than requested.
If unspecified, server picks an appropriate default.
Returns
Type
Description
int
setPageSize
Optional. The maximum number of projects to return in the response.
The server can return fewer projects than requested.
If unspecified, server picks an appropriate default.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getShowDeleted
Optional. Indicate that projects in theDELETE_REQUESTEDstate should
also be returned. Normally onlyACTIVEprojects are returned.
Returns
Type
Description
bool
setShowDeleted
Optional. Indicate that projects in theDELETE_REQUESTEDstate should
also be returned. Normally onlyACTIVEprojects are returned.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The name of the parent resource whose projects are being listed.
Only children of this parent resource are listed; descendants are not
listed.
If the parent is a folder, use the valuefolders/{folder_id}. If the
parent is an organization, use the valueorganizations/{org_id}.
[[["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,["# Google Cloud Resource Manager V3 Client - Class ListProjectsRequest (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-resource-manager/latest/V3.ListProjectsRequest)\n- [1.0.3](/php/docs/reference/cloud-resource-manager/1.0.3/V3.ListProjectsRequest)\n- [0.8.5](/php/docs/reference/cloud-resource-manager/0.8.5/V3.ListProjectsRequest)\n- [0.7.2](/php/docs/reference/cloud-resource-manager/0.7.2/V3.ListProjectsRequest)\n- [0.6.1](/php/docs/reference/cloud-resource-manager/0.6.1/V3.ListProjectsRequest)\n- [0.5.0](/php/docs/reference/cloud-resource-manager/0.5.0/V3.ListProjectsRequest)\n- [0.4.1](/php/docs/reference/cloud-resource-manager/0.4.1/V3.ListProjectsRequest)\n- [0.3.9](/php/docs/reference/cloud-resource-manager/0.3.9/V3.ListProjectsRequest) \nReference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListProjectsRequest.\n\nThe request sent to the\n[ListProjects](/php/docs/reference/cloud-resource-manager/latest/V3.Client.ProjectsClient#_Google_Cloud_ResourceManager_V3_Client_ProjectsClient__listProjects__)\nmethod.\n\nGenerated from protobuf message `google.cloud.resourcemanager.v3.ListProjectsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ResourceManager \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The name of the parent resource whose projects are being listed.\n\nOnly children of this parent resource are listed; descendants are not\nlisted.\nIf the parent is a folder, use the value `folders/{folder_id}`. If the\nparent is an organization, use the value `organizations/{org_id}`.\n\n### setParent\n\nRequired. The name of the parent resource whose projects are being listed.\n\nOnly children of this parent resource are listed; descendants are not\nlisted.\nIf the parent is a folder, use the value `folders/{folder_id}`. If the\nparent is an organization, use the value `organizations/{org_id}`.\n\n### getPageToken\n\nOptional. A pagination token returned from a previous call to\n[ListProjects](/php/docs/reference/cloud-resource-manager/latest/V3.Client.ProjectsClient#_Google_Cloud_ResourceManager_V3_Client_ProjectsClient__listProjects__) that\nindicates from where listing should continue.\n\n### setPageToken\n\nOptional. A pagination token returned from a previous call to\n[ListProjects](/php/docs/reference/cloud-resource-manager/latest/V3.Client.ProjectsClient#_Google_Cloud_ResourceManager_V3_Client_ProjectsClient__listProjects__) that\nindicates from where listing should continue.\n\n### getPageSize\n\nOptional. The maximum number of projects to return in the response.\n\nThe server can return fewer projects than requested.\nIf unspecified, server picks an appropriate default.\n\n### setPageSize\n\nOptional. The maximum number of projects to return in the response.\n\nThe server can return fewer projects than requested.\nIf unspecified, server picks an appropriate default.\n\n### getShowDeleted\n\nOptional. Indicate that projects in the `DELETE_REQUESTED` state should\nalso be returned. Normally only `ACTIVE` projects are returned.\n\n### setShowDeleted\n\nOptional. Indicate that projects in the `DELETE_REQUESTED` state should\nalso be returned. Normally only `ACTIVE` projects are returned.\n\n### static::build"]]