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\GKEHub;
|
---|
19 |
|
---|
20 | class ConfigManagementState extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $binauthzStateType = ConfigManagementBinauthzState::class;
|
---|
23 | protected $binauthzStateDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $clusterName;
|
---|
28 | protected $configSyncStateType = ConfigManagementConfigSyncState::class;
|
---|
29 | protected $configSyncStateDataType = '';
|
---|
30 | protected $hierarchyControllerStateType = ConfigManagementHierarchyControllerState::class;
|
---|
31 | protected $hierarchyControllerStateDataType = '';
|
---|
32 | protected $membershipSpecType = ConfigManagementSpec::class;
|
---|
33 | protected $membershipSpecDataType = '';
|
---|
34 | protected $operatorStateType = ConfigManagementOperatorState::class;
|
---|
35 | protected $operatorStateDataType = '';
|
---|
36 | protected $policyControllerStateType = ConfigManagementPolicyControllerState::class;
|
---|
37 | protected $policyControllerStateDataType = '';
|
---|
38 |
|
---|
39 | /**
|
---|
40 | * @param ConfigManagementBinauthzState
|
---|
41 | */
|
---|
42 | public function setBinauthzState(ConfigManagementBinauthzState $binauthzState)
|
---|
43 | {
|
---|
44 | $this->binauthzState = $binauthzState;
|
---|
45 | }
|
---|
46 | /**
|
---|
47 | * @return ConfigManagementBinauthzState
|
---|
48 | */
|
---|
49 | public function getBinauthzState()
|
---|
50 | {
|
---|
51 | return $this->binauthzState;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * @param string
|
---|
55 | */
|
---|
56 | public function setClusterName($clusterName)
|
---|
57 | {
|
---|
58 | $this->clusterName = $clusterName;
|
---|
59 | }
|
---|
60 | /**
|
---|
61 | * @return string
|
---|
62 | */
|
---|
63 | public function getClusterName()
|
---|
64 | {
|
---|
65 | return $this->clusterName;
|
---|
66 | }
|
---|
67 | /**
|
---|
68 | * @param ConfigManagementConfigSyncState
|
---|
69 | */
|
---|
70 | public function setConfigSyncState(ConfigManagementConfigSyncState $configSyncState)
|
---|
71 | {
|
---|
72 | $this->configSyncState = $configSyncState;
|
---|
73 | }
|
---|
74 | /**
|
---|
75 | * @return ConfigManagementConfigSyncState
|
---|
76 | */
|
---|
77 | public function getConfigSyncState()
|
---|
78 | {
|
---|
79 | return $this->configSyncState;
|
---|
80 | }
|
---|
81 | /**
|
---|
82 | * @param ConfigManagementHierarchyControllerState
|
---|
83 | */
|
---|
84 | public function setHierarchyControllerState(ConfigManagementHierarchyControllerState $hierarchyControllerState)
|
---|
85 | {
|
---|
86 | $this->hierarchyControllerState = $hierarchyControllerState;
|
---|
87 | }
|
---|
88 | /**
|
---|
89 | * @return ConfigManagementHierarchyControllerState
|
---|
90 | */
|
---|
91 | public function getHierarchyControllerState()
|
---|
92 | {
|
---|
93 | return $this->hierarchyControllerState;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @param ConfigManagementSpec
|
---|
97 | */
|
---|
98 | public function setMembershipSpec(ConfigManagementSpec $membershipSpec)
|
---|
99 | {
|
---|
100 | $this->membershipSpec = $membershipSpec;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @return ConfigManagementSpec
|
---|
104 | */
|
---|
105 | public function getMembershipSpec()
|
---|
106 | {
|
---|
107 | return $this->membershipSpec;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @param ConfigManagementOperatorState
|
---|
111 | */
|
---|
112 | public function setOperatorState(ConfigManagementOperatorState $operatorState)
|
---|
113 | {
|
---|
114 | $this->operatorState = $operatorState;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @return ConfigManagementOperatorState
|
---|
118 | */
|
---|
119 | public function getOperatorState()
|
---|
120 | {
|
---|
121 | return $this->operatorState;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @param ConfigManagementPolicyControllerState
|
---|
125 | */
|
---|
126 | public function setPolicyControllerState(ConfigManagementPolicyControllerState $policyControllerState)
|
---|
127 | {
|
---|
128 | $this->policyControllerState = $policyControllerState;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @return ConfigManagementPolicyControllerState
|
---|
132 | */
|
---|
133 | public function getPolicyControllerState()
|
---|
134 | {
|
---|
135 | return $this->policyControllerState;
|
---|
136 | }
|
---|
137 | }
|
---|
138 |
|
---|
139 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
140 | class_alias(ConfigManagementState::class, 'Google_Service_GKEHub_ConfigManagementState');
|
---|