Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig.
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#allow_snapshot_overwrites
def allow_snapshot_overwrites() -> ::Boolean
Returns
- (::Boolean) — The repository with this flag will allow publishing the same snapshot versions.
#allow_snapshot_overwrites=
def allow_snapshot_overwrites=(value) -> ::Boolean
Parameter
- value (::Boolean) — The repository with this flag will allow publishing the same snapshot versions.
Returns
- (::Boolean) — The repository with this flag will allow publishing the same snapshot versions.
#version_policy
def version_policy() -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy
Returns
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy) — Version policy defines the versions that the registry will accept.
#version_policy=
def version_policy=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy
Parameter
- value (::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy) — Version policy defines the versions that the registry will accept.
Returns
- (::Google::Cloud::ArtifactRegistry::V1beta2::Repository::MavenRepositoryConfig::VersionPolicy) — Version policy defines the versions that the registry will accept.