Google Analytics Admin V1alpha Client - Class AudienceEventTrigger (0.20.0)

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

Specifies an event to log when a user joins the Audience.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ event_name string

Required. The event name that will be logged.

↳ log_condition int

Required. When to log the event.

getEventName

Required. The event name that will be logged.

Returns
TypeDescription
string

setEventName

Required. The event name that will be logged.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getLogCondition

Required. When to log the event.

Returns
TypeDescription
int

setLogCondition

Required. When to log the event.

Parameter
NameDescription
var int
Returns
TypeDescription
$this