Cloud Build V1 API - Class Google::Cloud::Build::V1::Artifacts::PythonPackage (v0.27.0)

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

#paths=

def paths=(value) -> ::Array<::String>
Parameter
  • 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.
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.

#repository

def repository() -> ::String
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.

#repository=

def repository=(value) -> ::String
Parameter
  • 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.

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.