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 Google Cloud Build v1 API, detailing its use for uploading Npm packages to Artifact Registry upon successful build completion.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace, implemented in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1.dll\u003c/code\u003e assembly, and provides constructors for creating new instances and supports interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eNpmPackage\u003c/code\u003e has properties \u003ccode\u003ePackagePath\u003c/code\u003e that specifies the path to the \u003ccode\u003epackage.json\u003c/code\u003e file and \u003ccode\u003eRepository\u003c/code\u003e that defines the Artifact Registry repository location where the package will be uploaded.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation lists all available versions of the \u003ccode\u003eNpmPackage\u003c/code\u003e class, ranging from the latest version 2.15.0 down to the initial version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]