Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository

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 Yum remote repository.

Defined Under Namespace

Classes: CustomRepository, PublicRepository

Instance Attribute Summary collapse

Instance Attribute Details

#custom_repository::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::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:



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 426

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

  # Publicly available Yum repositories constructed from a common repository
  # base and a custom repository path.
  # @!attribute [rw] repository_base
  #   @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::PublicRepository::RepositoryBase]
  #     A common public repository base for Yum.
  # @!attribute [rw] repository_path
  #   @return [::String]
  #     A custom field to define a path to a specific repository from the base.
  class PublicRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Predefined list of publicly available repository bases for Yum.
    module RepositoryBase
      # Unspecified repository base.
      REPOSITORY_BASE_UNSPECIFIED = 0

      # CentOS.
      CENTOS = 1

      # CentOS Debug.
      CENTOS_DEBUG = 2

      # CentOS Vault.
      CENTOS_VAULT = 3

      # CentOS Stream.
      CENTOS_STREAM = 4

      # Rocky.
      ROCKY = 5

      # Fedora Extra Packages for Enterprise Linux (EPEL).
      EPEL = 6
    end
  end

  # 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.yum.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

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

Returns One of the publicly available Yum 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:



426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 426

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

  # Publicly available Yum repositories constructed from a common repository
  # base and a custom repository path.
  # @!attribute [rw] repository_base
  #   @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::YumRepository::PublicRepository::RepositoryBase]
  #     A common public repository base for Yum.
  # @!attribute [rw] repository_path
  #   @return [::String]
  #     A custom field to define a path to a specific repository from the base.
  class PublicRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Predefined list of publicly available repository bases for Yum.
    module RepositoryBase
      # Unspecified repository base.
      REPOSITORY_BASE_UNSPECIFIED = 0

      # CentOS.
      CENTOS = 1

      # CentOS Debug.
      CENTOS_DEBUG = 2

      # CentOS Vault.
      CENTOS_VAULT = 3

      # CentOS Stream.
      CENTOS_STREAM = 4

      # Rocky.
      ROCKY = 5

      # Fedora Extra Packages for Enterprise Linux (EPEL).
      EPEL = 6
    end
  end

  # 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.yum.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end