Method: projects.locations.notificationConfigs.create

Creates a notification config.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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.