public sealed class DeleteEnrollmentRequest : IMessage<DeleteEnrollmentRequest>, IEquatable<DeleteEnrollmentRequest>, IDeepCloneable<DeleteEnrollmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class DeleteEnrollmentRequest.
The request message for the DeleteEnrollment method.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eDeleteEnrollmentRequest\u003c/code\u003e class within the Eventarc v1 API, specifically for .NET development, outlining its purpose, inheritance, implementations, and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteEnrollmentRequest\u003c/code\u003e class is used to construct a request for the \u003ccode\u003eDeleteEnrollment\u003c/code\u003e method, enabling developers to manage enrollment deletion in the Eventarc service.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eDeleteEnrollmentRequest\u003c/code\u003e class available, with the latest being version 2.6.0, and it also details prior versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteEnrollmentRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eEnrollmentName\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, allowing for precise control over the deletion process, including conditional deletion and request validation.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<DeleteEnrollmentRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<DeleteEnrollmentRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring its integration with the Google Cloud .NET framework.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class DeleteEnrollmentRequest (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest) \n\n public sealed class DeleteEnrollmentRequest : IMessage\u003cDeleteEnrollmentRequest\u003e, IEquatable\u003cDeleteEnrollmentRequest\u003e, IDeepCloneable\u003cDeleteEnrollmentRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class DeleteEnrollmentRequest.\n\nThe request message for the DeleteEnrollment method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteEnrollmentRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteEnrollmentRequest](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteEnrollmentRequest](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteEnrollmentRequest](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### DeleteEnrollmentRequest()\n\n public DeleteEnrollmentRequest()\n\n### DeleteEnrollmentRequest(DeleteEnrollmentRequest)\n\n public DeleteEnrollmentRequest(DeleteEnrollmentRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. If set to true, and the Enrollment is not found, the request will\nsucceed but no action will be taken on the server.\n\n### EnrollmentName\n\n public EnrollmentName EnrollmentName { get; set; }\n\n[EnrollmentName](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.EnrollmentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.DeleteEnrollmentRequest#Google_Cloud_Eventarc_V1_DeleteEnrollmentRequest_Name) resource name property.\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. If provided, the Enrollment will only be deleted if the etag\nmatches the current etag on the resource.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the Enrollment to be deleted.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set, validate the request and preview the review, but do not\npost it."]]