Google Analytics Admin V1alpha Client - Class CreateEventCreateRuleRequest (0.18.1)

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

Request message for CreateEventCreateRule RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Example format: properties/123/dataStreams/456

↳ event_create_rule Google\Analytics\Admin\V1alpha\EventCreateRule

Required. The EventCreateRule to create.

getParent

Required. Example format: properties/123/dataStreams/456

Returns
TypeDescription
string

setParent

Required. Example format: properties/123/dataStreams/456

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEventCreateRule

Required. The EventCreateRule to create.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\EventCreateRule|null

hasEventCreateRule

clearEventCreateRule

setEventCreateRule

Required. The EventCreateRule to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\EventCreateRule
Returns
TypeDescription
$this