Google Cloud Ai Platform V1 Client - Class ImportDataRequest (0.20.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class ImportDataRequest.

Request message for DatasetService.ImportData.

Generated from protobuf message google.cloud.aiplatform.v1.ImportDataRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

↳ import_configs array<Google\Cloud\AIPlatform\V1\ImportDataConfig>

Required. The desired input locations. The contents of all input locations will be imported in one batch.

getName

Required. The name of the Dataset resource.

Format: projects/{project}/locations/{location}/datasets/{dataset}

Returns
TypeDescription
string

setName

Required. The name of the Dataset resource.

Format: projects/{project}/locations/{location}/datasets/{dataset}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImportConfigs

Required. The desired input locations. The contents of all input locations will be imported in one batch.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setImportConfigs

Required. The desired input locations. The contents of all input locations will be imported in one batch.

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\ImportDataConfig>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
name string

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset} Please see Google\Cloud\AIPlatform\V1\DatasetServiceClient::datasetName() for help formatting this field.

importConfigs array<Google\Cloud\AIPlatform\V1\ImportDataConfig>

Required. The desired input locations. The contents of all input locations will be imported in one batch.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\ImportDataRequest