# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::DimensionValue (v0.4.3)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.4.3 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/latest/Google-Analytics-Data-V1beta-DimensionValue)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-DimensionValue)
Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::DimensionValue.

The value of a dimension.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #value

    def value() -> ::String

**Returns**

- (::String) --- Value as a string if the dimension type is a string.

### #value=

    def value=(value) -> ::String

**Parameter**

- **value** (::String) --- Value as a string if the dimension type is a string.
**Returns**

- (::String) --- Value as a string if the dimension type is a string.