Google Analytics Admin V1alpha Client - Class CreateEventCreateRuleRequest (0.24.2)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ event_create_rule EventCreateRule

Required. The EventCreateRule to create.

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getEventCreateRule

Required. The EventCreateRule to create.

Returns
Type Description
EventCreateRule|null

hasEventCreateRule

clearEventCreateRule

setEventCreateRule

Required. The EventCreateRule to create.

Parameter
Name Description
var EventCreateRule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. Example format: properties/123/dataStreams/456 Please see AnalyticsAdminServiceClient::dataStreamName() for help formatting this field.

eventCreateRule EventCreateRule

Required. The EventCreateRule to create.

Returns
Type Description
CreateEventCreateRuleRequest