Class: Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ReturnpolicyCustomBatchResponseEntry
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#batch_id ⇒ Fixnum
The ID of the request entry to which this entry responds.
-
#errors ⇒ Google::Apis::ContentV2_1::Errors
A list of errors returned by a failed batch entry.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#return_policy ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Return policy resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReturnpolicyCustomBatchResponseEntry
constructor
A new instance of ReturnpolicyCustomBatchResponseEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReturnpolicyCustomBatchResponseEntry
Returns a new instance of ReturnpolicyCustomBatchResponseEntry.
13033 13034 13035 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#batch_id ⇒ Fixnum
The ID of the request entry to which this entry responds.
Corresponds to the JSON property batchId
13015 13016 13017 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13015 def batch_id @batch_id end |
#errors ⇒ Google::Apis::ContentV2_1::Errors
A list of errors returned by a failed batch entry.
Corresponds to the JSON property errors
13020 13021 13022 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13020 def errors @errors end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
returnpolicyCustomBatchResponseEntry
"
Corresponds to the JSON property kind
13026 13027 13028 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13026 def kind @kind end |
#return_policy ⇒ Google::Apis::ContentV2_1::ReturnPolicy
Return policy resource.
Corresponds to the JSON property returnPolicy
13031 13032 13033 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13031 def return_policy @return_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13038 13039 13040 13041 13042 13043 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13038 def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) @errors = args[:errors] if args.key?(:errors) @kind = args[:kind] if args.key?(:kind) @return_policy = args[:return_policy] if args.key?(:return_policy) end |