class Google::Apis::ContentV2::ProductStatus
The status of a product, i.e., information about a product computed asynchronously.
Attributes
Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]
DEPRECATED - never populated 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]
A list of all issues associated with the product. Corresponds to the JSON property `itemLevelIssues` @return [Array<Google::Apis::ContentV2::ProductStatusItemLevelIssue>]
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]
Required product attributes are primarily defined by the products data specification. See the Products Data Specification Help Center article for information. Product
data. After inserting, updating, or deleting a product, it may take several minutes before changes take effect. Corresponds to the JSON property `product` @return [Google::Apis::ContentV2::Product]
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 lib/google/apis/content_v2/classes.rb, line 9604 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/content_v2/classes.rb, line 9609 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) @item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues) @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 = args[:product] if args.key?(:product) @product_id = args[:product_id] if args.key?(:product_id) @title = args[:title] if args.key?(:title) end