# Google Ads Data Manager V1 Client - Class UpdateUserListRequest (0.5.0)

0.5.0 (latest) 0.4.0 0.3.1 0.2.0 0.1.2 Reference documentation and code samples for the Google Ads Data Manager V1 Client class UpdateUserListRequest.

Request message for UpdateUserList.

Generated from protobuf message `google.ads.datamanager.v1.UpdateUserListRequest`

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ user_list` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserList` Required. The user list to update. The user list's `name` field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list} |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of fields to update. |
| `↳ validate_only` | `bool` Optional. If true, the request is validated but not executed. |

### getUserList

Required. The user list to update.

The user list's `name` field is used to identify the user list to update.
Format:
accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

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

### hasUserList

### clearUserList

### setUserList

Required. The user list to update.

The user list's `name` field is used to identify the user list to update.
Format:
accountTypes/{account_type}/accounts/{account}/userLists/{user_list}

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

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

### getUpdateMask

Optional. The list of fields to update.

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

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. The list of fields to update.

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

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

### getValidateOnly

Optional. If true, the request is validated but not executed.

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

### setValidateOnly

Optional. If true, the request is validated but not executed.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `userList` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserList` Required. The user list to update. The user list's `name` field is used to identify the user list to update. Format: accountTypes/{account_type}/accounts/{account}/userLists/{user_list} |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. The list of fields to update. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UpdateUserListRequest` |   |