Google Cloud Org Policy V2 Client - Class ListPoliciesResponse (1.0.0)

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

The response returned from the ListPolicies method. It will be empty if no policies are set on the resource.

Generated from protobuf message google.cloud.orgpolicy.v2.ListPoliciesResponse

Namespace

Google \ Cloud \ OrgPolicy \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

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

All policies that exist on the resource. It will be empty if no policies are set.

↳ next_page_token string

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

getPolicies

All policies that exist on the resource. It will be empty if no policies are set.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPolicies

All policies that exist on the resource. It will be empty if no policies are set.

Parameter
Name Description
var array<Google\Cloud\OrgPolicy\V2\Policy>
Returns
Type Description
$this

getNextPageToken

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

Returns
Type Description
string

setNextPageToken

Page token used to retrieve the next page. This is currently not used, but the server may at any point start supplying a valid token.

Parameter
Name Description
var string
Returns
Type Description
$this