Method: properties.dataStreams.get
Wyszukiwanie pojedynczego strumienia danych.
Żądanie HTTP
GET https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa strumienia danych do pobrania. Przykładowy format: properties/1234/dataStreams/5678
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu DataStream
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-05-06 UTC.
[null,null,["Ostatnia aktualizacja: 2024-05-06 UTC."],[[["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 format `properties/{property_id}/dataStreams/{stream_id}`."],["Authorization is necessary using either `analytics.readonly` or `analytics.edit` scope."],["Successful requests will return a `DataStream` object containing details about the requested resource."]]],["This document outlines the process for retrieving a single DataStream using an HTTP GET request. The request targets a specific DataStream via its `name` parameter within the URL's path (e.g., `properties/1234/dataStreams/5678`). The request body must be empty. A successful request returns a DataStream instance in the response body. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The structure follows gRPC Transcoding syntax.\n"]]