Google Analytics Admin V1alpha Client - Class CreateConversionEventRequest (0.12.0)

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

Request message for CreateConversionEvent RPC

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ conversion_event Google\Analytics\Admin\V1alpha\ConversionEvent

Required. The conversion event to create.

↳ parent string

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

hasConversionEvent

clearConversionEvent

setConversionEvent

Required. The conversion event to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\ConversionEvent
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
var string
Returns
TypeDescription
$this