Method: properties.dataStreams.eventEditRules.create
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ รูปแบบตัวอย่าง: property/123/dataStreams/456
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ EventEditRule
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ที่สร้างขึ้นใหม่ EventEditRule
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/analytics.edit
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 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"]]