Class: Google::Apis::ArtifactregistryV1::YumRepository

Inherits:
Object
  • Object
show all
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 a Yum remote repository.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YumRepository

Returns a new instance of YumRepository.



2798
2799
2800
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2798

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#public_repositoryGoogle::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository

Publicly available Yum repositories constructed from a common repository base and a custom repository path. Corresponds to the JSON property publicRepository



2796
2797
2798
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2796

def public_repository
  @public_repository
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2803
2804
2805
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 2803

def update!(**args)
  @public_repository = args[:public_repository] if args.key?(:public_repository)
end