Method: properties.dataStreams.measurementProtocolSecrets.patch
मेज़रमेंट प्रोटोकॉल का सीक्रेट अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://analyticsadmin.googleapis.com/v1alpha/{measurementProtocolSecret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
measurementProtocolSecret.name |
string
सिर्फ़ आउटपुट के लिए. इस सीक्रेट का संसाधन का नाम. यह सीक्रेट, किसी भी तरह की स्ट्रीम का चाइल्ड हो सकता है. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. अपडेट किए जाने वाले फ़ील्ड की सूची. छूटे हुए फ़ील्ड अपडेट नहीं किए जाएंगे. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में MeasurementProtocolSecret
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में MeasurementProtocolSecret
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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) को अपडेट किया गया."],[[["This documentation outlines how to update a measurement protocol secret using a PATCH request to a specific endpoint."],["It specifies the required path and query parameters, including `measurementProtocolSecret.name` and `updateMask`, respectively."],["The request body should contain a `MeasurementProtocolSecret` object to define the changes, and the response, upon success, will also contain a `MeasurementProtocolSecret` object reflecting the updates."],["To authorize this request, you'll need the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This document details updating a measurement protocol secret via a PATCH request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{measurementProtocolSecret.name=properties/*/dataStreams/*/measurementProtocolSecrets/*}`. The `measurementProtocolSecret.name` is a required path parameter. The `updateMask` is a required query parameter specifying fields to update. The request and response bodies both contain a `MeasurementProtocolSecret` instance. The `analytics.edit` OAuth scope is required for authorization.\n"]]