Google Analytics Data V1beta Client - Class CaseExpression (0.18.0)

Reference documentation and code samples for the Google Analytics Data V1beta Client class CaseExpression.

Used to convert a dimension value to a single case.

Generated from protobuf message google.analytics.data.v1beta.DimensionExpression.CaseExpression

Namespace

Google \ Analytics \ Data \ V1beta \ DimensionExpression

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ dimension_name string

Name of a dimension. The name must refer back to a name in dimensions field of the request.

getDimensionName

Name of a dimension. The name must refer back to a name in dimensions field of the request.

Returns
Type Description
string

setDimensionName

Name of a dimension. The name must refer back to a name in dimensions field of the request.

Parameter
Name Description
var string
Returns
Type Description
$this