Class UpdateCatalogRequest (1.1.0)

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

Request for [CatalogService.UpdateCatalog][google.cloud.retail.v2.CatalogService.UpdateCatalog] method.

Inheritance

Object > UpdateCatalogRequest

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

UpdateCatalogRequest()

public UpdateCatalogRequest()

UpdateCatalogRequest(UpdateCatalogRequest)

public UpdateCatalogRequest(UpdateCatalogRequest other)
Parameter
NameDescription
otherUpdateCatalogRequest

Properties

Catalog

public Catalog Catalog { get; set; }

Required. The [Catalog][google.cloud.retail.v2.Catalog] to update.

If the caller does not have permission to update the [Catalog][google.cloud.retail.v2.Catalog], regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

If the [Catalog][google.cloud.retail.v2.Catalog] to update does not exist, a NOT_FOUND error is returned.

Property Value
TypeDescription
Catalog

UpdateMask

public FieldMask UpdateMask { get; set; }

Indicates which fields in the provided [Catalog][google.cloud.retail.v2.Catalog] to update. If not set, will only update the [Catalog.product_level_config][google.cloud.retail.v2.Catalog.product_level_config] field, which is also the only currently supported field to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Property Value
TypeDescription
FieldMask