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\Dns;
|
---|
19 |
|
---|
20 | class 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 $gkeClustersPerManagedZone;
|
---|
31 | /**
|
---|
32 | * @var int
|
---|
33 | */
|
---|
34 | public $gkeClustersPerPolicy;
|
---|
35 | /**
|
---|
36 | * @var int
|
---|
37 | */
|
---|
38 | public $gkeClustersPerResponsePolicy;
|
---|
39 | /**
|
---|
40 | * @var int
|
---|
41 | */
|
---|
42 | public $internetHealthChecksPerManagedZone;
|
---|
43 | /**
|
---|
44 | * @var int
|
---|
45 | */
|
---|
46 | public $itemsPerRoutingPolicy;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $kind;
|
---|
51 | /**
|
---|
52 | * @var int
|
---|
53 | */
|
---|
54 | public $managedZones;
|
---|
55 | /**
|
---|
56 | * @var int
|
---|
57 | */
|
---|
58 | public $managedZonesPerGkeCluster;
|
---|
59 | /**
|
---|
60 | * @var int
|
---|
61 | */
|
---|
62 | public $managedZonesPerNetwork;
|
---|
63 | /**
|
---|
64 | * @var int
|
---|
65 | */
|
---|
66 | public $nameserversPerDelegation;
|
---|
67 | /**
|
---|
68 | * @var int
|
---|
69 | */
|
---|
70 | public $networksPerManagedZone;
|
---|
71 | /**
|
---|
72 | * @var int
|
---|
73 | */
|
---|
74 | public $networksPerPolicy;
|
---|
75 | /**
|
---|
76 | * @var int
|
---|
77 | */
|
---|
78 | public $networksPerResponsePolicy;
|
---|
79 | /**
|
---|
80 | * @var int
|
---|
81 | */
|
---|
82 | public $peeringZonesPerTargetNetwork;
|
---|
83 | /**
|
---|
84 | * @var int
|
---|
85 | */
|
---|
86 | public $policies;
|
---|
87 | /**
|
---|
88 | * @var int
|
---|
89 | */
|
---|
90 | public $resourceRecordsPerRrset;
|
---|
91 | /**
|
---|
92 | * @var int
|
---|
93 | */
|
---|
94 | public $responsePolicies;
|
---|
95 | /**
|
---|
96 | * @var int
|
---|
97 | */
|
---|
98 | public $responsePolicyRulesPerResponsePolicy;
|
---|
99 | /**
|
---|
100 | * @var int
|
---|
101 | */
|
---|
102 | public $rrsetAdditionsPerChange;
|
---|
103 | /**
|
---|
104 | * @var int
|
---|
105 | */
|
---|
106 | public $rrsetDeletionsPerChange;
|
---|
107 | /**
|
---|
108 | * @var int
|
---|
109 | */
|
---|
110 | public $rrsetsPerManagedZone;
|
---|
111 | /**
|
---|
112 | * @var int
|
---|
113 | */
|
---|
114 | public $targetNameServersPerManagedZone;
|
---|
115 | /**
|
---|
116 | * @var int
|
---|
117 | */
|
---|
118 | public $targetNameServersPerPolicy;
|
---|
119 | /**
|
---|
120 | * @var int
|
---|
121 | */
|
---|
122 | public $totalRrdataSizePerChange;
|
---|
123 | protected $whitelistedKeySpecsType = DnsKeySpec::class;
|
---|
124 | protected $whitelistedKeySpecsDataType = 'array';
|
---|
125 |
|
---|
126 | /**
|
---|
127 | * @param int
|
---|
128 | */
|
---|
129 | public function setDnsKeysPerManagedZone($dnsKeysPerManagedZone)
|
---|
130 | {
|
---|
131 | $this->dnsKeysPerManagedZone = $dnsKeysPerManagedZone;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return int
|
---|
135 | */
|
---|
136 | public function getDnsKeysPerManagedZone()
|
---|
137 | {
|
---|
138 | return $this->dnsKeysPerManagedZone;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param int
|
---|
142 | */
|
---|
143 | public function setGkeClustersPerManagedZone($gkeClustersPerManagedZone)
|
---|
144 | {
|
---|
145 | $this->gkeClustersPerManagedZone = $gkeClustersPerManagedZone;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return int
|
---|
149 | */
|
---|
150 | public function getGkeClustersPerManagedZone()
|
---|
151 | {
|
---|
152 | return $this->gkeClustersPerManagedZone;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param int
|
---|
156 | */
|
---|
157 | public function setGkeClustersPerPolicy($gkeClustersPerPolicy)
|
---|
158 | {
|
---|
159 | $this->gkeClustersPerPolicy = $gkeClustersPerPolicy;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return int
|
---|
163 | */
|
---|
164 | public function getGkeClustersPerPolicy()
|
---|
165 | {
|
---|
166 | return $this->gkeClustersPerPolicy;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param int
|
---|
170 | */
|
---|
171 | public function setGkeClustersPerResponsePolicy($gkeClustersPerResponsePolicy)
|
---|
172 | {
|
---|
173 | $this->gkeClustersPerResponsePolicy = $gkeClustersPerResponsePolicy;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return int
|
---|
177 | */
|
---|
178 | public function getGkeClustersPerResponsePolicy()
|
---|
179 | {
|
---|
180 | return $this->gkeClustersPerResponsePolicy;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param int
|
---|
184 | */
|
---|
185 | public function setInternetHealthChecksPerManagedZone($internetHealthChecksPerManagedZone)
|
---|
186 | {
|
---|
187 | $this->internetHealthChecksPerManagedZone = $internetHealthChecksPerManagedZone;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return int
|
---|
191 | */
|
---|
192 | public function getInternetHealthChecksPerManagedZone()
|
---|
193 | {
|
---|
194 | return $this->internetHealthChecksPerManagedZone;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param int
|
---|
198 | */
|
---|
199 | public function setItemsPerRoutingPolicy($itemsPerRoutingPolicy)
|
---|
200 | {
|
---|
201 | $this->itemsPerRoutingPolicy = $itemsPerRoutingPolicy;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return int
|
---|
205 | */
|
---|
206 | public function getItemsPerRoutingPolicy()
|
---|
207 | {
|
---|
208 | return $this->itemsPerRoutingPolicy;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setKind($kind)
|
---|
214 | {
|
---|
215 | $this->kind = $kind;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getKind()
|
---|
221 | {
|
---|
222 | return $this->kind;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param int
|
---|
226 | */
|
---|
227 | public function setManagedZones($managedZones)
|
---|
228 | {
|
---|
229 | $this->managedZones = $managedZones;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return int
|
---|
233 | */
|
---|
234 | public function getManagedZones()
|
---|
235 | {
|
---|
236 | return $this->managedZones;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param int
|
---|
240 | */
|
---|
241 | public function setManagedZonesPerGkeCluster($managedZonesPerGkeCluster)
|
---|
242 | {
|
---|
243 | $this->managedZonesPerGkeCluster = $managedZonesPerGkeCluster;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return int
|
---|
247 | */
|
---|
248 | public function getManagedZonesPerGkeCluster()
|
---|
249 | {
|
---|
250 | return $this->managedZonesPerGkeCluster;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param int
|
---|
254 | */
|
---|
255 | public function setManagedZonesPerNetwork($managedZonesPerNetwork)
|
---|
256 | {
|
---|
257 | $this->managedZonesPerNetwork = $managedZonesPerNetwork;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return int
|
---|
261 | */
|
---|
262 | public function getManagedZonesPerNetwork()
|
---|
263 | {
|
---|
264 | return $this->managedZonesPerNetwork;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param int
|
---|
268 | */
|
---|
269 | public function setNameserversPerDelegation($nameserversPerDelegation)
|
---|
270 | {
|
---|
271 | $this->nameserversPerDelegation = $nameserversPerDelegation;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return int
|
---|
275 | */
|
---|
276 | public function getNameserversPerDelegation()
|
---|
277 | {
|
---|
278 | return $this->nameserversPerDelegation;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param int
|
---|
282 | */
|
---|
283 | public function setNetworksPerManagedZone($networksPerManagedZone)
|
---|
284 | {
|
---|
285 | $this->networksPerManagedZone = $networksPerManagedZone;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return int
|
---|
289 | */
|
---|
290 | public function getNetworksPerManagedZone()
|
---|
291 | {
|
---|
292 | return $this->networksPerManagedZone;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param int
|
---|
296 | */
|
---|
297 | public function setNetworksPerPolicy($networksPerPolicy)
|
---|
298 | {
|
---|
299 | $this->networksPerPolicy = $networksPerPolicy;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return int
|
---|
303 | */
|
---|
304 | public function getNetworksPerPolicy()
|
---|
305 | {
|
---|
306 | return $this->networksPerPolicy;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param int
|
---|
310 | */
|
---|
311 | public function setNetworksPerResponsePolicy($networksPerResponsePolicy)
|
---|
312 | {
|
---|
313 | $this->networksPerResponsePolicy = $networksPerResponsePolicy;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return int
|
---|
317 | */
|
---|
318 | public function getNetworksPerResponsePolicy()
|
---|
319 | {
|
---|
320 | return $this->networksPerResponsePolicy;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @param int
|
---|
324 | */
|
---|
325 | public function setPeeringZonesPerTargetNetwork($peeringZonesPerTargetNetwork)
|
---|
326 | {
|
---|
327 | $this->peeringZonesPerTargetNetwork = $peeringZonesPerTargetNetwork;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @return int
|
---|
331 | */
|
---|
332 | public function getPeeringZonesPerTargetNetwork()
|
---|
333 | {
|
---|
334 | return $this->peeringZonesPerTargetNetwork;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @param int
|
---|
338 | */
|
---|
339 | public function setPolicies($policies)
|
---|
340 | {
|
---|
341 | $this->policies = $policies;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @return int
|
---|
345 | */
|
---|
346 | public function getPolicies()
|
---|
347 | {
|
---|
348 | return $this->policies;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @param int
|
---|
352 | */
|
---|
353 | public function setResourceRecordsPerRrset($resourceRecordsPerRrset)
|
---|
354 | {
|
---|
355 | $this->resourceRecordsPerRrset = $resourceRecordsPerRrset;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @return int
|
---|
359 | */
|
---|
360 | public function getResourceRecordsPerRrset()
|
---|
361 | {
|
---|
362 | return $this->resourceRecordsPerRrset;
|
---|
363 | }
|
---|
364 | /**
|
---|
365 | * @param int
|
---|
366 | */
|
---|
367 | public function setResponsePolicies($responsePolicies)
|
---|
368 | {
|
---|
369 | $this->responsePolicies = $responsePolicies;
|
---|
370 | }
|
---|
371 | /**
|
---|
372 | * @return int
|
---|
373 | */
|
---|
374 | public function getResponsePolicies()
|
---|
375 | {
|
---|
376 | return $this->responsePolicies;
|
---|
377 | }
|
---|
378 | /**
|
---|
379 | * @param int
|
---|
380 | */
|
---|
381 | public function setResponsePolicyRulesPerResponsePolicy($responsePolicyRulesPerResponsePolicy)
|
---|
382 | {
|
---|
383 | $this->responsePolicyRulesPerResponsePolicy = $responsePolicyRulesPerResponsePolicy;
|
---|
384 | }
|
---|
385 | /**
|
---|
386 | * @return int
|
---|
387 | */
|
---|
388 | public function getResponsePolicyRulesPerResponsePolicy()
|
---|
389 | {
|
---|
390 | return $this->responsePolicyRulesPerResponsePolicy;
|
---|
391 | }
|
---|
392 | /**
|
---|
393 | * @param int
|
---|
394 | */
|
---|
395 | public function setRrsetAdditionsPerChange($rrsetAdditionsPerChange)
|
---|
396 | {
|
---|
397 | $this->rrsetAdditionsPerChange = $rrsetAdditionsPerChange;
|
---|
398 | }
|
---|
399 | /**
|
---|
400 | * @return int
|
---|
401 | */
|
---|
402 | public function getRrsetAdditionsPerChange()
|
---|
403 | {
|
---|
404 | return $this->rrsetAdditionsPerChange;
|
---|
405 | }
|
---|
406 | /**
|
---|
407 | * @param int
|
---|
408 | */
|
---|
409 | public function setRrsetDeletionsPerChange($rrsetDeletionsPerChange)
|
---|
410 | {
|
---|
411 | $this->rrsetDeletionsPerChange = $rrsetDeletionsPerChange;
|
---|
412 | }
|
---|
413 | /**
|
---|
414 | * @return int
|
---|
415 | */
|
---|
416 | public function getRrsetDeletionsPerChange()
|
---|
417 | {
|
---|
418 | return $this->rrsetDeletionsPerChange;
|
---|
419 | }
|
---|
420 | /**
|
---|
421 | * @param int
|
---|
422 | */
|
---|
423 | public function setRrsetsPerManagedZone($rrsetsPerManagedZone)
|
---|
424 | {
|
---|
425 | $this->rrsetsPerManagedZone = $rrsetsPerManagedZone;
|
---|
426 | }
|
---|
427 | /**
|
---|
428 | * @return int
|
---|
429 | */
|
---|
430 | public function getRrsetsPerManagedZone()
|
---|
431 | {
|
---|
432 | return $this->rrsetsPerManagedZone;
|
---|
433 | }
|
---|
434 | /**
|
---|
435 | * @param int
|
---|
436 | */
|
---|
437 | public function setTargetNameServersPerManagedZone($targetNameServersPerManagedZone)
|
---|
438 | {
|
---|
439 | $this->targetNameServersPerManagedZone = $targetNameServersPerManagedZone;
|
---|
440 | }
|
---|
441 | /**
|
---|
442 | * @return int
|
---|
443 | */
|
---|
444 | public function getTargetNameServersPerManagedZone()
|
---|
445 | {
|
---|
446 | return $this->targetNameServersPerManagedZone;
|
---|
447 | }
|
---|
448 | /**
|
---|
449 | * @param int
|
---|
450 | */
|
---|
451 | public function setTargetNameServersPerPolicy($targetNameServersPerPolicy)
|
---|
452 | {
|
---|
453 | $this->targetNameServersPerPolicy = $targetNameServersPerPolicy;
|
---|
454 | }
|
---|
455 | /**
|
---|
456 | * @return int
|
---|
457 | */
|
---|
458 | public function getTargetNameServersPerPolicy()
|
---|
459 | {
|
---|
460 | return $this->targetNameServersPerPolicy;
|
---|
461 | }
|
---|
462 | /**
|
---|
463 | * @param int
|
---|
464 | */
|
---|
465 | public function setTotalRrdataSizePerChange($totalRrdataSizePerChange)
|
---|
466 | {
|
---|
467 | $this->totalRrdataSizePerChange = $totalRrdataSizePerChange;
|
---|
468 | }
|
---|
469 | /**
|
---|
470 | * @return int
|
---|
471 | */
|
---|
472 | public function getTotalRrdataSizePerChange()
|
---|
473 | {
|
---|
474 | return $this->totalRrdataSizePerChange;
|
---|
475 | }
|
---|
476 | /**
|
---|
477 | * @param DnsKeySpec[]
|
---|
478 | */
|
---|
479 | public function setWhitelistedKeySpecs($whitelistedKeySpecs)
|
---|
480 | {
|
---|
481 | $this->whitelistedKeySpecs = $whitelistedKeySpecs;
|
---|
482 | }
|
---|
483 | /**
|
---|
484 | * @return DnsKeySpec[]
|
---|
485 | */
|
---|
486 | public function getWhitelistedKeySpecs()
|
---|
487 | {
|
---|
488 | return $this->whitelistedKeySpecs;
|
---|
489 | }
|
---|
490 | }
|
---|
491 |
|
---|
492 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
493 | class_alias(Quota::class, 'Google_Service_Dns_Quota');
|
---|