Google Analytics Admin V1alpha Client - Class CreateEventCreateRuleRequest (0.22.5)

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 Google\Analytics\Admin\V1alpha\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
Google\Analytics\Admin\V1alpha\EventCreateRule|null

hasEventCreateRule

clearEventCreateRule

setEventCreateRule

Required. The EventCreateRule to create.

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\EventCreateRule
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

eventCreateRule Google\Analytics\Admin\V1alpha\EventCreateRule

Required. The EventCreateRule to create.

Returns
Type Description
Google\Analytics\Admin\V1alpha\CreateEventCreateRuleRequest