Google Analytics Admin V1beta Client - Class CreateConversionEventRequest (0.27.0)

Reference documentation and code samples for the Google Analytics Admin V1beta Client class CreateConversionEventRequest.

Request message for CreateConversionEvent RPC

Generated from protobuf message google.analytics.admin.v1beta.CreateConversionEventRequest

Namespace

Google \ Analytics \ Admin \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ conversion_eventConversionEvent

Required. The conversion event to create.

↳ parentstring

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123

getConversionEvent

Required. The conversion event to create.

Returns
TypeDescription
ConversionEvent|null

hasConversionEvent

clearConversionEvent

setConversionEvent

Required. The conversion event to create.

Parameter
NameDescription
varConversionEvent
Returns
TypeDescription
$this

getParent

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123

Returns
TypeDescription
string

setParent

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The resource name of the parent property where this conversion event will be created. Format: properties/123 Please see AnalyticsAdminServiceClient::propertyName() for help formatting this field.

conversionEventConversionEvent

Required. The conversion event to create.

Returns
TypeDescription
CreateConversionEventRequest