Method: rules.patch

Full name: projects.locations.instances.rules.patch

Updates a Rule.

HTTP request


Path parameters



Full resource name for the rule. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}

Query parameters


string (FieldMask format)

The list of fields to update. If not included, all fields with a non-empty value will be overwritten.

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 Rule.

Response body

If successful, the response body contains an instance of Rule.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.rules.update

For more information, see the IAM documentation.