Class: Google::Apis::ContentV2sandbox::OrdersCustomBatchResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OrdersCustomBatchResponse

Returns a new instance of OrdersCustomBatchResponse



2667
2668
2669
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2667

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entriesArray<Google::Apis::ContentV2sandbox::OrdersCustomBatchResponseEntry>

The result of the execution of the batch requests. Corresponds to the JSON property entries



2659
2660
2661
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2659

def entries
  @entries
end

#kindString

Identifies what kind of resource this is. Value: the fixed string "content# ordersCustomBatchResponse". Corresponds to the JSON property kind

Returns:

  • (String)


2665
2666
2667
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2665

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2672
2673
2674
2675
# File 'generated/google/apis/content_v2sandbox/classes.rb', line 2672

def update!(**args)
  @entries = args[:entries] if args.key?(:entries)
  @kind = args[:kind] if args.key?(:kind)
end