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 latest version being 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class is used to define an npm package that will be uploaded to the Artifact Registry upon the successful completion of all build steps.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, \u003ccode\u003eNpmPackage()\u003c/code\u003e and \u003ccode\u003eNpmPackage(Artifacts.Types.NpmPackage other)\u003c/code\u003e, and contains two properties: \u003ccode\u003ePackagePath\u003c/code\u003e (the path to package.json) and \u003ccode\u003eRepository\u003c/code\u003e (the Artifact Registry repository location).\u003c/p\u003e\n"],["\u003cp\u003eThis reference material provides a breakdown of all versions of the \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e class, ranging from 1.0.0 all the way up to the latest version.\u003c/p\u003e\n"]]],[],null,[]]