Google Cloud Org Policy V2 Client - Class UpdateCustomConstraintRequest (0.6.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
NameDescription
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
TypeDescription
Google\Cloud\OrgPolicy\V2\CustomConstraint|null

hasCustomConstraint

clearCustomConstraint

setCustomConstraint

Required. CustomConstraint to update.

Parameter
NameDescription
var Google\Cloud\OrgPolicy\V2\CustomConstraint
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
customConstraint Google\Cloud\OrgPolicy\V2\CustomConstraint

Required. CustomConstraint to update.

Returns
TypeDescription
Google\Cloud\OrgPolicy\V2\UpdateCustomConstraintRequest