Google Cloud Asset V1 Client - Class SearchAllResourcesResponse (1.9.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

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.

Generated from protobuf field repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResults

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

Generated from protobuf field repeated .google.cloud.asset.v1.ResourceSearchResult results = 1;

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.

Generated from protobuf field string next_page_token = 2;

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.

Generated from protobuf field string next_page_token = 2;

Parameter
NameDescription
var string
Returns
TypeDescription
$this