Class: Google::Apis::AdexchangebuyerV1_4::Dimension
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::Dimension
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Overview
This message carries publisher provided breakdown. E.g. dimension_type: '
COUNTRY', [
dimension_value: id: 1, name: 'US'
,
dimension_value: id: 2,
name: 'UK'
]
Instance Attribute Summary collapse
-
#dimension_type ⇒ String
Corresponds to the JSON property
dimensionType
. -
#dimension_values ⇒ Array<Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue>
Corresponds to the JSON property
dimensionValues
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Dimension
constructor
A new instance of Dimension.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Dimension
Returns a new instance of Dimension
1660 1661 1662 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1660 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dimension_type ⇒ String
Corresponds to the JSON property dimensionType
1653 1654 1655 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1653 def dimension_type @dimension_type end |
#dimension_values ⇒ Array<Google::Apis::AdexchangebuyerV1_4::DimensionDimensionValue>
Corresponds to the JSON property dimensionValues
1658 1659 1660 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1658 def dimension_values @dimension_values end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1665 1666 1667 1668 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1665 def update!(**args) @dimension_type = args[:dimension_type] if args.key?(:dimension_type) @dimension_values = args[:dimension_values] if args.key?(:dimension_values) end |