Class: Google::Apis::ContentV2_1::CollectionStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::CollectionStatus
- 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 collectionstatus message.
Instance Attribute Summary collapse
-
#collection_level_issuses ⇒ Array<Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue>
A list of all issues associated with the collection.
-
#creation_date ⇒ String
Date on which the collection has been created in ISO 8601 format: Date, time, and offset, e.g.
-
#destination_statuses ⇒ Array<Google::Apis::ContentV2_1::CollectionStatusDestinationStatus>
The intended destinations for the collection.
-
#id ⇒ String
Required.
-
#last_update_date ⇒ String
Date on which the collection has been last updated in ISO 8601 format: Date, time, and offset, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CollectionStatus
constructor
A new instance of CollectionStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CollectionStatus
Returns a new instance of CollectionStatus.
2010 2011 2012 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#collection_level_issuses ⇒ Array<Google::Apis::ContentV2_1::CollectionStatusItemLevelIssue>
A list of all issues associated with the collection.
Corresponds to the JSON property collectionLevelIssuses
1984 1985 1986 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1984 def collection_level_issuses @collection_level_issuses end |
#creation_date ⇒ String
Date on which the collection has been created in ISO 8601 format: Date, time, and offset, e.g. "2020-01-
02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
Corresponds to the JSON property creationDate
1991 1992 1993 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1991 def creation_date @creation_date end |
#destination_statuses ⇒ Array<Google::Apis::ContentV2_1::CollectionStatusDestinationStatus>
The intended destinations for the collection.
Corresponds to the JSON property destinationStatuses
1996 1997 1998 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 1996 def destination_statuses @destination_statuses end |
#id ⇒ String
Required. The ID of the collection for which status is reported.
Corresponds to the JSON property id
2001 2002 2003 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2001 def id @id end |
#last_update_date ⇒ String
Date on which the collection has been last updated in ISO 8601 format: Date, time, and offset, e.g. "2020-01-
02T09:00:00+01:00" or "2020-01-02T09:00:00Z"
Corresponds to the JSON property lastUpdateDate
2008 2009 2010 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2008 def last_update_date @last_update_date end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2015 2016 2017 2018 2019 2020 2021 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 2015 def update!(**args) @collection_level_issuses = args[:collection_level_issuses] if args.key?(:collection_level_issuses) @creation_date = args[:creation_date] if args.key?(:creation_date) @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses) @id = args[:id] if args.key?(:id) @last_update_date = args[:last_update_date] if args.key?(:last_update_date) end |