Reference documentation and code samples for the Cloud Translation V3 Client class CreateDatasetRequest.
Request message for CreateDataset.
Generated from protobuf message google.cloud.translation.v3.CreateDatasetRequest
Namespace
Google \ Cloud \ Translate \ V3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The project name. |
↳ dataset |
Dataset
Required. The Dataset to create. |
getParent
Required. The project name.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The project name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDataset
Required. The Dataset to create.
Returns | |
---|---|
Type | Description |
Dataset|null |
hasDataset
clearDataset
setDataset
Required. The Dataset to create.
Parameter | |
---|---|
Name | Description |
var |
Dataset
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The project name. Please see TranslationServiceClient::locationName() for help formatting this field. |
dataset |
Dataset
Required. The Dataset to create. |
Returns | |
---|---|
Type | Description |
CreateDatasetRequest |