Google Cloud Billing Budgets V1 Client - Class CreateBudgetRequest (2.1.1) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class CreateBudgetRequest.
Request for CreateBudget
Generated from protobuf messagegoogle.cloud.billing.budgets.v1.CreateBudgetRequest
Namespace
Google \ Cloud \ Billing \ Budgets \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ parent | stringRequired. The name of the billing account to create the budget in. Values are of the form |
↳ budget | BudgetRequired. Budget to create. |
getParent
Required. The name of the billing account to create the budget in. Valuesare of the formbillingAccounts/{billingAccountId}.
| Returns | |
|---|---|
| Type | Description |
string | |
setParent
Required. The name of the billing account to create the budget in. Valuesare of the formbillingAccounts/{billingAccountId}.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getBudget
Required. Budget to create.
| Returns | |
|---|---|
| Type | Description |
Budget|null | |
hasBudget
clearBudget
setBudget
Required. Budget to create.
| Parameter | |
|---|---|
| Name | Description |
var | Budget |
| Returns | |
|---|---|
| Type | Description |
$this | |
static::build
| Parameters | |
|---|---|
| Name | Description |
parent | stringRequired. The name of the billing account to create the budget in. Valuesare of the form |
budget | BudgetRequired. Budget to create. |
| Returns | |
|---|---|
| Type | Description |
CreateBudgetRequest | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-30 UTC.