Method: properties.dataStreams.eventEditRules.create
یک EventEditRule ایجاد می کند.
درخواست HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
parent | string ضروری. فرمت مثال: properties/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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-10-25 بهوقت ساعت هماهنگ جهانی."],[[["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"]]