Organization Policy v2 API - Class DeletePolicyRequest (2.5.0)

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.

Inheritance

object > DeletePolicyRequest

Namespace

Google.Cloud.OrgPolicy.V2

Assembly

Google.Cloud.OrgPolicy.V2.dll

Constructors

DeletePolicyRequest()

public DeletePolicyRequest()

DeletePolicyRequest(DeletePolicyRequest)

public DeletePolicyRequest(DeletePolicyRequest other)
Parameter
NameDescription
otherDeletePolicyRequest

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
TypeDescription
string

Name

public string Name { get; set; }

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

Property Value
TypeDescription
string

PolicyName

public PolicyName PolicyName { get; set; }

PolicyName-typed view over the Name resource name property.

Property Value
TypeDescription
PolicyName