Google Cloud Artifact Registry V1beta2 Client - Class VersionPolicy (0.4.4)

Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class VersionPolicy.

VersionPolicy is the version policy for the repository.

Protobuf type google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy

Namespace

Google \ Cloud \ ArtifactRegistry \ V1beta2 \ Repository \ MavenRepositoryConfig

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

VERSION_POLICY_UNSPECIFIED

Value: 0

VERSION_POLICY_UNSPECIFIED - the version policy is not defined.

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

Generated from protobuf enum VERSION_POLICY_UNSPECIFIED = 0;

RELEASE

Value: 1

RELEASE - repository will accept only Release versions.

Generated from protobuf enum RELEASE = 1;

SNAPSHOT

Value: 2

SNAPSHOT - repository will accept only Snapshot versions.

Generated from protobuf enum SNAPSHOT = 2;