Reference documentation and code samples for the Google Cloud Org Policy V2 Client class ListConstraintsResponse.
The response returned from the ListConstraints method.
Generated from protobuf message google.cloud.orgpolicy.v2.ListConstraintsResponse
Namespace
Google \ Cloud \ OrgPolicy \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ constraints |
array<Constraint>
The collection of constraints that are available on the targeted resource. |
↳ next_page_token |
string
Page token used to retrieve the next page. This is currently not used. |
getConstraints
The collection of constraints that are available on the targeted resource.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setConstraints
The collection of constraints that are available on the targeted resource.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Constraint>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
Page token used to retrieve the next page. This is currently not used.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
Page token used to retrieve the next page. This is currently not used.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|