The response to send back to the client (wrapped by a task).
GetBudget(GetBudgetRequest, ServerCallContext)
public virtual Task<Budget> GetBudget(GetBudgetRequest request, ServerCallContext context)
Returns a budget.
WARNING: There are some fields exposed on the Google Cloud Console that
aren't available on this API. When reading from the API, you will not
see these fields in the return value, though they may have been set
in the Cloud Console.
public virtual Task<ListBudgetsResponse> ListBudgets(ListBudgetsRequest request, ServerCallContext context)
Returns a list of budgets for a billing account.
WARNING: There are some fields exposed on the Google Cloud Console that
aren't available on this API. When reading from the API, you will not
see these fields in the return value, though they may have been set
in the Cloud Console.
public virtual Task<Budget> UpdateBudget(UpdateBudgetRequest request, ServerCallContext context)
Updates a budget and returns the updated budget.
WARNING: There are some fields exposed on the Google Cloud Console that
aren't available on this API. Budget fields that are not exposed in
this API will not be changed by this method.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eBudgetService.BudgetServiceBase\u003c/code\u003e class, which is a base class for server-side implementations of the Cloud Billing Budget v1beta1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBudgetService.BudgetServiceBase\u003c/code\u003e class includes methods for managing budgets, such as \u003ccode\u003eCreateBudget\u003c/code\u003e, \u003ccode\u003eDeleteBudget\u003c/code\u003e, \u003ccode\u003eGetBudget\u003c/code\u003e, \u003ccode\u003eListBudgets\u003c/code\u003e, and \u003ccode\u003eUpdateBudget\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach method requires a specific request object and a \u003ccode\u003eServerCallContext\u003c/code\u003e, returning a task that contains the corresponding response.\u003c/p\u003e\n"],["\u003cp\u003eThe API has some limitations, with certain fields visible in the Google Cloud Console not being accessible or modifiable through the API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this document is \u003ccode\u003e2.0.0-beta06\u003c/code\u003e, with previous versions \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta05\u003c/code\u003e also available.\u003c/p\u003e\n"]]],[],null,["# Cloud Billing Budget v1beta1 API - Class BudgetService.BudgetServiceBase (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.BudgetService.BudgetServiceBase)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/2.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.BudgetService.BudgetServiceBase)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/1.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.BudgetService.BudgetServiceBase) \n\n [BindServiceMethod(typeof(BudgetService), \"BindService\")]\n public abstract class BudgetService.BudgetServiceBase\n\nReference documentation and code samples for the Cloud Billing Budget v1beta1 API class BudgetService.BudgetServiceBase.\n\nBase class for server-side implementations of BudgetService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BudgetService.BudgetServiceBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Billing.Budgets.V1Beta1](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.Budgets.V1Beta1.dll\n\nMethods\n-------\n\n### CreateBudget(CreateBudgetRequest, ServerCallContext)\n\n public virtual Task\u003cBudget\u003e CreateBudget(CreateBudgetRequest request, ServerCallContext context)\n\nCreates a new budget. See\n[Quotas and limits](https://cloud.google.com/billing/quotas)\nfor more information on the limits of the number of budgets you can create.\n\n### DeleteBudget(DeleteBudgetRequest, ServerCallContext)\n\n public virtual Task\u003cEmpty\u003e DeleteBudget(DeleteBudgetRequest request, ServerCallContext context)\n\nDeletes a budget. Returns successfully if already deleted.\n\n### GetBudget(GetBudgetRequest, ServerCallContext)\n\n public virtual Task\u003cBudget\u003e GetBudget(GetBudgetRequest request, ServerCallContext context)\n\nReturns a budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.\n\n### ListBudgets(ListBudgetsRequest, ServerCallContext)\n\n public virtual Task\u003cListBudgetsResponse\u003e ListBudgets(ListBudgetsRequest request, ServerCallContext context)\n\nReturns a list of budgets for a billing account.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. When reading from the API, you will not\nsee these fields in the return value, though they may have been set\nin the Cloud Console.\n\n### UpdateBudget(UpdateBudgetRequest, ServerCallContext)\n\n public virtual Task\u003cBudget\u003e UpdateBudget(UpdateBudgetRequest request, ServerCallContext context)\n\nUpdates a budget and returns the updated budget.\n\nWARNING: There are some fields exposed on the Google Cloud Console that\naren't available on this API. Budget fields that are not exposed in\nthis API will not be changed by this method."]]