Google Analytics Admin V1alpha Client - Class NumericFilter (0.24.2)

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 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
NumericValue|null

hasValue

clearValue

setValue

Required. The numeric or date value to match against.

Parameter
Name Description
var NumericValue
Returns
Type Description
$this