Class: Google::Apis::AdmobV1::ReportRowDimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::ReportRowDimensionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admob_v1/classes.rb,
generated/google/apis/admob_v1/representations.rb,
generated/google/apis/admob_v1/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.
732 733 734 |
# File 'generated/google/apis/admob_v1/classes.rb', line 732 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
725 726 727 |
# File 'generated/google/apis/admob_v1/classes.rb', line 725 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
730 731 732 |
# File 'generated/google/apis/admob_v1/classes.rb', line 730 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
737 738 739 740 |
# File 'generated/google/apis/admob_v1/classes.rb', line 737 def update!(**args) @display_label = args[:display_label] if args.key?(:display_label) @value = args[:value] if args.key?(:value) end |