Class: Google::Apis::ContentV2_1::PromotionPromotionStatusDestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PromotionPromotionStatusDestinationStatus
- 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
Overview
The destination status of the promotion.
Instance Attribute Summary collapse
-
#destination ⇒ String
The name of the destination.
-
#status ⇒ String
The status for the specified destination.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PromotionPromotionStatusDestinationStatus
constructor
A new instance of PromotionPromotionStatusDestinationStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PromotionPromotionStatusDestinationStatus
Returns a new instance of PromotionPromotionStatusDestinationStatus.
11302 11303 11304 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11302 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ String
The name of the destination.
Corresponds to the JSON property destination
11295 11296 11297 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11295 def destination @destination end |
#status ⇒ String
The status for the specified destination.
Corresponds to the JSON property status
11300 11301 11302 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11300 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11307 11308 11309 11310 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11307 def update!(**args) @destination = args[:destination] if args.key?(:destination) @status = args[:status] if args.key?(:status) end |