Cloud Scheduler V1 Client - Class ListJobsResponse (1.9.4)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setJobs

The list of jobs.

Parameter
NameDescription
var array<Google\Cloud\Scheduler\V1\Job>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this