Artifact Registry v1 API - Class Repository.Types.MavenRepositoryConfig (2.2.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

GoogleCloudGoogle.Cloud.ArtifactRegistryV1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

MavenRepositoryConfig()

public MavenRepositoryConfig()

MavenRepositoryConfig(MavenRepositoryConfig)

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

Properties

AllowSnapshotOverwrites

public bool AllowSnapshotOverwrites { get; set; }

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

Property Value
TypeDescription
bool

VersionPolicy

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

Version policy defines the versions that the registry will accept.

Property Value
TypeDescription
RepositoryTypesMavenRepositoryConfigTypesVersionPolicy