Method: properties.dataStreams.measurementProtocolSecrets.delete
Exclui a MeasurementProtocolSecret de destino.
Solicitação HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
O URL usa a sintaxe de transcodificação gRPC.
Parâmetros de caminho
Parâmetros |
name |
string
Obrigatório. O nome do MeasurementProtocolSecret a ser excluído. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
Corpo da solicitação
O corpo da solicitação precisa estar vazio.
Corpo da resposta
Se a solicitação for bem-sucedida, o corpo da resposta será um objeto JSON vazio.
Escopos de autorização
Requer o seguinte escopo OAuth:
https://www.googleapis.com/auth/analytics.edit
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-01-14 UTC.
[null,null,["Última atualização 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"]]