[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\Appengine;
|
---|
| 19 |
|
---|
| 20 | class Instance extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $appEngineRelease;
|
---|
| 26 | /**
|
---|
| 27 | * @var string
|
---|
| 28 | */
|
---|
| 29 | public $availability;
|
---|
| 30 | /**
|
---|
| 31 | * @var int
|
---|
| 32 | */
|
---|
| 33 | public $averageLatency;
|
---|
| 34 | /**
|
---|
| 35 | * @var int
|
---|
| 36 | */
|
---|
| 37 | public $errors;
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $id;
|
---|
| 42 | /**
|
---|
| 43 | * @var string
|
---|
| 44 | */
|
---|
| 45 | public $memoryUsage;
|
---|
| 46 | /**
|
---|
| 47 | * @var string
|
---|
| 48 | */
|
---|
| 49 | public $name;
|
---|
| 50 | /**
|
---|
| 51 | * @var float
|
---|
| 52 | */
|
---|
| 53 | public $qps;
|
---|
| 54 | /**
|
---|
| 55 | * @var int
|
---|
| 56 | */
|
---|
| 57 | public $requests;
|
---|
| 58 | /**
|
---|
| 59 | * @var string
|
---|
| 60 | */
|
---|
| 61 | public $startTime;
|
---|
| 62 | /**
|
---|
| 63 | * @var bool
|
---|
| 64 | */
|
---|
| 65 | public $vmDebugEnabled;
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $vmId;
|
---|
| 70 | /**
|
---|
| 71 | * @var string
|
---|
| 72 | */
|
---|
| 73 | public $vmIp;
|
---|
| 74 | /**
|
---|
| 75 | * @var string
|
---|
| 76 | */
|
---|
| 77 | public $vmLiveness;
|
---|
| 78 | /**
|
---|
| 79 | * @var string
|
---|
| 80 | */
|
---|
| 81 | public $vmName;
|
---|
| 82 | /**
|
---|
| 83 | * @var string
|
---|
| 84 | */
|
---|
| 85 | public $vmStatus;
|
---|
| 86 | /**
|
---|
| 87 | * @var string
|
---|
| 88 | */
|
---|
| 89 | public $vmZoneName;
|
---|
| 90 |
|
---|
| 91 | /**
|
---|
| 92 | * @param string
|
---|
| 93 | */
|
---|
| 94 | public function setAppEngineRelease($appEngineRelease)
|
---|
| 95 | {
|
---|
| 96 | $this->appEngineRelease = $appEngineRelease;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return string
|
---|
| 100 | */
|
---|
| 101 | public function getAppEngineRelease()
|
---|
| 102 | {
|
---|
| 103 | return $this->appEngineRelease;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param string
|
---|
| 107 | */
|
---|
| 108 | public function setAvailability($availability)
|
---|
| 109 | {
|
---|
| 110 | $this->availability = $availability;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return string
|
---|
| 114 | */
|
---|
| 115 | public function getAvailability()
|
---|
| 116 | {
|
---|
| 117 | return $this->availability;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @param int
|
---|
| 121 | */
|
---|
| 122 | public function setAverageLatency($averageLatency)
|
---|
| 123 | {
|
---|
| 124 | $this->averageLatency = $averageLatency;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @return int
|
---|
| 128 | */
|
---|
| 129 | public function getAverageLatency()
|
---|
| 130 | {
|
---|
| 131 | return $this->averageLatency;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @param int
|
---|
| 135 | */
|
---|
| 136 | public function setErrors($errors)
|
---|
| 137 | {
|
---|
| 138 | $this->errors = $errors;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @return int
|
---|
| 142 | */
|
---|
| 143 | public function getErrors()
|
---|
| 144 | {
|
---|
| 145 | return $this->errors;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @param string
|
---|
| 149 | */
|
---|
| 150 | public function setId($id)
|
---|
| 151 | {
|
---|
| 152 | $this->id = $id;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @return string
|
---|
| 156 | */
|
---|
| 157 | public function getId()
|
---|
| 158 | {
|
---|
| 159 | return $this->id;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @param string
|
---|
| 163 | */
|
---|
| 164 | public function setMemoryUsage($memoryUsage)
|
---|
| 165 | {
|
---|
| 166 | $this->memoryUsage = $memoryUsage;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @return string
|
---|
| 170 | */
|
---|
| 171 | public function getMemoryUsage()
|
---|
| 172 | {
|
---|
| 173 | return $this->memoryUsage;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @param string
|
---|
| 177 | */
|
---|
| 178 | public function setName($name)
|
---|
| 179 | {
|
---|
| 180 | $this->name = $name;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @return string
|
---|
| 184 | */
|
---|
| 185 | public function getName()
|
---|
| 186 | {
|
---|
| 187 | return $this->name;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @param float
|
---|
| 191 | */
|
---|
| 192 | public function setQps($qps)
|
---|
| 193 | {
|
---|
| 194 | $this->qps = $qps;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @return float
|
---|
| 198 | */
|
---|
| 199 | public function getQps()
|
---|
| 200 | {
|
---|
| 201 | return $this->qps;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @param int
|
---|
| 205 | */
|
---|
| 206 | public function setRequests($requests)
|
---|
| 207 | {
|
---|
| 208 | $this->requests = $requests;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @return int
|
---|
| 212 | */
|
---|
| 213 | public function getRequests()
|
---|
| 214 | {
|
---|
| 215 | return $this->requests;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @param string
|
---|
| 219 | */
|
---|
| 220 | public function setStartTime($startTime)
|
---|
| 221 | {
|
---|
| 222 | $this->startTime = $startTime;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @return string
|
---|
| 226 | */
|
---|
| 227 | public function getStartTime()
|
---|
| 228 | {
|
---|
| 229 | return $this->startTime;
|
---|
| 230 | }
|
---|
| 231 | /**
|
---|
| 232 | * @param bool
|
---|
| 233 | */
|
---|
| 234 | public function setVmDebugEnabled($vmDebugEnabled)
|
---|
| 235 | {
|
---|
| 236 | $this->vmDebugEnabled = $vmDebugEnabled;
|
---|
| 237 | }
|
---|
| 238 | /**
|
---|
| 239 | * @return bool
|
---|
| 240 | */
|
---|
| 241 | public function getVmDebugEnabled()
|
---|
| 242 | {
|
---|
| 243 | return $this->vmDebugEnabled;
|
---|
| 244 | }
|
---|
| 245 | /**
|
---|
| 246 | * @param string
|
---|
| 247 | */
|
---|
| 248 | public function setVmId($vmId)
|
---|
| 249 | {
|
---|
| 250 | $this->vmId = $vmId;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @return string
|
---|
| 254 | */
|
---|
| 255 | public function getVmId()
|
---|
| 256 | {
|
---|
| 257 | return $this->vmId;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @param string
|
---|
| 261 | */
|
---|
| 262 | public function setVmIp($vmIp)
|
---|
| 263 | {
|
---|
| 264 | $this->vmIp = $vmIp;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @return string
|
---|
| 268 | */
|
---|
| 269 | public function getVmIp()
|
---|
| 270 | {
|
---|
| 271 | return $this->vmIp;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @param string
|
---|
| 275 | */
|
---|
| 276 | public function setVmLiveness($vmLiveness)
|
---|
| 277 | {
|
---|
| 278 | $this->vmLiveness = $vmLiveness;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @return string
|
---|
| 282 | */
|
---|
| 283 | public function getVmLiveness()
|
---|
| 284 | {
|
---|
| 285 | return $this->vmLiveness;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @param string
|
---|
| 289 | */
|
---|
| 290 | public function setVmName($vmName)
|
---|
| 291 | {
|
---|
| 292 | $this->vmName = $vmName;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @return string
|
---|
| 296 | */
|
---|
| 297 | public function getVmName()
|
---|
| 298 | {
|
---|
| 299 | return $this->vmName;
|
---|
| 300 | }
|
---|
| 301 | /**
|
---|
| 302 | * @param string
|
---|
| 303 | */
|
---|
| 304 | public function setVmStatus($vmStatus)
|
---|
| 305 | {
|
---|
| 306 | $this->vmStatus = $vmStatus;
|
---|
| 307 | }
|
---|
| 308 | /**
|
---|
| 309 | * @return string
|
---|
| 310 | */
|
---|
| 311 | public function getVmStatus()
|
---|
| 312 | {
|
---|
| 313 | return $this->vmStatus;
|
---|
| 314 | }
|
---|
| 315 | /**
|
---|
| 316 | * @param string
|
---|
| 317 | */
|
---|
| 318 | public function setVmZoneName($vmZoneName)
|
---|
| 319 | {
|
---|
| 320 | $this->vmZoneName = $vmZoneName;
|
---|
| 321 | }
|
---|
| 322 | /**
|
---|
| 323 | * @return string
|
---|
| 324 | */
|
---|
| 325 | public function getVmZoneName()
|
---|
| 326 | {
|
---|
| 327 | return $this->vmZoneName;
|
---|
| 328 | }
|
---|
| 329 | }
|
---|
| 330 |
|
---|
| 331 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 332 | class_alias(Instance::class, 'Google_Service_Appengine_Instance');
|
---|