Google Cloud Asset V1 Client - Class SearchAllResourcesResponse (1.12.2)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResults

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

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\ResourceSearchResult>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this