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