Class: Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::PolicyControllerPolicyContentSpec
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1alpha/classes.rb,
lib/google/apis/gkehub_v1alpha/representations.rb,
lib/google/apis/gkehub_v1alpha/representations.rb
Overview
PolicyContentSpec defines the user's desired content configuration on the cluster.
Instance Attribute Summary collapse
-
#bundles ⇒ Hash<String,Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec>
map of bundle name to BundleInstallSpec.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyControllerPolicyContentSpec
constructor
A new instance of PolicyControllerPolicyContentSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyControllerPolicyContentSpec
Returns a new instance of PolicyControllerPolicyContentSpec.
3565 3566 3567 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bundles ⇒ Hash<String,Google::Apis::GkehubV1alpha::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
3563 3564 3565 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3563 def bundles @bundles end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3570 3571 3572 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3570 def update!(**args) @bundles = args[:bundles] if args.key?(:bundles) end |