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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ policies |
array<Google\Cloud\OrgPolicy\V2\Policy>
All |
↳ 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 |