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 webpage provides reference documentation for the \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e class within the Google Cloud Build v1 API, specifically detailing its use for managing npm packages uploaded to Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.15.0, with a historical overview that includes versions ranging from 1.0.0 to 2.15.0 for this class, which is available within the context of version 2.7.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e 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, enabling it to function as a part of the broader Google Protobuf framework and detailing how to handle Npm packages.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e has two constructors, one default and one that accepts another \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e instance for easy duplication.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties that include \u003ccode\u003ePackagePath\u003c/code\u003e which is a string containing the path to the package.json file, and \u003ccode\u003eRepository\u003c/code\u003e, which specifies the Artifact Registry repository where the npm package will be uploaded.\u003c/p\u003e\n"]]],[],null,[]]