Google Analytics Admin V1alpha Client - Class SubpropertyEventFilter (0.22.4)

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

A resource message representing a GA4 Subproperty event filter.

Generated from protobuf message google.analytics.admin.v1alpha.SubpropertyEventFilter

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

↳ apply_to_property string

Immutable. Resource name of the Subproperty that uses this filter.

↳ filter_clauses array<Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause>

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

getName

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

Returns
Type Description
string

setName

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

Parameter
Name Description
var string
Returns
Type Description
$this

getApplyToProperty

Immutable. Resource name of the Subproperty that uses this filter.

Returns
Type Description
string

hasApplyToProperty

clearApplyToProperty

setApplyToProperty

Immutable. Resource name of the Subproperty that uses this filter.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilterClauses

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFilterClauses

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

Parameter
Name Description
var array<Google\Analytics\Admin\V1alpha\SubpropertyEventFilterClause>
Returns
Type Description
$this