Cloud AutoML V1 Client - Class UpdateModelRequest (2.0.5)

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

hasModel

clearModel

setModel

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

Parameter
Name
Description
var
Returns
Type
Description
$this

getUpdateMask

Required. The update mask applies to the resource.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The update mask applies to the resource.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
model
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: