Method: properties.dataStreams.delete
Usuwa strumień danych w usłudze.
Żądanie HTTP
DELETE 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 usunięcia. Przykładowy format: properties/1234/dataStreams/5678
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi to pusty obiekt JSON.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
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: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-14 UTC."],[[["Deletes a specified DataStream associated with a Google Analytics 4 property."],["Requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Uses an HTTP DELETE request with the DataStream name in the URL path."],["The request body should be empty, and a successful deletion returns an empty response body."]]],["The core content describes deleting a DataStream within a property using a `DELETE` HTTP request to a specific URL, formatted with gRPC Transcoding. The `name` path parameter, a string specifying the DataStream's location (e.g., `properties/1234/dataStreams/5678`), is mandatory. The request body must be empty. A successful deletion results in an empty JSON response. This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization.\n"]]