class Google::Apis::ContentV2::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]

data_quality_issues[RW]

DEPRECATED - never populated Corresponds to the JSON property `dataQualityIssues` @return [Array<Google::Apis::ContentV2::ProductStatusDataQualityIssue>]

destination_statuses[RW]

The intended destinations for the product. Corresponds to the JSON property `destinationStatuses` @return [Array<Google::Apis::ContentV2::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::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[RW]

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]

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/classes.rb, line 9604
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/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