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
-
#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.
87 88 89 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 87 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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
85 86 87 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 85 def public_repository @public_repository end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
92 93 94 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 92 def update!(**args) @public_repository = args[:public_repository] if args.key?(:public_repository) end |