# Google Cloud Deploy V1 Client - Class ListAutomationRunsRequest (2.0.0)

2.0.0 (latest) 1.6.3 1.5.7 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.19.1 0.18.1 0.17.0 0.16.0 0.15.0 0.14.0 0.13.1 0.12.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.4 Reference documentation and code samples for the Google Cloud Deploy V1 Client class ListAutomationRunsRequest.

The request object for `ListAutomationRuns`.

Generated from protobuf message `google.cloud.deploy.v1.ListAutomationRunsRequest`

## Namespace

Google \\ Cloud \\ Deploy \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. |
| `↳ page_size` | `int` The maximum number of automationRuns to return. The service may return fewer than this value. If unspecified, at most 50 automationRuns will be returned. The maximum value is 1000; values above 1000 will be set to 1000. |
| `↳ page_token` | `string` A page token, received from a previous `ListAutomationRuns` call. Provide this to retrieve the subsequent page. When paginating, all other provided parameters match the call that provided the page token. |
| `↳ filter` | `string` Filter automationRuns to be returned. All fields can be used in the filter. |
| `↳ order_by` | `string` Field to sort by. |

### getParent

Required. The parent `Delivery Pipeline`, which owns this collection of
automationRuns. Format must be
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.

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

### setParent

Required. The parent `Delivery Pipeline`, which owns this collection of
automationRuns. Format must be
`projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`.

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

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

### getPageSize

The maximum number of automationRuns to return. The service may return
fewer than this value. If unspecified, at most 50 automationRuns will
be returned. The maximum value is 1000; values above 1000 will be set
to 1000.

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

### setPageSize

The maximum number of automationRuns to return. The service may return
fewer than this value. If unspecified, at most 50 automationRuns will
be returned. The maximum value is 1000; values above 1000 will be set
to 1000.

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

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

### getPageToken

A page token, received from a previous `ListAutomationRuns` call.

Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match
the call that provided the page token.

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

### setPageToken

A page token, received from a previous `ListAutomationRuns` call.

Provide this to retrieve the subsequent page.
When paginating, all other provided parameters match
the call that provided the page token.

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

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

### getFilter

Filter automationRuns to be returned. All fields can be used in the
filter.

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

### setFilter

Filter automationRuns to be returned. All fields can be used in the
filter.

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

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

### getOrderBy

Field to sort by.

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

### setOrderBy

Field to sort by.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent `Delivery Pipeline`, which owns this collection of automationRuns. Format must be `projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}`. Please see Google\\Cloud\\Deploy\\V1\\CloudDeployClient::deliveryPipelineName() for help formatting this field. |

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