Class: Google::Apis::GkehubV1beta::PolicyControllerPolicyContentSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/representations.rb

Overview

PolicyContentSpec defines the user's desired content configuration on the cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyControllerPolicyContentSpec

Returns a new instance of PolicyControllerPolicyContentSpec.



2690
2691
2692
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2690

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bundlesHash<String,Google::Apis::GkehubV1beta::PolicyControllerBundleInstallSpec>

map of bundle name to BundleInstallSpec. The bundle name maps to the bundleName key in the policycontroller.gke.io/constraintData annotation on a constraint. Corresponds to the JSON property bundles



2688
2689
2690
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2688

def bundles
  @bundles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2695
2696
2697
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 2695

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