Class: Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::DatafeedStatusesBatchResponseEntry
- 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
Overview
A batch entry encoding a single non-batch datafeedstatuses response.
Instance Attribute Summary collapse
-
#batch_id ⇒ Fixnum
The ID of the request entry this entry responds to.
-
#datafeed_status ⇒ Google::Apis::ContentV2::DatafeedStatus
The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
-
#errors ⇒ Google::Apis::ContentV2::Errors
A list of errors returned by a failed batch entry.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatafeedStatusesBatchResponseEntry
constructor
A new instance of DatafeedStatusesBatchResponseEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatafeedStatusesBatchResponseEntry
Returns a new instance of DatafeedStatusesBatchResponseEntry.
2516 2517 2518 |
# File 'lib/google/apis/content_v2/classes.rb', line 2516 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
2503 2504 2505 |
# File 'lib/google/apis/content_v2/classes.rb', line 2503 def batch_id @batch_id end |
#datafeed_status ⇒ Google::Apis::ContentV2::DatafeedStatus
The status of a datafeed, i.e., the result of the last retrieval of the
datafeed computed asynchronously when the feed processing is finished.
Corresponds to the JSON property datafeedStatus
2509 2510 2511 |
# File 'lib/google/apis/content_v2/classes.rb', line 2509 def datafeed_status @datafeed_status end |
#errors ⇒ Google::Apis::ContentV2::Errors
A list of errors returned by a failed batch entry.
Corresponds to the JSON property errors
2514 2515 2516 |
# File 'lib/google/apis/content_v2/classes.rb', line 2514 def errors @errors end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2521 2522 2523 2524 2525 |
# File 'lib/google/apis/content_v2/classes.rb', line 2521 def update!(**args) @batch_id = args[:batch_id] if args.key?(:batch_id) @datafeed_status = args[:datafeed_status] if args.key?(:datafeed_status) @errors = args[:errors] if args.key?(:errors) end |