Google Cloud Iam V2 Client - Class ListPoliciesResponse (0.3.1)

Reference documentation and code samples for the Google Cloud Iam V2 Client class ListPoliciesResponse.

Response message for ListPolicies.

Generated from protobuf message google.iam.v2.ListPoliciesResponse

Namespace

Google \ Cloud \ Iam \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ policies array<Google\Cloud\Iam\V2\Policy>

Metadata for the policies that are attached to the resource.

↳ next_page_token string

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

getPolicies

Metadata for the policies that are attached to the resource.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicies

Metadata for the policies that are attached to the resource.

Parameter
NameDescription
var array<Google\Cloud\Iam\V2\Policy>
Returns
TypeDescription
$this

getNextPageToken

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

Returns
TypeDescription
string

setNextPageToken

A page token that you can use in a ListPoliciesRequest to retrieve the next page. If this field is omitted, there are no additional pages.

Parameter
NameDescription
var string
Returns
TypeDescription
$this