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 v1beta2 API class Repository.Types.MavenRepositoryConfig.
MavenRepositoryConfig is maven related repository details. Provides additional configuration details for repositories of the maven format type.
Implements
IMessageRepositoryTypesMavenRepositoryConfig, IEquatableRepositoryTypesMavenRepositoryConfig, IDeepCloneableRepositoryTypesMavenRepositoryConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Beta2Assembly
Google.Cloud.ArtifactRegistry.V1Beta2.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 |