public sealed class Artifacts.Types.NpmPackage : IMessage<Artifacts.Types.NpmPackage>, IEquatable<Artifacts.Types.NpmPackage>, IDeepCloneable<Artifacts.Types.NpmPackage>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class Artifacts.Types.NpmPackage.
Npm package to upload to Artifact Registry upon successful completion
of all build steps.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e class within the Cloud Build v1 API, specifically for the .NET environment, with the current version being 2.10.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class represents an npm package that will be uploaded to Artifact Registry upon successful completion of all build steps.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, each pertaining to handling the NPM package.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class has properties \u003ccode\u003ePackagePath\u003c/code\u003e (path to the package.json) and \u003ccode\u003eRepository\u003c/code\u003e (Artifact Registry repository location), that will be used when uploading the NPM package.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes links to previous versions of the \u003ccode\u003eNpmPackage\u003c/code\u003e documentation all the way back to version 1.0.0, and as current as 2.15.0, indicating the history of development of this class.\u003c/p\u003e\n"]]],[],null,[]]