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\Dns; 19 20class Quota extends \Google\Collection 21{ 22 protected $collection_key = 'whitelistedKeySpecs'; 23 /** 24 * @var int 25 */ 26 public $dnsKeysPerManagedZone; 27 /** 28 * @var int 29 */ 30 public $itemsPerRoutingPolicy; 31 /** 32 * @var string 33 */ 34 public $kind; 35 /** 36 * @var int 37 */ 38 public $managedZones; 39 /** 40 * @var int 41 */ 42 public $managedZonesPerNetwork; 43 /** 44 * @var int 45 */ 46 public $networksPerManagedZone; 47 /** 48 * @var int 49 */ 50 public $networksPerPolicy; 51 /** 52 * @var int 53 */ 54 public $peeringZonesPerTargetNetwork; 55 /** 56 * @var int 57 */ 58 public $policies; 59 /** 60 * @var int 61 */ 62 public $resourceRecordsPerRrset; 63 /** 64 * @var int 65 */ 66 public $rrsetAdditionsPerChange; 67 /** 68 * @var int 69 */ 70 public $rrsetDeletionsPerChange; 71 /** 72 * @var int 73 */ 74 public $rrsetsPerManagedZone; 75 /** 76 * @var int 77 */ 78 public $targetNameServersPerManagedZone; 79 /** 80 * @var int 81 */ 82 public $targetNameServersPerPolicy; 83 /** 84 * @var int 85 */ 86 public $totalRrdataSizePerChange; 87 protected $whitelistedKeySpecsType = DnsKeySpec::class; 88 protected $whitelistedKeySpecsDataType = 'array'; 89 90 /** 91 * @param int 92 */ 93 public function setDnsKeysPerManagedZone($dnsKeysPerManagedZone) 94 { 95 $this->dnsKeysPerManagedZone = $dnsKeysPerManagedZone; 96 } 97 /** 98 * @return int 99 */ 100 public function getDnsKeysPerManagedZone() 101 { 102 return $this->dnsKeysPerManagedZone; 103 } 104 /** 105 * @param int 106 */ 107 public function setItemsPerRoutingPolicy($itemsPerRoutingPolicy) 108 { 109 $this->itemsPerRoutingPolicy = $itemsPerRoutingPolicy; 110 } 111 /** 112 * @return int 113 */ 114 public function getItemsPerRoutingPolicy() 115 { 116 return $this->itemsPerRoutingPolicy; 117 } 118 /** 119 * @param string 120 */ 121 public function setKind($kind) 122 { 123 $this->kind = $kind; 124 } 125 /** 126 * @return string 127 */ 128 public function getKind() 129 { 130 return $this->kind; 131 } 132 /** 133 * @param int 134 */ 135 public function setManagedZones($managedZones) 136 { 137 $this->managedZones = $managedZones; 138 } 139 /** 140 * @return int 141 */ 142 public function getManagedZones() 143 { 144 return $this->managedZones; 145 } 146 /** 147 * @param int 148 */ 149 public function setManagedZonesPerNetwork($managedZonesPerNetwork) 150 { 151 $this->managedZonesPerNetwork = $managedZonesPerNetwork; 152 } 153 /** 154 * @return int 155 */ 156 public function getManagedZonesPerNetwork() 157 { 158 return $this->managedZonesPerNetwork; 159 } 160 /** 161 * @param int 162 */ 163 public function setNetworksPerManagedZone($networksPerManagedZone) 164 { 165 $this->networksPerManagedZone = $networksPerManagedZone; 166 } 167 /** 168 * @return int 169 */ 170 public function getNetworksPerManagedZone() 171 { 172 return $this->networksPerManagedZone; 173 } 174 /** 175 * @param int 176 */ 177 public function setNetworksPerPolicy($networksPerPolicy) 178 { 179 $this->networksPerPolicy = $networksPerPolicy; 180 } 181 /** 182 * @return int 183 */ 184 public function getNetworksPerPolicy() 185 { 186 return $this->networksPerPolicy; 187 } 188 /** 189 * @param int 190 */ 191 public function setPeeringZonesPerTargetNetwork($peeringZonesPerTargetNetwork) 192 { 193 $this->peeringZonesPerTargetNetwork = $peeringZonesPerTargetNetwork; 194 } 195 /** 196 * @return int 197 */ 198 public function getPeeringZonesPerTargetNetwork() 199 { 200 return $this->peeringZonesPerTargetNetwork; 201 } 202 /** 203 * @param int 204 */ 205 public function setPolicies($policies) 206 { 207 $this->policies = $policies; 208 } 209 /** 210 * @return int 211 */ 212 public function getPolicies() 213 { 214 return $this->policies; 215 } 216 /** 217 * @param int 218 */ 219 public function setResourceRecordsPerRrset($resourceRecordsPerRrset) 220 { 221 $this->resourceRecordsPerRrset = $resourceRecordsPerRrset; 222 } 223 /** 224 * @return int 225 */ 226 public function getResourceRecordsPerRrset() 227 { 228 return $this->resourceRecordsPerRrset; 229 } 230 /** 231 * @param int 232 */ 233 public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange) 234 { 235 $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange; 236 } 237 /** 238 * @return int 239 */ 240 public function getRrsetAdditionsPerChange() 241 { 242 return $this->rrsetAdditionsPerChange; 243 } 244 /** 245 * @param int 246 */ 247 public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange) 248 { 249 $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange; 250 } 251 /** 252 * @return int 253 */ 254 public function getRrsetDeletionsPerChange() 255 { 256 return $this->rrsetDeletionsPerChange; 257 } 258 /** 259 * @param int 260 */ 261 public function setRrsetsPerManagedZone($rrsetsPerManagedZone) 262 { 263 $this->rrsetsPerManagedZone = $rrsetsPerManagedZone; 264 } 265 /** 266 * @return int 267 */ 268 public function getRrsetsPerManagedZone() 269 { 270 return $this->rrsetsPerManagedZone; 271 } 272 /** 273 * @param int 274 */ 275 public function setTargetNameServersPerManagedZone($targetNameServersPerManagedZone) 276 { 277 $this->targetNameServersPerManagedZone = $targetNameServersPerManagedZone; 278 } 279 /** 280 * @return int 281 */ 282 public function getTargetNameServersPerManagedZone() 283 { 284 return $this->targetNameServersPerManagedZone; 285 } 286 /** 287 * @param int 288 */ 289 public function setTargetNameServersPerPolicy($targetNameServersPerPolicy) 290 { 291 $this->targetNameServersPerPolicy = $targetNameServersPerPolicy; 292 } 293 /** 294 * @return int 295 */ 296 public function getTargetNameServersPerPolicy() 297 { 298 return $this->targetNameServersPerPolicy; 299 } 300 /** 301 * @param int 302 */ 303 public function setTotalRrdataSizePerChange($totalRrdataSizePerChange) 304 { 305 $this->totalRrdataSizePerChange = $totalRrdataSizePerChange; 306 } 307 /** 308 * @return int 309 */ 310 public function getTotalRrdataSizePerChange() 311 { 312 return $this->totalRrdataSizePerChange; 313 } 314 /** 315 * @param DnsKeySpec[] 316 */ 317 public function setWhitelistedKeySpecs($whitelistedKeySpecs) 318 { 319 $this->whitelistedKeySpecs = $whitelistedKeySpecs; 320 } 321 /** 322 * @return DnsKeySpec[] 323 */ 324 public function getWhitelistedKeySpecs() 325 { 326 return $this->whitelistedKeySpecs; 327 } 328} 329 330// Adding a class alias for backwards compatibility with the previous class name. 331class_alias(Quota::class, 'Google_Service_Dns_Quota'); 332