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

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 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
ApiHubResource|null

hasResource

clearResource

setResource

This represents the ApiHubResource.

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

Parameter
Name Description
var ApiHubResource
Returns
Type Description
$this