# Google Cloud Resource Manager V3 Client - Class ListTagKeysRequest (1.1.3)

1.1.3 (latest) 1.1.2 1.0.4 0.8.5 0.7.2 0.6.1 0.5.0 0.4.1 0.3.9 Reference documentation and code samples for the Google Cloud Resource Manager V3 Client class ListTagKeysRequest.

The request message for listing all TagKeys under a parent resource.

Generated from protobuf message `google.cloud.resourcemanager.v3.ListTagKeysRequest`

## Namespace

Google \\ Cloud \\ ResourceManager \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the TagKey's parent. Must be of the form `organizations/{org_id}` or `projects/{project_id}` or `projects/{project_number}` |
| `↳ page_size` | `int` Optional. The maximum number of TagKeys to return in the response. The server allows a maximum of 300 TagKeys to return. If unspecified, the server will use 100 as the default. |
| `↳ page_token` | `string` Optional. A pagination token returned from a previous call to `ListTagKey` that indicates where this listing should continue from. |

### getParent

Required. The resource name of the TagKey's parent.

Must be of the form `organizations/{org_id}` or `projects/{project_id}` or
`projects/{project_number}`

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

### setParent

Required. The resource name of the TagKey's parent.

Must be of the form `organizations/{org_id}` or `projects/{project_id}` or
`projects/{project_number}`

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

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

### getPageSize

Optional. The maximum number of TagKeys to return in the response. The
server allows a maximum of 300 TagKeys to return. If unspecified, the
server will use 100 as the default.

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

### setPageSize

Optional. The maximum number of TagKeys to return in the response. The
server allows a maximum of 300 TagKeys to return. If unspecified, the
server will use 100 as the default.

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

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

### getPageToken

Optional. A pagination token returned from a previous call to `ListTagKey`
that indicates where this listing should continue from.

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

### setPageToken

Optional. A pagination token returned from a previous call to `ListTagKey`
that indicates where this listing should continue from.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the TagKey's parent. Must be of the form `organizations/{org_id}` or `projects/{project_id}` or `projects/{project_number}` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-resource-manager/latest/V3.ListTagKeysRequest` |   |