Reference documentation and code samples for the Google Cloud Profiler V2 Client class ListProfilesRequest.
ListProfilesRequest contains request parameters for listing profiles for
deployments in projects which the user has permissions to view.
Generated from protobuf messagegoogle.devtools.cloudprofiler.v2.ListProfilesRequest
Namespace
Google \ Cloud \ Profiler \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent, which owns this collection of profiles. Format: projects/{user_project_id}
↳ page_size
int
The maximum number of items to return. Default page_size is 1000. Max limit is 1000.
↳ page_token
string
The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided toListProfilesmust match the call that provided the page token.
getParent
Required. The parent, which owns this collection of profiles.
Format: projects/{user_project_id}
Returns
Type
Description
string
setParent
Required. The parent, which owns this collection of profiles.
Format: projects/{user_project_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
The maximum number of items to return.
Default page_size is 1000.
Max limit is 1000.
Returns
Type
Description
int
setPageSize
The maximum number of items to return.
Default page_size is 1000.
Max limit is 1000.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
The token to continue pagination and get profiles from a particular page.
When paginating, all other parameters provided toListProfilesmust match
the call that provided the page token.
Returns
Type
Description
string
setPageToken
The token to continue pagination and get profiles from a particular page.
When paginating, all other parameters provided toListProfilesmust match
the call that provided the page token.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The parent, which owns this collection of profiles.
Format: projects/{user_project_id}
Please seeExportServiceClient::projectName()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,["# Google Cloud Profiler V2 Client - Class ListProfilesRequest (2.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.4 (latest)](/php/docs/reference/cloud-profiler/latest/V2.ListProfilesRequest)\n- [2.0.3](/php/docs/reference/cloud-profiler/2.0.3/V2.ListProfilesRequest)\n- [1.4.3](/php/docs/reference/cloud-profiler/1.4.3/V2.ListProfilesRequest)\n- [1.3.0](/php/docs/reference/cloud-profiler/1.3.0/V2.ListProfilesRequest)\n- [1.2.4](/php/docs/reference/cloud-profiler/1.2.4/V2.ListProfilesRequest)\n- [1.1.1](/php/docs/reference/cloud-profiler/1.1.1/V2.ListProfilesRequest)\n- [1.0.3](/php/docs/reference/cloud-profiler/1.0.3/V2.ListProfilesRequest) \nReference documentation and code samples for the Google Cloud Profiler V2 Client class ListProfilesRequest.\n\nListProfilesRequest contains request parameters for listing profiles for\ndeployments in projects which the user has permissions to view.\n\nGenerated from protobuf message `google.devtools.cloudprofiler.v2.ListProfilesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Profiler \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The parent, which owns this collection of profiles.\n\nFormat: projects/{user_project_id}\n\n### setParent\n\nRequired. The parent, which owns this collection of profiles.\n\nFormat: projects/{user_project_id}\n\n### getPageSize\n\nThe maximum number of items to return.\n\nDefault page_size is 1000.\nMax limit is 1000.\n\n### setPageSize\n\nThe maximum number of items to return.\n\nDefault page_size is 1000.\nMax limit is 1000.\n\n### getPageToken\n\nThe token to continue pagination and get profiles from a particular page.\n\nWhen paginating, all other parameters provided to `ListProfiles` must match\nthe call that provided the page token.\n\n### setPageToken\n\nThe token to continue pagination and get profiles from a particular page.\n\nWhen paginating, all other parameters provided to `ListProfiles` must match\nthe call that provided the page token.\n\n### static::build"]]