bgt

Cloud Billing Budgets

ManagementGCP
General

General information about the service.

Description

Cloud Billing Budgets allows you to set custom budgets and configure alert thresholds to monitor your Google Cloud spending. Receive email or Pub/Sub notifications when costs exceed thresholds.

Service ID

billingbudgets.googleapis.com

Resource Pattern

billingAccounts/{account}/budgets/{budget}

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

bgt-{workload}-{env}

Length

4-63

Valid Characters

Lowercase letters, numbers, hyphens

Scope

global

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "google_billing_budget" "main" {
2 billing_account = var.billing_account
3 display_name = "bgt-${var.workload}-${var.environment}"
4 amount {
5 specified_amount {
6 currency_code = "USD"
7 units = "1000"
8 }
9 }
10 threshold_rules {
11 threshold_percent = 0.5
12 }
13 threshold_rules {
14 threshold_percent = 0.9
15 }
16}
Utilities

Utilities to support app deployment or configuration.