Google Analytics Admin V1alpha Client - Class AudienceSequenceFilter (0.15.1)

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

Defines filters that must occur in a specific order for the user to be a member of the Audience.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ scope int

Required. Immutable. Specifies the scope for this filter.

↳ sequence_maximum_duration Google\Protobuf\Duration

Optional. Defines the time period in which the whole sequence must occur.

↳ sequence_steps array<Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep>

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

getScope

Required. Immutable. Specifies the scope for this filter.

Returns
TypeDescription
int

setScope

Required. Immutable. Specifies the scope for this filter.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSequenceMaximumDuration

Optional. Defines the time period in which the whole sequence must occur.

Returns
TypeDescription
Google\Protobuf\Duration|null

hasSequenceMaximumDuration

clearSequenceMaximumDuration

setSequenceMaximumDuration

Optional. Defines the time period in which the whole sequence must occur.

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getSequenceSteps

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSequenceSteps

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

Parameter
NameDescription
var array<Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep>
Returns
TypeDescription
$this