Class: Google::Apis::CloudbillingV1::ListServicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1::ListServicesResponse
- 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 ListServices
.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
-
#services ⇒ Array<Google::Apis::CloudbillingV1::Service>
A list of services.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListServicesResponse
constructor
A new instance of ListServicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListServicesResponse
Returns a new instance of ListServicesResponse.
490 491 492 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 490 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token to retrieve the next page of results. To retrieve the next page, call
ListServices
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
483 484 485 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 483 def next_page_token @next_page_token end |
#services ⇒ Array<Google::Apis::CloudbillingV1::Service>
A list of services.
Corresponds to the JSON property services
488 489 490 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 488 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
495 496 497 498 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 495 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @services = args[:services] if args.key?(:services) end |