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
Deprecated.
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.
9989 9990 9991 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9989 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
9967 9968 9969 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9967 def approved_countries @approved_countries end |
#destination ⇒ String
The name of the destination
Corresponds to the JSON property destination
9972 9973 9974 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9972 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
9977 9978 9979 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9977 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
9982 9983 9984 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9982 def pending_countries @pending_countries end |
#status ⇒ String
Deprecated. Destination approval status in targetCountry
of the offer.
Corresponds to the JSON property status
9987 9988 9989 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9987 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9994 9995 9996 9997 9998 9999 10000 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 9994 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 |