Cloud AutoML V1 Client - Class UpdateModelRequest (1.5.4)

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

Request message for AutoMl.UpdateModel

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ model Google\Cloud\AutoMl\V1\Model

Required. The model which replaces the resource on the server.

↳ update_mask Google\Protobuf\FieldMask

Required. The update mask applies to the resource.

getModel

Required. The model which replaces the resource on the server.

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

hasModel

clearModel

setModel

Required. The model which replaces the resource on the server.

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

getUpdateMask

Required. The update mask applies to the resource.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
model Google\Cloud\AutoMl\V1\Model

Required. The model which replaces the resource on the server.

updateMask Google\Protobuf\FieldMask

Required. The update mask applies to the resource.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\UpdateModelRequest