Method: properties.dataStreams.measurementProtocolSecrets.delete
Удаляет целевой MeasurementProtocolSecret.
HTTP-запрос
DELETE https://analyticsadmin.googleapis.com/v1beta/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Необходимый. Имя MeasurementProtocolSecret, который требуется удалить. Формат: свойства/{свойство}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа представляет собой пустой объект JSON.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/analytics.edit
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-14 UTC.
[null,null,["Последнее обновление: 2025-01-14 UTC."],[[["Deletes the specified MeasurementProtocolSecret, requiring an empty request body."],["Uses the HTTP DELETE method with a URL containing the resource name of the MeasurementProtocolSecret."],["Requires `analytics.edit` authorization scope for successful execution."],["Successful deletion results in an empty response body."],["Resource name format: `properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}`."]]],["This document details how to delete a MeasurementProtocolSecret using a `DELETE` HTTP request. The request URL targets a specific secret via a `name` path parameter, following a defined format. The request body must be empty. A successful deletion returns an empty JSON object. This action requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization. The provided documentation includes information on path parameters, request and response body format, and authorization scope requirements, and a Try-it section.\n"]]