File tree Expand file tree Collapse file tree 2 files changed +68
-0
lines changed
Expand file tree Collapse file tree 2 files changed +68
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ class AddonsConfig extends \Google\Model
5353 protected $ rayOperatorConfigDataType = '' ;
5454 protected $ sliceControllerConfigType = SliceControllerConfig::class;
5555 protected $ sliceControllerConfigDataType = '' ;
56+ protected $ slurmOperatorConfigType = SlurmOperatorConfig::class;
57+ protected $ slurmOperatorConfigDataType = '' ;
5658 protected $ statefulHaConfigType = StatefulHAConfig::class;
5759 protected $ statefulHaConfigDataType = '' ;
5860
@@ -341,6 +343,22 @@ public function getSliceControllerConfig()
341343 {
342344 return $ this ->sliceControllerConfig ;
343345 }
346+ /**
347+ * Configuration for the Slurm Operator.
348+ *
349+ * @param SlurmOperatorConfig $slurmOperatorConfig
350+ */
351+ public function setSlurmOperatorConfig (SlurmOperatorConfig $ slurmOperatorConfig )
352+ {
353+ $ this ->slurmOperatorConfig = $ slurmOperatorConfig ;
354+ }
355+ /**
356+ * @return SlurmOperatorConfig
357+ */
358+ public function getSlurmOperatorConfig ()
359+ {
360+ return $ this ->slurmOperatorConfig ;
361+ }
344362 /**
345363 * Optional. Configuration for the StatefulHA add-on.
346364 *
Original file line number Diff line number Diff line change 1+ <?php
2+ /*
3+ * Copyright 2014 Google Inc.
4+ *
5+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+ * use this file except in compliance with the License. You may obtain a copy of
7+ * the License at
8+ *
9+ * http://www.apache.org/licenses/LICENSE-2.0
10+ *
11+ * Unless required by applicable law or agreed to in writing, software
12+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+ * License for the specific language governing permissions and limitations under
15+ * the License.
16+ */
17+
18+ namespace Google \Service \Container ;
19+
20+ class SlurmOperatorConfig extends \Google \Model
21+ {
22+ /**
23+ * When enabled, it runs a Slurm Operator that manages the set of compute pods
24+ * for Slurm Cluster.
25+ *
26+ * @var bool
27+ */
28+ public $ enabled ;
29+
30+ /**
31+ * When enabled, it runs a Slurm Operator that manages the set of compute pods
32+ * for Slurm Cluster.
33+ *
34+ * @param bool $enabled
35+ */
36+ public function setEnabled ($ enabled )
37+ {
38+ $ this ->enabled = $ enabled ;
39+ }
40+ /**
41+ * @return bool
42+ */
43+ public function getEnabled ()
44+ {
45+ return $ this ->enabled ;
46+ }
47+ }
48+
49+ // Adding a class alias for backwards compatibility with the previous class name.
50+ class_alias (SlurmOperatorConfig::class, 'Google_Service_Container_SlurmOperatorConfig ' );
You can’t perform that action at this time.
0 commit comments