public sealed class RemoteRepositoryConfig.Types.NpmRepository : IMessage<RemoteRepositoryConfig.Types.NpmRepository>, IEquatable<RemoteRepositoryConfig.Types.NpmRepository>, IDeepCloneable<RemoteRepositoryConfig.Types.NpmRepository>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class RemoteRepositoryConfig.Types.NpmRepository.
Configuration for a Npm remote repository.
Implements
IMessageRemoteRepositoryConfigTypesNpmRepository, IEquatableRemoteRepositoryConfigTypesNpmRepository, IDeepCloneableRemoteRepositoryConfigTypesNpmRepository, IBufferMessage, IMessageNamespace
Google.Cloud.ArtifactRegistry.V1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
NpmRepository()
public NpmRepository()
NpmRepository(NpmRepository)
public NpmRepository(RemoteRepositoryConfig.Types.NpmRepository other)
Parameter | |
---|---|
Name | Description |
other |
RemoteRepositoryConfigTypesNpmRepository |
Properties
HasPublicRepository
public bool HasPublicRepository { get; }
Gets whether the "public_repository" field is set
Property Value | |
---|---|
Type | Description |
bool |
PublicRepository
public RemoteRepositoryConfig.Types.NpmRepository.Types.PublicRepository PublicRepository { get; set; }
One of the publicly available Npm repositories supported by Artifact Registry.
Property Value | |
---|---|
Type | Description |
RemoteRepositoryConfigTypesNpmRepositoryTypesPublicRepository |
UpstreamCase
public RemoteRepositoryConfig.Types.NpmRepository.UpstreamOneofCase UpstreamCase { get; }
Property Value | |
---|---|
Type | Description |
RemoteRepositoryConfigTypesNpmRepositoryUpstreamOneofCase |