Google Cloud Asset V1 Client - Class SearchAllIamPoliciesResponse (2.0.1)

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
Name Description
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
Type Description
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
Name Description
var array<Google\Cloud\Asset\V1\IamPolicySearchResult>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this