Cloud AutoML V1 Client - Class CreateModelRequest (1.4.17)

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

Request message for AutoMl.CreateModel.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Resource name of the parent project where the model is being created.

↳ model Google\Cloud\AutoMl\V1\Model

Required. The model to create.

getParent

Required. Resource name of the parent project where the model is being created.

Returns
TypeDescription
string

setParent

Required. Resource name of the parent project where the model is being created.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getModel

Required. The model to create.

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

hasModel

clearModel

setModel

Required. The model to create.

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