Class Repository.Types.MavenRepositoryConfig (2.0.0)

public sealed class MavenRepositoryConfig : IMessage<Repository.Types.MavenRepositoryConfig>, IEquatable<Repository.Types.MavenRepositoryConfig>, IDeepCloneable<Repository.Types.MavenRepositoryConfig>, IBufferMessage, IMessage

MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.

Inheritance

Object > Repository.Types.MavenRepositoryConfig

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

MavenRepositoryConfig()

public MavenRepositoryConfig()

MavenRepositoryConfig(Repository.Types.MavenRepositoryConfig)

public MavenRepositoryConfig(Repository.Types.MavenRepositoryConfig other)
Parameter
NameDescription
otherRepository.Types.MavenRepositoryConfig

Properties

AllowSnapshotOverwrites

public bool AllowSnapshotOverwrites { get; set; }

The repository with this flag will allow publishing the same snapshot versions.

Property Value
TypeDescription
Boolean

VersionPolicy

public Repository.Types.MavenRepositoryConfig.Types.VersionPolicy VersionPolicy { get; set; }

Version policy defines the versions that the registry will accept.

Property Value
TypeDescription
Repository.Types.MavenRepositoryConfig.Types.VersionPolicy