Class: Google::Apis::CssV1::CssProductStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/css_v1/classes.rb,
lib/google/apis/css_v1/representations.rb,
lib/google/apis/css_v1/representations.rb

Overview

The status of the Css Product, data validation issues, that is, information about the Css Product computed asynchronously.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CssProductStatus

Returns a new instance of CssProductStatus.



689
690
691
# File 'lib/google/apis/css_v1/classes.rb', line 689

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creation_dateString

Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property creationDate

Returns:

  • (String)


665
666
667
# File 'lib/google/apis/css_v1/classes.rb', line 665

def creation_date
  @creation_date
end

#destination_statusesArray<Google::Apis::CssV1::DestinationStatus>

The intended destinations for the product. Corresponds to the JSON property destinationStatuses



670
671
672
# File 'lib/google/apis/css_v1/classes.rb', line 670

def destination_statuses
  @destination_statuses
end

#google_expiration_dateString

Date on which the item expires, in ISO 8601 format. Corresponds to the JSON property googleExpirationDate

Returns:

  • (String)


676
677
678
# File 'lib/google/apis/css_v1/classes.rb', line 676

def google_expiration_date
  @google_expiration_date
end

#item_level_issuesArray<Google::Apis::CssV1::ItemLevelIssue>

A list of all issues associated with the product. Corresponds to the JSON property itemLevelIssues



681
682
683
# File 'lib/google/apis/css_v1/classes.rb', line 681

def item_level_issues
  @item_level_issues
end

#last_update_dateString

Date on which the item has been last updated, in ISO 8601 format. Corresponds to the JSON property lastUpdateDate

Returns:

  • (String)


687
688
689
# File 'lib/google/apis/css_v1/classes.rb', line 687

def last_update_date
  @last_update_date
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



694
695
696
697
698
699
700
# File 'lib/google/apis/css_v1/classes.rb', line 694

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)
  @last_update_date = args[:last_update_date] if args.key?(:last_update_date)
end