Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository

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

Overview

Configuration for a Python remote repository.

Defined Under Namespace

Modules: PublicRepository Classes: CustomRepository

Instance Attribute Summary collapse

Instance Attribute Details

#custom_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository::CustomRepository

Returns Customer-specified remote repository.



301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 301

class PythonRepository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Customer-specified publicly available remote repository.
  # @!attribute [rw] uri
  #   @return [::String]
  #     An http/https uri reference to the upstream remote repository, for ex:
  #     "https://my.python.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Predefined list of publicly available Python repositories like PyPI.org.
  module PublicRepository
    # Unspecified repository.
    PUBLIC_REPOSITORY_UNSPECIFIED = 0

    # PyPI.
    PYPI = 1
  end
end

#public_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::PythonRepository::PublicRepository

Returns One of the publicly available Python repositories supported by Artifact Registry.

Returns:



301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 301

class PythonRepository
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Customer-specified publicly available remote repository.
  # @!attribute [rw] uri
  #   @return [::String]
  #     An http/https uri reference to the upstream remote repository, for ex:
  #     "https://my.python.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Predefined list of publicly available Python repositories like PyPI.org.
  module PublicRepository
    # Unspecified repository.
    PUBLIC_REPOSITORY_UNSPECIFIED = 0

    # PyPI.
    PYPI = 1
  end
end