Create a subproperty and a subproperty event filter that applies to the created subproperty.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/properties:createSubproperty
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "parent": string, "subproperty": { object ( |
Fields | |
---|---|
parent |
Required. The ordinary property for which to create a subproperty. Format: properties/property_id Example: properties/123 |
subproperty |
Required. The subproperty to create. |
subpropertyEventFilter |
Optional. The subproperty event filter to create on an ordinary property. |
Response body
Response message for properties.createSubproperty RPC.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "subproperty": { object ( |
Fields | |
---|---|
subproperty |
The created subproperty. |
subpropertyEventFilter |
The created subproperty event filter. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit