1.2.0 (latest) 1.1.0 1.0.3 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the API hub V1 API class Google::Cloud::ApiHub::V1::SearchResourcesResponse.

Response for the
[SearchResources](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHub-Rest-Client#Google__Cloud__ApiHub__V1__ApiHub__Rest__Client_search_resources_instance_ "Google::Cloud::ApiHub::V1::ApiHub::Rest::Client#search_resources (method)") method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- Pass this token in the [SearchResourcesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResourcesRequest "Google::Cloud::ApiHub::V1::SearchResourcesRequest (class)") to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- Pass this token in the [SearchResourcesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResourcesRequest "Google::Cloud::ApiHub::V1::SearchResourcesRequest (class)") to continue to list results. If all results have been returned, this field is an empty string or not present in the response.
**Returns**

- (::String) --- Pass this token in the [SearchResourcesRequest](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResourcesRequest "Google::Cloud::ApiHub::V1::SearchResourcesRequest (class)") to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

### #search_results

    def search_results() -> ::Array<::Google::Cloud::ApiHub::V1::SearchResult>

**Returns**

- (::Array\<[::Google::Cloud::ApiHub::V1::SearchResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResult)\>) --- List of search results according to the filter and search query specified. The order of search results represents the ranking.

### #search_results=

    def search_results=(value) -> ::Array<::Google::Cloud::ApiHub::V1::SearchResult>

**Parameter**

- **value** (::Array\<[::Google::Cloud::ApiHub::V1::SearchResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResult)\>) --- List of search results according to the filter and search query specified. The order of search results represents the ranking.
**Returns**

- (::Array\<[::Google::Cloud::ApiHub::V1::SearchResult](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-SearchResult)\>) --- List of search results according to the filter and search query specified. The order of search results represents the ranking.