Reference documentation and code samples for the Google Cloud Org Policy V2 Client class DeletePolicyRequest.
The request sent to the [DeletePolicy] [google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.
Generated from protobuf message google.cloud.orgpolicy.v2.DeletePolicyRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. Name of the policy to delete. See |
getName
Required. Name of the policy to delete.
See Policy for naming rules.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. Name of the policy to delete.
See Policy for naming rules.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|