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) — 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) — 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) — 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) — 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) — 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) — 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.