# Google Ads Data Manager V1 Client - Class CreateUserListGlobalLicenseRequest (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 CreateUserListGlobalLicenseRequest.

Request to create a
[UserListGlobalLicense](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListGlobalLicense)
resource.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} |
| `↳ user_list_global_license` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListGlobalLicense` Required. The user list global license to create. |

### getParent

Required. The account that owns the user list being licensed. Should be in
the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

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

### setParent

Required. The account that owns the user list being licensed. Should be in
the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

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

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

### getUserListGlobalLicense

Required. The user list global license to create.

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

### hasUserListGlobalLicense

### clearUserListGlobalLicense

### setUserListGlobalLicense

Required. The user list global license to create.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The account that owns the user list being licensed. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} Please see UserListGlobalLicenseServiceClient::accountName() for help formatting this field. |
| `userListGlobalLicense` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListGlobalLicense` Required. The user list global license to create. |

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