Google Cloud Profiler V2 Client - Class ListProfilesRequest (1.3.0)

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 message google.devtools.cloudprofiler.v2.ListProfilesRequest

Namespace

Google \ Cloud \ Profiler \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
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 10000.

↳ page_token string

The token to continue pagination and get profiles from a particular page. When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

getParent

Required. The parent, which owns this collection of profiles.

Format: projects/{user_project_id}

Returns
TypeDescription
string

setParent

Required. The parent, which owns this collection of profiles.

Format: projects/{user_project_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return.

Default page_size is 1000. Max limit is 10000.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return.

Default page_size is 1000. Max limit is 10000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The token to continue pagination and get profiles from a particular page.

When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

Returns
TypeDescription
string

setPageToken

The token to continue pagination and get profiles from a particular page.

When paginating, all other parameters provided to ListProfiles must match the call that provided the page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this