Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccessDimensionValue

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

Overview

The value of a dimension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaAccessDimensionValue

Returns a new instance of GoogleAnalyticsAdminV1alphaAccessDimensionValue.



175
176
177
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 175

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

Instance Attribute Details

#valueString

The dimension value. For example, this value may be 'France' for the 'country' dimension. Corresponds to the JSON property value

Returns:

  • (String)


173
174
175
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 173

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



180
181
182
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 180

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