Google Analytics Admin V1alpha Client - Class CreateSubpropertyRequest (0.24.1)

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

Request message for CreateSubproperty RPC.

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

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123

↳ subproperty Property

Required. The subproperty to create.

↳ subproperty_event_filter SubpropertyEventFilter

Optional. The subproperty event filter to create on an ordinary property.

getParent

Required. The ordinary property for which to create a subproperty.

Format: properties/property_id Example: properties/123

Returns
Type Description
string

setParent

Required. The ordinary property for which to create a subproperty.

Format: properties/property_id Example: properties/123

Parameter
Name Description
var string
Returns
Type Description
$this

getSubproperty

Required. The subproperty to create.

Returns
Type Description
Property|null

hasSubproperty

clearSubproperty

setSubproperty

Required. The subproperty to create.

Parameter
Name Description
var Property
Returns
Type Description
$this

getSubpropertyEventFilter

Optional. The subproperty event filter to create on an ordinary property.

Returns
Type Description
SubpropertyEventFilter|null

hasSubpropertyEventFilter

clearSubpropertyEventFilter

setSubpropertyEventFilter

Optional. The subproperty event filter to create on an ordinary property.

Parameter
Name Description
var SubpropertyEventFilter
Returns
Type Description
$this