Google Analytics Data V1beta Client - Class CaseExpression (0.10.1)

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
NameDescription
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
TypeDescription
string

setDimensionName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this