Class: Google::Cloud::ArtifactRegistry::V1::PythonPackage

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

Overview

PythonPackage represents a python artifact.

Instance Attribute Summary collapse

Instance Attribute Details

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the package was created.

Returns:



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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

#name::String

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



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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

#package_name::String

Returns Package for the artifact.

Returns:

  • (::String)

    Package for the artifact.



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. Time the package was updated.

Returns:



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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

#uri::String

Returns 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



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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

#version::String

Returns Version of this package.

Returns:

  • (::String)

    Version of this package.



293
294
295
296
# File 'proto_docs/google/devtools/artifactregistry/v1/artifact.rb', line 293

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