Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ListCustomConstraintsResponse.
The response returned from the ListCustomConstraints method. It will be empty if no custom constraints are set on the organization resource.
Generated from protobuf message google.cloud.orgpolicy.v2.ListCustomConstraintsResponse
Namespace
Google \ Cloud \ OrgPolicy \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ custom_constraints |
array<CustomConstraint>
All custom constraints that exist on the organization resource. It will be empty if no custom constraints 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. |
getCustomConstraints
All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setCustomConstraints
All custom constraints that exist on the organization resource. It will be empty if no custom constraints are set.
Parameter | |
---|---|
Name | Description |
var |
array<CustomConstraint>
|
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 |