Class: Google::Apis::ContentV2_1::ProductStatusDestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::ProductStatusDestinationStatus
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Instance Attribute Summary collapse
-
#approved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the 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 offer is disapproved.
-
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.
-
#status ⇒ String
Destination approval status in
targetCountryof the offer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductStatusDestinationStatus
constructor
A new instance of ProductStatusDestinationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductStatusDestinationStatus
Returns a new instance of ProductStatusDestinationStatus.
10741 10742 10743 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the offer is approved.
Corresponds to the JSON property approvedCountries
10719 10720 10721 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10719 def approved_countries @approved_countries end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
10724 10725 10726 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10724 def destination @destination end |
#disapproved_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the offer is disapproved.
Corresponds to the JSON property disapprovedCountries
10729 10730 10731 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10729 def disapproved_countries @disapproved_countries end |
#pending_countries ⇒ Array<String>
List of country codes (ISO 3166-1 alpha-2) where the offer is pending approval.
Corresponds to the JSON property pendingCountries
10734 10735 10736 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10734 def pending_countries @pending_countries end |
#status ⇒ String
Destination approval status in targetCountry of the offer.
Corresponds to the JSON property status
10739 10740 10741 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10739 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10746 10747 10748 10749 10750 10751 10752 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 10746 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) @status = args[:status] if args.key?(:status) end |