class Google::Apis::ContentV2_1::RegionalinventoryCustomBatchResponseEntry

A batch entry encoding a single non-batch regional inventory 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_1::Errors]

kind[RW]

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

regional_inventory[RW]

Regional inventory resource. contains the regional name and all attributes which are overridden for the specified region. Corresponds to the JSON property `regionalInventory` @return [Google::Apis::ContentV2_1::RegionalInventory]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 12174
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_1/classes.rb, line 12179
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)
  @regional_inventory = args[:regional_inventory] if args.key?(:regional_inventory)
end