Google Cloud Asset V1 Client - Class SearchAllIamPoliciesResponse (1.13.2)

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

Search all IAM policies response.

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

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\IamPolicySearchResult>

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

↳ next_page_token string

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token.

getResults

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResults

A list of IAM policies that match the search query. Related information such as the associated resource is returned along with the policy.

Parameter
NameDescription
var array<Google\Cloud\Asset\V1\IamPolicySearchResult>
Returns
TypeDescription
$this

getNextPageToken

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token.

Returns
TypeDescription
string

setNextPageToken

Set if there are more results than those appearing in this response; to get the next set of results, call this method again, using this value as the page_token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this