Cloud Scheduler V1 Client - Class ListJobsResponse (2.0.0)

Reference documentation and code samples for the Cloud Scheduler V1 Client class ListJobsResponse.

Response message for listing jobs using ListJobs.

Generated from protobuf message google.cloud.scheduler.v1.ListJobsResponse

Namespace

Google \ Cloud \ Scheduler \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ jobs array<Google\Cloud\Scheduler\V1\Job>

The list of jobs.

↳ next_page_token string

A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it indicates that there are no more results through which to paginate. The page token is valid for only 2 hours.

getJobs

The list of jobs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setJobs

The list of jobs.

Parameter
Name Description
var array<Google\Cloud\Scheduler\V1\Job>
Returns
Type Description
$this

getNextPageToken

A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it indicates that there are no more results through which to paginate.

The page token is valid for only 2 hours.

Returns
Type Description
string

setNextPageToken

A token to retrieve next page of results. Pass this value in the page_token field in the subsequent call to ListJobs to retrieve the next page of results. If this is empty it indicates that there are no more results through which to paginate.

The page token is valid for only 2 hours.

Parameter
Name Description
var string
Returns
Type Description
$this