public static interface Artifacts.NpmPackageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getPackagePath()
public abstract String getPackagePath()Optional. Path to the package.json. e.g. workspace/path/to/package
Only one of archive or package_path can be specified.
string package_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The packagePath. |
getPackagePathBytes()
public abstract ByteString getPackagePathBytes()Optional. Path to the package.json. e.g. workspace/path/to/package
Only one of archive or package_path can be specified.
string package_path = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for packagePath. |
getRepository()
public abstract String getRepository()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.
string repository = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The repository. |
getRepositoryBytes()
public abstract ByteString getRepositoryBytes()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.
string repository = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repository. |