Google Cloud Profiler V2 Client - Class ListProfilesResponse (2.0.1)

Reference documentation and code samples for the Google Cloud Profiler V2 Client class ListProfilesResponse.

ListProfileResponse contains the list of collected profiles for deployments in projects which the user has permissions to view.

Generated from protobuf message google.devtools.cloudprofiler.v2.ListProfilesResponse

Namespace

Google \ Cloud \ Profiler \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ profiles array<Profile>

List of profiles fetched.

↳ next_page_token string

Token to receive the next page of results. This field maybe empty if there are no more profiles to fetch.

↳ skipped_profiles int

Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.

getProfiles

List of profiles fetched.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setProfiles

List of profiles fetched.

Parameter
Name Description
var array<Profile>
Returns
Type Description
$this

getNextPageToken

Token to receive the next page of results.

This field maybe empty if there are no more profiles to fetch.

Returns
Type Description
string

setNextPageToken

Token to receive the next page of results.

This field maybe empty if there are no more profiles to fetch.

Parameter
Name Description
var string
Returns
Type Description
$this

getSkippedProfiles

Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.

Returns
Type Description
int

setSkippedProfiles

Number of profiles that were skipped in the current page since they were not able to be fetched successfully. This should typically be zero. A non-zero value may indicate a transient failure, in which case if the number is too high for your use case, the call may be retried.

Parameter
Name Description
var int
Returns
Type Description
$this