class Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest

Request for CreateBudget

Attributes

budget[RW]

A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met). The budget time period is configurable, with options such as month (default), quarter, year, or custom time period. Corresponds to the JSON property `budget` @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1Budget]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/billingbudgets_v1beta1/classes.rb, line 192
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/billingbudgets_v1beta1/classes.rb, line 197
def update!(**args)
  @budget = args[:budget] if args.key?(:budget)
end