Method: properties.dataStreams.eventEditRules.patch

  • The documentation describes how to update an EventEditRule using a PATCH HTTP request.

  • The request URL requires an eventEditRule.name path parameter in a specific format.

  • A required updateMask query parameter is used to specify which fields of the EventEditRule will be updated.

  • The request and response bodies both contain an instance of an EventEditRule.

  • The operation requires the https://www.googleapis.com/auth/analytics.edit OAuth scope for authorization.

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