AI-generated Key Takeaways
- 
          This page provides documentation on how to update an EventCreateRule using a PATCH HTTP request. 
- 
          The update is performed via a specific URL structure that includes path and query parameters. 
- 
          The request and response bodies both contain an instance of an EventCreateRule. 
- 
          Authorization is required using the https://www.googleapis.com/auth/analytics.editOAuth scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates an EventCreateRule.
HTTP request
PATCH https://analyticsadmin.googleapis.com/v1alpha/{eventCreateRule.name=properties/*/dataStreams/*/eventCreateRules/*}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| eventCreateRule.name | 
 Output only. Resource name for this EventCreateRule resource. Format: properties/{property}/dataStreams/{dataStream}/eventCreateRules/{eventCreateRule} | 
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 EventCreateRule.
Response body
If successful, the response body contains an instance of EventCreateRule.
Authorization scopes
Requires the following OAuth scope:
- https://www.googleapis.com/auth/analytics.edit