class 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.

Attributes

datafeed_id[RW]

The ID of the feed for which the status is reported. Corresponds to the JSON property `datafeedId` @return [String]

errors[RW]

The list of errors occurring in the feed. Corresponds to the JSON property `errors` @return [Array<Google::Apis::ContentV2::DatafeedStatusError>]

items_total[RW]

The number of items in the feed that were processed. Corresponds to the JSON property `itemsTotal` @return [String]

items_valid[RW]

The number of items in the feed that were valid. Corresponds to the JSON property `itemsValid` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “content# datafeedStatus”. Corresponds to the JSON property `kind` @return [String]

last_upload_date[RW]

The last date at which the feed was uploaded. Corresponds to the JSON property `lastUploadDate` @return [String]

processing_status[RW]

The processing status of the feed. Corresponds to the JSON property `processingStatus` @return [String]

warnings[RW]

The list of errors occurring in the feed. Corresponds to the JSON property `warnings` @return [Array<Google::Apis::ContentV2::DatafeedStatusError>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 1737
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/content_v2/classes.rb, line 1742
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