Class: Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::PolicyControllerBundleInstallSpec
- 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
BundleInstallSpec is the specification configuration for a single managed bundle.
Instance Attribute Summary collapse
-
#exempted_namespaces ⇒ Array<String>
the set of namespaces to be exempted from the bundle Corresponds to the JSON property
exemptedNamespaces. -
#management ⇒ String
Management specifies how the bundle will be managed by the controller.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyControllerBundleInstallSpec
constructor
A new instance of PolicyControllerBundleInstallSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyControllerBundleInstallSpec
Returns a new instance of PolicyControllerBundleInstallSpec.
3291 3292 3293 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3291 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exempted_namespaces ⇒ Array<String>
the set of namespaces to be exempted from the bundle
Corresponds to the JSON property exemptedNamespaces
3284 3285 3286 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3284 def exempted_namespaces @exempted_namespaces end |
#management ⇒ String
Management specifies how the bundle will be managed by the controller.
Corresponds to the JSON property management
3289 3290 3291 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3289 def management @management end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3296 3297 3298 3299 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 3296 def update!(**args) @exempted_namespaces = args[:exempted_namespaces] if args.key?(:exempted_namespaces) @management = args[:management] if args.key?(:management) end |