Class: Google::Apis::ServiceusageV1::ListServicesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb

Overview

Response message for the ListServices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListServicesResponse

Returns a new instance of ListServicesResponse.



3342
3343
3344
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3342

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

Instance Attribute Details

#next_page_tokenString

Token that can be passed to ListServices to resume a paginated query. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3335
3336
3337
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3335

def next_page_token
  @next_page_token
end

#servicesArray<Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service>

The available services for the requested project. Corresponds to the JSON property services



3340
3341
3342
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3340

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3347
3348
3349
3350
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 3347

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