# Cloud Translation V3 Client - Class ListAdaptiveMtFilesRequest (2.3.0)

2.3.0 (latest) 2.2.0 2.1.2 2.0.3 1.21.0 1.20.2 1.19.0 1.18.1 1.17.7 1.16.0 1.15.4 1.14.3 1.13.3 1.12.12 Reference documentation and code samples for the Cloud Translation V3 Client class ListAdaptiveMtFilesRequest.

The request to list all AdaptiveMt files under a given dataset.

Generated from protobuf message `google.cloud.translation.v3.ListAdaptiveMtFilesRequest`

## Namespace

Google \\ Cloud \\ Translate \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the project from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` |
| `↳ page_size` | `int` Optional. |
| `↳ page_token` | `string` Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtFilesResponse.next_page_token returned from the previous call to `ListAdaptiveMtFiles` method. The first page is returned if `page_token`is empty or missing. |

### getParent

Required. The resource name of the project from which to list the Adaptive
MT files.

`projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

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

### setParent

Required. The resource name of the project from which to list the Adaptive
MT files.

`projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}`

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

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

### getPageSize

Optional.

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

### setPageSize

Optional.

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

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

### getPageToken

Optional. A token identifying a page of results the server should return.

Typically, this is the value of
ListAdaptiveMtFilesResponse.next_page_token returned from the
previous call to `ListAdaptiveMtFiles` method. The first page is
returned if `page_token`is empty or missing.

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

### setPageToken

Optional. A token identifying a page of results the server should return.

Typically, this is the value of
ListAdaptiveMtFilesResponse.next_page_token returned from the
previous call to `ListAdaptiveMtFiles` method. The first page is
returned if `page_token`is empty or missing.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the project from which to list the Adaptive MT files. `projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}` Please see TranslationServiceClient::adaptiveMtDatasetName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-translate/latest/V3.ListAdaptiveMtFilesRequest` |   |