Class: Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb
Overview
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
Defined Under Namespace
Modules: VersionPolicy
Instance Attribute Summary collapse
-
#allow_snapshot_overwrites ⇒ ::Boolean
The repository with this flag will allow publishing the same snapshot versions.
-
#version_policy ⇒ ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy
Version policy defines the versions that the registry will accept.
Instance Attribute Details
#allow_snapshot_overwrites ⇒ ::Boolean
Returns The repository with this flag will allow publishing the same snapshot versions.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb', line 72 class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end |
#version_policy ⇒ ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy
Returns Version policy defines the versions that the registry will accept.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'proto_docs/google/devtools/artifactregistry/v1beta2/repository.rb', line 72 class MavenRepositoryConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # VersionPolicy is the version policy for the repository. module VersionPolicy # VERSION_POLICY_UNSPECIFIED - the version policy is not defined. # When the version policy is not defined, no validation is performed # for the versions. VERSION_POLICY_UNSPECIFIED = 0 # RELEASE - repository will accept only Release versions. RELEASE = 1 # SNAPSHOT - repository will accept only Snapshot versions. SNAPSHOT = 2 end end |