Google Cloud Org Policy V2 Client - Class DeletePolicyRequest (0.5.3)

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

The request sent to the DeletePolicy method.

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

Namespace

Google \ Cloud \ OrgPolicy \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the policy to delete. See Policy for naming rules.

getName

Required. Name of the policy to delete.

See Policy for naming rules.

Returns
TypeDescription
string

setName

Required. Name of the policy to delete.

See Policy for naming rules.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. Name of the policy to delete. See Policy for naming rules. Please see Google\Cloud\OrgPolicy\V2\OrgPolicyClient::policyName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OrgPolicy\V2\DeletePolicyRequest