Artifact Registry v1 API - Class Repository.Types.MavenRepositoryConfig (2.6.0)

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

Reference documentation and code samples for the Artifact Registry v1 API class Repository.Types.MavenRepositoryConfig.

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(MavenRepositoryConfig)

public MavenRepositoryConfig(Repository.Types.MavenRepositoryConfig other)
Parameter
Name Description
other RepositoryTypesMavenRepositoryConfig

Properties

AllowSnapshotOverwrites

public bool AllowSnapshotOverwrites { get; set; }

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

Property Value
Type Description
bool

VersionPolicy

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

Version policy defines the versions that the registry will accept.

Property Value
Type Description
RepositoryTypesMavenRepositoryConfigTypesVersionPolicy