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]

Product data. Corresponds to the JSON property `product` @return [Google::Apis::ContentV2::Product]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 5618
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