Class MavenRepositoryConfig (1.11.3)

MavenRepositoryConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.

Attributes

NameDescription
allow_snapshot_overwrites bool
The repository with this flag will allow publishing the same snapshot versions.
version_policy google.cloud.artifactregistry_v1.types.Repository.MavenRepositoryConfig.VersionPolicy
Version policy defines the versions that the registry will accept.

Classes

VersionPolicy

VersionPolicy(value)

VersionPolicy is the version policy for the repository.

Values: VERSION_POLICY_UNSPECIFIED (0): VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions. RELEASE (1): RELEASE - repository will accept only Release versions. SNAPSHOT (2): SNAPSHOT - repository will accept only Snapshot versions.