public sealed class UpdateProductRequest : IMessage<UpdateProductRequest>, IEquatable<UpdateProductRequest>, IDeepCloneable<UpdateProductRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Vision v1 API class UpdateProductRequest.
Request message for the UpdateProduct
method.
Implements
IMessageUpdateProductRequest, IEquatableUpdateProductRequest, IDeepCloneableUpdateProductRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
UpdateProductRequest()
public UpdateProductRequest()
UpdateProductRequest(UpdateProductRequest)
public UpdateProductRequest(UpdateProductRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateProductRequest |
Properties
Product
public Product Product { get; set; }
Required. The Product resource which replaces the one on the server. product.name is immutable.
Property Value | |
---|---|
Type | Description |
Product |
UpdateMask
public FieldMask UpdateMask { get; set; }
The [FieldMask][google.protobuf.FieldMask] that specifies which fields
to update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask paths include product_labels
, display_name
, and
description
.
Property Value | |
---|---|
Type | Description |
FieldMask |