# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::UpdateModelRequest (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.0 0.5.1 0.4.8 Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::UpdateModelRequest.

Request message for [AutoMl.UpdateModel](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-AutoML-Client#Google__Cloud__AutoML__V1__AutoML__Client_update_model_instance_ "Google::Cloud::AutoML::V1::AutoML::Client#update_model (method)")

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #model

    def model() -> ::Google::Cloud::AutoML::V1::Model

**Returns**

- ([::Google::Cloud::AutoML::V1::Model](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-Model)) --- Required. The model which replaces the resource on the server.

### #model=

    def model=(value) -> ::Google::Cloud::AutoML::V1::Model

**Parameter**

- **value** ([::Google::Cloud::AutoML::V1::Model](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-Model)) --- Required. The model which replaces the resource on the server.
**Returns**

- ([::Google::Cloud::AutoML::V1::Model](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-Model)) --- Required. The model which replaces the resource on the server.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Protobuf-FieldMask)) --- Required. The update mask applies to the resource.