Reference documentation and code samples for the Google Cloud Org Policy V2 Client class CreateCustomConstraintRequest.
The request sent to the CreateCustomConstraintRequest method.
Generated from protobuf message google.cloud.orgpolicy.v2.CreateCustomConstraintRequest
Namespace
Google \ Cloud \ OrgPolicy \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. Must be in the following form: * organizations/{organization_id}
↳ custom_constraint
getParent
Required. Must be in the following form:
-
organizations/{organization_id}
string
setParent
Required. Must be in the following form:
-
organizations/{organization_id}
var
string
$this
getCustomConstraint
Required. Custom constraint to create.
hasCustomConstraint
clearCustomConstraint
setCustomConstraint
Required. Custom constraint to create.
$this
static::build
parent
string
Required. Must be in the following form:
-
organizations/{organization_id}
Please see Google\Cloud\OrgPolicy\V2\OrgPolicyClient::organizationName() for help formatting this field.
customConstraint