Class: Google::Apis::CloudbillingV1::ListSkusResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbillingV1::ListSkusResponse
- 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 ListSkus
.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
-
#skus ⇒ Array<Google::Apis::CloudbillingV1::Sku>
The list of public SKUs of the given service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSkusResponse
constructor
A new instance of ListSkusResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSkusResponse
Returns a new instance of ListSkusResponse.
517 518 519 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 517 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
ListSkus
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
510 511 512 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 510 def next_page_token @next_page_token end |
#skus ⇒ Array<Google::Apis::CloudbillingV1::Sku>
The list of public SKUs of the given service.
Corresponds to the JSON property skus
515 516 517 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 515 def skus @skus end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
522 523 524 525 |
# File 'lib/google/apis/cloudbilling_v1/classes.rb', line 522 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @skus = args[:skus] if args.key?(:skus) end |