Class: Google::Apis::ServicemanagementV1::ListServicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::ListServicesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb
Overview
Response message for 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::ServicemanagementV1::ManagedService>
The returned services will only have the name field set.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListServicesResponse
constructor
A new instance of ListServicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListServicesResponse
Returns a new instance of ListServicesResponse
906 907 908 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 906 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
904 905 906 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 904 def next_page_token @next_page_token end |
#services ⇒ Array<Google::Apis::ServicemanagementV1::ManagedService>
The returned services will only have the name field set.
Corresponds to the JSON property services
899 900 901 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 899 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
911 912 913 914 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 911 def update!(**args) @services = args[:services] if args.key?(:services) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |