Google Analytics Admin V1alpha Client - Class GroupingRule (0.16.0)

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

setDisplayName

Required. Customer defined display name for the channel.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExpression

Required. The Filter Expression that defines the Grouping Rule.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression|null

hasExpression

clearExpression

setExpression

Required. The Filter Expression that defines the Grouping Rule.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\ChannelGroupFilterExpression
Returns
TypeDescription
$this