Class: Google::Apis::ServiceusageV1::ListServicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::ListServicesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceusage_v1/classes.rb,
generated/google/apis/serviceusage_v1/representations.rb,
generated/google/apis/serviceusage_v1/representations.rb
Overview
Response message for the ListServices
method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token that can be passed to
ListServices
to resume a paginated query. -
#services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service>
The available services for the requested project.
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.
2299 2300 2301 |
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 2299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token that can be passed to ListServices
to resume a paginated query.
Corresponds to the JSON property nextPageToken
2292 2293 2294 |
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 2292 def next_page_token @next_page_token end |
#services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service>
The available services for the requested project.
Corresponds to the JSON property services
2297 2298 2299 |
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 2297 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2304 2305 2306 2307 |
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 2304 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @services = args[:services] if args.key?(:services) end |