Class: Google::Apis::ContentV2_1::DatafeedStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::DatafeedStatus
- Defined in:
- generated/google/apis/content_v2_1/classes.rb,
generated/google/apis/content_v2_1/representations.rb,
generated/google/apis/content_v2_1/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
-
#country ⇒ String
The country for which the status is reported, represented as a CLDR territory code.
-
#datafeed_id ⇒ Fixnum
The ID of the feed for which the status is reported.
-
#errors ⇒ Array<Google::Apis::ContentV2_1::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.
-
#language ⇒ String
The two-letter ISO 639-1 language for which the status is reported.
-
#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_1::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
1787 1788 1789 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1787 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country ⇒ String
The country for which the status is reported, represented as a CLDR territory
code.
Corresponds to the JSON property country
1739 1740 1741 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1739 def country @country end |
#datafeed_id ⇒ Fixnum
The ID of the feed for which the status is reported.
Corresponds to the JSON property datafeedId
1744 1745 1746 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1744 def datafeed_id @datafeed_id end |
#errors ⇒ Array<Google::Apis::ContentV2_1::DatafeedStatusError>
The list of errors occurring in the feed.
Corresponds to the JSON property errors
1749 1750 1751 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1749 def errors @errors end |
#items_total ⇒ Fixnum
The number of items in the feed that were processed.
Corresponds to the JSON property itemsTotal
1754 1755 1756 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1754 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
1759 1760 1761 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1759 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
1765 1766 1767 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1765 def kind @kind end |
#language ⇒ String
The two-letter ISO 639-1 language for which the status is reported.
Corresponds to the JSON property language
1770 1771 1772 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1770 def language @language end |
#last_upload_date ⇒ String
The last date at which the feed was uploaded.
Corresponds to the JSON property lastUploadDate
1775 1776 1777 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1775 def last_upload_date @last_upload_date end |
#processing_status ⇒ String
The processing status of the feed.
Corresponds to the JSON property processingStatus
1780 1781 1782 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1780 def processing_status @processing_status end |
#warnings ⇒ Array<Google::Apis::ContentV2_1::DatafeedStatusError>
The list of errors occurring in the feed.
Corresponds to the JSON property warnings
1785 1786 1787 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1785 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 |
# File 'generated/google/apis/content_v2_1/classes.rb', line 1792 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 |