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

Request to list all
[UserListDirectLicense](https://docs.cloud.google.com/php/docs/reference/data-manager/latest/V1.UserListDirectLicense)
resources for a given account.

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

## 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 whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} |
| `↳ filter` | `string` Optional. A [filter string](https://google.aip.dev/160) to apply to the list request. All fields need to be on the left hand side of each condition (for example: `user_list_id = 123`). Fields must be specified using either all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of camel case and snake case. **Supported Operations:** - `AND` - `=` - `!=` - `>` - `>=` - `<` - `<=` **Unsupported Fields:** - `name` (use get method instead) - `historical_pricings` and all its subfields - `pricing.start_time` - `pricing.end_time` |
| `↳ page_size` | `int` Optional. The maximum number of licenses to return per page. The service may return fewer than this value. If unspecified, at most 50 licenses will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. |
| `↳ page_token` | `string` Optional. A page token, received from a previous `ListUserListDirectLicense` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserListDirectLicense` must match the call that provided the page token. |

### getParent

Required. The account whose licenses are being queried. Should be in the
format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

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

### setParent

Required. The account whose licenses are being queried. Should be in the
format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID}

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

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

### getFilter

Optional. A [filter string](https://google.aip.dev/160) to apply to the
list request. All fields need to be on the left hand side of each condition
(for example: `user_list_id = 123`). Fields must be specified using either
all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake
case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of
camel case and snake case.

**Supported Operations:**

- `AND`
- `=`
- `!=`
- `>`
- `>=`
- `<`
- `<=` **Unsupported Fields:**
- `name` (use get method instead)
- `historical_pricings` and all its subfields
- `pricing.start_time`
- `pricing.end_time`

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

### setFilter

Optional. A [filter string](https://google.aip.dev/160) to apply to the
list request. All fields need to be on the left hand side of each condition
(for example: `user_list_id = 123`). Fields must be specified using either
all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake
case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of
camel case and snake case.

**Supported Operations:**

- `AND`
- `=`
- `!=`
- `>`
- `>=`
- `<`
- `<=` **Unsupported Fields:**
- `name` (use get method instead)
- `historical_pricings` and all its subfields
- `pricing.start_time`
- `pricing.end_time`

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

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

### getPageSize

Optional. The maximum number of licenses to return per page. The service
may return fewer than this value. If unspecified, at most 50 licenses will
be returned. The maximum value is 1000; values above 1000 will be coerced
to 1000.

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

### setPageSize

Optional. The maximum number of licenses to return per page. The service
may return fewer than this value. If unspecified, at most 50 licenses will
be returned. The maximum value is 1000; values above 1000 will be coerced
to 1000.

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

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

### getPageToken

Optional. A page token, received from a previous
`ListUserListDirectLicense` call. Provide this to retrieve the subsequent
page.

When paginating, all other parameters provided to
`ListUserListDirectLicense` must match the call that provided the page
token.

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

### setPageToken

Optional. A page token, received from a previous
`ListUserListDirectLicense` call. Provide this to retrieve the subsequent
page.

When paginating, all other parameters provided to
`ListUserListDirectLicense` must match the call that provided the page
token.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The account whose licenses are being queried. Should be in the format accountTypes/{ACCOUNT_TYPE}/accounts/{ACCOUNT_ID} Please see UserListDirectLicenseServiceClient::accountName() for help formatting this field. |

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