Class: Google::Cloud::Build::V1::Artifacts::PythonPackage

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

Overview

Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.

Instance Attribute Summary collapse

Instance Attribute Details

#paths::Array<::String>

Returns Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.

Returns:

  • (::Array<::String>)

    Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.



881
882
883
884
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 881

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

#repository::String

Returns Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"

Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.

Returns:

  • (::String)

    Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"

    Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.



881
882
883
884
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 881

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