AI-generated Key Takeaways
-
Updates an existing Event Edit Rule using a PATCH request to a specified resource URL.
-
The request must include a path parameter indicating the Event Edit Rule's resource name and a query parameter (updateMask) specifying the fields to modify.
-
The request body should contain the updated Event Edit Rule details, and a successful response will return the modified Event Edit Rule.
-
Authorization with the
https://www.googleapis.com/auth/analytics.edit
scope is necessary for this operation.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an EventEditRule.
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventEditRule.name=properties/*/dataStreams/*/eventEditRules/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
eventEditRule.name |
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule} |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The list of fields to be updated. Field names must be in snake case (e.g., "field_to_update"). Omitted fields will not be updated. To replace the entire entity, use one path with the string "*" to match all fields. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of EventEditRule
.
Response body
If successful, the response body contains an instance of EventEditRule
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/analytics.edit