versionPolicy property

String? versionPolicy
getter/setter pair

Version policy defines the versions that the registry will accept. Possible string values are:

  • "VERSION_POLICY_UNSPECIFIED" : VERSION_POLICY_UNSPECIFIED - the version policy is not defined. When the version policy is not defined, no validation is performed for the versions.
  • "RELEASE" : RELEASE - repository will accept only Release versions.
  • "SNAPSHOT" : SNAPSHOT - repository will accept only Snapshot versions.

Implementation

core.String? versionPolicy;