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 Optional. Path to the package.json. e.g. workspace/path/to/package

Only one of archive or package_path can be specified.

Returns:

  • (::String)

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

    Only one of archive or package_path can be specified.



1140
1141
1142
1143
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1140

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.



1140
1141
1142
1143
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 1140

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