AI-generated Key Takeaways
-
DataStreams are created using an HTTP POST request to the specified URL.
-
The request requires a
parent
path parameter formatted asproperties/*
. -
The request body should contain a
DataStream
instance, and the response body will return a newly createdDataStream
instance upon success. -
Creating a DataStream requires the
https://www.googleapis.com/auth/analytics.edit
OAuth 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