[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\NetworkManagement;
|
---|
| 19 |
|
---|
| 20 | class Step extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | protected $abortType = AbortInfo::class;
|
---|
| 23 | protected $abortDataType = '';
|
---|
| 24 | protected $appEngineVersionType = AppEngineVersionInfo::class;
|
---|
| 25 | protected $appEngineVersionDataType = '';
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $causesDrop;
|
---|
| 30 | protected $cloudFunctionType = CloudFunctionInfo::class;
|
---|
| 31 | protected $cloudFunctionDataType = '';
|
---|
| 32 | protected $cloudRunRevisionType = CloudRunRevisionInfo::class;
|
---|
| 33 | protected $cloudRunRevisionDataType = '';
|
---|
| 34 | protected $cloudSqlInstanceType = CloudSQLInstanceInfo::class;
|
---|
| 35 | protected $cloudSqlInstanceDataType = '';
|
---|
| 36 | protected $deliverType = DeliverInfo::class;
|
---|
| 37 | protected $deliverDataType = '';
|
---|
| 38 | /**
|
---|
| 39 | * @var string
|
---|
| 40 | */
|
---|
| 41 | public $description;
|
---|
| 42 | protected $dropType = DropInfo::class;
|
---|
| 43 | protected $dropDataType = '';
|
---|
| 44 | protected $endpointType = EndpointInfo::class;
|
---|
| 45 | protected $endpointDataType = '';
|
---|
| 46 | protected $firewallType = FirewallInfo::class;
|
---|
| 47 | protected $firewallDataType = '';
|
---|
| 48 | protected $forwardType = ForwardInfo::class;
|
---|
| 49 | protected $forwardDataType = '';
|
---|
| 50 | protected $forwardingRuleType = ForwardingRuleInfo::class;
|
---|
| 51 | protected $forwardingRuleDataType = '';
|
---|
| 52 | protected $gkeMasterType = GKEMasterInfo::class;
|
---|
| 53 | protected $gkeMasterDataType = '';
|
---|
| 54 | protected $googleServiceType = GoogleServiceInfo::class;
|
---|
| 55 | protected $googleServiceDataType = '';
|
---|
| 56 | protected $instanceType = InstanceInfo::class;
|
---|
| 57 | protected $instanceDataType = '';
|
---|
| 58 | protected $loadBalancerType = LoadBalancerInfo::class;
|
---|
| 59 | protected $loadBalancerDataType = '';
|
---|
| 60 | protected $loadBalancerBackendInfoType = LoadBalancerBackendInfo::class;
|
---|
| 61 | protected $loadBalancerBackendInfoDataType = '';
|
---|
| 62 | protected $natType = NatInfo::class;
|
---|
| 63 | protected $natDataType = '';
|
---|
| 64 | protected $networkType = NetworkInfo::class;
|
---|
| 65 | protected $networkDataType = '';
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $projectId;
|
---|
| 70 | protected $proxyConnectionType = ProxyConnectionInfo::class;
|
---|
| 71 | protected $proxyConnectionDataType = '';
|
---|
| 72 | protected $redisClusterType = RedisClusterInfo::class;
|
---|
| 73 | protected $redisClusterDataType = '';
|
---|
| 74 | protected $redisInstanceType = RedisInstanceInfo::class;
|
---|
| 75 | protected $redisInstanceDataType = '';
|
---|
| 76 | protected $routeType = RouteInfo::class;
|
---|
| 77 | protected $routeDataType = '';
|
---|
| 78 | protected $serverlessNegType = ServerlessNegInfo::class;
|
---|
| 79 | protected $serverlessNegDataType = '';
|
---|
| 80 | /**
|
---|
| 81 | * @var string
|
---|
| 82 | */
|
---|
| 83 | public $state;
|
---|
| 84 | protected $storageBucketType = StorageBucketInfo::class;
|
---|
| 85 | protected $storageBucketDataType = '';
|
---|
| 86 | protected $vpcConnectorType = VpcConnectorInfo::class;
|
---|
| 87 | protected $vpcConnectorDataType = '';
|
---|
| 88 | protected $vpnGatewayType = VpnGatewayInfo::class;
|
---|
| 89 | protected $vpnGatewayDataType = '';
|
---|
| 90 | protected $vpnTunnelType = VpnTunnelInfo::class;
|
---|
| 91 | protected $vpnTunnelDataType = '';
|
---|
| 92 |
|
---|
| 93 | /**
|
---|
| 94 | * @param AbortInfo
|
---|
| 95 | */
|
---|
| 96 | public function setAbort(AbortInfo $abort)
|
---|
| 97 | {
|
---|
| 98 | $this->abort = $abort;
|
---|
| 99 | }
|
---|
| 100 | /**
|
---|
| 101 | * @return AbortInfo
|
---|
| 102 | */
|
---|
| 103 | public function getAbort()
|
---|
| 104 | {
|
---|
| 105 | return $this->abort;
|
---|
| 106 | }
|
---|
| 107 | /**
|
---|
| 108 | * @param AppEngineVersionInfo
|
---|
| 109 | */
|
---|
| 110 | public function setAppEngineVersion(AppEngineVersionInfo $appEngineVersion)
|
---|
| 111 | {
|
---|
| 112 | $this->appEngineVersion = $appEngineVersion;
|
---|
| 113 | }
|
---|
| 114 | /**
|
---|
| 115 | * @return AppEngineVersionInfo
|
---|
| 116 | */
|
---|
| 117 | public function getAppEngineVersion()
|
---|
| 118 | {
|
---|
| 119 | return $this->appEngineVersion;
|
---|
| 120 | }
|
---|
| 121 | /**
|
---|
| 122 | * @param bool
|
---|
| 123 | */
|
---|
| 124 | public function setCausesDrop($causesDrop)
|
---|
| 125 | {
|
---|
| 126 | $this->causesDrop = $causesDrop;
|
---|
| 127 | }
|
---|
| 128 | /**
|
---|
| 129 | * @return bool
|
---|
| 130 | */
|
---|
| 131 | public function getCausesDrop()
|
---|
| 132 | {
|
---|
| 133 | return $this->causesDrop;
|
---|
| 134 | }
|
---|
| 135 | /**
|
---|
| 136 | * @param CloudFunctionInfo
|
---|
| 137 | */
|
---|
| 138 | public function setCloudFunction(CloudFunctionInfo $cloudFunction)
|
---|
| 139 | {
|
---|
| 140 | $this->cloudFunction = $cloudFunction;
|
---|
| 141 | }
|
---|
| 142 | /**
|
---|
| 143 | * @return CloudFunctionInfo
|
---|
| 144 | */
|
---|
| 145 | public function getCloudFunction()
|
---|
| 146 | {
|
---|
| 147 | return $this->cloudFunction;
|
---|
| 148 | }
|
---|
| 149 | /**
|
---|
| 150 | * @param CloudRunRevisionInfo
|
---|
| 151 | */
|
---|
| 152 | public function setCloudRunRevision(CloudRunRevisionInfo $cloudRunRevision)
|
---|
| 153 | {
|
---|
| 154 | $this->cloudRunRevision = $cloudRunRevision;
|
---|
| 155 | }
|
---|
| 156 | /**
|
---|
| 157 | * @return CloudRunRevisionInfo
|
---|
| 158 | */
|
---|
| 159 | public function getCloudRunRevision()
|
---|
| 160 | {
|
---|
| 161 | return $this->cloudRunRevision;
|
---|
| 162 | }
|
---|
| 163 | /**
|
---|
| 164 | * @param CloudSQLInstanceInfo
|
---|
| 165 | */
|
---|
| 166 | public function setCloudSqlInstance(CloudSQLInstanceInfo $cloudSqlInstance)
|
---|
| 167 | {
|
---|
| 168 | $this->cloudSqlInstance = $cloudSqlInstance;
|
---|
| 169 | }
|
---|
| 170 | /**
|
---|
| 171 | * @return CloudSQLInstanceInfo
|
---|
| 172 | */
|
---|
| 173 | public function getCloudSqlInstance()
|
---|
| 174 | {
|
---|
| 175 | return $this->cloudSqlInstance;
|
---|
| 176 | }
|
---|
| 177 | /**
|
---|
| 178 | * @param DeliverInfo
|
---|
| 179 | */
|
---|
| 180 | public function setDeliver(DeliverInfo $deliver)
|
---|
| 181 | {
|
---|
| 182 | $this->deliver = $deliver;
|
---|
| 183 | }
|
---|
| 184 | /**
|
---|
| 185 | * @return DeliverInfo
|
---|
| 186 | */
|
---|
| 187 | public function getDeliver()
|
---|
| 188 | {
|
---|
| 189 | return $this->deliver;
|
---|
| 190 | }
|
---|
| 191 | /**
|
---|
| 192 | * @param string
|
---|
| 193 | */
|
---|
| 194 | public function setDescription($description)
|
---|
| 195 | {
|
---|
| 196 | $this->description = $description;
|
---|
| 197 | }
|
---|
| 198 | /**
|
---|
| 199 | * @return string
|
---|
| 200 | */
|
---|
| 201 | public function getDescription()
|
---|
| 202 | {
|
---|
| 203 | return $this->description;
|
---|
| 204 | }
|
---|
| 205 | /**
|
---|
| 206 | * @param DropInfo
|
---|
| 207 | */
|
---|
| 208 | public function setDrop(DropInfo $drop)
|
---|
| 209 | {
|
---|
| 210 | $this->drop = $drop;
|
---|
| 211 | }
|
---|
| 212 | /**
|
---|
| 213 | * @return DropInfo
|
---|
| 214 | */
|
---|
| 215 | public function getDrop()
|
---|
| 216 | {
|
---|
| 217 | return $this->drop;
|
---|
| 218 | }
|
---|
| 219 | /**
|
---|
| 220 | * @param EndpointInfo
|
---|
| 221 | */
|
---|
| 222 | public function setEndpoint(EndpointInfo $endpoint)
|
---|
| 223 | {
|
---|
| 224 | $this->endpoint = $endpoint;
|
---|
| 225 | }
|
---|
| 226 | /**
|
---|
| 227 | * @return EndpointInfo
|
---|
| 228 | */
|
---|
| 229 | public function getEndpoint()
|
---|
| 230 | {
|
---|
| 231 | return $this->endpoint;
|
---|
| 232 | }
|
---|
| 233 | /**
|
---|
| 234 | * @param FirewallInfo
|
---|
| 235 | */
|
---|
| 236 | public function setFirewall(FirewallInfo $firewall)
|
---|
| 237 | {
|
---|
| 238 | $this->firewall = $firewall;
|
---|
| 239 | }
|
---|
| 240 | /**
|
---|
| 241 | * @return FirewallInfo
|
---|
| 242 | */
|
---|
| 243 | public function getFirewall()
|
---|
| 244 | {
|
---|
| 245 | return $this->firewall;
|
---|
| 246 | }
|
---|
| 247 | /**
|
---|
| 248 | * @param ForwardInfo
|
---|
| 249 | */
|
---|
| 250 | public function setForward(ForwardInfo $forward)
|
---|
| 251 | {
|
---|
| 252 | $this->forward = $forward;
|
---|
| 253 | }
|
---|
| 254 | /**
|
---|
| 255 | * @return ForwardInfo
|
---|
| 256 | */
|
---|
| 257 | public function getForward()
|
---|
| 258 | {
|
---|
| 259 | return $this->forward;
|
---|
| 260 | }
|
---|
| 261 | /**
|
---|
| 262 | * @param ForwardingRuleInfo
|
---|
| 263 | */
|
---|
| 264 | public function setForwardingRule(ForwardingRuleInfo $forwardingRule)
|
---|
| 265 | {
|
---|
| 266 | $this->forwardingRule = $forwardingRule;
|
---|
| 267 | }
|
---|
| 268 | /**
|
---|
| 269 | * @return ForwardingRuleInfo
|
---|
| 270 | */
|
---|
| 271 | public function getForwardingRule()
|
---|
| 272 | {
|
---|
| 273 | return $this->forwardingRule;
|
---|
| 274 | }
|
---|
| 275 | /**
|
---|
| 276 | * @param GKEMasterInfo
|
---|
| 277 | */
|
---|
| 278 | public function setGkeMaster(GKEMasterInfo $gkeMaster)
|
---|
| 279 | {
|
---|
| 280 | $this->gkeMaster = $gkeMaster;
|
---|
| 281 | }
|
---|
| 282 | /**
|
---|
| 283 | * @return GKEMasterInfo
|
---|
| 284 | */
|
---|
| 285 | public function getGkeMaster()
|
---|
| 286 | {
|
---|
| 287 | return $this->gkeMaster;
|
---|
| 288 | }
|
---|
| 289 | /**
|
---|
| 290 | * @param GoogleServiceInfo
|
---|
| 291 | */
|
---|
| 292 | public function setGoogleService(GoogleServiceInfo $googleService)
|
---|
| 293 | {
|
---|
| 294 | $this->googleService = $googleService;
|
---|
| 295 | }
|
---|
| 296 | /**
|
---|
| 297 | * @return GoogleServiceInfo
|
---|
| 298 | */
|
---|
| 299 | public function getGoogleService()
|
---|
| 300 | {
|
---|
| 301 | return $this->googleService;
|
---|
| 302 | }
|
---|
| 303 | /**
|
---|
| 304 | * @param InstanceInfo
|
---|
| 305 | */
|
---|
| 306 | public function setInstance(InstanceInfo $instance)
|
---|
| 307 | {
|
---|
| 308 | $this->instance = $instance;
|
---|
| 309 | }
|
---|
| 310 | /**
|
---|
| 311 | * @return InstanceInfo
|
---|
| 312 | */
|
---|
| 313 | public function getInstance()
|
---|
| 314 | {
|
---|
| 315 | return $this->instance;
|
---|
| 316 | }
|
---|
| 317 | /**
|
---|
| 318 | * @param LoadBalancerInfo
|
---|
| 319 | */
|
---|
| 320 | public function setLoadBalancer(LoadBalancerInfo $loadBalancer)
|
---|
| 321 | {
|
---|
| 322 | $this->loadBalancer = $loadBalancer;
|
---|
| 323 | }
|
---|
| 324 | /**
|
---|
| 325 | * @return LoadBalancerInfo
|
---|
| 326 | */
|
---|
| 327 | public function getLoadBalancer()
|
---|
| 328 | {
|
---|
| 329 | return $this->loadBalancer;
|
---|
| 330 | }
|
---|
| 331 | /**
|
---|
| 332 | * @param LoadBalancerBackendInfo
|
---|
| 333 | */
|
---|
| 334 | public function setLoadBalancerBackendInfo(LoadBalancerBackendInfo $loadBalancerBackendInfo)
|
---|
| 335 | {
|
---|
| 336 | $this->loadBalancerBackendInfo = $loadBalancerBackendInfo;
|
---|
| 337 | }
|
---|
| 338 | /**
|
---|
| 339 | * @return LoadBalancerBackendInfo
|
---|
| 340 | */
|
---|
| 341 | public function getLoadBalancerBackendInfo()
|
---|
| 342 | {
|
---|
| 343 | return $this->loadBalancerBackendInfo;
|
---|
| 344 | }
|
---|
| 345 | /**
|
---|
| 346 | * @param NatInfo
|
---|
| 347 | */
|
---|
| 348 | public function setNat(NatInfo $nat)
|
---|
| 349 | {
|
---|
| 350 | $this->nat = $nat;
|
---|
| 351 | }
|
---|
| 352 | /**
|
---|
| 353 | * @return NatInfo
|
---|
| 354 | */
|
---|
| 355 | public function getNat()
|
---|
| 356 | {
|
---|
| 357 | return $this->nat;
|
---|
| 358 | }
|
---|
| 359 | /**
|
---|
| 360 | * @param NetworkInfo
|
---|
| 361 | */
|
---|
| 362 | public function setNetwork(NetworkInfo $network)
|
---|
| 363 | {
|
---|
| 364 | $this->network = $network;
|
---|
| 365 | }
|
---|
| 366 | /**
|
---|
| 367 | * @return NetworkInfo
|
---|
| 368 | */
|
---|
| 369 | public function getNetwork()
|
---|
| 370 | {
|
---|
| 371 | return $this->network;
|
---|
| 372 | }
|
---|
| 373 | /**
|
---|
| 374 | * @param string
|
---|
| 375 | */
|
---|
| 376 | public function setProjectId($projectId)
|
---|
| 377 | {
|
---|
| 378 | $this->projectId = $projectId;
|
---|
| 379 | }
|
---|
| 380 | /**
|
---|
| 381 | * @return string
|
---|
| 382 | */
|
---|
| 383 | public function getProjectId()
|
---|
| 384 | {
|
---|
| 385 | return $this->projectId;
|
---|
| 386 | }
|
---|
| 387 | /**
|
---|
| 388 | * @param ProxyConnectionInfo
|
---|
| 389 | */
|
---|
| 390 | public function setProxyConnection(ProxyConnectionInfo $proxyConnection)
|
---|
| 391 | {
|
---|
| 392 | $this->proxyConnection = $proxyConnection;
|
---|
| 393 | }
|
---|
| 394 | /**
|
---|
| 395 | * @return ProxyConnectionInfo
|
---|
| 396 | */
|
---|
| 397 | public function getProxyConnection()
|
---|
| 398 | {
|
---|
| 399 | return $this->proxyConnection;
|
---|
| 400 | }
|
---|
| 401 | /**
|
---|
| 402 | * @param RedisClusterInfo
|
---|
| 403 | */
|
---|
| 404 | public function setRedisCluster(RedisClusterInfo $redisCluster)
|
---|
| 405 | {
|
---|
| 406 | $this->redisCluster = $redisCluster;
|
---|
| 407 | }
|
---|
| 408 | /**
|
---|
| 409 | * @return RedisClusterInfo
|
---|
| 410 | */
|
---|
| 411 | public function getRedisCluster()
|
---|
| 412 | {
|
---|
| 413 | return $this->redisCluster;
|
---|
| 414 | }
|
---|
| 415 | /**
|
---|
| 416 | * @param RedisInstanceInfo
|
---|
| 417 | */
|
---|
| 418 | public function setRedisInstance(RedisInstanceInfo $redisInstance)
|
---|
| 419 | {
|
---|
| 420 | $this->redisInstance = $redisInstance;
|
---|
| 421 | }
|
---|
| 422 | /**
|
---|
| 423 | * @return RedisInstanceInfo
|
---|
| 424 | */
|
---|
| 425 | public function getRedisInstance()
|
---|
| 426 | {
|
---|
| 427 | return $this->redisInstance;
|
---|
| 428 | }
|
---|
| 429 | /**
|
---|
| 430 | * @param RouteInfo
|
---|
| 431 | */
|
---|
| 432 | public function setRoute(RouteInfo $route)
|
---|
| 433 | {
|
---|
| 434 | $this->route = $route;
|
---|
| 435 | }
|
---|
| 436 | /**
|
---|
| 437 | * @return RouteInfo
|
---|
| 438 | */
|
---|
| 439 | public function getRoute()
|
---|
| 440 | {
|
---|
| 441 | return $this->route;
|
---|
| 442 | }
|
---|
| 443 | /**
|
---|
| 444 | * @param ServerlessNegInfo
|
---|
| 445 | */
|
---|
| 446 | public function setServerlessNeg(ServerlessNegInfo $serverlessNeg)
|
---|
| 447 | {
|
---|
| 448 | $this->serverlessNeg = $serverlessNeg;
|
---|
| 449 | }
|
---|
| 450 | /**
|
---|
| 451 | * @return ServerlessNegInfo
|
---|
| 452 | */
|
---|
| 453 | public function getServerlessNeg()
|
---|
| 454 | {
|
---|
| 455 | return $this->serverlessNeg;
|
---|
| 456 | }
|
---|
| 457 | /**
|
---|
| 458 | * @param string
|
---|
| 459 | */
|
---|
| 460 | public function setState($state)
|
---|
| 461 | {
|
---|
| 462 | $this->state = $state;
|
---|
| 463 | }
|
---|
| 464 | /**
|
---|
| 465 | * @return string
|
---|
| 466 | */
|
---|
| 467 | public function getState()
|
---|
| 468 | {
|
---|
| 469 | return $this->state;
|
---|
| 470 | }
|
---|
| 471 | /**
|
---|
| 472 | * @param StorageBucketInfo
|
---|
| 473 | */
|
---|
| 474 | public function setStorageBucket(StorageBucketInfo $storageBucket)
|
---|
| 475 | {
|
---|
| 476 | $this->storageBucket = $storageBucket;
|
---|
| 477 | }
|
---|
| 478 | /**
|
---|
| 479 | * @return StorageBucketInfo
|
---|
| 480 | */
|
---|
| 481 | public function getStorageBucket()
|
---|
| 482 | {
|
---|
| 483 | return $this->storageBucket;
|
---|
| 484 | }
|
---|
| 485 | /**
|
---|
| 486 | * @param VpcConnectorInfo
|
---|
| 487 | */
|
---|
| 488 | public function setVpcConnector(VpcConnectorInfo $vpcConnector)
|
---|
| 489 | {
|
---|
| 490 | $this->vpcConnector = $vpcConnector;
|
---|
| 491 | }
|
---|
| 492 | /**
|
---|
| 493 | * @return VpcConnectorInfo
|
---|
| 494 | */
|
---|
| 495 | public function getVpcConnector()
|
---|
| 496 | {
|
---|
| 497 | return $this->vpcConnector;
|
---|
| 498 | }
|
---|
| 499 | /**
|
---|
| 500 | * @param VpnGatewayInfo
|
---|
| 501 | */
|
---|
| 502 | public function setVpnGateway(VpnGatewayInfo $vpnGateway)
|
---|
| 503 | {
|
---|
| 504 | $this->vpnGateway = $vpnGateway;
|
---|
| 505 | }
|
---|
| 506 | /**
|
---|
| 507 | * @return VpnGatewayInfo
|
---|
| 508 | */
|
---|
| 509 | public function getVpnGateway()
|
---|
| 510 | {
|
---|
| 511 | return $this->vpnGateway;
|
---|
| 512 | }
|
---|
| 513 | /**
|
---|
| 514 | * @param VpnTunnelInfo
|
---|
| 515 | */
|
---|
| 516 | public function setVpnTunnel(VpnTunnelInfo $vpnTunnel)
|
---|
| 517 | {
|
---|
| 518 | $this->vpnTunnel = $vpnTunnel;
|
---|
| 519 | }
|
---|
| 520 | /**
|
---|
| 521 | * @return VpnTunnelInfo
|
---|
| 522 | */
|
---|
| 523 | public function getVpnTunnel()
|
---|
| 524 | {
|
---|
| 525 | return $this->vpnTunnel;
|
---|
| 526 | }
|
---|
| 527 | }
|
---|
| 528 |
|
---|
| 529 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 530 | class_alias(Step::class, 'Google_Service_NetworkManagement_Step');
|
---|