Class: Google::Apis::GkehubV2alpha::ConfigManagementHierarchyControllerDeploymentState
- Inherits:
-
Object
- Object
- Google::Apis::GkehubV2alpha::ConfigManagementHierarchyControllerDeploymentState
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkehub_v2alpha/classes.rb,
lib/google/apis/gkehub_v2alpha/representations.rb,
lib/google/apis/gkehub_v2alpha/representations.rb
Overview
Deployment state for Hierarchy Controller
Instance Attribute Summary collapse
-
#extension ⇒ String
The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1).
-
#hnc ⇒ String
The deployment state for open source HNC (e.g. v0.7.0-hc.0).
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfigManagementHierarchyControllerDeploymentState
constructor
A new instance of ConfigManagementHierarchyControllerDeploymentState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfigManagementHierarchyControllerDeploymentState
Returns a new instance of ConfigManagementHierarchyControllerDeploymentState.
819 820 821 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 819 def initialize(**args) update!(**args) end |
Instance Attribute Details
#extension ⇒ String
The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1).
Corresponds to the JSON property extension
812 813 814 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 812 def extension @extension end |
#hnc ⇒ String
The deployment state for open source HNC (e.g. v0.7.0-hc.0).
Corresponds to the JSON property hnc
817 818 819 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 817 def hnc @hnc end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
824 825 826 827 |
# File 'lib/google/apis/gkehub_v2alpha/classes.rb', line 824 def update!(**args) @extension = args[:extension] if args.key?(:extension) @hnc = args[:hnc] if args.key?(:hnc) end |