Method: properties.dataStreams.eventCreateRules.patch
Aktualizuje regułę EventCreateRule.
Żądanie HTTP
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
eventCreateRule.name |
string
Tylko dane wyjściowe. Nazwa zasobu tego zasobu EventCreateRule. Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule}
|
Parametry zapytania
Parametry |
updateMask |
string (FieldMask format)
Wymagane. Lista pól do zaktualizowania. Nazwy pól muszą być zapisane w alfabecie łamanym (np. „field_to_update”). Pominięte pola nie zostaną zaktualizowane. Aby zastąpić cały element, użyj jednej ścieżki z ciągiem znaków „*”, aby dopasować wszystkie pola. Jest to lista pełnych nazw pól rozdzielona przecinkami. Przykład: "user.displayName,photo" .
|
Treść żądania
Treść żądania zawiera wystąpienie elementu EventCreateRule
.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu EventCreateRule
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/analytics.edit
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-14 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-14 UTC."],[[["This documentation outlines how to update an existing EventCreateRule using a PATCH request to a specified endpoint."],["You will need to provide the `eventCreateRule.name` as a path parameter and use the `updateMask` query parameter to specify the fields to be updated."],["The request body should contain the updated EventCreateRule object in JSON format and the response will contain the updated EventCreateRule if successful."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope."]]],["This documentation details updating an EventCreateRule via a PATCH request to a specific URL: `https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}`. The `eventCreateRule.name` is a required path parameter for identifying the resource. The `updateMask` query parameter specifies which fields to modify using a field mask. The request body contains the updated `EventCreateRule` data, and the response body returns the updated `EventCreateRule`. This action needs `analytics.edit` OAuth scope.\n"]]