MCP-Server für Google Analytics ausprobieren Installieren Sie das Tool über
GitHub. Weitere Informationen finden Sie in der
Ankündigung.
Method: properties.dataStreams.eventEditRules.reorder
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Ändert die Verarbeitungsreihenfolge der Regeln zur Ereignisbearbeitung für den angegebenen Stream.
HTTP-Anfrage
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Beispielformat: properties/123/dataStreams/456
|
Anfragetext
Der Anfragetext enthält Daten mit folgender Struktur:
JSON-Darstellung |
{
"eventEditRules": [
string
]
} |
Felder |
eventEditRules[] |
string
Erforderlich. Die Namen der EventEditRule-Ressourcen für den angegebenen Datenstream in der erforderlichen Verarbeitungsreihenfolge. Alle EventEditRules für den Stream müssen in der Liste enthalten sein.
|
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, ist der Antworttext ein leeres JSON-Objekt.
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: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eReorders the processing sequence of event edit rules for a specific data stream within a Google Analytics property.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires specifying the data stream and providing an array of all event edit rule names in the desired order.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.edit\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation results in an empty response body, indicating the reordering was completed.\u003c/p\u003e\n"]]],["This document outlines the process to reorder event edit rules for a specific data stream. It involves a `POST` request to a designated URL, using gRPC Transcoding syntax. The `parent` path parameter, specifying the stream, is required. The request body, in JSON format, contains an array (`eventEditRules`) listing the EventEditRule resource names in the desired order. A successful response is an empty JSON object. This action requires the `analytics.edit` authorization scope.\n"],null,["# Method: properties.dataStreams.eventEditRules.reorder\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nChanges the processing order of event edit rules on the specified stream.\n\n### HTTP request\n\n`POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*/dataStreams/*}/eventEditRules:reorder`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------|\n| `parent` | `string` Required. Example format: properties/123/dataStreams/456 |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------|\n| ``` { \"eventEditRules\": [ string ] } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `eventEditRules[]` | `string` Required. EventEditRule resource names for the specified data stream, in the needed processing order. All EventEditRules for the stream must be present in the list. |\n\n### Response body\n\nIf successful, the response body is an empty JSON object.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/analytics.edit`"]]