AI-generated Key Takeaways
-
DataStreams are created using an HTTP POST request to the specified URL.
-
The request requires a
parentpath parameter formatted asproperties/*. -
The request body should contain a
DataStreaminstance, and the response body will return a newly createdDataStreaminstance upon success. -
Creating a DataStream requires the
https://www.googleapis.com/auth/analytics.editOAuth scope for authorization.
Creates a DataStream.
HTTP request
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/dataStreams
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Example format: properties/1234 |
Request body
The request body contains an instance of DataStream.
Response body
If successful, the response body contains a newly created instance of DataStream.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit