Class: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig
- Inherits:
-
Object
- Object
- Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig
- 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
Virtual repository configuration.
Instance Attribute Summary collapse
-
#upstream_policies ⇒ Array<Google::Apis::ArtifactregistryV1::UpstreamPolicy>
Policies that configure the upstream artifacts distributed by the Virtual Repository.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VirtualRepositoryConfig
constructor
A new instance of VirtualRepositoryConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VirtualRepositoryConfig
Returns a new instance of VirtualRepositoryConfig.
3323 3324 3325 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3323 def initialize(**args) update!(**args) end |
Instance Attribute Details
#upstream_policies ⇒ Array<Google::Apis::ArtifactregistryV1::UpstreamPolicy>
Policies that configure the upstream artifacts distributed by the Virtual
Repository. Upstream policies cannot be set on a standard repository.
Corresponds to the JSON property upstreamPolicies
3321 3322 3323 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3321 def upstream_policies @upstream_policies end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3328 3329 3330 |
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3328 def update!(**args) @upstream_policies = args[:upstream_policies] if args.key?(:upstream_policies) end |