class Google::Apis::ContentV2::ProductStatusesBatchResponseEntry

A batch entry encoding a single non-batch productstatuses 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# productstatusesCustomBatchResponseEntry`” Corresponds to the JSON property `kind` @return [String]

product_status[RW]

The status of a product, i.e., information about a product computed asynchronously. Corresponds to the JSON property `productStatus` @return [Google::Apis::ContentV2::ProductStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 10183
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 10188
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_status = args[:product_status] if args.key?(:product_status)
end