[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\Container;
|
---|
| 19 |
|
---|
| 20 | class NetworkConfig extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var string
|
---|
| 24 | */
|
---|
| 25 | public $datapathProvider;
|
---|
| 26 | /**
|
---|
| 27 | * @var bool
|
---|
| 28 | */
|
---|
| 29 | public $defaultEnablePrivateNodes;
|
---|
| 30 | protected $defaultSnatStatusType = DefaultSnatStatus::class;
|
---|
| 31 | protected $defaultSnatStatusDataType = '';
|
---|
| 32 | protected $dnsConfigType = DNSConfig::class;
|
---|
| 33 | protected $dnsConfigDataType = '';
|
---|
| 34 | /**
|
---|
| 35 | * @var bool
|
---|
| 36 | */
|
---|
| 37 | public $enableCiliumClusterwideNetworkPolicy;
|
---|
| 38 | /**
|
---|
| 39 | * @var bool
|
---|
| 40 | */
|
---|
| 41 | public $enableFqdnNetworkPolicy;
|
---|
| 42 | /**
|
---|
| 43 | * @var bool
|
---|
| 44 | */
|
---|
| 45 | public $enableIntraNodeVisibility;
|
---|
| 46 | /**
|
---|
| 47 | * @var bool
|
---|
| 48 | */
|
---|
| 49 | public $enableL4ilbSubsetting;
|
---|
| 50 | /**
|
---|
| 51 | * @var bool
|
---|
| 52 | */
|
---|
| 53 | public $enableMultiNetworking;
|
---|
| 54 | protected $gatewayApiConfigType = GatewayAPIConfig::class;
|
---|
| 55 | protected $gatewayApiConfigDataType = '';
|
---|
| 56 | /**
|
---|
| 57 | * @var string
|
---|
| 58 | */
|
---|
| 59 | public $inTransitEncryptionConfig;
|
---|
| 60 | /**
|
---|
| 61 | * @var string
|
---|
| 62 | */
|
---|
| 63 | public $network;
|
---|
| 64 | protected $networkPerformanceConfigType = ClusterNetworkPerformanceConfig::class;
|
---|
| 65 | protected $networkPerformanceConfigDataType = '';
|
---|
| 66 | /**
|
---|
| 67 | * @var string
|
---|
| 68 | */
|
---|
| 69 | public $privateIpv6GoogleAccess;
|
---|
| 70 | protected $serviceExternalIpsConfigType = ServiceExternalIPsConfig::class;
|
---|
| 71 | protected $serviceExternalIpsConfigDataType = '';
|
---|
| 72 | /**
|
---|
| 73 | * @var string
|
---|
| 74 | */
|
---|
| 75 | public $subnetwork;
|
---|
| 76 |
|
---|
| 77 | /**
|
---|
| 78 | * @param string
|
---|
| 79 | */
|
---|
| 80 | public function setDatapathProvider($datapathProvider)
|
---|
| 81 | {
|
---|
| 82 | $this->datapathProvider = $datapathProvider;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @return string
|
---|
| 86 | */
|
---|
| 87 | public function getDatapathProvider()
|
---|
| 88 | {
|
---|
| 89 | return $this->datapathProvider;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @param bool
|
---|
| 93 | */
|
---|
| 94 | public function setDefaultEnablePrivateNodes($defaultEnablePrivateNodes)
|
---|
| 95 | {
|
---|
| 96 | $this->defaultEnablePrivateNodes = $defaultEnablePrivateNodes;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @return bool
|
---|
| 100 | */
|
---|
| 101 | public function getDefaultEnablePrivateNodes()
|
---|
| 102 | {
|
---|
| 103 | return $this->defaultEnablePrivateNodes;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @param DefaultSnatStatus
|
---|
| 107 | */
|
---|
| 108 | public function setDefaultSnatStatus(DefaultSnatStatus $defaultSnatStatus)
|
---|
| 109 | {
|
---|
| 110 | $this->defaultSnatStatus = $defaultSnatStatus;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @return DefaultSnatStatus
|
---|
| 114 | */
|
---|
| 115 | public function getDefaultSnatStatus()
|
---|
| 116 | {
|
---|
| 117 | return $this->defaultSnatStatus;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @param DNSConfig
|
---|
| 121 | */
|
---|
| 122 | public function setDnsConfig(DNSConfig $dnsConfig)
|
---|
| 123 | {
|
---|
| 124 | $this->dnsConfig = $dnsConfig;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @return DNSConfig
|
---|
| 128 | */
|
---|
| 129 | public function getDnsConfig()
|
---|
| 130 | {
|
---|
| 131 | return $this->dnsConfig;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @param bool
|
---|
| 135 | */
|
---|
| 136 | public function setEnableCiliumClusterwideNetworkPolicy($enableCiliumClusterwideNetworkPolicy)
|
---|
| 137 | {
|
---|
| 138 | $this->enableCiliumClusterwideNetworkPolicy = $enableCiliumClusterwideNetworkPolicy;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @return bool
|
---|
| 142 | */
|
---|
| 143 | public function getEnableCiliumClusterwideNetworkPolicy()
|
---|
| 144 | {
|
---|
| 145 | return $this->enableCiliumClusterwideNetworkPolicy;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @param bool
|
---|
| 149 | */
|
---|
| 150 | public function setEnableFqdnNetworkPolicy($enableFqdnNetworkPolicy)
|
---|
| 151 | {
|
---|
| 152 | $this->enableFqdnNetworkPolicy = $enableFqdnNetworkPolicy;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @return bool
|
---|
| 156 | */
|
---|
| 157 | public function getEnableFqdnNetworkPolicy()
|
---|
| 158 | {
|
---|
| 159 | return $this->enableFqdnNetworkPolicy;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @param bool
|
---|
| 163 | */
|
---|
| 164 | public function setEnableIntraNodeVisibility($enableIntraNodeVisibility)
|
---|
| 165 | {
|
---|
| 166 | $this->enableIntraNodeVisibility = $enableIntraNodeVisibility;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @return bool
|
---|
| 170 | */
|
---|
| 171 | public function getEnableIntraNodeVisibility()
|
---|
| 172 | {
|
---|
| 173 | return $this->enableIntraNodeVisibility;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @param bool
|
---|
| 177 | */
|
---|
| 178 | public function setEnableL4ilbSubsetting($enableL4ilbSubsetting)
|
---|
| 179 | {
|
---|
| 180 | $this->enableL4ilbSubsetting = $enableL4ilbSubsetting;
|
---|
| 181 | }
|
---|
| 182 | /**
|
---|
| 183 | * @return bool
|
---|
| 184 | */
|
---|
| 185 | public function getEnableL4ilbSubsetting()
|
---|
| 186 | {
|
---|
| 187 | return $this->enableL4ilbSubsetting;
|
---|
| 188 | }
|
---|
| 189 | /**
|
---|
| 190 | * @param bool
|
---|
| 191 | */
|
---|
| 192 | public function setEnableMultiNetworking($enableMultiNetworking)
|
---|
| 193 | {
|
---|
| 194 | $this->enableMultiNetworking = $enableMultiNetworking;
|
---|
| 195 | }
|
---|
| 196 | /**
|
---|
| 197 | * @return bool
|
---|
| 198 | */
|
---|
| 199 | public function getEnableMultiNetworking()
|
---|
| 200 | {
|
---|
| 201 | return $this->enableMultiNetworking;
|
---|
| 202 | }
|
---|
| 203 | /**
|
---|
| 204 | * @param GatewayAPIConfig
|
---|
| 205 | */
|
---|
| 206 | public function setGatewayApiConfig(GatewayAPIConfig $gatewayApiConfig)
|
---|
| 207 | {
|
---|
| 208 | $this->gatewayApiConfig = $gatewayApiConfig;
|
---|
| 209 | }
|
---|
| 210 | /**
|
---|
| 211 | * @return GatewayAPIConfig
|
---|
| 212 | */
|
---|
| 213 | public function getGatewayApiConfig()
|
---|
| 214 | {
|
---|
| 215 | return $this->gatewayApiConfig;
|
---|
| 216 | }
|
---|
| 217 | /**
|
---|
| 218 | * @param string
|
---|
| 219 | */
|
---|
| 220 | public function setInTransitEncryptionConfig($inTransitEncryptionConfig)
|
---|
| 221 | {
|
---|
| 222 | $this->inTransitEncryptionConfig = $inTransitEncryptionConfig;
|
---|
| 223 | }
|
---|
| 224 | /**
|
---|
| 225 | * @return string
|
---|
| 226 | */
|
---|
| 227 | public function getInTransitEncryptionConfig()
|
---|
| 228 | {
|
---|
| 229 | return $this->inTransitEncryptionConfig;
|
---|
| 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 ClusterNetworkPerformanceConfig
|
---|
| 247 | */
|
---|
| 248 | public function setNetworkPerformanceConfig(ClusterNetworkPerformanceConfig $networkPerformanceConfig)
|
---|
| 249 | {
|
---|
| 250 | $this->networkPerformanceConfig = $networkPerformanceConfig;
|
---|
| 251 | }
|
---|
| 252 | /**
|
---|
| 253 | * @return ClusterNetworkPerformanceConfig
|
---|
| 254 | */
|
---|
| 255 | public function getNetworkPerformanceConfig()
|
---|
| 256 | {
|
---|
| 257 | return $this->networkPerformanceConfig;
|
---|
| 258 | }
|
---|
| 259 | /**
|
---|
| 260 | * @param string
|
---|
| 261 | */
|
---|
| 262 | public function setPrivateIpv6GoogleAccess($privateIpv6GoogleAccess)
|
---|
| 263 | {
|
---|
| 264 | $this->privateIpv6GoogleAccess = $privateIpv6GoogleAccess;
|
---|
| 265 | }
|
---|
| 266 | /**
|
---|
| 267 | * @return string
|
---|
| 268 | */
|
---|
| 269 | public function getPrivateIpv6GoogleAccess()
|
---|
| 270 | {
|
---|
| 271 | return $this->privateIpv6GoogleAccess;
|
---|
| 272 | }
|
---|
| 273 | /**
|
---|
| 274 | * @param ServiceExternalIPsConfig
|
---|
| 275 | */
|
---|
| 276 | public function setServiceExternalIpsConfig(ServiceExternalIPsConfig $serviceExternalIpsConfig)
|
---|
| 277 | {
|
---|
| 278 | $this->serviceExternalIpsConfig = $serviceExternalIpsConfig;
|
---|
| 279 | }
|
---|
| 280 | /**
|
---|
| 281 | * @return ServiceExternalIPsConfig
|
---|
| 282 | */
|
---|
| 283 | public function getServiceExternalIpsConfig()
|
---|
| 284 | {
|
---|
| 285 | return $this->serviceExternalIpsConfig;
|
---|
| 286 | }
|
---|
| 287 | /**
|
---|
| 288 | * @param string
|
---|
| 289 | */
|
---|
| 290 | public function setSubnetwork($subnetwork)
|
---|
| 291 | {
|
---|
| 292 | $this->subnetwork = $subnetwork;
|
---|
| 293 | }
|
---|
| 294 | /**
|
---|
| 295 | * @return string
|
---|
| 296 | */
|
---|
| 297 | public function getSubnetwork()
|
---|
| 298 | {
|
---|
| 299 | return $this->subnetwork;
|
---|
| 300 | }
|
---|
| 301 | }
|
---|
| 302 |
|
---|
| 303 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 304 | class_alias(NetworkConfig::class, 'Google_Service_Container_NetworkConfig');
|
---|