Class: Google::Apis::ContentV2::DatafeedStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::DatafeedStatus
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Overview
The status of a datafeed, i.e., the result of the last retrieval of the datafeed computed asynchronously when the feed processing is finished.
Instance Attribute Summary collapse
-
#datafeed_id ⇒ Fixnum
The ID of the feed for which the status is reported.
-
#errors ⇒ Array<Google::Apis::ContentV2::DatafeedStatusError>
The list of errors occurring in the feed.
-
#items_total ⇒ Fixnum
The number of items in the feed that were processed.
-
#items_valid ⇒ Fixnum
The number of items in the feed that were valid.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#last_upload_date ⇒ String
The last date at which the feed was uploaded.
-
#processing_status ⇒ String
The processing status of the feed.
-
#warnings ⇒ Array<Google::Apis::ContentV2::DatafeedStatusError>
The list of errors occurring in the feed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatafeedStatus
constructor
A new instance of DatafeedStatus.
-
#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) ⇒ DatafeedStatus
Returns a new instance of DatafeedStatus
1265 1266 1267 |
# File 'generated/google/apis/content_v2/classes.rb', line 1265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#datafeed_id ⇒ Fixnum
The ID of the feed for which the status is reported.
Corresponds to the JSON property datafeedId
1227 1228 1229 |
# File 'generated/google/apis/content_v2/classes.rb', line 1227 def datafeed_id @datafeed_id end |
#errors ⇒ Array<Google::Apis::ContentV2::DatafeedStatusError>
The list of errors occurring in the feed.
Corresponds to the JSON property errors
1232 1233 1234 |
# File 'generated/google/apis/content_v2/classes.rb', line 1232 def errors @errors end |
#items_total ⇒ Fixnum
The number of items in the feed that were processed.
Corresponds to the JSON property itemsTotal
1237 1238 1239 |
# File 'generated/google/apis/content_v2/classes.rb', line 1237 def items_total @items_total end |
#items_valid ⇒ Fixnum
The number of items in the feed that were valid.
Corresponds to the JSON property itemsValid
1242 1243 1244 |
# File 'generated/google/apis/content_v2/classes.rb', line 1242 def items_valid @items_valid end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
datafeedStatus".
Corresponds to the JSON property kind
1248 1249 1250 |
# File 'generated/google/apis/content_v2/classes.rb', line 1248 def kind @kind end |
#last_upload_date ⇒ String
The last date at which the feed was uploaded.
Corresponds to the JSON property lastUploadDate
1253 1254 1255 |
# File 'generated/google/apis/content_v2/classes.rb', line 1253 def last_upload_date @last_upload_date end |
#processing_status ⇒ String
The processing status of the feed.
Corresponds to the JSON property processingStatus
1258 1259 1260 |
# File 'generated/google/apis/content_v2/classes.rb', line 1258 def processing_status @processing_status end |
#warnings ⇒ Array<Google::Apis::ContentV2::DatafeedStatusError>
The list of errors occurring in the feed.
Corresponds to the JSON property warnings
1263 1264 1265 |
# File 'generated/google/apis/content_v2/classes.rb', line 1263 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 |
# File 'generated/google/apis/content_v2/classes.rb', line 1270 def update!(**args) @datafeed_id = args[:datafeed_id] if args.key?(:datafeed_id) @errors = args[:errors] if args.key?(:errors) @items_total = args[:items_total] if args.key?(:items_total) @items_valid = args[:items_valid] if args.key?(:items_valid) @kind = args[:kind] if args.key?(:kind) @last_upload_date = args[:last_upload_date] if args.key?(:last_upload_date) @processing_status = args[:processing_status] if args.key?(:processing_status) @warnings = args[:warnings] if args.key?(:warnings) end |