Class: Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ListBudgetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ListBudgetsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/billingbudgets_v1/classes.rb,
lib/google/apis/billingbudgets_v1/representations.rb,
lib/google/apis/billingbudgets_v1/representations.rb
Overview
Response for ListBudgets
Instance Attribute Summary collapse
-
#budgets ⇒ Array<Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1Budget>
List of the budgets owned by the requested billing account.
-
#next_page_token ⇒ String
If not empty, indicates that there may be more budgets that match the request; this value should be passed in a new
ListBudgetsRequest
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBillingBudgetsV1ListBudgetsResponse
constructor
A new instance of GoogleCloudBillingBudgetsV1ListBudgetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBillingBudgetsV1ListBudgetsResponse
Returns a new instance of GoogleCloudBillingBudgetsV1ListBudgetsResponse.
291 292 293 |
# File 'lib/google/apis/billingbudgets_v1/classes.rb', line 291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#budgets ⇒ Array<Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1Budget>
List of the budgets owned by the requested billing account.
Corresponds to the JSON property budgets
283 284 285 |
# File 'lib/google/apis/billingbudgets_v1/classes.rb', line 283 def budgets @budgets end |
#next_page_token ⇒ String
If not empty, indicates that there may be more budgets that match the request;
this value should be passed in a new ListBudgetsRequest
.
Corresponds to the JSON property nextPageToken
289 290 291 |
# File 'lib/google/apis/billingbudgets_v1/classes.rb', line 289 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 |
# File 'lib/google/apis/billingbudgets_v1/classes.rb', line 296 def update!(**args) @budgets = args[:budgets] if args.key?(:budgets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |