Cloud AutoML V1 Client - Class ImportDataRequest (2.0.0-RC1)

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
Name Description
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
Type Description
string

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getInputConfig

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

Returns
Type Description
Google\Cloud\AutoMl\V1\InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

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

Parameter
Name Description
var Google\Cloud\AutoMl\V1\InputConfig
Returns
Type Description
$this

static::build

Parameters
Name Description
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
Type Description
Google\Cloud\AutoMl\V1\ImportDataRequest