Google Analytics Admin V1alpha Client - Class CreateSubpropertyRequest (0.24.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
Google\Analytics\Admin\V1alpha\Property|null

hasSubproperty

clearSubproperty

setSubproperty

Required. The subproperty to create.

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

getSubpropertyEventFilter

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

Returns
Type Description
Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null

hasSubpropertyEventFilter

clearSubpropertyEventFilter

setSubpropertyEventFilter

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

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