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\Compute; 19 20class NetworkEndpointGroup extends \Google\Model 21{ 22 /** 23 * @var string[] 24 */ 25 public $annotations; 26 protected $appEngineType = NetworkEndpointGroupAppEngine::class; 27 protected $appEngineDataType = ''; 28 protected $cloudFunctionType = NetworkEndpointGroupCloudFunction::class; 29 protected $cloudFunctionDataType = ''; 30 protected $cloudRunType = NetworkEndpointGroupCloudRun::class; 31 protected $cloudRunDataType = ''; 32 /** 33 * @var string 34 */ 35 public $creationTimestamp; 36 /** 37 * @var int 38 */ 39 public $defaultPort; 40 /** 41 * @var string 42 */ 43 public $description; 44 /** 45 * @var string 46 */ 47 public $id; 48 /** 49 * @var string 50 */ 51 public $kind; 52 /** 53 * @var string 54 */ 55 public $name; 56 /** 57 * @var string 58 */ 59 public $network; 60 /** 61 * @var string 62 */ 63 public $networkEndpointType; 64 /** 65 * @var string 66 */ 67 public $pscTargetService; 68 /** 69 * @var string 70 */ 71 public $region; 72 /** 73 * @var string 74 */ 75 public $selfLink; 76 /** 77 * @var int 78 */ 79 public $size; 80 /** 81 * @var string 82 */ 83 public $subnetwork; 84 /** 85 * @var string 86 */ 87 public $zone; 88 89 /** 90 * @param string[] 91 */ 92 public function setAnnotations($annotations) 93 { 94 $this->annotations = $annotations; 95 } 96 /** 97 * @return string[] 98 */ 99 public function getAnnotations() 100 { 101 return $this->annotations; 102 } 103 /** 104 * @param NetworkEndpointGroupAppEngine 105 */ 106 public function setAppEngine(NetworkEndpointGroupAppEngine $appEngine) 107 { 108 $this->appEngine = $appEngine; 109 } 110 /** 111 * @return NetworkEndpointGroupAppEngine 112 */ 113 public function getAppEngine() 114 { 115 return $this->appEngine; 116 } 117 /** 118 * @param NetworkEndpointGroupCloudFunction 119 */ 120 public function setCloudFunction(NetworkEndpointGroupCloudFunction $cloudFunction) 121 { 122 $this->cloudFunction = $cloudFunction; 123 } 124 /** 125 * @return NetworkEndpointGroupCloudFunction 126 */ 127 public function getCloudFunction() 128 { 129 return $this->cloudFunction; 130 } 131 /** 132 * @param NetworkEndpointGroupCloudRun 133 */ 134 public function setCloudRun(NetworkEndpointGroupCloudRun $cloudRun) 135 { 136 $this->cloudRun = $cloudRun; 137 } 138 /** 139 * @return NetworkEndpointGroupCloudRun 140 */ 141 public function getCloudRun() 142 { 143 return $this->cloudRun; 144 } 145 /** 146 * @param string 147 */ 148 public function setCreationTimestamp($creationTimestamp) 149 { 150 $this->creationTimestamp = $creationTimestamp; 151 } 152 /** 153 * @return string 154 */ 155 public function getCreationTimestamp() 156 { 157 return $this->creationTimestamp; 158 } 159 /** 160 * @param int 161 */ 162 public function setDefaultPort($defaultPort) 163 { 164 $this->defaultPort = $defaultPort; 165 } 166 /** 167 * @return int 168 */ 169 public function getDefaultPort() 170 { 171 return $this->defaultPort; 172 } 173 /** 174 * @param string 175 */ 176 public function setDescription($description) 177 { 178 $this->description = $description; 179 } 180 /** 181 * @return string 182 */ 183 public function getDescription() 184 { 185 return $this->description; 186 } 187 /** 188 * @param string 189 */ 190 public function setId($id) 191 { 192 $this->id = $id; 193 } 194 /** 195 * @return string 196 */ 197 public function getId() 198 { 199 return $this->id; 200 } 201 /** 202 * @param string 203 */ 204 public function setKind($kind) 205 { 206 $this->kind = $kind; 207 } 208 /** 209 * @return string 210 */ 211 public function getKind() 212 { 213 return $this->kind; 214 } 215 /** 216 * @param string 217 */ 218 public function setName($name) 219 { 220 $this->name = $name; 221 } 222 /** 223 * @return string 224 */ 225 public function getName() 226 { 227 return $this->name; 228 } 229 /** 230 * @param string 231 */ 232 public function setNetwork($network) 233 { 234 $this->network = $network; 235 } 236 /** 237 * @return string 238 */ 239 public function getNetwork() 240 { 241 return $this->network; 242 } 243 /** 244 * @param string 245 */ 246 public function setNetworkEndpointType($networkEndpointType) 247 { 248 $this->networkEndpointType = $networkEndpointType; 249 } 250 /** 251 * @return string 252 */ 253 public function getNetworkEndpointType() 254 { 255 return $this->networkEndpointType; 256 } 257 /** 258 * @param string 259 */ 260 public function setPscTargetService($pscTargetService) 261 { 262 $this->pscTargetService = $pscTargetService; 263 } 264 /** 265 * @return string 266 */ 267 public function getPscTargetService() 268 { 269 return $this->pscTargetService; 270 } 271 /** 272 * @param string 273 */ 274 public function setRegion($region) 275 { 276 $this->region = $region; 277 } 278 /** 279 * @return string 280 */ 281 public function getRegion() 282 { 283 return $this->region; 284 } 285 /** 286 * @param string 287 */ 288 public function setSelfLink($selfLink) 289 { 290 $this->selfLink = $selfLink; 291 } 292 /** 293 * @return string 294 */ 295 public function getSelfLink() 296 { 297 return $this->selfLink; 298 } 299 /** 300 * @param int 301 */ 302 public function setSize($size) 303 { 304 $this->size = $size; 305 } 306 /** 307 * @return int 308 */ 309 public function getSize() 310 { 311 return $this->size; 312 } 313 /** 314 * @param string 315 */ 316 public function setSubnetwork($subnetwork) 317 { 318 $this->subnetwork = $subnetwork; 319 } 320 /** 321 * @return string 322 */ 323 public function getSubnetwork() 324 { 325 return $this->subnetwork; 326 } 327 /** 328 * @param string 329 */ 330 public function setZone($zone) 331 { 332 $this->zone = $zone; 333 } 334 /** 335 * @return string 336 */ 337 public function getZone() 338 { 339 return $this->zone; 340 } 341} 342 343// Adding a class alias for backwards compatibility with the previous class name. 344class_alias(NetworkEndpointGroup::class, 'Google_Service_Compute_NetworkEndpointGroup'); 345