View Source GoogleApi.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage (google_api_container_analysis v0.28.0)

Npm package to upload to Artifact Registry upon successful completion of all build steps.

Attributes

  • packagePath (type: String.t, default: nil) - Path to the package.json. e.g. workspace/path/to/package
  • repository (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContainerAnalysis.V1beta1.Model.ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage{
    packagePath: String.t() | nil,
    repository: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.