Reference documentation and code samples for the Google Cloud Billing Budgets V1beta1 Client class UpdateBudgetRequest.
Request for UpdateBudget
Generated from protobuf message google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest
Namespace
Google \ Cloud \ Billing \ Budgets \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ budget |
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 |
Google\Protobuf\FieldMask
Optional. Indicates which fields in the provided budget to update. Read-only fields (such as |
getBudget
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
Returns | |
---|---|
Type | Description |
Google\Cloud\Billing\Budgets\V1beta1\Budget|null |
hasBudget
clearBudget
setBudget
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Billing\Budgets\V1beta1\Budget
|
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 |
Google\Protobuf\FieldMask|null |
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 |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |