Cloud Translation V3 Client - Class ListAdaptiveMtFilesRequest (1.17.5)

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
NameDescription
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_tokenis 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
TypeDescription
string

setParent

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

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Optional.

Returns
TypeDescription
int

setPageSize

Optional.

Parameter
NameDescription
var int
Returns
TypeDescription
$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_tokenis empty or missing.

Returns
TypeDescription
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_tokenis empty or missing.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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 Google\Cloud\Translate\V3\TranslationServiceClient::adaptiveMtDatasetName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Translate\V3\ListAdaptiveMtFilesRequest