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 |
CustomConstraint
Required. |
getCustomConstraint
Required. CustomConstraint
to update.
Returns | |
---|---|
Type | Description |
CustomConstraint|null |
hasCustomConstraint
clearCustomConstraint
setCustomConstraint
Required. CustomConstraint
to update.
Parameter | |
---|---|
Name | Description |
var |
CustomConstraint
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
customConstraint |
CustomConstraint
Required. |
Returns | |
---|---|
Type | Description |
UpdateCustomConstraintRequest |