Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::Artifacts::PythonPackage.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#paths
def paths() -> ::Array<::String>
-
(::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.
#paths=
def paths=(value) -> ::Array<::String>
-
value (::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.
-
(::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.
#repository
def repository() -> ::String
-
(::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.
#repository=
def repository=(value) -> ::String
-
value (::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.
-
(::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.