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.

Note: The following fields are mutually exclusive: custom_repository, public_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 335

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.

Note: The following fields are mutually exclusive: public_repository, custom_repository. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns:



335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 335

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