Skip to main content

UpdateBudgetPolicy

PATCH 

/v1/customers/:customer_id/projects/:project_id/policy/budget-policies/{budget_policy.id}

UpdateBudgetPolicy updates mutable budget policy fields. Omitted/empty scalar string fields leave the existing value untouched. Enum fields set to *_UNSPECIFIED leave the existing value untouched. The policy id must be set inside the budget_policy field. Restating the same api_key_id on an existing API_KEY policy preserves its stored client and project; supplying a different key retargets it. When a key target is supplied, returns ABORTED if its project changed after authorization. A retry must still satisfy the request project's ownership check.

Request

Responses

Success