Cloud Translation V3 Client - Class GetAdaptiveMtDatasetRequest (1.20.0)

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

Request message for getting an Adaptive MT dataset.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the dataset. In the form of projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}

getName

Required. Name of the dataset. In the form of projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}

Returns
Type Description
string

setName

Required. Name of the dataset. In the form of projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the dataset. In the form of projects/{project-number-or-id}/locations/{location-id}/adaptiveMtDatasets/{adaptive-mt-dataset-id} Please see TranslationServiceClient::adaptiveMtDatasetName() for help formatting this field.

Returns
Type Description
GetAdaptiveMtDatasetRequest