Class: Google::Apis::ServicemanagementV1::ListServicesResponse

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

Overview

Response message for ListServices method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListServicesResponse

Returns a new instance of ListServicesResponse.



2324
2325
2326
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 2324

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)


2317
2318
2319
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 2317

def next_page_token
  @next_page_token
end

#servicesArray<Google::Apis::ServicemanagementV1::ManagedService>

The returned services will only have the name field set. Corresponds to the JSON property services



2322
2323
2324
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 2322

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2329
2330
2331
2332
# File 'lib/google/apis/servicemanagement_v1/classes.rb', line 2329

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