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
Returns The repository with this flag will allow publishing the same snapshot versions.
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 537 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
Returns Version policy defines the versions that the registry will accept.
537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 |
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 537 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 |