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

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

The response returned from the [ListPolicies] [google.cloud.orgpolicy.v2.OrgPolicy.ListPolicies] method. It will be empty if no Policies are set on the resource.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicies

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

Parameter
NameDescription
var array<Google\Cloud\OrgPolicy\V2\Policy>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this