Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class CustomConstraintOverlay.
A change to an OrgPolicy custom constraint.
Generated from protobuf message google.cloud.policysimulator.v1.OrgPolicyOverlay.CustomConstraintOverlay
Namespace
Google \ Cloud \ PolicySimulator \ V1 \ OrgPolicyOverlayMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ custom_constraint_parent |
string
Optional. Resource the constraint is attached to. Example: "organization/987654" |
↳ custom_constraint |
Google\Cloud\OrgPolicy\V2\CustomConstraint
Optional. The new or updated custom constraint. |
getCustomConstraintParent
Optional. Resource the constraint is attached to.
Example: "organization/987654"
Returns | |
---|---|
Type | Description |
string |
setCustomConstraintParent
Optional. Resource the constraint is attached to.
Example: "organization/987654"
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCustomConstraint
Optional. The new or updated custom constraint.
Returns | |
---|---|
Type | Description |
Google\Cloud\OrgPolicy\V2\CustomConstraint|null |
hasCustomConstraint
clearCustomConstraint
setCustomConstraint
Optional. The new or updated custom constraint.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\OrgPolicy\V2\CustomConstraint
|
Returns | |
---|---|
Type | Description |
$this |