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 \ V1Methods
__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 |
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 |
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 |
UpdateModelRequest |