Method: properties.dataStreams.measurementProtocolSecrets.delete
Usuwa docelową wartość MeasurementProtocolSecret.
Żądanie HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa obiektu MeasurementProtocolSecret, który chcesz usunąć. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
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 the specified Measurement Protocol Secret, requiring an empty request body."],["Uses the HTTP DELETE method with a URL containing the resource name of the Measurement Protocol Secret."],["Needs authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."],["Upon successful deletion, an empty response body is returned."]]],["This document details the process of deleting a MeasurementProtocolSecret via an HTTP DELETE request. The target is specified through the `name` path parameter, following the format: `properties/*/dataStreams/*/measurementProtocolSecrets/*`. The request body must be empty. A successful deletion returns an empty JSON object. The request requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The document also indicates the utilization of gRPC Transcoding syntax within the request URL.\n"]]