Class: Google::Apis::GkehubV1alpha::LocalControllerState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV1alpha::LocalControllerState
- 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
LocalControllerState contains the state of the local controller deployed in the cluster.
Instance Attribute Summary collapse
-
#description ⇒ String
Description represents the human readable description of the current state of the local PE controller Corresponds to the JSON property
description. -
#installation_state ⇒ String
InstallationState represents the state of deployment of the local PE controller in the cluster.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocalControllerState
constructor
A new instance of LocalControllerState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocalControllerState
Returns a new instance of LocalControllerState.
2484 2485 2486 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2484 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description represents the human readable description of the current state of
the local PE controller
Corresponds to the JSON property description
2476 2477 2478 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2476 def description @description end |
#installation_state ⇒ String
InstallationState represents the state of deployment of the local PE
controller in the cluster.
Corresponds to the JSON property installationState
2482 2483 2484 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2482 def installation_state @installation_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2489 2490 2491 2492 |
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 2489 def update!(**args) @description = args[:description] if args.key?(:description) @installation_state = args[:installation_state] if args.key?(:installation_state) end |