Cloud AutoML V1 Client - Class UpdateModelRequest (1.6.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
Name Description
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
Type Description
Google\Cloud\AutoMl\V1\Model|null

hasModel

clearModel

setModel

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

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

getUpdateMask

Required. The update mask applies to the resource.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

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