Artifact Registry v1 API - Class RemoteRepositoryConfig.Types.NpmRepository (2.5.0)

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.

Inheritance

object > RemoteRepositoryConfig.Types.NpmRepository

Namespace

Google.Cloud.ArtifactRegistry.V1

Assembly

Google.Cloud.ArtifactRegistry.V1.dll

Constructors

NpmRepository()

public NpmRepository()

NpmRepository(NpmRepository)

public NpmRepository(RemoteRepositoryConfig.Types.NpmRepository other)
Parameter
NameDescription
otherRemoteRepositoryConfigTypesNpmRepository

Properties

HasPublicRepository

public bool HasPublicRepository { get; }

Gets whether the "public_repository" field is set

Property Value
TypeDescription
bool

PublicRepository

public RemoteRepositoryConfig.Types.NpmRepository.Types.PublicRepository PublicRepository { get; set; }

One of the publicly available Npm repositories supported by Artifact Registry.

Property Value
TypeDescription
RemoteRepositoryConfigTypesNpmRepositoryTypesPublicRepository

UpstreamCase

public RemoteRepositoryConfig.Types.NpmRepository.UpstreamOneofCase UpstreamCase { get; }
Property Value
TypeDescription
RemoteRepositoryConfigTypesNpmRepositoryUpstreamOneofCase