Google Analytics Data V1alpha Client - Class CaseExpression (0.21.1)

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

Used to convert a dimension value to a single case.

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

Namespace

Google \ Analytics \ Data \ V1alpha \ 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