Class: Google::Apis::MerchantapiPromotionsV1beta::DestinationStatus
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiPromotionsV1beta::DestinationStatus
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_promotions_v1beta/classes.rb,
lib/google/apis/merchantapi_promotions_v1beta/representations.rb,
lib/google/apis/merchantapi_promotions_v1beta/representations.rb
Overview
The status for the specified destination.
Instance Attribute Summary collapse
-
#reporting_context ⇒ String
Output only.
-
#status ⇒ String
Output only.
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.
435 436 437 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reporting_context ⇒ String
Output only. The name of the promotion destination.
Corresponds to the JSON property reportingContext
428 429 430 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 428 def reporting_context @reporting_context end |
#status ⇒ String
Output only. The status for the specified destination.
Corresponds to the JSON property status
433 434 435 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 433 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 440 def update!(**args) @reporting_context = args[:reporting_context] if args.key?(:reporting_context) @status = args[:status] if args.key?(:status) end |