Google Analytics Admin V1alpha Client - Class ExpandedDataSetFilter (0.24.2)

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

A specific filter for a single dimension

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ string_filter ExpandedDataSetFilter\StringFilter

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

↳ in_list_filter ExpandedDataSetFilter\InListFilter

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

↳ field_name string

Required. The dimension name to filter.

getStringFilter

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

Returns
Type Description
ExpandedDataSetFilter\StringFilter|null

hasStringFilter

setStringFilter

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

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

getInListFilter

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

Returns
Type Description
ExpandedDataSetFilter\InListFilter|null

hasInListFilter

setInListFilter

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

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

getFieldName

Required. The dimension name to filter.

Returns
Type Description
string

setFieldName

Required. The dimension name to filter.

Parameter
Name Description
var string
Returns
Type Description
$this

getOneFilter

Returns
Type Description
string