Google Analytics Admin V1alpha Client - Class ChannelGroupFilter (0.16.0)

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

A specific filter for a single dimension.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ string_filter Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter

A filter for a string-type dimension that matches a particular pattern.

↳ in_list_filter Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter

A filter for a string dimension that matches a particular list of options.

↳ field_name string

Required. Immutable. The dimension name to filter.

getStringFilter

A filter for a string-type dimension that matches a particular pattern.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\ChannelGroupFilter\StringFilter|null

hasStringFilter

setStringFilter

A filter for a string-type dimension that matches a particular pattern.

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

getInListFilter

A filter for a string dimension that matches a particular list of options.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\ChannelGroupFilter\InListFilter|null

hasInListFilter

setInListFilter

A filter for a string dimension that matches a particular list of options.

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

getFieldName

Required. Immutable. The dimension name to filter.

Returns
TypeDescription
string

setFieldName

Required. Immutable. The dimension name to filter.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValueFilter

Returns
TypeDescription
string