Method: properties.dataStreams.eventEditRules.create
Erstellt eine EventEditRule.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Beispielformat: properties/123/dataStreams/456
|
Anfragetext
Der Anfragetext enthält eine Instanz von EventEditRule
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von EventEditRule
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/analytics.edit
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-01 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]