Reference documentation and code samples for the Google Cloud Org Policy V2 Client class UpdateCustomConstraintRequest.
The request sent to the UpdateCustomConstraintRequest method.
Generated from protobuf message google.cloud.orgpolicy.v2.UpdateCustomConstraintRequest
Namespace
Google \ Cloud \ OrgPolicy \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ custom_constraint |
Google\Cloud\OrgPolicy\V2\CustomConstraint
Required. |
getCustomConstraint
Required. CustomConstraint
to update.
Returns | |
---|---|
Type | Description |
Google\Cloud\OrgPolicy\V2\CustomConstraint|null |
hasCustomConstraint
clearCustomConstraint
setCustomConstraint
Required. CustomConstraint
to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\OrgPolicy\V2\CustomConstraint
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
customConstraint |
Google\Cloud\OrgPolicy\V2\CustomConstraint
Required. |
Returns | |
---|---|
Type | Description |
Google\Cloud\OrgPolicy\V2\UpdateCustomConstraintRequest |