PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.0.3
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.0.3
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / Autoscaler.php

Autoscaler.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.0.3, at lib/Google/Service/Autoscaler.php

1,070 lines 27.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 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 /**
19 * Service definition for Autoscaler (v1beta2).
20 *
21 * <p>
22 * The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="http://developers.google.com/compute/docs/autoscaler" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_Autoscaler extends Analytify_Google_Service
33 {
34 /** View and manage your Google Compute Engine resources. */
35 const COMPUTE = "https://www.googleapis.com/auth/compute";
36 /** View your Google Compute Engine resources. */
37 const COMPUTE_READONLY = "https://www.googleapis.com/auth/compute.readonly";
38
39 public $autoscalers;
40 public $zoneOperations;
41
42
43 /**
44 * Constructs the internal representation of the Autoscaler service.
45 *
46 * @param Analytify_Google_Client $client
47 */
48 public function __construct(Analytify_Google_Client $client)
49 {
50 parent::__construct($client);
51 $this->servicePath = 'autoscaler/v1beta2/';
52 $this->version = 'v1beta2';
53 $this->serviceName = 'autoscaler';
54
55 $this->autoscalers = new Analytify_Google_Service_Autoscaler_Autoscalers_Resource(
56 $this,
57 $this->serviceName,
58 'autoscalers',
59 array(
60 'methods' => array(
61 'delete' => array(
62 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
63 'httpMethod' => 'DELETE',
64 'parameters' => array(
65 'project' => array(
66 'location' => 'path',
67 'type' => 'string',
68 'required' => true,
69 ),
70 'zone' => array(
71 'location' => 'path',
72 'type' => 'string',
73 'required' => true,
74 ),
75 'autoscaler' => array(
76 'location' => 'path',
77 'type' => 'string',
78 'required' => true,
79 ),
80 ),
81 ),'get' => array(
82 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
83 'httpMethod' => 'GET',
84 'parameters' => array(
85 'project' => array(
86 'location' => 'path',
87 'type' => 'string',
88 'required' => true,
89 ),
90 'zone' => array(
91 'location' => 'path',
92 'type' => 'string',
93 'required' => true,
94 ),
95 'autoscaler' => array(
96 'location' => 'path',
97 'type' => 'string',
98 'required' => true,
99 ),
100 ),
101 ),'insert' => array(
102 'path' => 'projects/{project}/zones/{zone}/autoscalers',
103 'httpMethod' => 'POST',
104 'parameters' => array(
105 'project' => array(
106 'location' => 'path',
107 'type' => 'string',
108 'required' => true,
109 ),
110 'zone' => array(
111 'location' => 'path',
112 'type' => 'string',
113 'required' => true,
114 ),
115 ),
116 ),'list' => array(
117 'path' => 'projects/{project}/zones/{zone}/autoscalers',
118 'httpMethod' => 'GET',
119 'parameters' => array(
120 'project' => array(
121 'location' => 'path',
122 'type' => 'string',
123 'required' => true,
124 ),
125 'zone' => array(
126 'location' => 'path',
127 'type' => 'string',
128 'required' => true,
129 ),
130 'filter' => array(
131 'location' => 'query',
132 'type' => 'string',
133 ),
134 'pageToken' => array(
135 'location' => 'query',
136 'type' => 'string',
137 ),
138 'maxResults' => array(
139 'location' => 'query',
140 'type' => 'integer',
141 ),
142 ),
143 ),'patch' => array(
144 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
145 'httpMethod' => 'PATCH',
146 'parameters' => array(
147 'project' => array(
148 'location' => 'path',
149 'type' => 'string',
150 'required' => true,
151 ),
152 'zone' => array(
153 'location' => 'path',
154 'type' => 'string',
155 'required' => true,
156 ),
157 'autoscaler' => array(
158 'location' => 'path',
159 'type' => 'string',
160 'required' => true,
161 ),
162 ),
163 ),'update' => array(
164 'path' => 'projects/{project}/zones/{zone}/autoscalers/{autoscaler}',
165 'httpMethod' => 'PUT',
166 'parameters' => array(
167 'project' => array(
168 'location' => 'path',
169 'type' => 'string',
170 'required' => true,
171 ),
172 'zone' => array(
173 'location' => 'path',
174 'type' => 'string',
175 'required' => true,
176 ),
177 'autoscaler' => array(
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ),
182 ),
183 ),
184 )
185 )
186 );
187 $this->zoneOperations = new Analytify_Google_Service_Autoscaler_ZoneOperations_Resource(
188 $this,
189 $this->serviceName,
190 'zoneOperations',
191 array(
192 'methods' => array(
193 'delete' => array(
194 'path' => '{project}/zones/{zone}/operations/{operation}',
195 'httpMethod' => 'DELETE',
196 'parameters' => array(
197 'project' => array(
198 'location' => 'path',
199 'type' => 'string',
200 'required' => true,
201 ),
202 'zone' => array(
203 'location' => 'path',
204 'type' => 'string',
205 'required' => true,
206 ),
207 'operation' => array(
208 'location' => 'path',
209 'type' => 'string',
210 'required' => true,
211 ),
212 ),
213 ),'get' => array(
214 'path' => '{project}/zones/{zone}/operations/{operation}',
215 'httpMethod' => 'GET',
216 'parameters' => array(
217 'project' => array(
218 'location' => 'path',
219 'type' => 'string',
220 'required' => true,
221 ),
222 'zone' => array(
223 'location' => 'path',
224 'type' => 'string',
225 'required' => true,
226 ),
227 'operation' => array(
228 'location' => 'path',
229 'type' => 'string',
230 'required' => true,
231 ),
232 ),
233 ),'list' => array(
234 'path' => '{project}/zones/{zone}/operations',
235 'httpMethod' => 'GET',
236 'parameters' => array(
237 'project' => array(
238 'location' => 'path',
239 'type' => 'string',
240 'required' => true,
241 ),
242 'zone' => array(
243 'location' => 'path',
244 'type' => 'string',
245 'required' => true,
246 ),
247 'filter' => array(
248 'location' => 'query',
249 'type' => 'string',
250 ),
251 'pageToken' => array(
252 'location' => 'query',
253 'type' => 'string',
254 ),
255 'maxResults' => array(
256 'location' => 'query',
257 'type' => 'integer',
258 ),
259 ),
260 ),
261 )
262 )
263 );
264 }
265 }
266
267
268 /**
269 * The "autoscalers" collection of methods.
270 * Typical usage is:
271 * <code>
272 * $autoscalerService = new Analytify_Google_Service_Autoscaler(...);
273 * $autoscalers = $autoscalerService->autoscalers;
274 * </code>
275 */
276 class Analytify_Google_Service_Autoscaler_Autoscalers_Resource extends Analytify_Google_Service_Resource
277 {
278
279 /**
280 * Deletes the specified Autoscaler resource. (autoscalers.delete)
281 *
282 * @param string $project
283 * Project ID of Autoscaler resource.
284 * @param string $zone
285 * Zone name of Autoscaler resource.
286 * @param string $autoscaler
287 * Name of the Autoscaler resource.
288 * @param array $optParams Optional parameters.
289 * @return Analytify_Google_Service_Autoscaler_Operation
290 */
291 public function delete($project, $zone, $autoscaler, $optParams = array())
292 {
293 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
294 $params = array_merge($params, $optParams);
295 return $this->call('delete', array($params), "Analytify_Google_Service_Autoscaler_Operation");
296 }
297 /**
298 * Gets the specified Autoscaler resource. (autoscalers.get)
299 *
300 * @param string $project
301 * Project ID of Autoscaler resource.
302 * @param string $zone
303 * Zone name of Autoscaler resource.
304 * @param string $autoscaler
305 * Name of the Autoscaler resource.
306 * @param array $optParams Optional parameters.
307 * @return Analytify_Google_Service_Autoscaler_Autoscaler
308 */
309 public function get($project, $zone, $autoscaler, $optParams = array())
310 {
311 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler);
312 $params = array_merge($params, $optParams);
313 return $this->call('get', array($params), "Analytify_Google_Service_Autoscaler_Autoscaler");
314 }
315 /**
316 * Adds new Autoscaler resource. (autoscalers.insert)
317 *
318 * @param string $project
319 * Project ID of Autoscaler resource.
320 * @param string $zone
321 * Zone name of Autoscaler resource.
322 * @param Analytify_Google_Autoscaler $postBody
323 * @param array $optParams Optional parameters.
324 * @return Analytify_Google_Service_Autoscaler_Operation
325 */
326 public function insert($project, $zone, Analytify_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
327 {
328 $params = array('project' => $project, 'zone' => $zone, 'postBody' => $postBody);
329 $params = array_merge($params, $optParams);
330 return $this->call('insert', array($params), "Analytify_Google_Service_Autoscaler_Operation");
331 }
332 /**
333 * Lists all Autoscaler resources in this zone. (autoscalers.listAutoscalers)
334 *
335 * @param string $project
336 * Project ID of Autoscaler resource.
337 * @param string $zone
338 * Zone name of Autoscaler resource.
339 * @param array $optParams Optional parameters.
340 *
341 * @opt_param string filter
342 *
343 * @opt_param string pageToken
344 *
345 * @opt_param string maxResults
346 *
347 * @return Analytify_Google_Service_Autoscaler_AutoscalerListResponse
348 */
349 public function listAutoscalers($project, $zone, $optParams = array())
350 {
351 $params = array('project' => $project, 'zone' => $zone);
352 $params = array_merge($params, $optParams);
353 return $this->call('list', array($params), "Analytify_Google_Service_Autoscaler_AutoscalerListResponse");
354 }
355 /**
356 * Update the entire content of the Autoscaler resource. This method supports
357 * patch semantics. (autoscalers.patch)
358 *
359 * @param string $project
360 * Project ID of Autoscaler resource.
361 * @param string $zone
362 * Zone name of Autoscaler resource.
363 * @param string $autoscaler
364 * Name of the Autoscaler resource.
365 * @param Analytify_Google_Autoscaler $postBody
366 * @param array $optParams Optional parameters.
367 * @return Analytify_Google_Service_Autoscaler_Operation
368 */
369 public function patch($project, $zone, $autoscaler, Analytify_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
370 {
371 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
372 $params = array_merge($params, $optParams);
373 return $this->call('patch', array($params), "Analytify_Google_Service_Autoscaler_Operation");
374 }
375 /**
376 * Update the entire content of the Autoscaler resource. (autoscalers.update)
377 *
378 * @param string $project
379 * Project ID of Autoscaler resource.
380 * @param string $zone
381 * Zone name of Autoscaler resource.
382 * @param string $autoscaler
383 * Name of the Autoscaler resource.
384 * @param Analytify_Google_Autoscaler $postBody
385 * @param array $optParams Optional parameters.
386 * @return Analytify_Google_Service_Autoscaler_Operation
387 */
388 public function update($project, $zone, $autoscaler, Analytify_Google_Service_Autoscaler_Autoscaler $postBody, $optParams = array())
389 {
390 $params = array('project' => $project, 'zone' => $zone, 'autoscaler' => $autoscaler, 'postBody' => $postBody);
391 $params = array_merge($params, $optParams);
392 return $this->call('update', array($params), "Analytify_Google_Service_Autoscaler_Operation");
393 }
394 }
395
396 /**
397 * The "zoneOperations" collection of methods.
398 * Typical usage is:
399 * <code>
400 * $autoscalerService = new Analytify_Google_Service_Autoscaler(...);
401 * $zoneOperations = $autoscalerService->zoneOperations;
402 * </code>
403 */
404 class Analytify_Google_Service_Autoscaler_ZoneOperations_Resource extends Analytify_Google_Service_Resource
405 {
406
407 /**
408 * Deletes the specified zone-specific operation resource.
409 * (zoneOperations.delete)
410 *
411 * @param string $project
412 *
413 * @param string $zone
414 *
415 * @param string $operation
416 *
417 * @param array $optParams Optional parameters.
418 */
419 public function delete($project, $zone, $operation, $optParams = array())
420 {
421 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
422 $params = array_merge($params, $optParams);
423 return $this->call('delete', array($params));
424 }
425 /**
426 * Retrieves the specified zone-specific operation resource.
427 * (zoneOperations.get)
428 *
429 * @param string $project
430 *
431 * @param string $zone
432 *
433 * @param string $operation
434 *
435 * @param array $optParams Optional parameters.
436 * @return Analytify_Google_Service_Autoscaler_Operation
437 */
438 public function get($project, $zone, $operation, $optParams = array())
439 {
440 $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation);
441 $params = array_merge($params, $optParams);
442 return $this->call('get', array($params), "Analytify_Google_Service_Autoscaler_Operation");
443 }
444 /**
445 * Retrieves the list of operation resources contained within the specified
446 * zone. (zoneOperations.listZoneOperations)
447 *
448 * @param string $project
449 *
450 * @param string $zone
451 *
452 * @param array $optParams Optional parameters.
453 *
454 * @opt_param string filter
455 *
456 * @opt_param string pageToken
457 *
458 * @opt_param string maxResults
459 *
460 * @return Analytify_Google_Service_Autoscaler_OperationList
461 */
462 public function listZoneOperations($project, $zone, $optParams = array())
463 {
464 $params = array('project' => $project, 'zone' => $zone);
465 $params = array_merge($params, $optParams);
466 return $this->call('list', array($params), "Analytify_Google_Service_Autoscaler_OperationList");
467 }
468 }
469
470
471
472
473 class Analytify_Google_Service_Autoscaler_Autoscaler extends Analytify_Google_Model
474 {
475 protected $autoscalingPolicyType = 'Analytify_Google_Service_Autoscaler_AutoscalingPolicy';
476 protected $autoscalingPolicyDataType = '';
477 public $creationTimestamp;
478 public $description;
479 public $id;
480 public $name;
481 public $selfLink;
482 public $target;
483
484 public function setAutoscalingPolicy(Analytify_Google_Service_Autoscaler_AutoscalingPolicy $autoscalingPolicy)
485 {
486 $this->autoscalingPolicy = $autoscalingPolicy;
487 }
488
489 public function getAutoscalingPolicy()
490 {
491 return $this->autoscalingPolicy;
492 }
493
494 public function setCreationTimestamp($creationTimestamp)
495 {
496 $this->creationTimestamp = $creationTimestamp;
497 }
498
499 public function getCreationTimestamp()
500 {
501 return $this->creationTimestamp;
502 }
503
504 public function setDescription($description)
505 {
506 $this->description = $description;
507 }
508
509 public function getDescription()
510 {
511 return $this->description;
512 }
513
514 public function setId($id)
515 {
516 $this->id = $id;
517 }
518
519 public function getId()
520 {
521 return $this->id;
522 }
523
524 public function setName($name)
525 {
526 $this->name = $name;
527 }
528
529 public function getName()
530 {
531 return $this->name;
532 }
533
534 public function setSelfLink($selfLink)
535 {
536 $this->selfLink = $selfLink;
537 }
538
539 public function getSelfLink()
540 {
541 return $this->selfLink;
542 }
543
544 public function setTarget($target)
545 {
546 $this->target = $target;
547 }
548
549 public function getTarget()
550 {
551 return $this->target;
552 }
553 }
554
555 class Analytify_Google_Service_Autoscaler_AutoscalerListResponse extends Analytify_Google_Collection
556 {
557 protected $itemsType = 'Analytify_Google_Service_Autoscaler_Autoscaler';
558 protected $itemsDataType = 'array';
559 public $nextPageToken;
560
561 public function setItems($items)
562 {
563 $this->items = $items;
564 }
565
566 public function getItems()
567 {
568 return $this->items;
569 }
570
571 public function setNextPageToken($nextPageToken)
572 {
573 $this->nextPageToken = $nextPageToken;
574 }
575
576 public function getNextPageToken()
577 {
578 return $this->nextPageToken;
579 }
580 }
581
582 class Analytify_Google_Service_Autoscaler_AutoscalingPolicy extends Analytify_Google_Model
583 {
584 public $coolDownPeriodSec;
585 protected $cpuUtilizationType = 'Analytify_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization';
586 protected $cpuUtilizationDataType = '';
587 public $maxNumReplicas;
588 public $minNumReplicas;
589
590 public function setCoolDownPeriodSec($coolDownPeriodSec)
591 {
592 $this->coolDownPeriodSec = $coolDownPeriodSec;
593 }
594
595 public function getCoolDownPeriodSec()
596 {
597 return $this->coolDownPeriodSec;
598 }
599
600 public function setCpuUtilization(Analytify_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization $cpuUtilization)
601 {
602 $this->cpuUtilization = $cpuUtilization;
603 }
604
605 public function getCpuUtilization()
606 {
607 return $this->cpuUtilization;
608 }
609
610 public function setMaxNumReplicas($maxNumReplicas)
611 {
612 $this->maxNumReplicas = $maxNumReplicas;
613 }
614
615 public function getMaxNumReplicas()
616 {
617 return $this->maxNumReplicas;
618 }
619
620 public function setMinNumReplicas($minNumReplicas)
621 {
622 $this->minNumReplicas = $minNumReplicas;
623 }
624
625 public function getMinNumReplicas()
626 {
627 return $this->minNumReplicas;
628 }
629 }
630
631 class Analytify_Google_Service_Autoscaler_AutoscalingPolicyCpuUtilization extends Analytify_Google_Model
632 {
633 public $utilizationTarget;
634
635 public function setUtilizationTarget($utilizationTarget)
636 {
637 $this->utilizationTarget = $utilizationTarget;
638 }
639
640 public function getUtilizationTarget()
641 {
642 return $this->utilizationTarget;
643 }
644 }
645
646 class Analytify_Google_Service_Autoscaler_Operation extends Analytify_Google_Collection
647 {
648 public $clientOperationId;
649 public $creationTimestamp;
650 public $endTime;
651 protected $errorType = 'Analytify_Google_Service_Autoscaler_OperationError';
652 protected $errorDataType = '';
653 public $httpErrorMessage;
654 public $httpErrorStatusCode;
655 public $id;
656 public $insertTime;
657 public $kind;
658 public $name;
659 public $operationType;
660 public $progress;
661 public $region;
662 public $selfLink;
663 public $startTime;
664 public $status;
665 public $statusMessage;
666 public $targetId;
667 public $targetLink;
668 public $user;
669 protected $warningsType = 'Analytify_Google_Service_Autoscaler_OperationWarnings';
670 protected $warningsDataType = 'array';
671 public $zone;
672
673 public function setClientOperationId($clientOperationId)
674 {
675 $this->clientOperationId = $clientOperationId;
676 }
677
678 public function getClientOperationId()
679 {
680 return $this->clientOperationId;
681 }
682
683 public function setCreationTimestamp($creationTimestamp)
684 {
685 $this->creationTimestamp = $creationTimestamp;
686 }
687
688 public function getCreationTimestamp()
689 {
690 return $this->creationTimestamp;
691 }
692
693 public function setEndTime($endTime)
694 {
695 $this->endTime = $endTime;
696 }
697
698 public function getEndTime()
699 {
700 return $this->endTime;
701 }
702
703 public function setError(Analytify_Google_Service_Autoscaler_OperationError $error)
704 {
705 $this->error = $error;
706 }
707
708 public function getError()
709 {
710 return $this->error;
711 }
712
713 public function setHttpErrorMessage($httpErrorMessage)
714 {
715 $this->httpErrorMessage = $httpErrorMessage;
716 }
717
718 public function getHttpErrorMessage()
719 {
720 return $this->httpErrorMessage;
721 }
722
723 public function setHttpErrorStatusCode($httpErrorStatusCode)
724 {
725 $this->httpErrorStatusCode = $httpErrorStatusCode;
726 }
727
728 public function getHttpErrorStatusCode()
729 {
730 return $this->httpErrorStatusCode;
731 }
732
733 public function setId($id)
734 {
735 $this->id = $id;
736 }
737
738 public function getId()
739 {
740 return $this->id;
741 }
742
743 public function setInsertTime($insertTime)
744 {
745 $this->insertTime = $insertTime;
746 }
747
748 public function getInsertTime()
749 {
750 return $this->insertTime;
751 }
752
753 public function setKind($kind)
754 {
755 $this->kind = $kind;
756 }
757
758 public function getKind()
759 {
760 return $this->kind;
761 }
762
763 public function setName($name)
764 {
765 $this->name = $name;
766 }
767
768 public function getName()
769 {
770 return $this->name;
771 }
772
773 public function setOperationType($operationType)
774 {
775 $this->operationType = $operationType;
776 }
777
778 public function getOperationType()
779 {
780 return $this->operationType;
781 }
782
783 public function setProgress($progress)
784 {
785 $this->progress = $progress;
786 }
787
788 public function getProgress()
789 {
790 return $this->progress;
791 }
792
793 public function setRegion($region)
794 {
795 $this->region = $region;
796 }
797
798 public function getRegion()
799 {
800 return $this->region;
801 }
802
803 public function setSelfLink($selfLink)
804 {
805 $this->selfLink = $selfLink;
806 }
807
808 public function getSelfLink()
809 {
810 return $this->selfLink;
811 }
812
813 public function setStartTime($startTime)
814 {
815 $this->startTime = $startTime;
816 }
817
818 public function getStartTime()
819 {
820 return $this->startTime;
821 }
822
823 public function setStatus($status)
824 {
825 $this->status = $status;
826 }
827
828 public function getStatus()
829 {
830 return $this->status;
831 }
832
833 public function setStatusMessage($statusMessage)
834 {
835 $this->statusMessage = $statusMessage;
836 }
837
838 public function getStatusMessage()
839 {
840 return $this->statusMessage;
841 }
842
843 public function setTargetId($targetId)
844 {
845 $this->targetId = $targetId;
846 }
847
848 public function getTargetId()
849 {
850 return $this->targetId;
851 }
852
853 public function setTargetLink($targetLink)
854 {
855 $this->targetLink = $targetLink;
856 }
857
858 public function getTargetLink()
859 {
860 return $this->targetLink;
861 }
862
863 public function setUser($user)
864 {
865 $this->user = $user;
866 }
867
868 public function getUser()
869 {
870 return $this->user;
871 }
872
873 public function setWarnings($warnings)
874 {
875 $this->warnings = $warnings;
876 }
877
878 public function getWarnings()
879 {
880 return $this->warnings;
881 }
882
883 public function setZone($zone)
884 {
885 $this->zone = $zone;
886 }
887
888 public function getZone()
889 {
890 return $this->zone;
891 }
892 }
893
894 class Analytify_Google_Service_Autoscaler_OperationError extends Analytify_Google_Collection
895 {
896 protected $errorsType = 'Analytify_Google_Service_Autoscaler_OperationErrorErrors';
897 protected $errorsDataType = 'array';
898
899 public function setErrors($errors)
900 {
901 $this->errors = $errors;
902 }
903
904 public function getErrors()
905 {
906 return $this->errors;
907 }
908 }
909
910 class Analytify_Google_Service_Autoscaler_OperationErrorErrors extends Analytify_Google_Model
911 {
912 public $code;
913 public $location;
914 public $message;
915
916 public function setCode($code)
917 {
918 $this->code = $code;
919 }
920
921 public function getCode()
922 {
923 return $this->code;
924 }
925
926 public function setLocation($location)
927 {
928 $this->location = $location;
929 }
930
931 public function getLocation()
932 {
933 return $this->location;
934 }
935
936 public function setMessage($message)
937 {
938 $this->message = $message;
939 }
940
941 public function getMessage()
942 {
943 return $this->message;
944 }
945 }
946
947 class Analytify_Google_Service_Autoscaler_OperationList extends Analytify_Google_Collection
948 {
949 public $id;
950 protected $itemsType = 'Analytify_Google_Service_Autoscaler_Operation';
951 protected $itemsDataType = 'array';
952 public $kind;
953 public $nextPageToken;
954 public $selfLink;
955
956 public function setId($id)
957 {
958 $this->id = $id;
959 }
960
961 public function getId()
962 {
963 return $this->id;
964 }
965
966 public function setItems($items)
967 {
968 $this->items = $items;
969 }
970
971 public function getItems()
972 {
973 return $this->items;
974 }
975
976 public function setKind($kind)
977 {
978 $this->kind = $kind;
979 }
980
981 public function getKind()
982 {
983 return $this->kind;
984 }
985
986 public function setNextPageToken($nextPageToken)
987 {
988 $this->nextPageToken = $nextPageToken;
989 }
990
991 public function getNextPageToken()
992 {
993 return $this->nextPageToken;
994 }
995
996 public function setSelfLink($selfLink)
997 {
998 $this->selfLink = $selfLink;
999 }
1000
1001 public function getSelfLink()
1002 {
1003 return $this->selfLink;
1004 }
1005 }
1006
1007 class Analytify_Google_Service_Autoscaler_OperationWarnings extends Analytify_Google_Collection
1008 {
1009 public $code;
1010 protected $dataType = 'Analytify_Google_Service_Autoscaler_OperationWarningsData';
1011 protected $dataDataType = 'array';
1012 public $message;
1013
1014 public function setCode($code)
1015 {
1016 $this->code = $code;
1017 }
1018
1019 public function getCode()
1020 {
1021 return $this->code;
1022 }
1023
1024 public function setData($data)
1025 {
1026 $this->data = $data;
1027 }
1028
1029 public function getData()
1030 {
1031 return $this->data;
1032 }
1033
1034 public function setMessage($message)
1035 {
1036 $this->message = $message;
1037 }
1038
1039 public function getMessage()
1040 {
1041 return $this->message;
1042 }
1043 }
1044
1045 class Analytify_Google_Service_Autoscaler_OperationWarningsData extends Analytify_Google_Model
1046 {
1047 public $key;
1048 public $value;
1049
1050 public function setKey($key)
1051 {
1052 $this->key = $key;
1053 }
1054
1055 public function getKey()
1056 {
1057 return $this->key;
1058 }
1059
1060 public function setValue($value)
1061 {
1062 $this->value = $value;
1063 }
1064
1065 public function getValue()
1066 {
1067 return $this->value;
1068 }
1069 }
1070