Artifact Registry v1 API - Class RemoteRepositoryConfig.Types.NpmRepository (2.9.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
Name Description
other RemoteRepositoryConfigTypesNpmRepository

Properties

CustomRepository

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

Customer-specified remote repository.

Property Value
Type Description
RemoteRepositoryConfigTypesNpmRepositoryTypesCustomRepository

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