Method: projects.notificationConfigs.create

Stay organized with collections Save and categorize content based on your preferences.

Creates a notification config.

HTTP request

POST https://securitycenter.googleapis.com/v1/{parent=projects/*}/notificationConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the new notification config's parent. Its format is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]".

Query parameters

Parameters
configId

string

Required. Unique identifier provided by the client within the parent scope. It must be between 1 and 128 characters and contain alphanumeric characters, underscores, or hyphens only.

Request body

The request body contains an instance of NotificationConfig.

Response body

If successful, the response body contains a newly created instance of NotificationConfig.

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.