Cloud AutoML V1 Client - Class ImportDataRequest (2.0.3)

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 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
InputConfig|null

hasInputConfig

clearInputConfig

setInputConfig

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

Parameter
Name Description
var 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 AutoMlClient::datasetName() for help formatting this field.

inputConfig InputConfig

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

Returns
Type Description
ImportDataRequest