Google Analytics Admin V1alpha Client - Class ExpandedDataSetFilter (0.13.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

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

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

↳ in_list_filter Google\Analytics\Admin\V1alpha\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
TypeDescription
Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter|null

hasStringFilter

setStringFilter

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

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

getInListFilter

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

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

hasInListFilter

setInListFilter

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

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

getFieldName

Required. The dimension name to filter.

Returns
TypeDescription
string

setFieldName

Required. The dimension name to filter.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOneFilter

Returns
TypeDescription
string