Method: projects.locations.quotaPreferences.create

Creates a new QuotaPreference that declares the desired value for a quota.

HTTP request

POST https://cloudquotas.googleapis.com/v1/{parent=projects/*/locations/*}/quotaPreferences

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Value for parent.

Example: projects/123/locations/global

Query parameters

Parameters
quotaPreferenceId

string

Optional. Id of the requesting object, must be unique under its parent. If client does not set this field, the service will generate one.

ignoreSafetyChecks[]

enum (QuotaSafetyCheck)

The list of quota safety checks to be ignored.

Request body

The request body contains an instance of QuotaPreference.

Response body

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

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 parent resource:

  • cloudquotas.quotas.update

For more information, see the IAM documentation.