Method: properties.dataStreams.eventEditRules.patch
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 |
string
Identifier. Resource name for this EventEditRule resource. Format: properties/{property}/dataStreams/{dataStream}/eventEditRules/{eventEditRule}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
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: "user.displayName,photo" .
|
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-14 UTC.
[null,null,["Last updated 2025-01-14 UTC."],[[["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."]]],["This documentation details updating an `EventEditRule` via a `PATCH` request to a specified URL. The URL includes a path parameter, `eventEditRule.name`, which defines the resource. The `updateMask` query parameter dictates which fields will be modified. The request body requires an `EventEditRule` instance, and a successful response also returns an `EventEditRule` instance. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope. The process utilizes gRPC Transcoding syntax.\n"]]