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 Cloud Build v1 API, specifically for version 2.9.0 and other versions ranging from 1.0.0 to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e represents an Npm package to be uploaded to Artifact Registry after all build steps are successfully completed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class offers properties like \u003ccode\u003ePackagePath\u003c/code\u003e, which indicates the path to the package.json file, and \u003ccode\u003eRepository\u003c/code\u003e, which specifies the Artifact Registry repository location.\u003c/p\u003e\n"],["\u003cp\u003eThe page details that the \u003ccode\u003eNpmPackage\u003c/code\u003e class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes constructors for the \u003ccode\u003eNpmPackage\u003c/code\u003e class and a list of inherited members, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]