Class: Google::Apis::ContentV2_1::PromotionPromotionStatusPromotionIssue
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::PromotionPromotionStatusPromotionIssue
- 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 more...
Overview
The issue associated with the promotion.
Instance Attribute Summary collapse
-
#code ⇒ String
Code of the issue.
-
#detail ⇒ String
Explanation of the issue.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PromotionPromotionStatusPromotionIssue
constructor
A new instance of PromotionPromotionStatusPromotionIssue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PromotionPromotionStatusPromotionIssue
Returns a new instance of PromotionPromotionStatusPromotionIssue.
11365 11366 11367 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Code of the issue.
Corresponds to the JSON property code
11358 11359 11360 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11358 def code @code end |
#detail ⇒ String
Explanation of the issue.
Corresponds to the JSON property detail
11363 11364 11365 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11363 def detail @detail end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11370 11371 11372 11373 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 11370 def update!(**args) @code = args[:code] if args.key?(:code) @detail = args[:detail] if args.key?(:detail) end |