class Google::Apis::ContentV2::ProductStatus

The status of a product, i.e., information about a product computed asynchronously by the data quality analysis.

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]

A list of data quality issues associated with the product. 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]

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 generated/google/apis/content_v2/classes.rb, line 5285
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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