Class: Google::Apis::ContentV2_1::DatafeedStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::DatafeedStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
The status of a datafeed, that is, 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.
-
#feed_label ⇒ String
The feed label status is reported for.
-
#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.
Constructor Details
#initialize(**args) ⇒ DatafeedStatus
Returns a new instance of DatafeedStatus.
3867 3868 3869 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3867 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
3809 3810 3811 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3809 def country @country end |
#datafeed_id ⇒ Fixnum
The ID of the feed for which the status is reported.
Corresponds to the JSON property datafeedId
3814 3815 3816 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3814 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
3819 3820 3821 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3819 def errors @errors end |
#feed_label ⇒ String
The feed label status is reported for.
Corresponds to the JSON property feedLabel
3824 3825 3826 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3824 def feed_label @feed_label end |
#items_total ⇒ Fixnum
The number of items in the feed that were processed.
Corresponds to the JSON property itemsTotal
3829 3830 3831 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3829 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
3834 3835 3836 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3834 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
3840 3841 3842 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3840 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
3845 3846 3847 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3845 def language @language end |
#last_upload_date ⇒ String
The last date at which the feed was uploaded.
Corresponds to the JSON property lastUploadDate
3850 3851 3852 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3850 def last_upload_date @last_upload_date end |
#processing_status ⇒ 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 propertyprocessingStatus
3860 3861 3862 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3860 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
3865 3866 3867 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3865 def warnings @warnings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 3872 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) @feed_label = args[:feed_label] if args.key?(:feed_label) @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 |