# Billing Budgets V1beta1 API - Class Google::Cloud::Billing::Budgets::V1beta1::UpdateBudgetRequest (v0.17.0)

0.17.0 (latest) 0.16.1 0.15.0 0.14.1 0.13.0 0.12.1 0.11.2 0.10.0 0.9.0 0.8.0 0.7.0 0.6.5 Reference documentation and code samples for the Billing Budgets V1beta1 API class Google::Cloud::Billing::Budgets::V1beta1::UpdateBudgetRequest.

Request for UpdateBudget

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #budget

    def budget() -> ::Google::Cloud::Billing::Budgets::V1beta1::Budget

**Returns**

- ([::Google::Cloud::Billing::Budgets::V1beta1::Budget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/Google-Cloud-Billing-Budgets-V1beta1-Budget)) --- Required. The updated budget object. The budget to update is specified by the budget name in the budget.

### #budget=

    def budget=(value) -> ::Google::Cloud::Billing::Budgets::V1beta1::Budget

**Parameter**

- **value** ([::Google::Cloud::Billing::Budgets::V1beta1::Budget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/Google-Cloud-Billing-Budgets-V1beta1-Budget)) --- Required. The updated budget object. The budget to update is specified by the budget name in the budget.
**Returns**

- ([::Google::Cloud::Billing::Budgets::V1beta1::Budget](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/Google-Cloud-Billing-Budgets-V1beta1-Budget)) --- Required. The updated budget object. The budget to update is specified by the budget name in the budget.

### #update_mask

    def update_mask() -> ::Google::Protobuf::FieldMask

**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/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.

### #update_mask=

    def update_mask=(value) -> ::Google::Protobuf::FieldMask

**Parameter**

- **value** ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/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.
**Returns**

- ([::Google::Protobuf::FieldMask](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/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.