Cloud Build v1 API - Class Artifacts.Types.NpmPackage (2.10.0)

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.

Inheritance

object > Artifacts.Types.NpmPackage

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

NpmPackage()

public NpmPackage()

NpmPackage(NpmPackage)

public NpmPackage(Artifacts.Types.NpmPackage other)
Parameter
Name Description
other ArtifactsTypesNpmPackage

Properties

PackagePath

public string PackagePath { get; set; }

Path to the package.json. e.g. workspace/path/to/package

Property Value
Type Description
string

Repository

public string Repository { get; set; }

Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"

Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.

Property Value
Type Description
string