# Google Shopping Merchant Conversions V1 Client - Class UpdateConversionSourceRequest (1.2.0)

1.2.0 (latest) 1.1.3 1.0.0 0.3.0 0.2.1 0.1.5 Reference documentation and code samples for the Google Shopping Merchant Conversions V1 Client class UpdateConversionSourceRequest.

Request message for the UpdateConversionSource method.

Generated from protobuf message `google.shopping.merchant.conversions.v1.UpdateConversionSourceRequest`

## Namespace

Google \\ Shopping \\ Merchant \\ Conversions \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ conversion_source` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-conversions/latest/V1.ConversionSource` Required. The new version of the conversion source data. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. List of fields being updated. |

### getConversionSource

Required. The new version of the conversion source data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-conversions/latest/V1.ConversionSource|null` |   |

### hasConversionSource

### clearConversionSource

### setConversionSource

Required. The new version of the conversion source data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-conversions/latest/V1.ConversionSource` |

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

### getUpdateMask

Optional. List of fields being updated.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. List of fields being updated.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `conversionSource` | `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-conversions/latest/V1.ConversionSource` Required. The new version of the conversion source data. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. List of fields being updated. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/shopping-merchant-conversions/latest/V1.UpdateConversionSourceRequest` |   |