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.



3329
3330
3331
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3329

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



3327
3328
3329
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3327

def upstream_policies
  @upstream_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3334
3335
3336
# File 'lib/google/apis/artifactregistry_v1/classes.rb', line 3334

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