Method: properties.calculatedMetrics.delete
Usuwa z usługi obliczony typ danych.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa obliczonych danych, które chcesz usunąć. Format: usługi/{identyfikator_usługi}/dane_obliczone/{identyfikator_danych_obliczonych} Przykład: usługi/1234/dane_obliczone/Dane01
|
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 specific CalculatedMetric associated with a Google Analytics 4 property."],["Requires specifying the property and CalculatedMetric IDs in the request URL path."],["Employs an HTTP DELETE request with an empty body, signifying data removal intention."],["Successful deletion results in an empty response body, confirming action completion."],["Needs authorization with the 'analytics.edit' scope for permission to modify property data."]]],["This document outlines how to delete a CalculatedMetric on a property via an HTTP DELETE request. The request URL requires the `name` path parameter, formatted as `properties/{property_id}/calculatedMetrics/{calculatedMetricId}`. The request body must be empty. A successful deletion returns an empty JSON object. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The resource uses gRPC Transcoding syntax.\n"]]