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
NameDescription
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
TypeDescription
string

setParent

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

Format: properties/property_id Example: properties/123

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSubproperty

Required. The subproperty to create.

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\Property|null

hasSubproperty

clearSubproperty

setSubproperty

Required. The subproperty to create.

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\Property
Returns
TypeDescription
$this

getSubpropertyEventFilter

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

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\SubpropertyEventFilter|null

hasSubpropertyEventFilter

clearSubpropertyEventFilter

setSubpropertyEventFilter

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

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\SubpropertyEventFilter
Returns
TypeDescription
$this