Reference documentation and code samples for the Cloud Translation V3 Client class ListAdaptiveMtSentencesRequest.
The request for listing Adaptive MT sentences from a Dataset/File.
Generated from protobuf message google.cloud.translation.v3.ListAdaptiveMtSentencesRequest
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
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. The following format lists all sentences under a file. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
The following format lists all sentences within a dataset. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
↳ page_size
int
↳ page_token
string
A token identifying a page of results the server should return. Typically, this is the value of ListAdaptiveMtSentencesRequest.next_page_token returned from the previous call to ListTranslationMemories
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. The following format lists all sentences under a file.
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
The following format lists all sentences within a dataset. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
string
setParent
Required. The resource name of the project from which to list the Adaptive MT files. The following format lists all sentences under a file.
projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
The following format lists all sentences within a dataset. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
var
string
$this
getPageSize
Generated from protobuf field int32 page_size = 2;
int
setPageSize
Generated from protobuf field int32 page_size = 2;
var
int
$this
getPageToken
A token identifying a page of results the server should return.
Typically, this is the value of
ListAdaptiveMtSentencesRequest.next_page_token returned from the
previous call to ListTranslationMemories
method. The first page is
returned if page_token
is empty or missing.
string
setPageToken
A token identifying a page of results the server should return.
Typically, this is the value of
ListAdaptiveMtSentencesRequest.next_page_token returned from the
previous call to ListTranslationMemories
method. The first page is
returned if page_token
is empty or missing.
var
string
$this
static::build
parent
string
Required. The resource name of the project from which to list the Adaptive
MT files. The following format lists all sentences under a file. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}/adaptiveMtFiles/{file}
The following format lists all sentences within a dataset. projects/{project}/locations/{location}/adaptiveMtDatasets/{dataset}
Please see Google\Cloud\Translate\V3\TranslationServiceClient::adaptiveMtFileName()
for help formatting this field.