View Source GoogleApi.Content.V21.Model.ProductsCustomBatchRequestEntry (google_api_content v0.67.1)
A batch entry encoding a single non-batch products request.
Attributes
-
batchId
(type:integer()
, default:nil
) - An entry ID, unique within the batch request. -
feedId
(type:String.t
, default:nil
) - The Content API Supplemental Feed ID. If present then product insertion or deletion applies to a supplemental feed instead of primary Content API feed. -
merchantId
(type:String.t
, default:nil
) - The ID of the managing account. -
method
(type:String.t
, default:nil
) - The method of the batch entry. Acceptable values are: - "delete
" - "get
" - "insert
" - "update
" -
product
(type:GoogleApi.Content.V21.Model.Product.t
, default:nil
) - The product to insert or update. Only required if the method isinsert
orupdate
. If theupdate
method is used withupdateMask
only to delete a field, then this isn't required. For example, settingsalePrice
on theupdateMask
and not providing aproduct
will result in an existing sale price on the product specified byproductId
being deleted. -
productId
(type:String.t
, default:nil
) - The ID of the product to get or mutate. Only defined if the method isget
,delete
, orupdate
. -
updateMask
(type:String.t
, default:nil
) - 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 isupdate
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.