Method: properties.calculatedMetrics.delete
किसी प्रॉपर्टी पर मौजूद कैलकुलेट की गई मेट्रिक को मिटाता है.
एचटीटीपी अनुरोध
DELETE https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/calculatedMetrics/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. मिटाए जाने वाले CalculatedMetric का नाम. फ़ॉर्मैट: properties/{property_id}/calculatedMetrics/{calculatedMetricId} उदाहरण: properties/1234/calculatedMetrics/Metric01
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, तो रिस्पॉन्स बॉडी में खाली JSON ऑब्जेक्ट होता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]