Class: Google::Apis::CloudbillingV1::ListBillingAccountsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1::ListBillingAccountsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbilling_v1/classes.rb,
lib/google/apis/cloudbilling_v1/representations.rb,
lib/google/apis/cloudbilling_v1/representations.rb
Overview
Response message for ListBillingAccounts
.
Instance Attribute Summary collapse
-
#billing_accounts ⇒ Array<Google::Apis::CloudbillingV1::BillingAccount>
A list of billing accounts.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListBillingAccountsResponse
constructor
A new instance of ListBillingAccountsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListBillingAccountsResponse
Returns a new instance of ListBillingAccountsResponse.
435 436 437 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#billing_accounts ⇒ Array<Google::Apis::CloudbillingV1::BillingAccount>
A list of billing accounts.
Corresponds to the JSON property billingAccounts
426 427 428 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 426 def billing_accounts @billing_accounts end |
#next_page_token ⇒ String
A token to retrieve the next page of results. To retrieve the next page, call
ListBillingAccounts
again with the page_token
field set to this value. This
field is empty if there are no more results to retrieve.
Corresponds to the JSON property nextPageToken
433 434 435 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 433 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
440 441 442 443 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 440 def update!(**args) @billing_accounts = args[:billing_accounts] if args.key?(:billing_accounts) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |