class Google::Apis::ContentV2_1::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.
Attributes
The country for which the status is reported, represented as a CLDR territory code. Corresponds to the JSON property `country` @return [String]
The ID of the feed for which the status is reported. Corresponds to the JSON property `datafeedId` @return [Fixnum]
The list of errors occurring in the feed. Corresponds to the JSON property `errors` @return [Array<Google::Apis::ContentV2_1::DatafeedStatusError>]
The number of items in the feed that were processed. Corresponds to the JSON property `itemsTotal` @return [Fixnum]
The number of items in the feed that were valid. Corresponds to the JSON property `itemsValid` @return [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “`content# datafeedStatus`” Corresponds to the JSON property `kind` @return [String]
The two-letter ISO 639-1 language for which the status is reported. Corresponds to the JSON property `language` @return [String]
The last date at which the feed was uploaded. Corresponds to the JSON property `lastUploadDate` @return [String]
The processing status of the feed. Acceptable values are: - “`”`failure`“: The feed could not be processed or all items had errors.`” - “`in progress`”: The feed is being processed. - “`none`”: The feed has not yet been processed. For example, a feed that has never been uploaded will have this processing status.
-
“`success`”: The feed was processed successfully, though some items might
have had errors. Corresponds to the JSON property `processingStatus` @return [String]
The list of errors occurring in the feed. Corresponds to the JSON property `warnings` @return [Array<Google::Apis::ContentV2_1::DatafeedStatusError>]
Public Class Methods
# File lib/google/apis/content_v2_1/classes.rb, line 2507 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 2512 def update!(**args) @country = args[:country] if args.key?(:country) @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) @language = args[:language] if args.key?(:language) @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