AI-generated Key Takeaways
-
Creates a DataStream via an HTTP POST request to the specified URL.
-
Requires specifying the parent property in the URL path and providing a DataStream object in the request body.
-
Returns a newly created DataStream object in the response if successful.
-
Needs authorization with the
https://www.googleapis.com/auth/analytics.edit
scope.
Creates a DataStream.
HTTP request
POST https://analyticsadmin.googleapis.com/v1beta/{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