public sealed class DeleteFileRequest : IMessage<DeleteFileRequest>, IEquatable<DeleteFileRequest>, IDeepCloneable<DeleteFileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class DeleteFileRequest.
[[["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 page provides documentation for the \u003ccode\u003eDeleteFileRequest\u003c/code\u003e class within the Google Cloud Artifact Registry v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteFileRequest\u003c/code\u003e class is used to construct requests for deleting files within the Artifact Registry, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt details the \u003ccode\u003eDeleteFileRequest\u003c/code\u003e class's constructors, which are a default constructor and one for copying an existing \u003ccode\u003eDeleteFileRequest\u003c/code\u003e object, as well as its properties \u003ccode\u003eFileName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e, each with their own respective functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions for this class, ranging from version 1.0.0 to the latest version 2.9.0.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class DeleteFileRequest (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest) \n\n public sealed class DeleteFileRequest : IMessage\u003cDeleteFileRequest\u003e, IEquatable\u003cDeleteFileRequest\u003e, IDeepCloneable\u003cDeleteFileRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class DeleteFileRequest.\n\nThe request to delete a file. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteFileRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteFileRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteFileRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteFileRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest), [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.ArtifactRegistry.V1](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1.dll\n\nConstructors\n------------\n\n### DeleteFileRequest()\n\n public DeleteFileRequest()\n\n### DeleteFileRequest(DeleteFileRequest)\n\n public DeleteFileRequest(DeleteFileRequest other)\n\nProperties\n----------\n\n### FileName\n\n public FileName FileName { get; set; }\n\n[FileName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.FileName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.DeleteFileRequest#Google_Cloud_ArtifactRegistry_V1_DeleteFileRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the file to delete."]]