Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListProjectsRequest.
The request sent to the ListProjects method.
Generated from protobuf message google.cloud.resourcemanager.v3.ListProjectsRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the parent resource to list projects under. For example, setting this field to 'folders/1234' would list all projects directly under that folder.
↳ page_token
string
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that 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 the DELETE_REQUESTED
state should also be returned. Normally only ACTIVE
projects are returned.
getParent
Required. The name of the parent resource to list projects under.
For example, setting this field to 'folders/1234' would list all projects directly under that folder.
string
setParent
Required. The name of the parent resource to list projects under.
For example, setting this field to 'folders/1234' would list all projects directly under that folder.
var
string
$this
getPageToken
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
string
setPageToken
Optional. A pagination token returned from a previous call to [ListProjects] [google.cloud.resourcemanager.v3.Projects.ListProjects] that indicates from where listing should continue.
var
string
$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.
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.
var
int
$this
getShowDeleted
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be
returned. Normally only ACTIVE
projects are returned.
bool
setShowDeleted
Optional. Indicate that projects in the DELETE_REQUESTED
state should also be
returned. Normally only ACTIVE
projects are returned.
var
bool
$this