Retail v2 API - Class UpdateModelRequest (2.16.0)

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

Reference documentation and code samples for the Retail v2 API class UpdateModelRequest.

Request for updating an existing model.

Inheritance

object > UpdateModelRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

UpdateModelRequest()

public UpdateModelRequest()

UpdateModelRequest(UpdateModelRequest)

public UpdateModelRequest(UpdateModelRequest other)
Parameter
Name Description
other UpdateModelRequest

Properties

Model

public Model Model { get; set; }

Required. The body of the updated [Model][google.cloud.retail.v2.Model].

Property Value
Type Description
Model

UpdateMask

public FieldMask UpdateMask { get; set; }

Optional. Indicates which fields in the provided 'model' to update. If not set, by default updates all fields.

Property Value
Type Description
FieldMask

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.