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

Reference documentation and code samples for the Google Cloud Org Policy V2 Client class DeleteCustomConstraintRequest.

The request sent to the DeleteCustomConstraint method.

Generated from protobuf message google.cloud.orgpolicy.v2.DeleteCustomConstraintRequest

Namespace

Google \ Cloud \ OrgPolicy \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the custom constraint to delete. See the custom constraint entry for naming rules.

getName

Required. Name of the custom constraint to delete.

See the custom constraint entry for naming rules.

Returns
Type Description
string

setName

Required. Name of the custom constraint to delete.

See the custom constraint entry for naming rules.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the custom constraint to delete. See the custom constraint entry for naming rules. Please see Google\Cloud\OrgPolicy\V2\OrgPolicyClient::customConstraintName() for help formatting this field.

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