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 \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Name of the policy to delete. See the policy entry for naming rules.
↳ etag
string
Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.
getName
Required. Name of the policy to delete.
See the policy entry for naming rules.
string
setName
Required. Name of the policy to delete.
See the policy entry for naming rules.
var
string
$this
getEtag
Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.
string
setEtag
Optional. The current etag of policy. If an etag is provided and does not match the current etag of the policy, deletion will be blocked and an ABORTED error will be returned.
var
string
$this
static::build
name
string
Required. Name of the policy to delete. See the policy entry for naming rules. Please see Google\Cloud\OrgPolicy\V2\OrgPolicyClient::policyName() for help formatting this field.