Google Analytics Data V1alpha Client - Class CaseExpression (0.9.5)

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

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