Class: Google::Cloud::Build::V1::Artifacts::NpmPackage

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#package_path::String

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

Returns:

  • (::String)

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



899
900
901
902
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 899

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#repository::String

Returns 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.

Returns:

  • (::String)

    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.



899
900
901
902
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 899

class NpmPackage
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end