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

A user list global license.

This feature is only available to data partners.

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

## Namespace

Google \\ Ads \\ DataManager \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Identifier. The resource name of the user list global license. |
| `↳ user_list_id` | `int|string` Immutable. ID of the user list being licensed. |
| `↳ user_list_display_name` | `string` Output only. Name of the user list being licensed. This field is read-only. |
| `↳ license_type` | `int` Immutable. Product type of client customer which the user list is being licensed to. |
| `↳ status` | `int` Optional. Status of UserListGlobalLicense - ENABLED or DISABLED. |
| `↳ pricing` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicensePricing` Optional. UserListGlobalLicense pricing. |
| `↳ historical_pricings` | `array<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicensePricing>` Output only. Pricing history of this user list license. This field is read-only. |
| `↳ metrics` | `https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicenseMetrics` Output only. Metrics related to this license This field is read-only and only populated if the start and end dates are set in the ListUserListGlobalLicenses call |

### getName

Identifier. The resource name of the user list global license.

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

### setName

Identifier. The resource name of the user list global license.

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

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

### getUserListId

Immutable. ID of the user list being licensed.

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

### hasUserListId

### clearUserListId

### setUserListId

Immutable. ID of the user list being licensed.

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

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

### getUserListDisplayName

Output only. Name of the user list being licensed.

This field is read-only.

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

### setUserListDisplayName

Output only. Name of the user list being licensed.

This field is read-only.

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

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

### getLicenseType

Immutable. Product type of client customer which the user list is being
licensed to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasLicenseType

### clearLicenseType

### setLicenseType

Immutable. Product type of client customer which the user list is being
licensed to.

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

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

### getStatus

Optional. Status of UserListGlobalLicense - ENABLED or DISABLED.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### hasStatus

### clearStatus

### setStatus

Optional. Status of UserListGlobalLicense - ENABLED or DISABLED.

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

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

### getPricing

Optional. UserListGlobalLicense pricing.

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

### hasPricing

### clearPricing

### setPricing

Optional. UserListGlobalLicense pricing.

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

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

### getHistoricalPricings

Output only. Pricing history of this user list license.

This field is read-only.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListLicensePricing>` |   |

### setHistoricalPricings

Output only. Pricing history of this user list license.

This field is read-only.

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

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

### getMetrics

Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are
set in the ListUserListGlobalLicenses call

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

### hasMetrics

### clearMetrics

### setMetrics

Output only. Metrics related to this license
This field is read-only and only populated if the start and end dates are
set in the ListUserListGlobalLicenses call

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

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