source: vendor/google/apiclient-services/src/GKEHub/Feature.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload project files

  • Property mode set to 100644
File size: 5.4 KB
Line 
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
18namespace Google\Service\GKEHub;
19
20class Feature extends \Google\Collection
21{
22 protected $collection_key = 'unreachable';
23 /**
24 * @var string
25 */
26 public $createTime;
27 /**
28 * @var string
29 */
30 public $deleteTime;
31 protected $fleetDefaultMemberConfigType = CommonFleetDefaultMemberConfigSpec::class;
32 protected $fleetDefaultMemberConfigDataType = '';
33 /**
34 * @var string[]
35 */
36 public $labels;
37 protected $membershipSpecsType = MembershipFeatureSpec::class;
38 protected $membershipSpecsDataType = 'map';
39 protected $membershipStatesType = MembershipFeatureState::class;
40 protected $membershipStatesDataType = 'map';
41 /**
42 * @var string
43 */
44 public $name;
45 protected $resourceStateType = FeatureResourceState::class;
46 protected $resourceStateDataType = '';
47 protected $scopeSpecsType = ScopeFeatureSpec::class;
48 protected $scopeSpecsDataType = 'map';
49 protected $scopeStatesType = ScopeFeatureState::class;
50 protected $scopeStatesDataType = 'map';
51 protected $specType = CommonFeatureSpec::class;
52 protected $specDataType = '';
53 protected $stateType = CommonFeatureState::class;
54 protected $stateDataType = '';
55 /**
56 * @var string[]
57 */
58 public $unreachable;
59 /**
60 * @var string
61 */
62 public $updateTime;
63
64 /**
65 * @param string
66 */
67 public function setCreateTime($createTime)
68 {
69 $this->createTime = $createTime;
70 }
71 /**
72 * @return string
73 */
74 public function getCreateTime()
75 {
76 return $this->createTime;
77 }
78 /**
79 * @param string
80 */
81 public function setDeleteTime($deleteTime)
82 {
83 $this->deleteTime = $deleteTime;
84 }
85 /**
86 * @return string
87 */
88 public function getDeleteTime()
89 {
90 return $this->deleteTime;
91 }
92 /**
93 * @param CommonFleetDefaultMemberConfigSpec
94 */
95 public function setFleetDefaultMemberConfig(CommonFleetDefaultMemberConfigSpec $fleetDefaultMemberConfig)
96 {
97 $this->fleetDefaultMemberConfig = $fleetDefaultMemberConfig;
98 }
99 /**
100 * @return CommonFleetDefaultMemberConfigSpec
101 */
102 public function getFleetDefaultMemberConfig()
103 {
104 return $this->fleetDefaultMemberConfig;
105 }
106 /**
107 * @param string[]
108 */
109 public function setLabels($labels)
110 {
111 $this->labels = $labels;
112 }
113 /**
114 * @return string[]
115 */
116 public function getLabels()
117 {
118 return $this->labels;
119 }
120 /**
121 * @param MembershipFeatureSpec[]
122 */
123 public function setMembershipSpecs($membershipSpecs)
124 {
125 $this->membershipSpecs = $membershipSpecs;
126 }
127 /**
128 * @return MembershipFeatureSpec[]
129 */
130 public function getMembershipSpecs()
131 {
132 return $this->membershipSpecs;
133 }
134 /**
135 * @param MembershipFeatureState[]
136 */
137 public function setMembershipStates($membershipStates)
138 {
139 $this->membershipStates = $membershipStates;
140 }
141 /**
142 * @return MembershipFeatureState[]
143 */
144 public function getMembershipStates()
145 {
146 return $this->membershipStates;
147 }
148 /**
149 * @param string
150 */
151 public function setName($name)
152 {
153 $this->name = $name;
154 }
155 /**
156 * @return string
157 */
158 public function getName()
159 {
160 return $this->name;
161 }
162 /**
163 * @param FeatureResourceState
164 */
165 public function setResourceState(FeatureResourceState $resourceState)
166 {
167 $this->resourceState = $resourceState;
168 }
169 /**
170 * @return FeatureResourceState
171 */
172 public function getResourceState()
173 {
174 return $this->resourceState;
175 }
176 /**
177 * @param ScopeFeatureSpec[]
178 */
179 public function setScopeSpecs($scopeSpecs)
180 {
181 $this->scopeSpecs = $scopeSpecs;
182 }
183 /**
184 * @return ScopeFeatureSpec[]
185 */
186 public function getScopeSpecs()
187 {
188 return $this->scopeSpecs;
189 }
190 /**
191 * @param ScopeFeatureState[]
192 */
193 public function setScopeStates($scopeStates)
194 {
195 $this->scopeStates = $scopeStates;
196 }
197 /**
198 * @return ScopeFeatureState[]
199 */
200 public function getScopeStates()
201 {
202 return $this->scopeStates;
203 }
204 /**
205 * @param CommonFeatureSpec
206 */
207 public function setSpec(CommonFeatureSpec $spec)
208 {
209 $this->spec = $spec;
210 }
211 /**
212 * @return CommonFeatureSpec
213 */
214 public function getSpec()
215 {
216 return $this->spec;
217 }
218 /**
219 * @param CommonFeatureState
220 */
221 public function setState(CommonFeatureState $state)
222 {
223 $this->state = $state;
224 }
225 /**
226 * @return CommonFeatureState
227 */
228 public function getState()
229 {
230 return $this->state;
231 }
232 /**
233 * @param string[]
234 */
235 public function setUnreachable($unreachable)
236 {
237 $this->unreachable = $unreachable;
238 }
239 /**
240 * @return string[]
241 */
242 public function getUnreachable()
243 {
244 return $this->unreachable;
245 }
246 /**
247 * @param string
248 */
249 public function setUpdateTime($updateTime)
250 {
251 $this->updateTime = $updateTime;
252 }
253 /**
254 * @return string
255 */
256 public function getUpdateTime()
257 {
258 return $this->updateTime;
259 }
260}
261
262// Adding a class alias for backwards compatibility with the previous class name.
263class_alias(Feature::class, 'Google_Service_GKEHub_Feature');
Note: See TracBrowser for help on using the repository browser.