Class: Google::Apis::ArtifactregistryV1::VirtualRepositoryConfig

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

Virtual repository configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_policiesArray<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