Class: Google::Apis::ManufacturersV1::DestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ManufacturersV1::DestinationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/manufacturers_v1/classes.rb,
generated/google/apis/manufacturers_v1/representations.rb,
generated/google/apis/manufacturers_v1/representations.rb
Overview
The destination status.
Instance Attribute Summary collapse
-
#destination ⇒ String
The name of the destination.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DestinationStatus
Returns a new instance of DestinationStatus
347 348 349 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 347 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
The name of the destination.
Corresponds to the JSON property destination
340 341 342 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 340 def destination @destination end |
#status ⇒ String
The status of the destination.
Corresponds to the JSON property status
345 346 347 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 345 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
352 353 354 355 |
# File 'generated/google/apis/manufacturers_v1/classes.rb', line 352 def update!(**args) @destination = args[:destination] if args.key?(:destination) @status = args[:status] if args.key?(:status) end |