Google Analytics Admin V1alpha Client - Class StringFilter (0.24.0)

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

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

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

Namespace

Google \ Analytics \ Admin \ V1alpha \ AudienceDimensionOrMetricFilter

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ match_type int

Required. The match type for the string filter.

↳ value string

Required. The string value to be matched against.

↳ case_sensitive bool

Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.

getMatchType

Required. The match type for the string filter.

Returns
Type Description
int

setMatchType

Required. The match type for the string filter.

Parameter
Name Description
var int
Returns
Type Description
$this

getValue

Required. The string value to be matched against.

Returns
Type Description
string

setValue

Required. The string value to be matched against.

Parameter
Name Description
var string
Returns
Type Description
$this

getCaseSensitive

Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.

Returns
Type Description
bool

setCaseSensitive

Optional. If true, the match is case-sensitive. If false, the match is case-insensitive.

Parameter
Name Description
var bool
Returns
Type Description
$this