Class: Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig
- Inherits:
-
Object
- Object
- Google::Cloud::ArtifactRegistry::V1::Repository::MavenRepositoryConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/devtools/artifactregistry/v1/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::V1::Repository::MavenRepositoryConfig::VersionPolicy
Version policy defines the versions that the registry will accept.
Instance Attribute Details
#allow_snapshot_overwrites ⇒ ::Boolean
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 591 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::V1::Repository::MavenRepositoryConfig::VersionPolicy
591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 591 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 |