[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRepository.Types.MavenRepositoryConfig.Types.VersionPolicy\u003c/code\u003e enum within the Artifact Registry v1beta2 API, specifically for the .NET implementation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eVersionPolicy\u003c/code\u003e enum defines the types of Maven versions a repository will accept, including \u003ccode\u003eRelease\u003c/code\u003e, \u003ccode\u003eSnapshot\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field in the \u003ccode\u003eVersionPolicy\u003c/code\u003e enum indicates that no specific version policy is in place and no version validation will occur.\u003c/p\u003e\n"],["\u003cp\u003eThere are three versions of the API provided: \u003ccode\u003e2.0.0-beta05\u003c/code\u003e (latest), \u003ccode\u003e2.0.0-beta04\u003c/code\u003e, and \u003ccode\u003e1.0.0-beta06\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Artifact Registry v1beta2 API - Enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy (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.Repository.Types.MavenRepositoryConfig.Types.VersionPolicy)\n- [2.0.0-beta04](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/2.0.0-beta04/Google.Cloud.ArtifactRegistry.V1Beta2.Repository.Types.MavenRepositoryConfig.Types.VersionPolicy)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ArtifactRegistry.V1Beta2/1.0.0-beta06/Google.Cloud.ArtifactRegistry.V1Beta2.Repository.Types.MavenRepositoryConfig.Types.VersionPolicy) \n\n public enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy\n\nReference documentation and code samples for the Artifact Registry v1beta2 API enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy.\n\nVersionPolicy is the version policy for the repository.\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"]]