Artifact Registry v1 API - Enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy (2.2.0)

public enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy

Reference documentation and code samples for the Artifact Registry v1 API enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy.

VersionPolicy is the version policy for the repository.

Namespace

GoogleCloudGoogle.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Fields

NameDescription
Release

RELEASE - repository will accept only Release versions.

Snapshot

SNAPSHOT - repository will accept only Snapshot versions.

Unspecified

VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.