# Cloud Scheduler V1 Client - Class ListJobsRequest (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 ListJobsRequest.

Request 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.ListJobsRequest`

## Namespace

Google \\ Cloud \\ Scheduler \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. |
| `↳ page_size` | `int` Requested page size. The maximum page size is 500. If unspecified, the page size will be the maximum. Fewer jobs than requested might be returned, even if more jobs exist; use next_page_token to determine if more jobs exist. |
| `↳ page_token` | `string` A token identifying a page of results the server will return. To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of [next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsResponse#_Google_Cloud_Scheduler_V1_ListJobsResponse__getNextPageToken__) returned from the previous call to [ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__listJobs__). |

### getParent

Required. The location name. For example:
`projects/PROJECT_ID/locations/LOCATION_ID`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setParent

Required. The location name. For example:
`projects/PROJECT_ID/locations/LOCATION_ID`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getPageSize

Requested page size.

The maximum page size is 500. If unspecified, the page size will
be the maximum. Fewer jobs than requested might be returned,
even if more jobs exist; use next_page_token to determine if more
jobs exist.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setPageSize

Requested page size.

The maximum page size is 500. If unspecified, the page size will
be the maximum. Fewer jobs than requested might be returned,
even if more jobs exist; use next_page_token to determine if more
jobs exist.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

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

### getPageToken

A token identifying a page of results the server will return. To
request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value of
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsResponse#_Google_Cloud_Scheduler_V1_ListJobsResponse__getNextPageToken__)
returned from the previous call to
[ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__listJobs__).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPageToken

A token identifying a page of results the server will return. To
request the first page results, page_token must be empty. To
request the next page of results, page_token must be the value of
[next_page_token](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsResponse#_Google_Cloud_Scheduler_V1_ListJobsResponse__getNextPageToken__)
returned from the previous call to
[ListJobs](https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.Client.CloudSchedulerClient#_Google_Cloud_Scheduler_V1_Client_CloudSchedulerClient__listJobs__).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The location name. For example: `projects/PROJECT_ID/locations/LOCATION_ID`. Please see CloudSchedulerClient::locationName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-scheduler/latest/V1.ListJobsRequest` |   |