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\Container; 19 20class IPAllocationPolicy extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $clusterIpv4Cidr; 26 /** 27 * @var string 28 */ 29 public $clusterIpv4CidrBlock; 30 /** 31 * @var string 32 */ 33 public $clusterSecondaryRangeName; 34 /** 35 * @var bool 36 */ 37 public $createSubnetwork; 38 /** 39 * @var string 40 */ 41 public $nodeIpv4Cidr; 42 /** 43 * @var string 44 */ 45 public $nodeIpv4CidrBlock; 46 /** 47 * @var string 48 */ 49 public $servicesIpv4Cidr; 50 /** 51 * @var string 52 */ 53 public $servicesIpv4CidrBlock; 54 /** 55 * @var string 56 */ 57 public $servicesSecondaryRangeName; 58 /** 59 * @var string 60 */ 61 public $subnetworkName; 62 /** 63 * @var string 64 */ 65 public $tpuIpv4CidrBlock; 66 /** 67 * @var bool 68 */ 69 public $useIpAliases; 70 /** 71 * @var bool 72 */ 73 public $useRoutes; 74 75 /** 76 * @param string 77 */ 78 public function setClusterIpv4Cidr($clusterIpv4Cidr) 79 { 80 $this->clusterIpv4Cidr = $clusterIpv4Cidr; 81 } 82 /** 83 * @return string 84 */ 85 public function getClusterIpv4Cidr() 86 { 87 return $this->clusterIpv4Cidr; 88 } 89 /** 90 * @param string 91 */ 92 public function setClusterIpv4CidrBlock($clusterIpv4CidrBlock) 93 { 94 $this->clusterIpv4CidrBlock = $clusterIpv4CidrBlock; 95 } 96 /** 97 * @return string 98 */ 99 public function getClusterIpv4CidrBlock() 100 { 101 return $this->clusterIpv4CidrBlock; 102 } 103 /** 104 * @param string 105 */ 106 public function setClusterSecondaryRangeName($clusterSecondaryRangeName) 107 { 108 $this->clusterSecondaryRangeName = $clusterSecondaryRangeName; 109 } 110 /** 111 * @return string 112 */ 113 public function getClusterSecondaryRangeName() 114 { 115 return $this->clusterSecondaryRangeName; 116 } 117 /** 118 * @param bool 119 */ 120 public function setCreateSubnetwork($createSubnetwork) 121 { 122 $this->createSubnetwork = $createSubnetwork; 123 } 124 /** 125 * @return bool 126 */ 127 public function getCreateSubnetwork() 128 { 129 return $this->createSubnetwork; 130 } 131 /** 132 * @param string 133 */ 134 public function setNodeIpv4Cidr($nodeIpv4Cidr) 135 { 136 $this->nodeIpv4Cidr = $nodeIpv4Cidr; 137 } 138 /** 139 * @return string 140 */ 141 public function getNodeIpv4Cidr() 142 { 143 return $this->nodeIpv4Cidr; 144 } 145 /** 146 * @param string 147 */ 148 public function setNodeIpv4CidrBlock($nodeIpv4CidrBlock) 149 { 150 $this->nodeIpv4CidrBlock = $nodeIpv4CidrBlock; 151 } 152 /** 153 * @return string 154 */ 155 public function getNodeIpv4CidrBlock() 156 { 157 return $this->nodeIpv4CidrBlock; 158 } 159 /** 160 * @param string 161 */ 162 public function setServicesIpv4Cidr($servicesIpv4Cidr) 163 { 164 $this->servicesIpv4Cidr = $servicesIpv4Cidr; 165 } 166 /** 167 * @return string 168 */ 169 public function getServicesIpv4Cidr() 170 { 171 return $this->servicesIpv4Cidr; 172 } 173 /** 174 * @param string 175 */ 176 public function setServicesIpv4CidrBlock($servicesIpv4CidrBlock) 177 { 178 $this->servicesIpv4CidrBlock = $servicesIpv4CidrBlock; 179 } 180 /** 181 * @return string 182 */ 183 public function getServicesIpv4CidrBlock() 184 { 185 return $this->servicesIpv4CidrBlock; 186 } 187 /** 188 * @param string 189 */ 190 public function setServicesSecondaryRangeName($servicesSecondaryRangeName) 191 { 192 $this->servicesSecondaryRangeName = $servicesSecondaryRangeName; 193 } 194 /** 195 * @return string 196 */ 197 public function getServicesSecondaryRangeName() 198 { 199 return $this->servicesSecondaryRangeName; 200 } 201 /** 202 * @param string 203 */ 204 public function setSubnetworkName($subnetworkName) 205 { 206 $this->subnetworkName = $subnetworkName; 207 } 208 /** 209 * @return string 210 */ 211 public function getSubnetworkName() 212 { 213 return $this->subnetworkName; 214 } 215 /** 216 * @param string 217 */ 218 public function setTpuIpv4CidrBlock($tpuIpv4CidrBlock) 219 { 220 $this->tpuIpv4CidrBlock = $tpuIpv4CidrBlock; 221 } 222 /** 223 * @return string 224 */ 225 public function getTpuIpv4CidrBlock() 226 { 227 return $this->tpuIpv4CidrBlock; 228 } 229 /** 230 * @param bool 231 */ 232 public function setUseIpAliases($useIpAliases) 233 { 234 $this->useIpAliases = $useIpAliases; 235 } 236 /** 237 * @return bool 238 */ 239 public function getUseIpAliases() 240 { 241 return $this->useIpAliases; 242 } 243 /** 244 * @param bool 245 */ 246 public function setUseRoutes($useRoutes) 247 { 248 $this->useRoutes = $useRoutes; 249 } 250 /** 251 * @return bool 252 */ 253 public function getUseRoutes() 254 { 255 return $this->useRoutes; 256 } 257} 258 259// Adding a class alias for backwards compatibility with the previous class name. 260class_alias(IPAllocationPolicy::class, 'Google_Service_Container_IPAllocationPolicy'); 261