Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::PythonPackage (v1.0.1)

Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::PythonPackage.

PythonPackage represents a python artifact.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. registry_location, project_id, repository_name and python_package forms a unique package name:projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. registry_location, project_id, repository_name and python_package forms a unique package name:projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.
Returns
  • (::String) — Required. registry_location, project_id, repository_name and python_package forms a unique package name:projects/<project_id>/locations/<location>/repository/<repository_name>/pythonPackages/<python_package>. For example, "projects/test-project/locations/us-west4/repositories/test-repo/pythonPackages/ python_package:1.0.0", where "us-west4" is the registry_location, "test-project" is the project_id, "test-repo" is the repository_name and python_package:1.0.0" is the python package.

#package_name

def package_name() -> ::String
Returns
  • (::String) — Package for the artifact.

#package_name=

def package_name=(value) -> ::String
Parameter
  • value (::String) — Package for the artifact.
Returns
  • (::String) — Package for the artifact.

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#uri

def uri() -> ::String
Returns
  • (::String) — Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) — Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz
Returns
  • (::String) — Required. URL to access the package. Example: us-west4-python.pkg.dev/test-project/test-repo/python_package/file-name-1.0.0.tar.gz

#version

def version() -> ::String
Returns
  • (::String) — Version of this package.

#version=

def version=(value) -> ::String
Parameter
  • value (::String) — Version of this package.
Returns
  • (::String) — Version of this package.