# Cloud Scheduler V1 Client - Class ListJobsResponse (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.10.5 1.9.4 1.8.3 1.7.1 1.6.8 Reference documentation and code samples for the Cloud Scheduler V1 Client class ListJobsResponse.

Response message for listing jobs using
[ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__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<https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/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](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsRequest#_Google_Cloud_Scheduler_V1_ListJobsRequest__getPageToken__) field in the subsequent call to [ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Job>` |   |

### setJobs

The list of jobs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Job>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNextPageToken

A token to retrieve next page of results. Pass this value in the
[page_token](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsRequest#_Google_Cloud_Scheduler_V1_ListJobsRequest__getPageToken__) field in
the subsequent call to
[ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__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](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsRequest#_Google_Cloud_Scheduler_V1_ListJobsRequest__getPageToken__) field in
the subsequent call to
[ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__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` |   |