Method: errorNotificationConfigs.patch

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

Updates an error notification config. You can either replace the entire notification config with a new one or replace only certain fields in the current error notification config by specifying the fields to be updated via updateMask. Returns the updated error notification config.

HTTP request

PATCH https://chronicle.googleapis.com/v1alpha/{errorNotificationConfig.name}

Path parameters

Parameters
errorNotificationConfig.name

string

Required if the error notification config exists. The resource name for this error notification config. The format is: projects/{project}/locations/{location}/instances/{instance}/errorNotificationConfigs/{ERROR_NOTIFICATION_CONFIG_ID}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A list of error notification config field names. If this field has a single string with value * it implies a full update. Else each listed field in the existing error notification config is set to the value of the corresponding field in the supplied error notification config (error_notification_config). Fields not listed retain their previous value.

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

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • chronicle.errorNotificationConfigs.update

For more information, see the IAM documentation.