Method: properties.dataStreams.eventCreateRules.create
בקשת HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventCreateRules
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
parent |
string
חובה. פורמט לדוגמה: properties/123/dataStreams/456
|
גוף הבקשה
גוף הבקשה מכיל מופע של EventCreateRule
.
גוף התשובה
אם הפעולה בוצעה בהצלחה, גוף התגובה מכיל מופע חדש של EventCreateRule
שנוצר.
היקפי הרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/analytics.edit
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-05-06 (שעון UTC).
[null,null,["עדכון אחרון: 2024-05-06 (שעון UTC)."],[[["Creates an EventCreateRule using an HTTP POST request to a specified URL with path parameters for parent resource."],["The request body should contain an instance of EventCreateRule, and a successful response will return the newly created EventCreateRule."],["Requires authorization with the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details how to create an EventCreateRule using a POST request. The request is sent to a specific URL with a required `parent` path parameter, formatted as `properties/*/dataStreams/*`. The request body must include an `EventCreateRule` instance. A successful request returns a new `EventCreateRule` instance in the response body. This action requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope. Additional resources are: `gRPC Transcoding` and `EventCreateRule` page.\n"]]