[e3d4e0a] | 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\CloudFilestore;
|
---|
| 19 |
|
---|
| 20 | class Instance extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'suspensionReasons';
|
---|
| 23 | /**
|
---|
| 24 | * @var bool
|
---|
| 25 | */
|
---|
| 26 | public $configurablePerformanceEnabled;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $createTime;
|
---|
| 31 | /**
|
---|
| 32 | * @var bool
|
---|
| 33 | */
|
---|
| 34 | public $deletionProtectionEnabled;
|
---|
| 35 | /**
|
---|
| 36 | * @var string
|
---|
| 37 | */
|
---|
| 38 | public $deletionProtectionReason;
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $description;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $etag;
|
---|
| 47 | protected $fileSharesType = FileShareConfig::class;
|
---|
| 48 | protected $fileSharesDataType = 'array';
|
---|
| 49 | /**
|
---|
| 50 | * @var string
|
---|
| 51 | */
|
---|
| 52 | public $kmsKeyName;
|
---|
| 53 | /**
|
---|
| 54 | * @var string[]
|
---|
| 55 | */
|
---|
| 56 | public $labels;
|
---|
| 57 | /**
|
---|
| 58 | * @var string
|
---|
| 59 | */
|
---|
| 60 | public $name;
|
---|
| 61 | protected $networksType = NetworkConfig::class;
|
---|
| 62 | protected $networksDataType = 'array';
|
---|
| 63 | protected $performanceConfigType = PerformanceConfig::class;
|
---|
| 64 | protected $performanceConfigDataType = '';
|
---|
| 65 | protected $performanceLimitsType = PerformanceLimits::class;
|
---|
| 66 | protected $performanceLimitsDataType = '';
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $protocol;
|
---|
| 71 | protected $replicationType = Replication::class;
|
---|
| 72 | protected $replicationDataType = '';
|
---|
| 73 | /**
|
---|
| 74 | * @var bool
|
---|
| 75 | */
|
---|
| 76 | public $satisfiesPzi;
|
---|
| 77 | /**
|
---|
| 78 | * @var bool
|
---|
| 79 | */
|
---|
| 80 | public $satisfiesPzs;
|
---|
| 81 | /**
|
---|
| 82 | * @var string
|
---|
| 83 | */
|
---|
| 84 | public $state;
|
---|
| 85 | /**
|
---|
| 86 | * @var string
|
---|
| 87 | */
|
---|
| 88 | public $statusMessage;
|
---|
| 89 | /**
|
---|
| 90 | * @var string[]
|
---|
| 91 | */
|
---|
| 92 | public $suspensionReasons;
|
---|
| 93 | /**
|
---|
| 94 | * @var string[]
|
---|
| 95 | */
|
---|
| 96 | public $tags;
|
---|
| 97 | /**
|
---|
| 98 | * @var string
|
---|
| 99 | */
|
---|
| 100 | public $tier;
|
---|
| 101 |
|
---|
| 102 | /**
|
---|
| 103 | * @param bool
|
---|
| 104 | */
|
---|
| 105 | public function setConfigurablePerformanceEnabled($configurablePerformanceEnabled)
|
---|
| 106 | {
|
---|
| 107 | $this->configurablePerformanceEnabled = $configurablePerformanceEnabled;
|
---|
| 108 | }
|
---|
| 109 | /**
|
---|
| 110 | * @return bool
|
---|
| 111 | */
|
---|
| 112 | public function getConfigurablePerformanceEnabled()
|
---|
| 113 | {
|
---|
| 114 | return $this->configurablePerformanceEnabled;
|
---|
| 115 | }
|
---|
| 116 | /**
|
---|
| 117 | * @param string
|
---|
| 118 | */
|
---|
| 119 | public function setCreateTime($createTime)
|
---|
| 120 | {
|
---|
| 121 | $this->createTime = $createTime;
|
---|
| 122 | }
|
---|
| 123 | /**
|
---|
| 124 | * @return string
|
---|
| 125 | */
|
---|
| 126 | public function getCreateTime()
|
---|
| 127 | {
|
---|
| 128 | return $this->createTime;
|
---|
| 129 | }
|
---|
| 130 | /**
|
---|
| 131 | * @param bool
|
---|
| 132 | */
|
---|
| 133 | public function setDeletionProtectionEnabled($deletionProtectionEnabled)
|
---|
| 134 | {
|
---|
| 135 | $this->deletionProtectionEnabled = $deletionProtectionEnabled;
|
---|
| 136 | }
|
---|
| 137 | /**
|
---|
| 138 | * @return bool
|
---|
| 139 | */
|
---|
| 140 | public function getDeletionProtectionEnabled()
|
---|
| 141 | {
|
---|
| 142 | return $this->deletionProtectionEnabled;
|
---|
| 143 | }
|
---|
| 144 | /**
|
---|
| 145 | * @param string
|
---|
| 146 | */
|
---|
| 147 | public function setDeletionProtectionReason($deletionProtectionReason)
|
---|
| 148 | {
|
---|
| 149 | $this->deletionProtectionReason = $deletionProtectionReason;
|
---|
| 150 | }
|
---|
| 151 | /**
|
---|
| 152 | * @return string
|
---|
| 153 | */
|
---|
| 154 | public function getDeletionProtectionReason()
|
---|
| 155 | {
|
---|
| 156 | return $this->deletionProtectionReason;
|
---|
| 157 | }
|
---|
| 158 | /**
|
---|
| 159 | * @param string
|
---|
| 160 | */
|
---|
| 161 | public function setDescription($description)
|
---|
| 162 | {
|
---|
| 163 | $this->description = $description;
|
---|
| 164 | }
|
---|
| 165 | /**
|
---|
| 166 | * @return string
|
---|
| 167 | */
|
---|
| 168 | public function getDescription()
|
---|
| 169 | {
|
---|
| 170 | return $this->description;
|
---|
| 171 | }
|
---|
| 172 | /**
|
---|
| 173 | * @param string
|
---|
| 174 | */
|
---|
| 175 | public function setEtag($etag)
|
---|
| 176 | {
|
---|
| 177 | $this->etag = $etag;
|
---|
| 178 | }
|
---|
| 179 | /**
|
---|
| 180 | * @return string
|
---|
| 181 | */
|
---|
| 182 | public function getEtag()
|
---|
| 183 | {
|
---|
| 184 | return $this->etag;
|
---|
| 185 | }
|
---|
| 186 | /**
|
---|
| 187 | * @param FileShareConfig[]
|
---|
| 188 | */
|
---|
| 189 | public function setFileShares($fileShares)
|
---|
| 190 | {
|
---|
| 191 | $this->fileShares = $fileShares;
|
---|
| 192 | }
|
---|
| 193 | /**
|
---|
| 194 | * @return FileShareConfig[]
|
---|
| 195 | */
|
---|
| 196 | public function getFileShares()
|
---|
| 197 | {
|
---|
| 198 | return $this->fileShares;
|
---|
| 199 | }
|
---|
| 200 | /**
|
---|
| 201 | * @param string
|
---|
| 202 | */
|
---|
| 203 | public function setKmsKeyName($kmsKeyName)
|
---|
| 204 | {
|
---|
| 205 | $this->kmsKeyName = $kmsKeyName;
|
---|
| 206 | }
|
---|
| 207 | /**
|
---|
| 208 | * @return string
|
---|
| 209 | */
|
---|
| 210 | public function getKmsKeyName()
|
---|
| 211 | {
|
---|
| 212 | return $this->kmsKeyName;
|
---|
| 213 | }
|
---|
| 214 | /**
|
---|
| 215 | * @param string[]
|
---|
| 216 | */
|
---|
| 217 | public function setLabels($labels)
|
---|
| 218 | {
|
---|
| 219 | $this->labels = $labels;
|
---|
| 220 | }
|
---|
| 221 | /**
|
---|
| 222 | * @return string[]
|
---|
| 223 | */
|
---|
| 224 | public function getLabels()
|
---|
| 225 | {
|
---|
| 226 | return $this->labels;
|
---|
| 227 | }
|
---|
| 228 | /**
|
---|
| 229 | * @param string
|
---|
| 230 | */
|
---|
| 231 | public function setName($name)
|
---|
| 232 | {
|
---|
| 233 | $this->name = $name;
|
---|
| 234 | }
|
---|
| 235 | /**
|
---|
| 236 | * @return string
|
---|
| 237 | */
|
---|
| 238 | public function getName()
|
---|
| 239 | {
|
---|
| 240 | return $this->name;
|
---|
| 241 | }
|
---|
| 242 | /**
|
---|
| 243 | * @param NetworkConfig[]
|
---|
| 244 | */
|
---|
| 245 | public function setNetworks($networks)
|
---|
| 246 | {
|
---|
| 247 | $this->networks = $networks;
|
---|
| 248 | }
|
---|
| 249 | /**
|
---|
| 250 | * @return NetworkConfig[]
|
---|
| 251 | */
|
---|
| 252 | public function getNetworks()
|
---|
| 253 | {
|
---|
| 254 | return $this->networks;
|
---|
| 255 | }
|
---|
| 256 | /**
|
---|
| 257 | * @param PerformanceConfig
|
---|
| 258 | */
|
---|
| 259 | public function setPerformanceConfig(PerformanceConfig $performanceConfig)
|
---|
| 260 | {
|
---|
| 261 | $this->performanceConfig = $performanceConfig;
|
---|
| 262 | }
|
---|
| 263 | /**
|
---|
| 264 | * @return PerformanceConfig
|
---|
| 265 | */
|
---|
| 266 | public function getPerformanceConfig()
|
---|
| 267 | {
|
---|
| 268 | return $this->performanceConfig;
|
---|
| 269 | }
|
---|
| 270 | /**
|
---|
| 271 | * @param PerformanceLimits
|
---|
| 272 | */
|
---|
| 273 | public function setPerformanceLimits(PerformanceLimits $performanceLimits)
|
---|
| 274 | {
|
---|
| 275 | $this->performanceLimits = $performanceLimits;
|
---|
| 276 | }
|
---|
| 277 | /**
|
---|
| 278 | * @return PerformanceLimits
|
---|
| 279 | */
|
---|
| 280 | public function getPerformanceLimits()
|
---|
| 281 | {
|
---|
| 282 | return $this->performanceLimits;
|
---|
| 283 | }
|
---|
| 284 | /**
|
---|
| 285 | * @param string
|
---|
| 286 | */
|
---|
| 287 | public function setProtocol($protocol)
|
---|
| 288 | {
|
---|
| 289 | $this->protocol = $protocol;
|
---|
| 290 | }
|
---|
| 291 | /**
|
---|
| 292 | * @return string
|
---|
| 293 | */
|
---|
| 294 | public function getProtocol()
|
---|
| 295 | {
|
---|
| 296 | return $this->protocol;
|
---|
| 297 | }
|
---|
| 298 | /**
|
---|
| 299 | * @param Replication
|
---|
| 300 | */
|
---|
| 301 | public function setReplication(Replication $replication)
|
---|
| 302 | {
|
---|
| 303 | $this->replication = $replication;
|
---|
| 304 | }
|
---|
| 305 | /**
|
---|
| 306 | * @return Replication
|
---|
| 307 | */
|
---|
| 308 | public function getReplication()
|
---|
| 309 | {
|
---|
| 310 | return $this->replication;
|
---|
| 311 | }
|
---|
| 312 | /**
|
---|
| 313 | * @param bool
|
---|
| 314 | */
|
---|
| 315 | public function setSatisfiesPzi($satisfiesPzi)
|
---|
| 316 | {
|
---|
| 317 | $this->satisfiesPzi = $satisfiesPzi;
|
---|
| 318 | }
|
---|
| 319 | /**
|
---|
| 320 | * @return bool
|
---|
| 321 | */
|
---|
| 322 | public function getSatisfiesPzi()
|
---|
| 323 | {
|
---|
| 324 | return $this->satisfiesPzi;
|
---|
| 325 | }
|
---|
| 326 | /**
|
---|
| 327 | * @param bool
|
---|
| 328 | */
|
---|
| 329 | public function setSatisfiesPzs($satisfiesPzs)
|
---|
| 330 | {
|
---|
| 331 | $this->satisfiesPzs = $satisfiesPzs;
|
---|
| 332 | }
|
---|
| 333 | /**
|
---|
| 334 | * @return bool
|
---|
| 335 | */
|
---|
| 336 | public function getSatisfiesPzs()
|
---|
| 337 | {
|
---|
| 338 | return $this->satisfiesPzs;
|
---|
| 339 | }
|
---|
| 340 | /**
|
---|
| 341 | * @param string
|
---|
| 342 | */
|
---|
| 343 | public function setState($state)
|
---|
| 344 | {
|
---|
| 345 | $this->state = $state;
|
---|
| 346 | }
|
---|
| 347 | /**
|
---|
| 348 | * @return string
|
---|
| 349 | */
|
---|
| 350 | public function getState()
|
---|
| 351 | {
|
---|
| 352 | return $this->state;
|
---|
| 353 | }
|
---|
| 354 | /**
|
---|
| 355 | * @param string
|
---|
| 356 | */
|
---|
| 357 | public function setStatusMessage($statusMessage)
|
---|
| 358 | {
|
---|
| 359 | $this->statusMessage = $statusMessage;
|
---|
| 360 | }
|
---|
| 361 | /**
|
---|
| 362 | * @return string
|
---|
| 363 | */
|
---|
| 364 | public function getStatusMessage()
|
---|
| 365 | {
|
---|
| 366 | return $this->statusMessage;
|
---|
| 367 | }
|
---|
| 368 | /**
|
---|
| 369 | * @param string[]
|
---|
| 370 | */
|
---|
| 371 | public function setSuspensionReasons($suspensionReasons)
|
---|
| 372 | {
|
---|
| 373 | $this->suspensionReasons = $suspensionReasons;
|
---|
| 374 | }
|
---|
| 375 | /**
|
---|
| 376 | * @return string[]
|
---|
| 377 | */
|
---|
| 378 | public function getSuspensionReasons()
|
---|
| 379 | {
|
---|
| 380 | return $this->suspensionReasons;
|
---|
| 381 | }
|
---|
| 382 | /**
|
---|
| 383 | * @param string[]
|
---|
| 384 | */
|
---|
| 385 | public function setTags($tags)
|
---|
| 386 | {
|
---|
| 387 | $this->tags = $tags;
|
---|
| 388 | }
|
---|
| 389 | /**
|
---|
| 390 | * @return string[]
|
---|
| 391 | */
|
---|
| 392 | public function getTags()
|
---|
| 393 | {
|
---|
| 394 | return $this->tags;
|
---|
| 395 | }
|
---|
| 396 | /**
|
---|
| 397 | * @param string
|
---|
| 398 | */
|
---|
| 399 | public function setTier($tier)
|
---|
| 400 | {
|
---|
| 401 | $this->tier = $tier;
|
---|
| 402 | }
|
---|
| 403 | /**
|
---|
| 404 | * @return string
|
---|
| 405 | */
|
---|
| 406 | public function getTier()
|
---|
| 407 | {
|
---|
| 408 | return $this->tier;
|
---|
| 409 | }
|
---|
| 410 | }
|
---|
| 411 |
|
---|
| 412 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 413 | class_alias(Instance::class, 'Google_Service_CloudFilestore_Instance');
|
---|