# Google Cloud Eventarc V1 Client - Class UpdatePipelineRequest (2.3.1)

2.3.1 (latest) 2.3.0 2.2.1 2.1.5 2.0.1 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Eventarc V1 Client class UpdatePipelineRequest.

The request message for the UpdatePipeline method.

Generated from protobuf message `google.cloud.eventarc.v1.UpdatePipelineRequest`

## Namespace

Google \\ Cloud \\ Eventarc \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pipeline` | `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pipeline` Required. The Pipeline to be updated. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "\*". |
| `↳ allow_missing` | `bool` Optional. If set to true, and the Pipeline is not found, a new Pipeline will be created. In this situation, `update_mask` is ignored. |
| `↳ validate_only` | `bool` Optional. If set, validate the request and preview the review, but do not post it. |

### getPipeline

Required. The Pipeline to be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pipeline|null` |   |

### hasPipeline

### clearPipeline

### setPipeline

Required. The Pipeline to be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pipeline` |

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

### getUpdateMask

Optional. The fields to be updated; only fields explicitly provided are
updated. If no field mask is provided, all provided fields in the request
are updated. To update all fields, provide a field mask of "\*".

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. The fields to be updated; only fields explicitly provided are
updated. If no field mask is provided, all provided fields in the request
are updated. To update all fields, provide a field mask of "\*".

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getAllowMissing

Optional. If set to true, and the Pipeline is not found, a new Pipeline
will be created. In this situation, `update_mask` is ignored.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setAllowMissing

Optional. If set to true, and the Pipeline is not found, a new Pipeline
will be created. In this situation, `update_mask` is ignored.

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

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

### getValidateOnly

Optional. If set, validate the request and preview the review, but do not
post it.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setValidateOnly

Optional. If set, validate the request and preview the review, but do not
post it.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `pipeline` | `https://docs.cloud.google.com/php/docs/reference/cloud-eventarc/latest/V1.Pipeline` Required. The Pipeline to be updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The fields to be updated; only fields explicitly provided are updated. If no field mask is provided, all provided fields in the request are updated. To update all fields, provide a field mask of "\*". |

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