[[["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 webpage provides documentation for the \u003ccode\u003eAptArtifact\u003c/code\u003e class within the Google Cloud Artifact Registry v1 API for .NET, detailing its structure and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAptArtifact\u003c/code\u003e class represents a detailed description of an Apt artifact, derived from the archive's control file, which is relevant to Debian-based packages.\u003c/p\u003e\n"],["\u003cp\u003eAvailable versions of the \u003ccode\u003eAptArtifact\u003c/code\u003e documentation range from version 1.0.0 up to the latest 2.9.0, with links provided for each specific version.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAptArtifact\u003c/code\u003e include \u003ccode\u003eAptArtifactName\u003c/code\u003e, \u003ccode\u003eArchitecture\u003c/code\u003e, \u003ccode\u003eComponent\u003c/code\u003e, \u003ccode\u003eControlFile\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePackageName\u003c/code\u003e, and \u003ccode\u003ePackageType\u003c/code\u003e, providing information like the artifact's name, architecture, and contents of the control file.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAptArtifact\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in the API and its capabilities for deep cloning and handling.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1 API - Class AptArtifact (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.AptArtifact)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.9.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.8.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.7.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.6.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.5.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.4.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.3.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.2.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.1.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/2.0.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.1.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/1.0.0/Google.Cloud.ArtifactRegistry.V1.AptArtifact) \n\n public sealed class AptArtifact : IMessage\u003cAptArtifact\u003e, IEquatable\u003cAptArtifact\u003e, IDeepCloneable\u003cAptArtifact\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1 API class AptArtifact.\n\nA detailed representation of an Apt artifact. Information in the record\nis derived from the archive's control file.\nSee \u003chttps://www.debian.org/doc/debian-policy/ch-controlfields.html\u003e \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AptArtifact \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AptArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.AptArtifact), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AptArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.AptArtifact), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AptArtifact](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.AptArtifact), [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### AptArtifact()\n\n public AptArtifact()\n\n### AptArtifact(AptArtifact)\n\n public AptArtifact(AptArtifact other)\n\nProperties\n----------\n\n### AptArtifactName\n\n public AptArtifactName AptArtifactName { get; set; }\n\n[AptArtifactName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.AptArtifactName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1/latest/Google.Cloud.ArtifactRegistry.V1.AptArtifact#Google_Cloud_ArtifactRegistry_V1_AptArtifact_Name) resource name property.\n\n### Architecture\n\n public string Architecture { get; set; }\n\nOutput only. Operating system architecture of the artifact.\n\n### Component\n\n public string Component { get; set; }\n\nOutput only. Repository component of the artifact.\n\n### ControlFile\n\n public ByteString ControlFile { get; set; }\n\nOutput only. Contents of the artifact's control metadata file.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. The Artifact Registry resource name of the artifact.\n\n### PackageName\n\n public string PackageName { get; set; }\n\nOutput only. The Apt package name of the artifact.\n\n### PackageType\n\n public AptArtifact.Types.PackageType PackageType { get; set; }\n\nOutput only. An artifact is a binary or source package."]]