class Google::Apis::ContentV2::ProductsBatchResponseEntry

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

Attributes

batch_id[RW]

The ID of the request entry this entry responds to. Corresponds to the JSON property `batchId` @return [Fixnum]

errors[RW]

A list of errors returned by a failed batch entry. Corresponds to the JSON property `errors` @return [Google::Apis::ContentV2::Errors]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# productsCustomBatchResponseEntry`” Corresponds to the JSON property `kind` @return [String]

product[RW]

Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. Corresponds to the JSON property `product` @return [Google::Apis::ContentV2::Product]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10016
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2/classes.rb, line 10021
def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @errors = args[:errors] if args.key?(:errors)
  @kind = args[:kind] if args.key?(:kind)
  @product = args[:product] if args.key?(:product)
end