Class: Google::Apis::AnalyticsdataV1alpha::DimensionValue
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsdataV1alpha::DimensionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsdata_v1alpha/classes.rb,
lib/google/apis/analyticsdata_v1alpha/representations.rb,
lib/google/apis/analyticsdata_v1alpha/representations.rb
Overview
The value of a dimension.
Instance Attribute Summary collapse
-
#value ⇒ String
Value as a string if the dimension type is a string.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DimensionValue
constructor
A new instance of DimensionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DimensionValue
Returns a new instance of DimensionValue.
557 558 559 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#value ⇒ String
Value as a string if the dimension type is a string.
Corresponds to the JSON property value
555 556 557 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 555 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
562 563 564 |
# File 'lib/google/apis/analyticsdata_v1alpha/classes.rb', line 562 def update!(**args) @value = args[:value] if args.key?(:value) end |