Class: Google::Apis::ArtifactregistryV1::YumRepository
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::YumRepository
- 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 more...
Overview
Configuration for a Yum remote repository.
Instance Attribute Summary collapse
-
#custom_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
Customer-specified publicly available remote repository.
-
#public_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
Publicly available Yum repositories constructed from a common repository base and a custom repository path.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YumRepository
constructor
A new instance of YumRepository.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YumRepository
Returns a new instance of YumRepository.
3104 3105 3106 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3104 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryCustomRepository
Customer-specified publicly available remote repository.
Corresponds to the JSON property customRepository
3096 3097 3098 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3096 def custom_repository @custom_repository end |
#public_repository ⇒ Google::Apis::ArtifactregistryV1::GoogleDevtoolsArtifactregistryV1RemoteRepositoryConfigYumRepositoryPublicRepository
Publicly available Yum repositories constructed from a common repository base
and a custom repository path.
Corresponds to the JSON property publicRepository
3102 3103 3104 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3102 def public_repository @public_repository end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3109 3110 3111 3112 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3109 def update!(**args) @custom_repository = args[:custom_repository] if args.key?(:custom_repository) @public_repository = args[:public_repository] if args.key?(:public_repository) end |