Class: Google::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::NamespaceActuationFeatureSpec
- 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
An empty spec for actuation feature. This is required since Feature proto requires a spec.
Instance Attribute Summary collapse
-
#actuation_mode ⇒ String
actuation_mode controls the behavior of the controller Corresponds to the JSON property
actuationMode
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NamespaceActuationFeatureSpec
constructor
A new instance of NamespaceActuationFeatureSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NamespaceActuationFeatureSpec
Returns a new instance of NamespaceActuationFeatureSpec.
4744 4745 4746 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actuation_mode ⇒ String
actuation_mode controls the behavior of the controller
Corresponds to the JSON property actuationMode
4742 4743 4744 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4742 def actuation_mode @actuation_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4749 4750 4751 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 4749 def update!(**args) @actuation_mode = args[:actuation_mode] if args.key?(:actuation_mode) end |