Cloud AutoML V1 Client - Class ImportDataRequest (1.5.4)

Reference documentation and code samples for the Cloud AutoML V1 Client class ImportDataRequest.

Request message for AutoMl.ImportData.

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Dataset name. Dataset must already exist. All imported annotations and examples will be added.

↳ input_config Google\Cloud\AutoMl\V1\InputConfig

Required. The desired input location and its domain specific semantics, if any.

getName

Required. Dataset name. Dataset must already exist. All imported annotations and examples will be added.

Returns
TypeDescription
string

setName

Required. Dataset name. Dataset must already exist. All imported annotations and examples will be added.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputConfig

Required. The desired input location and its domain specific semantics, if any.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

Required. The desired input location and its domain specific semantics, if any.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\InputConfig
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
name string

Required. Dataset name. Dataset must already exist. All imported annotations and examples will be added. Please see Google\Cloud\AutoMl\V1\AutoMlClient::datasetName() for help formatting this field.

inputConfig Google\Cloud\AutoMl\V1\InputConfig

Required. The desired input location and its domain specific semantics, if any.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\ImportDataRequest