Class: Google::Apis::GkehubV1alpha::ConfigManagementHierarchyControllerDeploymentState

Inherits:
Object
  • Object
show all
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

Deployment state for Hierarchy Controller

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementHierarchyControllerDeploymentState

Returns a new instance of ConfigManagementHierarchyControllerDeploymentState.



1808
1809
1810
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1808

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#extensionString

The deployment state for Hierarchy Controller extension (e.g. v0.7.0-hc.1) Corresponds to the JSON property extension

Returns:

  • (String)


1801
1802
1803
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1801

def extension
  @extension
end

#hncString

The deployment state for open source HNC (e.g. v0.7.0-hc.0) Corresponds to the JSON property hnc

Returns:

  • (String)


1806
1807
1808
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1806

def hnc
  @hnc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1813
1814
1815
1816
# File 'lib/google/apis/gkehub_v1alpha/classes.rb', line 1813

def update!(**args)
  @extension = args[:extension] if args.key?(:extension)
  @hnc = args[:hnc] if args.key?(:hnc)
end