Reference documentation and code samples for the Google Analytics Data V1beta Client class Filter.
An expression to filter dimension or metric values.
Generated from protobuf message google.analytics.data.v1beta.Filter
Namespace
Google \ Analytics \ Data \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ field_name
string
The dimension name or metric name. In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
↳ string_filter
↳ in_list_filter
↳ numeric_filter
↳ between_filter
getFieldName
The dimension name or metric name.
In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
string
setFieldName
The dimension name or metric name.
In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
var
string
$this
getStringFilter
Strings related filter.
hasStringFilter
setStringFilter
Strings related filter.
$this
getInListFilter
A filter for in list values.
hasInListFilter
setInListFilter
A filter for in list values.
$this
getNumericFilter
A filter for numeric or date values.
hasNumericFilter
setNumericFilter
A filter for numeric or date values.
$this
getBetweenFilter
A filter for two values.
hasBetweenFilter
setBetweenFilter
A filter for two values.
$this
getOneFilter
string