Class: Google::Apis::ServiceusageV1beta1::ListServicesResponse

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

Overview

Response message for the ListServices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListServicesResponse

Returns a new instance of ListServicesResponse



2333
2334
2335
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2333

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)


2326
2327
2328
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2326

def next_page_token
  @next_page_token
end

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

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



2331
2332
2333
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2331

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2338
2339
2340
2341
# File 'generated/google/apis/serviceusage_v1beta1/classes.rb', line 2338

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