Method: properties.dataStreams.eventEditRules.create
एक EventEditRule बनाता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. फ़ॉर्मैट का उदाहरण: property/123/dataStreams/456
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में EventEditRule
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में EventEditRule
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-01 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-01 (UTC) को अपडेट किया गया."],[[["Creates an EventEditRule to manage how events are processed within a specified data stream."],["Requires `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."],["Sends a POST request to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules` with the EventEditRule details in the request body."],["Includes path parameter `parent` to specify the data stream for which the rule is created (e.g., `properties/123/dataStreams/456`)."],["Returns the newly created EventEditRule object in the response body upon successful execution."]]],["This document details how to create an EventEditRule via a POST request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules`. The `parent` path parameter is required, specifying the data stream. The request body must include an `EventEditRule` instance. Upon success, the response returns the newly created `EventEditRule`. This action requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope.\n"]]