class Google::Apis::ContentV2::ProductStatus
The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.
Attributes
Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
A list of data quality issues associated with the product. Corresponds to the JSON property `dataQualityIssues` @return [Array<Google::Apis::ContentV2::ProductStatusDataQualityIssue>]
The intended destinations for the product. Corresponds to the JSON property `destinationStatuses` @return [Array<Google::Apis::ContentV2::ProductStatusDestinationStatus>]
Date on which the item expires in Google Shopping, in ISO 8601 format. Corresponds to the JSON property `googleExpirationDate` @return [String]
Identifies what kind of resource this is. Value: the fixed string “content# productStatus”. Corresponds to the JSON property `kind` @return [String]
Date on which the item has been last updated, in ISO 8601 format. Corresponds to the JSON property `lastUpdateDate` @return [String]
The link to the product. Corresponds to the JSON property `link` @return [String]
The id of the product for which status is reported. Corresponds to the JSON property `productId` @return [String]
The title of the product. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File generated/google/apis/content_v2/classes.rb, line 5285 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 5290 def update!(**args) @creation_date = args[:creation_date] if args.key?(:creation_date) @data_quality_issues = args[:data_quality_issues] if args.key?(:data_quality_issues) @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses) @google_expiration_date = args[:google_expiration_date] if args.key?(:google_expiration_date) @kind = args[:kind] if args.key?(:kind) @last_update_date = args[:last_update_date] if args.key?(:last_update_date) @link = args[:link] if args.key?(:link) @product_id = args[:product_id] if args.key?(:product_id) @title = args[:title] if args.key?(:title) end