Google Analytics Admin V1alpha Client - Class GroupingRule (0.22.5)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class GroupingRule.

The rules that govern how traffic is grouped into one channel.

Generated from protobuf message google.analytics.admin.v1alpha.GroupingRule

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ display_name string

Required. Customer defined display name for the channel.

↳ expression Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression

Required. The Filter Expression that defines the Grouping Rule.

getDisplayName

Required. Customer defined display name for the channel.

Returns
Type Description
string

setDisplayName

Required. Customer defined display name for the channel.

Parameter
Name Description
var string
Returns
Type Description
$this

getExpression

Required. The Filter Expression that defines the Grouping Rule.

Returns
Type Description
Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null

hasExpression

clearExpression

setExpression

Required. The Filter Expression that defines the Grouping Rule.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression
Returns
Type Description
$this