Method: projects.updateAlertConfig

Update the alert config of the requested project.

HTTP request

PATCH https://retail.googleapis.com/v2alpha/{alertConfig.name=projects/*/alertConfig}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
alertConfig.name

string

Required. Immutable. The name of the AlertConfig singleton resource. Format: projects/*/alertConfig

Query parameters

Parameters
updateMask

string (FieldMask format)

Indicates which fields in the provided AlertConfig to update. If not set, all supported fields are updated.

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

Response body

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

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:

  • retail.alertConfigs.update

For more information, see the IAM documentation.