Class: Google::Apis::Adexchangebuyer2V2beta1::Correction
- Inherits:
-
Object
- Object
- Google::Apis::Adexchangebuyer2V2beta1::Correction
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer2_v2beta1/classes.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb,
generated/google/apis/adexchangebuyer2_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#contexts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>
The contexts for the correction.
-
#details ⇒ Array<String>
Additional details about what was corrected.
-
#type ⇒ String
The type of correction that was applied to the creative.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Correction
constructor
A new instance of Correction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Correction
Returns a new instance of Correction
1497 1498 1499 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contexts ⇒ Array<Google::Apis::Adexchangebuyer2V2beta1::ServingContext>
The contexts for the correction.
Corresponds to the JSON property contexts
1495 1496 1497 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1495 def contexts @contexts end |
#details ⇒ Array<String>
Additional details about what was corrected.
Corresponds to the JSON property details
1485 1486 1487 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1485 def details @details end |
#type ⇒ String
The type of correction that was applied to the creative.
Corresponds to the JSON property type
1490 1491 1492 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1490 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1502 1503 1504 1505 1506 |
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 1502 def update!(**args) @details = args[:details] if args.key?(:details) @type = args[:type] if args.key?(:type) @contexts = args[:contexts] if args.key?(:contexts) end |