Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
IGoogle Cloud clienti possono pianificare, monitorare e controllare i costi utilizzando
budget e avvisi relativi ai budget.
ร importante monitorare e controllare i costi in modo efficace, soprattutto quando espandi la tua attivitร nel cloud. Quando utilizzi Google Cloud, le nostre funzionalitร di budget e avvisi sono un componente efficace del tuo kit di strumenti per il monitoraggio dei costi, che ti consentono di impostare la spesa target e di notificare agli stakeholder chiave se stai perdendo il controllo.
Un budget consente di monitorare la spesa effettiva Google Cloud rispetto alla spesa pianificata. Dopo aver impostato un importo del budget, definisci delle regole di soglia di avviso per il budget, in modo che attivino le notifiche email. Le email di avviso sul budget ti aiutano a rimanere al corrente dell'andamento della spesa rispetto al budget. Puoi anche utilizzare i budget per automatizzare le risposte al controllo dei costi utilizzando gli argomenti Pub/Sub per le notifiche programmatiche (ad esempio, per inoltrare i messaggi relativi al budget ad altri mezzi come Slack o per automatizzare le attivitร di gestione dei costi).
Puoi configurare un budget per monitorare tutti i costi di un intero account di fatturazione Cloud oppure utilizzare filtri come Google Cloud progetti o servizi per concentrare il budget su una parte della spesa.
Di seguito sono riportati alcuni esempi di utilizzo dell'API Cloud Billing Budget:
Crea un budget separato per ciascuno dei tuoi Google Cloud progetti in modo da sapere quali aree del tuo Google Cloud ambiente stanno spendendo piรน del previsto.
Aggiornare collettivamente tutti i budget dopo la pianificazione finanziaria trimestrale.
Esegui l'integrazione con il gestore del deployment della tua azienda per aggiungere la creazione di budget al flusso di lavoro di provisioning del cloud.
Prerequisiti
Leggi i prerequisiti prima di iniziare a codificare la tua prima applicazione di budget di Cloud Billing.
Configurazione
Completa questi
passaggi di configurazione per prepararti
a iniziare a utilizzare l'API Cloud Billing Budget.
Utilizzo dell'API
Segui le istruzioni riportate nella
guida dell'utente
per iniziare a utilizzare l'API Cloud Billing Budget.
Riferimento
Per un elenco completo dei metodi, consulta la documentazione di riferimento.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema รจ stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 UTC."],[[["\u003cp\u003eGoogle Cloud offers budgets and budget alerts to help customers plan, monitor, and control their cloud spending, crucial for scaling businesses.\u003c/p\u003e\n"],["\u003cp\u003eBudgets allow users to track actual spending against planned spending, and configure alert threshold rules for email notifications.\u003c/p\u003e\n"],["\u003cp\u003eBudgets can be configured to monitor an entire Cloud Billing account or specific slices of spend using filters like Google Cloud projects or services.\u003c/p\u003e\n"],["\u003cp\u003eWhile the Google Cloud console allows managing one budget at a time, the Cloud Billing Budget API enables programmatic management of up to 50,000 budgets per account, facilitating tasks such as creating budgets for each Google Cloud project or integrating with a deployment manager.\u003c/p\u003e\n"],["\u003cp\u003eThe Cloud Billing Budget API requires prerequisites and setup steps that can be found in the corresponding documentation.\u003c/p\u003e\n"]]],[],null,["# Get started with the Cloud Billing Budget API\n\n\u003cbr /\u003e\n\nGoogle Cloud customers can plan, monitor, and control costs using\n[budgets and budget alerts](/billing/docs/how-to/budgets).\nMonitoring and controlling costs effectively is important, especially as you\nscale your business in the cloud. When you're using Google Cloud, our\n[budgets and alerts](/billing/docs/how-to/budgets)\nfeatures are a powerful part of your cost monitoring toolkit, letting you set\nyour target spending and notify key stakeholders if you're getting off track.\n\nA budget enables you to track your actual Google Cloud spend against your\nplanned spend. After you've set a budget amount, you set budget alert threshold\nrules that are used to trigger email notifications. Budget alert emails help\nyou stay informed about how your spend is tracking against your budget. You\ncan also use budgets to automate cost control responses using\n[Pub/Sub topics for programmatic notifications](/billing/docs/how-to/budgets-programmatic-notifications)\n(for example, to forward your budget messages to other mediums such as Slack,\nor to automate cost management tasks).\n\nYou can configure a budget to monitor all of the costs for an entire\nCloud Billing account, or use filters such as Google Cloud projects\nor services to focus the budget on a slice of your spend.\n\nIn the Google Cloud console, you can\n[manage one Google Cloud budget at a time](/billing/docs/how-to/budgets).\nUsing the Cloud Billing Budget API, you can view, create, and manage budgets\nprogrammatically at scale, up to 50,000 budgets for each Cloud Billing\naccount. [Learn how to check your budget quota](/billing/docs/how-to/budgets#budget-quota).\n\nExamples for using the Cloud Billing Budget API include the following:\n\n- Create a separate budget for each of your Google Cloud projects so you know which areas of your Google Cloud environment are spending more than expected.\n- Bulk update all of your budgets after quarterly financial planning.\n- Integrate with your company's deployment manager to add the creation of budgets to your cloud provisioning workflow.\n\nPrerequisites\n-------------\n\nRead through the\n[prerequisites](/billing/docs/how-to/budget-api-prereqs)\nbefore you start coding your first Cloud Billing budget application.\n\nSetup\n-----\n\nComplete these\n[setup steps](/billing/docs/how-to/budget-api-setup) to get\nready to start using the Cloud Billing Budget API.\n\nUsing the API\n-------------\n\nFollow the instructions in the\n[user guide](/billing/docs/how-to/budget-api)\nto get up and running with the Cloud Billing Budget API.\n\nReference\n---------\n\nFor a full list of methods, see the reference documentation.\n\n- [REST API](/billing/docs/reference/budget/rest)\n- [RPC API](/billing/docs/reference/budget/rpc)"]]