# Google Cloud Channel V1 Client - Class UpdateCustomerRequest (2.4.1)

2.4.1 (latest) 2.4.0 2.3.1 2.2.1 2.1.4 2.0.0 1.9.5 1.8.2 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Channel V1 Client class UpdateCustomerRequest.

Request message for
[CloudChannelService.UpdateCustomer](https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Client.CloudChannelServiceClient#_Google_Cloud_Channel_V1_Client_CloudChannelServiceClient__updateCustomer__).

Generated from protobuf message `google.cloud.channel.v1.UpdateCustomerRequest`

## Namespace

Google \\ Cloud \\ Channel \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ customer` | `https://docs.cloud.google.com/php/docs/reference/cloud-channel/latest/V1.Customer` Required. New contents of the customer. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` The update mask that applies to the resource. Optional. |

### getCustomer

Required. New contents of the customer.

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

### hasCustomer

### clearCustomer

### setCustomer

Required. New contents of the customer.

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

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

### getUpdateMask

The update mask that applies to the resource.

Optional.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

The update mask that applies to the resource.

Optional.

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

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