public sealed class NpmPackage : IMessage<NpmPackage>, IEquatable<NpmPackage>, IDeepCloneable<NpmPackage>, IBufferMessage, IMessage
Reference documentation and code samples for the Artifact Registry v1 API class NpmPackage.
NpmPackage represents an npm artifact.
Implements
IMessageNpmPackage, IEquatableNpmPackage, IDeepCloneableNpmPackage, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.ArtifactRegistryV1Assembly
Google.Cloud.ArtifactRegistry.V1.dll
Constructors
NpmPackage()
public NpmPackage()
NpmPackage(NpmPackage)
public NpmPackage(NpmPackage other)
Name | Description |
other | NpmPackage |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Time the package was created.
Type | Description |
Timestamp |
Name
public string Name { get; set; }
Required. registry_location, project_id, repository_name and npm_package forms a unique package For example, "projects/test-project/locations/us-west4/repositories/test-repo/npmPackages/ npm_test:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and npm_test:1.0.0" is the npm package.
Type | Description |
string |
NpmPackageName
public NpmPackageName NpmPackageName { get; set; }
NpmPackageName-typed view over the Name resource name property.
Type | Description |
NpmPackageName |
PackageName
public string PackageName { get; set; }
Package for the artifact.
Type | Description |
string |
Tags
public RepeatedField<string> Tags { get; }
Tags attached to this package.
Type | Description |
RepeatedFieldstring |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Time the package was updated.
Type | Description |
Timestamp |
Version
public string Version { get; set; }
Version of this package.
Type | Description |
string |