Google Analytics Admin V1alpha Client - Class NumericFilter (0.9.0)

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

A filter for numeric or date values on a dimension or metric.

Generated from protobuf message google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ operation int

Required. The operation applied to a numeric filter.

↳ value Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue

Required. The numeric or date value to match against.

getOperation

Required. The operation applied to a numeric filter.

Returns
TypeDescription
int

setOperation

Required. The operation applied to a numeric filter.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getValue

Required. The numeric or date value to match against.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null

hasValue

clearValue

setValue

Required. The numeric or date value to match against.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue
Returns
TypeDescription
$this