class Google::Apis::ContentV2::OrdersCustomBatchResponseEntry

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]

execution_status[RW]

The status of the execution. Only defined if 1. the request was successful; and 2. the method is not `get`, `getByMerchantOrderId`, or one of the test methods. Acceptable values are: - “`duplicate`” - “`executed`” Corresponds to the JSON property `executionStatus` @return [String]

kind[RW]

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

order[RW]

Order. Production access (all methods) requires the order manager role. Sandbox access does not. Corresponds to the JSON property `order` @return [Google::Apis::ContentV2::Order]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2/classes.rb, line 7072
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 7077
def update!(**args)
  @batch_id = args[:batch_id] if args.key?(:batch_id)
  @errors = args[:errors] if args.key?(:errors)
  @execution_status = args[:execution_status] if args.key?(:execution_status)
  @kind = args[:kind] if args.key?(:kind)
  @order = args[:order] if args.key?(:order)
end