AI-generated Key Takeaways
-
Retrieve information about a single, specified DataStream within a Google Analytics property.
-
The request requires the
name
parameter which specifies the property and DataStream using the formatproperties/{property_id}/dataStreams/{stream_id}
. -
Authorization is necessary using either
analytics.readonly
oranalytics.edit
scope. -
Successful requests will return a
DataStream
object containing details about the requested resource.
Lookup for a single DataStream.
HTTP request
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the DataStream to get. Example format: properties/1234/dataStreams/5678 |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DataStream
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit