public sealed class MavenRepositoryConfig : IMessage<Repository.Types.MavenRepositoryConfig>, IEquatable<Repository.Types.MavenRepositoryConfig>, IDeepCloneable<Repository.Types.MavenRepositoryConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1beta2 API class Repository.Types.MavenRepositoryConfig.
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
Implements
IMessage<Repository.Types.MavenRepositoryConfig>, IEquatable<Repository.Types.MavenRepositoryConfig>, IDeepCloneable<Repository.Types.MavenRepositoryConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Beta2Assembly
Google.Cloud.ArtifactRegistry.V1Beta2.dll
Constructors
MavenRepositoryConfig()
public MavenRepositoryConfig()
MavenRepositoryConfig(Repository.Types.MavenRepositoryConfig)
public MavenRepositoryConfig(Repository.Types.MavenRepositoryConfig other)
Parameter | |
---|---|
Name | Description |
other | Repository.Types.MavenRepositoryConfig |
Properties
AllowSnapshotOverwrites
public bool AllowSnapshotOverwrites { get; set; }
The repository with this flag will allow publishing the same snapshot versions.
Property Value | |
---|---|
Type | Description |
Boolean |
VersionPolicy
public Repository.Types.MavenRepositoryConfig.Types.VersionPolicy VersionPolicy { get; set; }
Version policy defines the versions that the registry will accept.
Property Value | |
---|---|
Type | Description |
Repository.Types.MavenRepositoryConfig.Types.VersionPolicy |