Artifact Registry v1beta2 API - Enum Repository.Types.MavenRepositoryConfig.Types.VersionPolicy (2.0.0-beta02)

public enum VersionPolicy

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

VersionPolicy is the version policy for the repository.

Namespace

Google.Cloud.ArtifactRegistry.V1Beta2

Assembly

Google.Cloud.ArtifactRegistry.V1Beta2.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.