Class: Google::Apis::ArtifactregistryV1::AptRepository
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ArtifactregistryV1::AptRepository
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/artifactregistry_v1/classes.rb,
lib/google/apis/artifactregistry_v1/representations.rb,
lib/google/apis/artifactregistry_v1/representations.rb 
Overview
Configuration for an Apt remote repository.
Instance Attribute Summary collapse
- 
  
    
      #custom_repository  ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Customer-specified publicly available remote repository.
 - 
  
    
      #public_repository  ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Publicly available Apt repositories constructed from a common repository base and a custom repository path.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AptRepository 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AptRepository.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ AptRepository
Returns a new instance of AptRepository.
      92 93 94  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 92 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#custom_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryCustomRepository
Customer-specified publicly available remote repository.
Corresponds to the JSON property customRepository
      84 85 86  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 84 def custom_repository @custom_repository end  | 
  
#public_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigAptRepositoryPublicRepository
Publicly available Apt repositories constructed from a common repository base
and a custom repository path.
Corresponds to the JSON property publicRepository
      90 91 92  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 90 def public_repository @public_repository end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      97 98 99 100  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 97 def update!(**args) @custom_repository = args[:custom_repository] if args.key?(:custom_repository) @public_repository = args[:public_repository] if args.key?(:public_repository) end  |