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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of the `NpmPackage` class in the Cloud Build v1 API is 2.15.0, with multiple historical versions available, ranging from 1.0.0 to 2.14.0."],["`Artifacts.Types.NpmPackage` is a class that represents an Npm package intended for upload to Artifact Registry following the successful completion of all build steps."],["The `NpmPackage` class has properties `PackagePath`, which specifies the location of the package.json, and `Repository`, which indicates the Artifact Registry repository path."],["The `NpmPackage` class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class also has 2 constructors available, one default and one that accepts another `NpmPackage` object as a parameter."]]],[]]