Class: Google::Apis::CssV1::DestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::CssV1::DestinationStatus
- 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 destination status of the product status.
Instance Attribute Summary collapse
-
#approved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is approved.
-
#destination ⇒ String
The name of the destination Corresponds to the JSON property
destination. -
#disapproved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is disapproved.
-
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is pending approval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DestinationStatus
constructor
A new instance of DestinationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DestinationStatus
Returns a new instance of DestinationStatus.
763 764 765 |
# File 'lib/google/apis/css_v1/classes.rb', line 763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is approved.
Corresponds to the JSON property approvedCountries
744 745 746 |
# File 'lib/google/apis/css_v1/classes.rb', line 744 def approved_countries @approved_countries end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
749 750 751 |
# File 'lib/google/apis/css_v1/classes.rb', line 749 def destination @destination end |
#disapproved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is
disapproved.
Corresponds to the JSON property disapprovedCountries
755 756 757 |
# File 'lib/google/apis/css_v1/classes.rb', line 755 def disapproved_countries @disapproved_countries end |
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the CSS Product is pending
approval.
Corresponds to the JSON property pendingCountries
761 762 763 |
# File 'lib/google/apis/css_v1/classes.rb', line 761 def pending_countries @pending_countries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
768 769 770 771 772 773 |
# File 'lib/google/apis/css_v1/classes.rb', line 768 def update!(**args) @approved_countries = args[:approved_countries] if args.key?(:approved_countries) @destination = args[:destination] if args.key?(:destination) @disapproved_countries = args[:disapproved_countries] if args.key?(:disapproved_countries) @pending_countries = args[:pending_countries] if args.key?(:pending_countries) end |