Method: properties.customDimensions.patch
प्रॉपर्टी का कस्टम डाइमेंशन अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://analyticsadmin.googleapis.com/v1beta/{customDimension.name=properties/*/customDimensions/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
customDimension.name |
string
सिर्फ़ आउटपुट के लिए. इस Customडाइमेंशन संसाधन के लिए संसाधन का नाम. फ़ॉर्मैट: प्रॉपर्टी/{property}/customdimension/{customआयाम}
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. अपडेट किए जाने वाले फ़ील्ड की सूची. हटाए गए फ़ील्ड अपडेट नहीं किए जाएंगे. पूरी इकाई को बदलने के लिए, स्ट्रिंग "*" वाले एक पाथ का इस्तेमाल करें, ताकि सभी फ़ील्ड का मिलान किया जा सके. यह फ़ील्ड के पूरी तरह क्वालिफ़ाइड नामों की कॉमा-सेपरेटेड लिस्ट है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में CustomDimension
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में CustomDimension
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-04-02 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-04-02 (UTC) को अपडेट किया गया."],[[["This page details how to update a CustomDimension on a Google Analytics 4 property using the `PATCH` method."],["The request requires specifying the `customDimension.name` as a path parameter and an `updateMask` as a query parameter."],["The request body should contain a `CustomDimension` object with the desired updates."],["A successful response will return the updated `CustomDimension` object."],["To use this API, you need to authorize with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details updating a CustomDimension on a property using a PATCH request. The URL structure, including path parameters, follows gRPC Transcoding syntax, specifying the CustomDimension's name. A required `updateMask` query parameter determines which fields to modify. The request and response bodies both use the `CustomDimension` resource. Authorization requires the `analytics.edit` OAuth scope. The `Try it!` link enables interactive testing.\n"]]