# Service Directory V1 API - Class Google::Cloud::ServiceDirectory::V1::ListServicesResponse (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Service Directory V1 API class Google::Cloud::ServiceDirectory::V1::ListServicesResponse.

The response message for
[RegistrationService.ListServices](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1/latest/Google-Cloud-ServiceDirectory-V1-RegistrationService-Client#Google__Cloud__ServiceDirectory__V1__RegistrationService__Client_list_services_instance_ "Google::Cloud::ServiceDirectory::V1::RegistrationService::Client#list_services (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.
**Returns**

- (::String) --- Token to retrieve the next page of results, or empty if there are no more results in the list.

### #services

    def services() -> ::Array<::Google::Cloud::ServiceDirectory::V1::Service>

**Returns**

- (::Array\<[::Google::Cloud::ServiceDirectory::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1/latest/Google-Cloud-ServiceDirectory-V1-Service)\>) --- The list of services.

### #services=

    def services=(value) -> ::Array<::Google::Cloud::ServiceDirectory::V1::Service>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ServiceDirectory::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1/latest/Google-Cloud-ServiceDirectory-V1-Service)\>) --- The list of services.
**Returns**

- (::Array\<[::Google::Cloud::ServiceDirectory::V1::Service](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1/latest/Google-Cloud-ServiceDirectory-V1-Service)\>) --- The list of services.