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 document provides reference documentation for the \u003ccode\u003eBudgetService.BudgetServiceBase\u003c/code\u003e class, which is part of the Google Cloud Billing Budget v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class serves as the base for server-side implementations of BudgetService, allowing for the management of budgets on the Google Cloud Platform.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers functionalities such as creating, deleting, retrieving, listing, and updating budgets through methods like \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\u003eThe latest version of this api available is 2.6.0, along with many previous versions that are available for use.\u003c/p\u003e\n"],["\u003cp\u003eEach method requires a specific request object (e.g., \u003ccode\u003eCreateBudgetRequest\u003c/code\u003e, \u003ccode\u003eDeleteBudgetRequest\u003c/code\u003e) and a \u003ccode\u003eServerCallContext\u003c/code\u003e to handle server-side interactions.\u003c/p\u003e\n"]]],[],null,["# Cloud Billing Budget v1 API - Class BudgetService.BudgetServiceBase (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.5.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.4.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.3.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.2.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.1.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.0.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/1.2.0/Google.Cloud.Billing.Budgets.V1.BudgetService.BudgetServiceBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/1.1.0/Google.Cloud.Billing.Budgets.V1.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 v1 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.V1](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.Budgets.V1.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."]]