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

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

Response for the SearchResources method.

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

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ search_results array<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.

↳ next_page_token string

Pass this token in the SearchResourcesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

getSearchResults

List of search results according to the filter and search query specified.

The order of search results represents the ranking.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSearchResults

List of search results according to the filter and search query specified.

The order of search results represents the ranking.

Parameter
Name Description
var array<Google\Cloud\ApiHub\V1\SearchResult>
Returns
Type Description
$this

getNextPageToken

Pass this token in the SearchResourcesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

Returns
Type Description
string

setNextPageToken

Pass this token in the SearchResourcesRequest to continue to list results. If all results have been returned, this field is an empty string or not present in the response.

Parameter
Name Description
var string
Returns
Type Description
$this