2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0

    public static class BudgetService

Reference documentation and code samples for the Cloud Billing Budget v1 API class BudgetService.

BudgetService stores Cloud Billing budgets, which define a
budget plan and rules to execute as we track spend against that plan.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BudgetService

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Billing.Budgets.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.md.txt)

## Assembly

Google.Cloud.Billing.Budgets.V1.dll

## Methods

### BindService(BudgetServiceBase)

    public static ServerServiceDefinition BindService(BudgetService.BudgetServiceBase serviceImpl)

Creates service definition that can be registered with a server

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `serviceImpl` | `BudgetServiceBudgetServiceBase` An object implementing the server-side handling logic. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ServerServiceDefinition` |   |

### BindService(ServiceBinderBase, BudgetServiceBase)

    public static void BindService(ServiceBinderBase serviceBinder, BudgetService.BudgetServiceBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `serviceBinder` | `ServiceBinderBase` Service methods will be bound by calling `AddMethod` on this object. |
| `serviceImpl` | `BudgetServiceBudgetServiceBase` An object implementing the server-side handling logic. |