Method: properties.dataStreams.measurementProtocolSecrets.delete
Menghapus MeasurementProtocolSecret target.
Permintaan HTTP
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama MeasurementProtocolSecret yang akan dihapus. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons adalah objek JSON kosong.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/analytics.edit
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-14 UTC.
[null,null,["Terakhir diperbarui pada 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"]]