Class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::OrdersCustomBatchResponseEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#batch_id ⇒ Fixnum
The ID of the request entry this entry responds to.
-
#errors ⇒ Google::Apis::ContentV2::Errors
A list of errors returned by a failed batch entry.
-
#execution_status ⇒ String
The status of the execution.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#order ⇒ Google::Apis::ContentV2::Order
Order.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OrdersCustomBatchResponseEntry
constructor
A new instance of OrdersCustomBatchResponseEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OrdersCustomBatchResponseEntry
Returns a new instance of OrdersCustomBatchResponseEntry.
6713 6714 6715 |
# File 'lib/google/apis/content_v2/classes.rb', line 6713 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch_id ⇒ Fixnum
The ID of the request entry this entry responds to.
Corresponds to the JSON property batchId
6687 6688 6689 |
# File 'lib/google/apis/content_v2/classes.rb', line 6687 def batch_id @batch_id end |
#errors ⇒ Google::Apis::ContentV2::Errors
A list of errors returned by a failed batch entry.
Corresponds to the JSON property errors
6692 6693 6694 |
# File 'lib/google/apis/content_v2/classes.rb', line 6692 def errors @errors end |
#execution_status ⇒ String
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
6699 6700 6701 |
# File 'lib/google/apis/content_v2/classes.rb', line 6699 def execution_status @execution_status end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
ordersCustomBatchResponseEntry
"
Corresponds to the JSON property kind
6705 6706 6707 |
# File 'lib/google/apis/content_v2/classes.rb', line 6705 def kind @kind end |
#order ⇒ Google::Apis::ContentV2::Order
Order. Production access (all methods) requires the order manager role.
Sandbox access does not.
Corresponds to the JSON property order
6711 6712 6713 |
# File 'lib/google/apis/content_v2/classes.rb', line 6711 def order @order end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6718 6719 6720 6721 6722 6723 6724 |
# File 'lib/google/apis/content_v2/classes.rb', line 6718 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 |