Cloud Translation V3 Client - Class DeleteDatasetRequest (1.18.0)

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

Request message for DeleteDataset.

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

Namespace

Google \ Cloud \ Translate \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the dataset to delete.

getName

Required. The name of the dataset to delete.

Returns
Type Description
string

setName

Required. The name of the dataset to delete.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the dataset to delete. Please see Google\Cloud\Translate\V3\TranslationServiceClient::datasetName() for help formatting this field.

Returns
Type Description
Google\Cloud\Translate\V3\DeleteDatasetRequest