Class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerDeploymentState

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

Deployment state for Hierarchy Controller

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfigManagementHierarchyControllerDeploymentState

Returns a new instance of ConfigManagementHierarchyControllerDeploymentState.



1283
1284
1285
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1283

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)


1276
1277
1278
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1276

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)


1281
1282
1283
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1281

def hnc
  @hnc
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1288
1289
1290
1291
# File 'lib/google/apis/gkehub_v1/classes.rb', line 1288

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