public sealed class DeleteArtifactRequest : IMessage<DeleteArtifactRequest>, IEquatable<DeleteArtifactRequest>, IDeepCloneable<DeleteArtifactRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class DeleteArtifactRequest.
Request message for
[MetadataService.DeleteArtifact][google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact].
Optional. The etag of the Artifact to delete.
If this is provided, it must match the server's etag. Otherwise, the
request will fail with a FAILED_PRECONDITION.
Required. The resource name of the Artifact to delete.
Format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}
[[["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-14 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eDeleteArtifactRequest\u003c/code\u003e class within the Google Cloud AI Platform V1Beta1 API, specifically for managing artifact deletion.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeleteArtifactRequest\u003c/code\u003e is used as a request message for \u003ccode\u003eMetadataService.DeleteArtifact\u003c/code\u003e and inherits from \u003ccode\u003eobject\u003c/code\u003e while implementing several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a default constructor and one that takes another \u003ccode\u003eDeleteArtifactRequest\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eArtifactName\u003c/code\u003e (typed view over the name), \u003ccode\u003eEtag\u003c/code\u003e (optional etag for server-side matching), and \u003ccode\u003eName\u003c/code\u003e (required resource name of the artifact to delete).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteArtifactRequest\u003c/code\u003e is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class DeleteArtifactRequest (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest) \n\n public sealed class DeleteArtifactRequest : IMessage\u003cDeleteArtifactRequest\u003e, IEquatable\u003cDeleteArtifactRequest\u003e, IDeepCloneable\u003cDeleteArtifactRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class DeleteArtifactRequest.\n\nRequest message for\n\\[MetadataService.DeleteArtifact\\]\\[google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteArtifactRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteArtifactRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteArtifactRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteArtifactRequest](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest), [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.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### DeleteArtifactRequest()\n\n public DeleteArtifactRequest()\n\n### DeleteArtifactRequest(DeleteArtifactRequest)\n\n public DeleteArtifactRequest(DeleteArtifactRequest other)\n\nProperties\n----------\n\n### ArtifactName\n\n public ArtifactName ArtifactName { get; set; }\n\n[ArtifactName](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.ArtifactName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.DeleteArtifactRequest#Google_Cloud_AIPlatform_V1Beta1_DeleteArtifactRequest_Name) resource name property.\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. The etag of the Artifact to delete.\nIf this is provided, it must match the server's etag. Otherwise, the\nrequest will fail with a FAILED_PRECONDITION.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The resource name of the Artifact to delete.\nFormat:\n`projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}`"]]