public sealed class ProjectSettings : IMessage<ProjectSettings>, IEquatable<ProjectSettings>, IDeepCloneable<ProjectSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class ProjectSettings.
The Artifact Registry settings that apply to a Project.
[[["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 \u003ccode\u003eProjectSettings\u003c/code\u003e class represents the Artifact Registry settings that apply to a project, within the \u003ccode\u003eGoogle.Cloud.ArtifactRegistry.V1Beta2\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, and inherits members from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eIt includes constructors for creating instances, either default or by cloning an existing \u003ccode\u003eProjectSettings\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes properties such as \u003ccode\u003eLegacyRedirectionState\u003c/code\u003e, which defines the redirection state for legacy repositories, \u003ccode\u003eName\u003c/code\u003e which is the name of the project's settings, and \u003ccode\u003eProjectSettingsName\u003c/code\u003e, a typed view of the name.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.0.0-beta05, with previous versions 2.0.0-beta04 and 1.0.0-beta06 available.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Class ProjectSettings (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.ProjectSettings)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings) \n\n public sealed class ProjectSettings : IMessage\u003cProjectSettings\u003e, IEquatable\u003cProjectSettings\u003e, IDeepCloneable\u003cProjectSettings\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Artifact Registry v1beta2 API class ProjectSettings.\n\nThe Artifact Registry settings that apply to a Project. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ProjectSettings \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ProjectSettings](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ProjectSettings](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ProjectSettings](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings), [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### ProjectSettings()\n\n public ProjectSettings()\n\n### ProjectSettings(ProjectSettings)\n\n public ProjectSettings(ProjectSettings other)\n\nProperties\n----------\n\n### LegacyRedirectionState\n\n public ProjectSettings.Types.RedirectionState LegacyRedirectionState { get; set; }\n\nThe redirection state of the legacy repositories in this project.\n\n### Name\n\n public string Name { get; set; }\n\nThe name of the project's settings.\n\nAlways of the form:\nprojects/{project-id}/projectSettings\n\nIn update request: never set\nIn response: always set\n\n### ProjectSettingsName\n\n public ProjectSettingsName ProjectSettingsName { get; set; }\n\n[ProjectSettingsName](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettingsName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/latest/Google.Cloud.ArtifactRegistry.V1Beta2.ProjectSettings#Google_Cloud_ArtifactRegistry_V1Beta2_ProjectSettings_Name) resource name property."]]