| Package | Description |
|---|---|
| com.google.api.services.cloudbuild.v1.model |
| Modifier and Type | Method and Description |
|---|---|
NpmPackage |
NpmPackage.clone() |
NpmPackage |
NpmPackage.set(String fieldName,
Object value) |
NpmPackage |
NpmPackage.setPackagePath(String packagePath)
Path to the package.json.
|
NpmPackage |
NpmPackage.setRepository(String repository)
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<NpmPackage> |
Artifacts.getNpmPackages()
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all
build steps.
|
| Modifier and Type | Method and Description |
|---|---|
Artifacts |
Artifacts.setNpmPackages(List<NpmPackage> npmPackages)
A list of npm packages to be uploaded to Artifact Registry upon successful completion of all
build steps.
|
Copyright © 2011–2024 Google. All rights reserved.