Google Cloud Org Policy V2 Client - Class UpdateCustomConstraintRequest (1.0.0)

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 \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ custom_constraint Google\Cloud\OrgPolicy\V2\CustomConstraint

Required. CustomConstraint to update.

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. CustomConstraint to update.

Returns
Type Description
Google\Cloud\OrgPolicy\V2\UpdateCustomConstraintRequest