CreateBudgetPolicy
POST/v1/customers/:customer_id/projects/:project_id/policy/budget-policies
CreateBudgetPolicy creates a new budget policy. For API_KEY scope, the named key's client and project are resolved under its row lock. Returns ABORTED if the key's project changed after authorization; a retry must still satisfy the request project's ownership check. A PROJECT scope policy applies to every key of budget_policy.project_id, and stops traffic at its limit only with action BLOCK. Only an organization admin can create one (PERMISSION_DENIED otherwise), and the project must be a live project of customer_id (NOT_FOUND otherwise).
Request
Responses
- 200
Success