Class: Google::Apis::ContentV2::OrdersCustomBatchResponseEntry
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ContentV2::OrdersCustomBatchResponseEntry
 
- Defined in:
- generated/google/apis/content_v2/classes.rb,
 generated/google/apis/content_v2/representations.rb,
 generated/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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The retrieved order. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OrdersCustomBatchResponseEntry 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OrdersCustomBatchResponseEntry. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ OrdersCustomBatchResponseEntry
Returns a new instance of OrdersCustomBatchResponseEntry
| 5164 5165 5166 | # File 'generated/google/apis/content_v2/classes.rb', line 5164 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
| 5139 5140 5141 | # File 'generated/google/apis/content_v2/classes.rb', line 5139 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
| 5144 5145 5146 | # File 'generated/google/apis/content_v2/classes.rb', line 5144 def errors @errors end | 
#execution_status ⇒ String
The status of the execution. Only defined if the method is not get or
getByMerchantOrderId and if the request was successful.
Corresponds to the JSON property executionStatus
| 5150 5151 5152 | # File 'generated/google/apis/content_v2/classes.rb', line 5150 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
| 5156 5157 5158 | # File 'generated/google/apis/content_v2/classes.rb', line 5156 def kind @kind end | 
#order ⇒ Google::Apis::ContentV2::Order
The retrieved order. Only defined if the method is get and if the request was
successful.
Corresponds to the JSON property order
| 5162 5163 5164 | # File 'generated/google/apis/content_v2/classes.rb', line 5162 def order @order end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5169 5170 5171 5172 5173 5174 5175 | # File 'generated/google/apis/content_v2/classes.rb', line 5169 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 |