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 the .NET environment, detailing its role in uploading npm packages to Artifact Registry.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eArtifacts.Types.NpmPackage\u003c/code\u003e class is implemented using various interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e within the \u003ccode\u003eGoogle.Protobuf\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's inheritance from the base \u003ccode\u003eobject\u003c/code\u003e class, highlighting inherited methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNpmPackage\u003c/code\u003e class contains properties such as \u003ccode\u003ePackagePath\u003c/code\u003e which is a \u003ccode\u003estring\u003c/code\u003e representing the path to the package.json, and \u003ccode\u003eRepository\u003c/code\u003e also a \u003ccode\u003estring\u003c/code\u003e that specifies the Artifact Registry repository location.\u003c/p\u003e\n"],["\u003cp\u003eThe information available covers versions ranging from 1.0.0 up to the latest 2.15.0, which are all under the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],[],null,[]]