Google Cloud Billing Budgets V1 Client - Class UpdateBudgetRequest (1.3.1)

Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class UpdateBudgetRequest.

Request for UpdateBudget

Generated from protobuf message google.cloud.billing.budgets.v1.UpdateBudgetRequest

Namespace

Google \ Cloud \ Billing \ Budgets \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ budget
Google\Cloud\Billing\Budgets\V1\Budget

Required. The updated budget object. The budget to update is specified by the budget name in the budget.

↳ update_mask
Google\Protobuf\FieldMask

Optional. Indicates which fields in the provided budget to update. Read-only fields (such as name ) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.

getBudget

Required. The updated budget object.

The budget to update is specified by the budget name in the budget.

Returns
Type
Description

hasBudget

clearBudget

setBudget

Required. The updated budget object.

The budget to update is specified by the budget name in the budget.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Optional. Indicates which fields in the provided budget to update.

Read-only fields (such as name ) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Indicates which fields in the provided budget to update.

Read-only fields (such as name ) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
budget
Google\Cloud\Billing\Budgets\V1\Budget

Required. The updated budget object. The budget to update is specified by the budget name in the budget.

updateMask
Google\Protobuf\FieldMask

Optional. Indicates which fields in the provided budget to update. Read-only fields (such as name ) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values.

Design a Mobile Site
View Site in Mobile | Classic
Share by: