Class: Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ArtifactregistryV1::RemoteRepositoryConfig
 
 
- 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
Remote repository configuration.
Instance Attribute Summary collapse
- 
  
    
      #apt_repository  ⇒ Google::Apis::ArtifactregistryV1::AptRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for an Apt remote repository.
 - 
  
    
      #common_repository  ⇒ Google::Apis::ArtifactregistryV1::CommonRemoteRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Common remote repository settings type.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The description of the remote source.
 - 
  
    
      #disable_upstream_validation  ⇒ Boolean 
    
    
      (also: #disable_upstream_validation?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Input only.
 - 
  
    
      #docker_repository  ⇒ Google::Apis::ArtifactregistryV1::DockerRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for a Docker remote repository.
 - 
  
    
      #maven_repository  ⇒ Google::Apis::ArtifactregistryV1::MavenRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for a Maven remote repository.
 - 
  
    
      #npm_repository  ⇒ Google::Apis::ArtifactregistryV1::NpmRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for a Npm remote repository.
 - 
  
    
      #python_repository  ⇒ Google::Apis::ArtifactregistryV1::PythonRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for a Python remote repository.
 - 
  
    
      #upstream_credentials  ⇒ Google::Apis::ArtifactregistryV1::UpstreamCredentials 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The credentials to access the remote repository.
 - 
  
    
      #yum_repository  ⇒ Google::Apis::ArtifactregistryV1::YumRepository 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Configuration for a Yum remote repository.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RemoteRepositoryConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RemoteRepositoryConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RemoteRepositoryConfig
Returns a new instance of RemoteRepositoryConfig.
      2417 2418 2419  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2417 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#apt_repository ⇒ Google::Apis::ArtifactregistryV1::AptRepository
Configuration for an Apt remote repository.
Corresponds to the JSON property aptRepository
      2368 2369 2370  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2368 def apt_repository @apt_repository end  | 
  
#common_repository ⇒ Google::Apis::ArtifactregistryV1::CommonRemoteRepository
Common remote repository settings type.
Corresponds to the JSON property commonRepository
      2373 2374 2375  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2373 def common_repository @common_repository end  | 
  
#description ⇒ String
The description of the remote source.
Corresponds to the JSON property description
      2378 2379 2380  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2378 def description @description end  | 
  
#disable_upstream_validation ⇒ Boolean Also known as: disable_upstream_validation?
Input only. A create/update remote repo option to avoid making a HEAD/GET
request to validate a remote repo and any supplied upstream credentials.
Corresponds to the JSON property disableUpstreamValidation
      2384 2385 2386  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2384 def disable_upstream_validation @disable_upstream_validation end  | 
  
#docker_repository ⇒ Google::Apis::ArtifactregistryV1::DockerRepository
Configuration for a Docker remote repository.
Corresponds to the JSON property dockerRepository
      2390 2391 2392  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2390 def docker_repository @docker_repository end  | 
  
#maven_repository ⇒ Google::Apis::ArtifactregistryV1::MavenRepository
Configuration for a Maven remote repository.
Corresponds to the JSON property mavenRepository
      2395 2396 2397  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2395 def maven_repository @maven_repository end  | 
  
#npm_repository ⇒ Google::Apis::ArtifactregistryV1::NpmRepository
Configuration for a Npm remote repository.
Corresponds to the JSON property npmRepository
      2400 2401 2402  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2400 def npm_repository @npm_repository end  | 
  
#python_repository ⇒ Google::Apis::ArtifactregistryV1::PythonRepository
Configuration for a Python remote repository.
Corresponds to the JSON property pythonRepository
      2405 2406 2407  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2405 def python_repository @python_repository end  | 
  
#upstream_credentials ⇒ Google::Apis::ArtifactregistryV1::UpstreamCredentials
The credentials to access the remote repository.
Corresponds to the JSON property upstreamCredentials
      2410 2411 2412  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2410 def upstream_credentials @upstream_credentials end  | 
  
#yum_repository ⇒ Google::Apis::ArtifactregistryV1::YumRepository
Configuration for a Yum remote repository.
Corresponds to the JSON property yumRepository
      2415 2416 2417  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2415 def yum_repository @yum_repository end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433  | 
    
      # File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2422 def update!(**args) @apt_repository = args[:apt_repository] if args.key?(:apt_repository) @common_repository = args[:common_repository] if args.key?(:common_repository) @description = args[:description] if args.key?(:description) @disable_upstream_validation = args[:disable_upstream_validation] if args.key?(:disable_upstream_validation) @docker_repository = args[:docker_repository] if args.key?(:docker_repository) @maven_repository = args[:maven_repository] if args.key?(:maven_repository) @npm_repository = args[:npm_repository] if args.key?(:npm_repository) @python_repository = args[:python_repository] if args.key?(:python_repository) @upstream_credentials = args[:upstream_credentials] if args.key?(:upstream_credentials) @yum_repository = args[:yum_repository] if args.key?(:yum_repository) end  |