Class: Google::Apis::ContentV2sandbox::OrdersCustomBatchResponseEntry
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContentV2sandbox::OrdersCustomBatchResponseEntry
 
 
- Defined in:
 - generated/google/apis/content_v2sandbox/classes.rb,
generated/google/apis/content_v2sandbox/representations.rb,
generated/google/apis/content_v2sandbox/representations.rb 
Instance Attribute Summary collapse
- 
  
    
      #batch_id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the request entry this entry responds to.
 - 
  
    
      #errors  ⇒ Google::Apis::ContentV2sandbox::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::ContentV2sandbox::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
      2781 2782 2783  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2781 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
      2755 2756 2757  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2755 def batch_id @batch_id end  | 
  
#errors ⇒ Google::Apis::ContentV2sandbox::Errors
A list of errors returned by a failed batch entry.
Corresponds to the JSON property errors
      2760 2761 2762  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2760 def errors @errors end  | 
  
#execution_status ⇒ String
The status of the execution. Only defined if
- the request was successful; and
 - the method is not get, getByMerchantOrderId, or one of the test methods.
Corresponds to the JSON property 
executionStatus 
      2767 2768 2769  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2767 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
      2773 2774 2775  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2773 def kind @kind end  | 
  
#order ⇒ Google::Apis::ContentV2sandbox::Order
The retrieved order. Only defined if the method is get and if the request was
successful.
Corresponds to the JSON property order
      2779 2780 2781  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2779 def order @order end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2786 2787 2788 2789 2790 2791 2792  | 
    
      # File 'generated/google/apis/content_v2sandbox/classes.rb', line 2786 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  |