class Google::Apis::ContentV2_1::ProductStatus

The status of a product, i.e., information about a product computed asynchronously.

Attributes

creation_date[RW]

Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property `creationDate` @return [String]

destination_statuses[RW]

The intended destinations for the product. Corresponds to the JSON property `destinationStatuses` @return [Array<Google::Apis::ContentV2_1::ProductStatusDestinationStatus>]

google_expiration_date[RW]

Date on which the item expires in Google Shopping, in ISO 8601 format. Corresponds to the JSON property `googleExpirationDate` @return [String]

item_level_issues[RW]

A list of all issues associated with the product. Corresponds to the JSON property `itemLevelIssues` @return [Array<Google::Apis::ContentV2_1::ProductStatusItemLevelIssue>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “`content# productStatus`” Corresponds to the JSON property `kind` @return [String]

last_update_date[RW]

Date on which the item has been last updated, in ISO 8601 format. Corresponds to the JSON property `lastUpdateDate` @return [String]

product_id[RW]

The ID of the product for which status is reported. Corresponds to the JSON property `productId` @return [String]

title[RW]

The title of the product. Corresponds to the JSON property `title` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 10871
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 10876
def update!(**args)
  @creation_date = args[:creation_date] if args.key?(:creation_date)
  @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_id = args[:product_id] if args.key?(:product_id)
  @title = args[:title] if args.key?(:title)
end