Class: Google::Apis::ManufacturersV1::DestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ManufacturersV1::DestinationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/manufacturers_v1/classes.rb,
lib/google/apis/manufacturers_v1/representations.rb,
lib/google/apis/manufacturers_v1/representations.rb
Overview
The destination status.
Instance Attribute Summary collapse
-
#approved_countries ⇒ Array<String>
Output only.
-
#destination ⇒ String
The name of the destination.
-
#disapproved_countries ⇒ Array<String>
Output only.
-
#pending_countries ⇒ Array<String>
Output only.
-
#status ⇒ String
The status of the destination.
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.
474 475 476 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#approved_countries ⇒ Array<String>
Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
approved.
Corresponds to the JSON property approvedCountries
450 451 452 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 450 def approved_countries @approved_countries end |
#destination ⇒ String
The name of the destination.
Corresponds to the JSON property destination
455 456 457 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 455 def destination @destination end |
#disapproved_countries ⇒ Array<String>
Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
disapproved.
Corresponds to the JSON property disapprovedCountries
461 462 463 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 461 def disapproved_countries @disapproved_countries end |
#pending_countries ⇒ Array<String>
Output only. List of country codes (ISO 3166-1 alpha-2) where the offer is
pending approval.
Corresponds to the JSON property pendingCountries
467 468 469 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 467 def pending_countries @pending_countries end |
#status ⇒ String
The status of the destination.
Corresponds to the JSON property status
472 473 474 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 472 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
479 480 481 482 483 484 485 |
# File 'lib/google/apis/manufacturers_v1/classes.rb', line 479 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 |