Google Analytics Admin V1alpha Client - Class NumericFilter (0.24.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

Namespace

Google \ Analytics \ Admin \ V1alpha \ AudienceDimensionOrMetricFilter

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setOperation

Required. The operation applied to a numeric filter.

Parameter
Name Description
var int
Returns
Type Description
$this

getValue

Required. The numeric or date value to match against.

Returns
Type Description
Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue|null

hasValue

clearValue

setValue

Required. The numeric or date value to match against.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\AudienceDimensionOrMetricFilter\NumericValue
Returns
Type Description
$this