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.
357 358 359 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 357 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
350 351 352 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 350 def reporting_context @reporting_context end |
#status ⇒ String
Output only. The status for the specified destination.
Corresponds to the JSON property status
355 356 357 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 355 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 |
# File 'lib/google/apis/merchantapi_promotions_v1beta/classes.rb', line 362 def update!(**args) @reporting_context = args[:reporting_context] if args.key?(:reporting_context) @status = args[:status] if args.key?(:status) end |