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 aggregate offer 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 aggregate offer is disapproved.
-
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer 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.
764 765 766 |
# File 'lib/google/apis/css_v1/classes.rb', line 764 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
approved.
Corresponds to the JSON property approvedCountries
745 746 747 |
# File 'lib/google/apis/css_v1/classes.rb', line 745 def approved_countries @approved_countries end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
750 751 752 |
# File 'lib/google/apis/css_v1/classes.rb', line 750 def destination @destination end |
#disapproved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
disapproved.
Corresponds to the JSON property disapprovedCountries
756 757 758 |
# File 'lib/google/apis/css_v1/classes.rb', line 756 def disapproved_countries @disapproved_countries end |
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the aggregate offer is
pending approval.
Corresponds to the JSON property pendingCountries
762 763 764 |
# File 'lib/google/apis/css_v1/classes.rb', line 762 def pending_countries @pending_countries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
769 770 771 772 773 774 |
# File 'lib/google/apis/css_v1/classes.rb', line 769 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 |