# Google Analytics Data V1beta API - Class Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression (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-DimensionExpression-CaseExpression)
- [0.4.2](https://docs.cloud.google.com/ruby/docs/reference/google-analytics-data-v1beta/0.4.2/Google-Analytics-Data-V1beta-DimensionExpression-CaseExpression)
Reference documentation and code samples for the Google Analytics Data V1beta API class Google::Analytics::Data::V1beta::DimensionExpression::CaseExpression.

Used to convert a dimension value to a single case.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #dimension_name

    def dimension_name() -> ::String

**Returns**

- (::String) --- Name of a dimension. The name must refer back to a name in dimensions field of the request.

### #dimension_name=

    def dimension_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of a dimension. The name must refer back to a name in dimensions field of the request.
**Returns**

- (::String) --- Name of a dimension. The name must refer back to a name in dimensions field of the request.