Method: properties.dataStreams.eventCreateRules.patch
EventCreateRule को अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
eventCreateRule.name |
string
सिर्फ़ आउटपुट के लिए. इस EventCreateRule रिसॉर्स के लिए रिसॉर्स का नाम. Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule}
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. अपडेट किए जाने वाले फ़ील्ड की सूची. फ़ील्ड के नाम स्नेक केस में होने चाहिए (उदाहरण के लिए, "field_to_update"). छूटे हुए फ़ील्ड अपडेट नहीं किए जाएंगे. पूरी इकाई को बदलने के लिए, सभी फ़ील्ड से मैच करने के लिए, स्ट्रिंग "*" के साथ एक पाथ का इस्तेमाल करें. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में EventCreateRule
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में EventCreateRule
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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 an existing EventCreateRule using a PATCH request to a specified endpoint."],["You will need to provide the `eventCreateRule.name` as a path parameter and use the `updateMask` query parameter to specify the fields to be updated."],["The request body should contain the updated EventCreateRule object in JSON format and the response will contain the updated EventCreateRule if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This documentation details updating an EventCreateRule via a PATCH request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}`. The `eventCreateRule.name` is a required path parameter for identifying the resource. The `updateMask` query parameter specifies which fields to modify using a field mask. The request body contains the updated `EventCreateRule` data, and the response body returns the updated `EventCreateRule`. This action needs `analytics.edit` OAuth scope.\n"]]