Google Analytics Admin V1alpha Client - Class ChannelGroupFilter (0.24.2)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ string_filter ChannelGroupFilter\StringFilter

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

↳ in_list_filter 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
Type Description
ChannelGroupFilter\StringFilter|null

hasStringFilter

setStringFilter

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

Parameter
Name Description
var ChannelGroupFilter\StringFilter
Returns
Type Description
$this

getInListFilter

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

Returns
Type Description
ChannelGroupFilter\InListFilter|null

hasInListFilter

setInListFilter

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

Parameter
Name Description
var ChannelGroupFilter\InListFilter
Returns
Type Description
$this

getFieldName

Required. Immutable. The dimension name to filter.

Returns
Type Description
string

setFieldName

Required. Immutable. The dimension name to filter.

Parameter
Name Description
var string
Returns
Type Description
$this

getValueFilter

Returns
Type Description
string