Class UpdateProductRequest
Request message for [UpdateProduct][] method.
Inheritance
System.Object
UpdateProductRequest
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
public sealed class UpdateProductRequest : IMessage<UpdateProductRequest>, IEquatable<UpdateProductRequest>, IDeepCloneable<UpdateProductRequest>, IBufferMessage, IMessage
Constructors
UpdateProductRequest()
Declaration
public UpdateProductRequest()
UpdateProductRequest(UpdateProductRequest)
Declaration
public UpdateProductRequest(UpdateProductRequest other)
Parameters
Type | Name | Description |
---|---|---|
UpdateProductRequest | other |
Properties
Product
Required. The product to update/create.
If the caller does not have permission to update the [Product][google.cloud.retail.v2.Product], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
If the [Product][google.cloud.retail.v2.Product] to update does not exist, a NOT_FOUND error is returned.
Declaration
public Product Product { get; set; }
Property Value
Type | Description |
---|---|
Product |
UpdateMask
Indicates which fields in the provided [Product][google.cloud.retail.v2.Product] to update. The immutable and output only fields are NOT supported. If not set, all supported fields (the fields that are neither immutable nor output only) are updated.
If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
Declaration
public FieldMask UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
FieldMask |