public sealed class GetPackageRequest : IMessage<GetPackageRequest>, IEquatable<GetPackageRequest>, IDeepCloneable<GetPackageRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class GetPackageRequest.
[[["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\u003eThe latest version of the \u003ccode\u003eGetPackageRequest\u003c/code\u003e API class is \u003ccode\u003e2.0.0-beta05\u003c/code\u003e, and it is used to retrieve a specific package from the Artifact Registry v1beta2.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPackageRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple 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\u003eThis class is found within the \u003ccode\u003eGoogle.Cloud.ArtifactRegistry.V1Beta2\u003c/code\u003e namespace, and it's part of the \u003ccode\u003eGoogle.Cloud.ArtifactRegistry.V1Beta2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetPackageRequest\u003c/code\u003e class has two constructors, a default constructor, and another which takes another \u003ccode\u003eGetPackageRequest\u003c/code\u003e object as parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eName\u003c/code\u003e property of type \u003ccode\u003estring\u003c/code\u003e, which represents the name of the package to be retrieved, and is used within the API for this purpose.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class GetPackageRequest (2.0.0-beta05)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta05 (latest)](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest) \n\n public sealed class GetPackageRequest : IMessage\u003cGetPackageRequest\u003e, IEquatable\u003cGetPackageRequest\u003e, IDeepCloneable\u003cGetPackageRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class GetPackageRequest.\n\nThe request to retrieve a package. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetPackageRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetPackageRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetPackageRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetPackageRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetPackageRequest), [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.V1Beta2](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.ArtifactRegistry.V1Beta2.dll\n\nConstructors\n------------\n\n### GetPackageRequest()\n\n public GetPackageRequest()\n\n### GetPackageRequest(GetPackageRequest)\n\n public GetPackageRequest(GetPackageRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the package to retrieve."]]