Class: Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository

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 an Apt remote repository.

Defined Under Namespace

Classes: CustomRepository, PublicRepository

Instance Attribute Summary collapse

Instance Attribute Details

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



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 371

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

  # Publicly available Apt repositories constructed from a common repository
  # base and a custom repository path.
  # @!attribute [rw] repository_base
  #   @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::PublicRepository::RepositoryBase]
  #     A common public repository base for Apt.
  # @!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 Apt.
    module RepositoryBase
      # Unspecified repository base.
      REPOSITORY_BASE_UNSPECIFIED = 0

      # Debian.
      DEBIAN = 1

      # Ubuntu LTS/Pro.
      UBUNTU = 2

      # Archived Debian.
      DEBIAN_SNAPSHOT = 3
    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.apt.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

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

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



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
# File 'proto_docs/google/devtools/artifactregistry/v1/repository.rb', line 371

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

  # Publicly available Apt repositories constructed from a common repository
  # base and a custom repository path.
  # @!attribute [rw] repository_base
  #   @return [::Google::Cloud::ArtifactRegistry::V1::RemoteRepositoryConfig::AptRepository::PublicRepository::RepositoryBase]
  #     A common public repository base for Apt.
  # @!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 Apt.
    module RepositoryBase
      # Unspecified repository base.
      REPOSITORY_BASE_UNSPECIFIED = 0

      # Debian.
      DEBIAN = 1

      # Ubuntu LTS/Pro.
      UBUNTU = 2

      # Archived Debian.
      DEBIAN_SNAPSHOT = 3
    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.apt.registry/".
  class CustomRepository
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end