Google Cloud Iam V2 Client - Class ListPoliciesResponse (1.0.2)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ policies array<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
Type Description
Google\Protobuf\Internal\RepeatedField

setPolicies

Metadata for the policies that are attached to the resource.

Parameter
Name Description
var array<Policy>
Returns
Type Description
$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
Type Description
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
Name Description
var string
Returns
Type Description
$this