Class: Google::Apis::AnalyticsdataV1beta::V1betaAudienceDimensionValue

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

Overview

The value of a dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ V1betaAudienceDimensionValue

Returns a new instance of V1betaAudienceDimensionValue.



2693
2694
2695
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2693

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)


2691
2692
2693
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2691

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2698
2699
2700
# File 'lib/google/apis/analyticsdata_v1beta/classes.rb', line 2698

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