Google Cloud Asset V1 Client - Class SearchAllResourcesResponse (2.0.1)

Reference documentation and code samples for the Google Cloud Asset V1 Client class SearchAllResourcesResponse.

Search all resources response.

Generated from protobuf message google.cloud.asset.v1.SearchAllResourcesResponse

Namespace

Google \ Cloud \ Asset \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ results array<Google\Cloud\Asset\V1\ResourceSearchResult>

A list of Resources that match the search query. It contains the resource standard metadata information.

↳ next_page_token string

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

getResults

A list of Resources that match the search query. It contains the resource standard metadata information.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResults

A list of Resources that match the search query. It contains the resource standard metadata information.

Parameter
Name Description
var array<Google\Cloud\Asset\V1\ResourceSearchResult>
Returns
Type Description
$this

getNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Returns
Type Description
string

setNextPageToken

If there are more results than those appearing in this response, then next_page_token is included. To get the next set of results, call this method again using the value of next_page_token as page_token.

Parameter
Name Description
var string
Returns
Type Description
$this