Google Analytics Admin V1alpha Client - Class CreateSubpropertyRequest (0.20.0)

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

Required. The subproperty to create.

↳ subproperty_event_filter
Google\Analytics\Admin\V1alpha\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

hasSubproperty

clearSubproperty

setSubproperty

Required. The subproperty to create.

Parameter
Name
Description
Returns
Type
Description
$this

getSubpropertyEventFilter

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

hasSubpropertyEventFilter

clearSubpropertyEventFilter

setSubpropertyEventFilter

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

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: