@@ -49,6 +49,18 @@ class ClusterConfig extends \Google\Collection
4949 * secondary worker nodes.
5050 */
5151 public const CLUSTER_TYPE_ZERO_SCALE = 'ZERO_SCALE ' ;
52+ /**
53+ * The engine is not specified. Works the same as ENGINE_DEFAULT.
54+ */
55+ public const ENGINE_ENGINE_UNSPECIFIED = 'ENGINE_UNSPECIFIED ' ;
56+ /**
57+ * The cluster is a default engine cluster.
58+ */
59+ public const ENGINE_DEFAULT = 'DEFAULT ' ;
60+ /**
61+ * The cluster is a lightning engine cluster.
62+ */
63+ public const ENGINE_LIGHTNING = 'LIGHTNING ' ;
5264 protected $ collection_key = 'initializationActions ' ;
5365 protected $ autoscalingConfigType = AutoscalingConfig::class;
5466 protected $ autoscalingConfigDataType = '' ;
@@ -97,6 +109,12 @@ class ClusterConfig extends \Google\Collection
97109 protected $ encryptionConfigDataType = '' ;
98110 protected $ endpointConfigType = EndpointConfig::class;
99111 protected $ endpointConfigDataType = '' ;
112+ /**
113+ * Optional. The cluster engine.
114+ *
115+ * @var string
116+ */
117+ public $ engine ;
100118 protected $ gceClusterConfigType = GceClusterConfig::class;
101119 protected $ gceClusterConfigDataType = '' ;
102120 protected $ gkeClusterConfigType = GkeClusterConfig::class;
@@ -298,6 +316,24 @@ public function getEndpointConfig()
298316 {
299317 return $ this ->endpointConfig ;
300318 }
319+ /**
320+ * Optional. The cluster engine.
321+ *
322+ * Accepted values: ENGINE_UNSPECIFIED, DEFAULT, LIGHTNING
323+ *
324+ * @param self::ENGINE_* $engine
325+ */
326+ public function setEngine ($ engine )
327+ {
328+ $ this ->engine = $ engine ;
329+ }
330+ /**
331+ * @return self::ENGINE_*
332+ */
333+ public function getEngine ()
334+ {
335+ return $ this ->engine ;
336+ }
301337 /**
302338 * Optional. The shared Compute Engine config settings for all instances in a
303339 * cluster.
0 commit comments