Google Cloud Api Hub V1 Client - Class SearchResult (0.1.1)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class SearchResult.

Represents the search results.

Generated from protobuf message google.cloud.apihub.v1.SearchResult

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource Google\Cloud\ApiHub\V1\ApiHubResource

This represents the ApiHubResource. Note: Only selected fields of the resources are populated in response.

getResource

This represents the ApiHubResource.

Note: Only selected fields of the resources are populated in response.

Returns
Type Description
Google\Cloud\ApiHub\V1\ApiHubResource|null

hasResource

clearResource

setResource

This represents the ApiHubResource.

Note: Only selected fields of the resources are populated in response.

Parameter
Name Description
var Google\Cloud\ApiHub\V1\ApiHubResource
Returns
Type Description
$this