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::SearchResult.

Represents the search results.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #resource

    def resource() -> ::Google::Cloud::ApiHub::V1::ApiHubResource

**Returns**

- ([::Google::Cloud::ApiHub::V1::ApiHubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubResource)) --- This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.

### #resource=

    def resource=(value) -> ::Google::Cloud::ApiHub::V1::ApiHubResource

**Parameter**

- **value** ([::Google::Cloud::ApiHub::V1::ApiHubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubResource)) --- This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.
**Returns**

- ([::Google::Cloud::ApiHub::V1::ApiHubResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-api_hub-v1/latest/Google-Cloud-ApiHub-V1-ApiHubResource)) --- This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.