Class: Google::Apis::GkehubV1::AnthosVmMembershipState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1::AnthosVmMembershipState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb
Overview
AnthosVMFeatureState contains the state of the AnthosVM feature. It represents the actual state in the cluster, while the AnthosVMMembershipSpec represents the desired state.
Instance Attribute Summary collapse
-
#local_controller_state ⇒ Google::Apis::GkehubV1::LocalControllerState
LocalControllerState contains the state of the local controller deployed in the cluster.
-
#subfeature_state ⇒ Array<Google::Apis::GkehubV1::AnthosVmSubFeatureState>
List of AnthosVM subfeature states Corresponds to the JSON property
subfeatureState.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnthosVmMembershipState
constructor
A new instance of AnthosVmMembershipState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnthosVmMembershipState
Returns a new instance of AnthosVmMembershipState.
62 63 64 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 62 def initialize(**args) update!(**args) end |
Instance Attribute Details
#local_controller_state ⇒ Google::Apis::GkehubV1::LocalControllerState
LocalControllerState contains the state of the local controller deployed in
the cluster.
Corresponds to the JSON property localControllerState
55 56 57 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 55 def local_controller_state @local_controller_state end |
#subfeature_state ⇒ Array<Google::Apis::GkehubV1::AnthosVmSubFeatureState>
List of AnthosVM subfeature states
Corresponds to the JSON property subfeatureState
60 61 62 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 60 def subfeature_state @subfeature_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
67 68 69 70 |
# File 'lib/google/apis/gkehub_v1/classes.rb', line 67 def update!(**args) @local_controller_state = args[:local_controller_state] if args.key?(:local_controller_state) @subfeature_state = args[:subfeature_state] if args.key?(:subfeature_state) end |