Class: Google::Apis::CloudbillingV1::ListServicesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudbilling_v1/classes.rb,
generated/google/apis/cloudbilling_v1/representations.rb,
generated/google/apis/cloudbilling_v1/representations.rb

Overview

Response message for ListServices.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListServicesResponse

Returns a new instance of ListServicesResponse



429
430
431
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 429

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


422
423
424
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 422

def next_page_token
  @next_page_token
end

#servicesArray<Google::Apis::CloudbillingV1::Service>

A list of services. Corresponds to the JSON property services



427
428
429
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 427

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



434
435
436
437
# File 'generated/google/apis/cloudbilling_v1/classes.rb', line 434

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @services = args[:services] if args.key?(:services)
end