Class: Google::Apis::AdmobV1beta::ReportRowDimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ReportRowDimensionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1beta/classes.rb,
lib/google/apis/admob_v1beta/representations.rb,
lib/google/apis/admob_v1beta/representations.rb
Overview
Representation of a dimension value.
Instance Attribute Summary collapse
-
#display_label ⇒ String
The localized string representation of the value.
-
#value ⇒ String
Dimension value in the format specified in the report's spec Dimension enum.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRowDimensionValue
constructor
A new instance of ReportRowDimensionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportRowDimensionValue
Returns a new instance of ReportRowDimensionValue.
1736 1737 1738 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1736 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_label ⇒ String
The localized string representation of the value. If unspecified, the display
label should be derived from the value.
Corresponds to the JSON property displayLabel
1729 1730 1731 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1729 def display_label @display_label end |
#value ⇒ String
Dimension value in the format specified in the report's spec Dimension enum.
Corresponds to the JSON property value
1734 1735 1736 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1734 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1741 1742 1743 1744 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1741 def update!(**args) @display_label = args[:display_label] if args.key?(:display_label) @value = args[:value] if args.key?(:value) end |