public sealed class GetRepositoryRequest : IMessage<GetRepositoryRequest>, IEquatable<GetRepositoryRequest>, IDeepCloneable<GetRepositoryRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class GetRepositoryRequest.
[[["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\u003eGetRepositoryRequest\u003c/code\u003e class within the Google Cloud Artifact Registry v1beta2 API, with the latest version being 2.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetRepositoryRequest\u003c/code\u003e is a class used to retrieve a repository 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\u003eThe class has two constructors, \u003ccode\u003eGetRepositoryRequest()\u003c/code\u003e, which is a default constructor, and \u003ccode\u003eGetRepositoryRequest(GetRepositoryRequest other)\u003c/code\u003e which allows creating a copy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetRepositoryRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e, a required string to specify the name of the repository, and \u003ccode\u003eRepositoryName\u003c/code\u003e, which is a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation references inherited members from the base \u003ccode\u003eobject\u003c/code\u003e class, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class GetRepositoryRequest (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.GetRepositoryRequest)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest) \n\n public sealed class GetRepositoryRequest : IMessage\u003cGetRepositoryRequest\u003e, IEquatable\u003cGetRepositoryRequest\u003e, IDeepCloneable\u003cGetRepositoryRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class GetRepositoryRequest.\n\nThe request to retrieve a repository. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetRepositoryRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetRepositoryRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetRepositoryRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetRepositoryRequest](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest), [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### GetRepositoryRequest()\n\n public GetRepositoryRequest()\n\n### GetRepositoryRequest(GetRepositoryRequest)\n\n public GetRepositoryRequest(GetRepositoryRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the repository to retrieve.\n\n### RepositoryName\n\n public RepositoryName RepositoryName { get; set; }\n\n[RepositoryName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.RepositoryName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.GetRepositoryRequest#Google_Cloud_ArtifactRegistry_V1Beta2_GetRepositoryRequest_Name) resource name property."]]