Show / Hide Table of Contents

Class ProductsCustomBatchRequestEntry

A batch entry encoding a single non-batch products request.

Inheritance
object
ProductsCustomBatchRequestEntry
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class ProductsCustomBatchRequestEntry : IDirectResponseSchema

Properties

BatchId

An entry ID, unique within the batch request.

Declaration
[JsonProperty("batchId")]
public virtual long? BatchId { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

FeedId

The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed.

Declaration
[JsonProperty("feedId")]
public virtual ulong? FeedId { get; set; }
Property Value
Type Description
ulong?

MerchantId

The ID of the managing account.

Declaration
[JsonProperty("merchantId")]
public virtual ulong? MerchantId { get; set; }
Property Value
Type Description
ulong?

Method

The method of the batch entry. Acceptable values are: - "delete" - "get" - "insert" - "update"

Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type Description
string

Product

The product to insert or update. Only required if the method is insert or update. If the update method is used with updateMask only to delete a field, then this isn't required. For example, setting salePrice on the updateMask and not providing a product will result in an existing sale price on the product specified by productId being deleted.

Declaration
[JsonProperty("product")]
public virtual Product Product { get; set; }
Property Value
Type Description
Product

ProductId

The ID of the product to get or mutate. Only defined if the method is get, delete, or update.

Declaration
[JsonProperty("productId")]
public virtual string ProductId { get; set; }
Property Value
Type Description
string

UpdateMask

The comma-separated list of product attributes to be updated. Example: "title,salePrice". Attributes specified in the update mask without a value specified in the body will be deleted from the product. You must specify the update mask to delete attributes. Only top-level product attributes can be updated. If not defined, product attributes with set values will be updated and other attributes will stay unchanged. Only defined if the method is update.

Declaration
[JsonProperty("updateMask")]
public virtual object UpdateMask { get; set; }
Property Value
Type Description
object

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX