Class: Google::Apis::GkehubV1beta::ConfigManagementHierarchyControllerDeploymentState

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gkehub_v1beta/classes.rb,
lib/google/apis/gkehub_v1beta/representations.rb,
lib/google/apis/gkehub_v1beta/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.



1407
1408
1409
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1407

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)


1400
1401
1402
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1400

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)


1405
1406
1407
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1405

def hnc
  @hnc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1412
1413
1414
1415
# File 'lib/google/apis/gkehub_v1beta/classes.rb', line 1412

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