Cloud Translation V3 Client - Class ListAdaptiveMtDatasetsRequest (1.20.1)

Reference documentation and code samples for the Cloud Translation V3 Client class ListAdaptiveMtDatasetsRequest.

Request message for listing all Adaptive MT datasets that the requestor has access to.

Generated from protobuf message google.cloud.translation.v3.ListAdaptiveMtDatasetsRequest

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 datasets. projects/{project-number-or-id}/locations/{location-id}

↳ page_size int

Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

↳ page_token string

Optional. A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to ListAdaptiveMtDatasets method. The first page is returned if page_tokenis empty or missing.

↳ filter string

Optional. An expression for filtering the results of the request. Filter is not supported yet.

getParent

Required. The resource name of the project from which to list the Adaptive MT datasets. projects/{project-number-or-id}/locations/{location-id}

Returns
Type Description
string

setParent

Required. The resource name of the project from which to list the Adaptive MT datasets. projects/{project-number-or-id}/locations/{location-id}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

Returns
Type Description
int

setPageSize

Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default.

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 ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to ListAdaptiveMtDatasets method. The first page is returned if page_tokenis 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 ListAdaptiveMtDatasetsResponse.next_page_token returned from the previous call to ListAdaptiveMtDatasets method. The first page is returned if page_tokenis empty or missing.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. An expression for filtering the results of the request.

Filter is not supported yet.

Returns
Type Description
string

setFilter

Optional. An expression for filtering the results of the request.

Filter is not supported yet.

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 datasets. projects/{project-number-or-id}/locations/{location-id} Please see TranslationServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListAdaptiveMtDatasetsRequest