1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class UpdateModelRequest : IMessage<UpdateModelRequest>, IEquatable<UpdateModelRequest>, IDeepCloneable<UpdateModelRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class UpdateModelRequest.

Request message for
\[ModelService.UpdateModel\]\[google.cloud.aiplatform.v1beta1.ModelService.UpdateModel\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> UpdateModelRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UpdateModelRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UpdateModelRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateModelRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UpdateModelRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### UpdateModelRequest()

    public UpdateModelRequest()

### UpdateModelRequest(UpdateModelRequest)

    public UpdateModelRequest(UpdateModelRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.UpdateModelRequest` |

## Properties

### Model

    public Model Model { get; set; }

Required. The Model which replaces the resource on the server.
When Model Versioning is enabled, the model.name will be used to determine
whether to update the model or model version.

1. model.name with the @ value, e.g. models/123@1, refers to a version specific update.
2. model.name without the @ value, e.g. models/123, refers to a model update.
3. model.name with @-, e.g. models/123@-, refers to a model update.
4. Supported model fields: display_name, description; supported version-specific fields: version_description. Labels are supported in both scenarios. Both the model labels and the version labels are merged when a model is returned. When updating labels, if the request is for model-specific update, model label gets updated. Otherwise, version labels get updated.
5. A model name or model version name fields update mismatch will cause a precondition error.
6. One request cannot update both the model and the version fields. You must update them separately.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.Model` |   |

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. The update mask applies to the resource.
For the `FieldMask` definition, see
\[google.protobuf.FieldMask\]\[google.protobuf.FieldMask\].

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |