public sealed class DeletePolicyRequest : IMessage<DeletePolicyRequest>, IEquatable<DeletePolicyRequest>, IDeepCloneable<DeletePolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Organization Policy v2 API class DeletePolicyRequest.
The request sent to the [DeletePolicy] [google.cloud.orgpolicy.v2.OrgPolicy.DeletePolicy] method.
Implements
IMessageDeletePolicyRequest, IEquatableDeletePolicyRequest, IDeepCloneableDeletePolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OrgPolicy.V2Assembly
Google.Cloud.OrgPolicy.V2.dll
Constructors
DeletePolicyRequest()
public DeletePolicyRequest()
DeletePolicyRequest(DeletePolicyRequest)
public DeletePolicyRequest(DeletePolicyRequest other)
Parameter | |
---|---|
Name | Description |
other |
DeletePolicyRequest |
Properties
Etag
public string Etag { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. Name of the policy to delete. See the policy entry for naming rules.
Property Value | |
---|---|
Type | Description |
string |
PolicyName
public PolicyName PolicyName { get; set; }
PolicyName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
PolicyName |