Class: Google::Apis::AnalyticsdataV1alpha::DimensionValue

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/analyticsdata_v1alpha/classes.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb,
generated/google/apis/analyticsdata_v1alpha/representations.rb

Overview

The value of a dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DimensionValue

Returns a new instance of DimensionValue.



556
557
558
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 556

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#valueString

Value as a string if the dimension type is a string. Corresponds to the JSON property value

Returns:

  • (String)


554
555
556
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 554

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



561
562
563
# File 'generated/google/apis/analyticsdata_v1alpha/classes.rb', line 561

def update!(**args)
  @value = args[:value] if args.key?(:value)
end