source: vendor/google/apiclient-services/src/Monitoring.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 37.1 KB
Line 
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;
19
20use Google\Client;
21
22/**
23 * Service definition for Monitoring (v3).
24 *
25 * <p>
26 * Manages your Cloud Monitoring data and configurations.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://cloud.google.com/monitoring/api/" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Monitoring extends \Google\Service
36{
37 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
38 const CLOUD_PLATFORM =
39 "https://www.googleapis.com/auth/cloud-platform";
40 /** View and write monitoring data for all of your Google and third-party Cloud and API projects. */
41 const MONITORING =
42 "https://www.googleapis.com/auth/monitoring";
43 /** View monitoring data for all of your Google Cloud and third-party projects. */
44 const MONITORING_READ =
45 "https://www.googleapis.com/auth/monitoring.read";
46 /** Publish metric data to your Google Cloud projects. */
47 const MONITORING_WRITE =
48 "https://www.googleapis.com/auth/monitoring.write";
49
50 public $folders_timeSeries;
51 public $organizations_timeSeries;
52 public $projects_alertPolicies;
53 public $projects_collectdTimeSeries;
54 public $projects_groups;
55 public $projects_groups_members;
56 public $projects_metricDescriptors;
57 public $projects_monitoredResourceDescriptors;
58 public $projects_notificationChannelDescriptors;
59 public $projects_notificationChannels;
60 public $projects_snoozes;
61 public $projects_timeSeries;
62 public $projects_uptimeCheckConfigs;
63 public $services;
64 public $services_serviceLevelObjectives;
65 public $uptimeCheckIps;
66 public $rootUrlTemplate;
67
68 /**
69 * Constructs the internal representation of the Monitoring service.
70 *
71 * @param Client|array $clientOrConfig The client used to deliver requests, or a
72 * config array to pass to a new Client instance.
73 * @param string $rootUrl The root URL used for requests to the service.
74 */
75 public function __construct($clientOrConfig = [], $rootUrl = null)
76 {
77 parent::__construct($clientOrConfig);
78 $this->rootUrl = $rootUrl ?: 'https://monitoring.googleapis.com/';
79 $this->rootUrlTemplate = $rootUrl ?: 'https://monitoring.UNIVERSE_DOMAIN/';
80 $this->servicePath = '';
81 $this->batchPath = 'batch';
82 $this->version = 'v3';
83 $this->serviceName = 'monitoring';
84
85 $this->folders_timeSeries = new Monitoring\Resource\FoldersTimeSeries(
86 $this,
87 $this->serviceName,
88 'timeSeries',
89 [
90 'methods' => [
91 'list' => [
92 'path' => 'v3/{+name}/timeSeries',
93 'httpMethod' => 'GET',
94 'parameters' => [
95 'name' => [
96 'location' => 'path',
97 'type' => 'string',
98 'required' => true,
99 ],
100 'aggregation.alignmentPeriod' => [
101 'location' => 'query',
102 'type' => 'string',
103 ],
104 'aggregation.crossSeriesReducer' => [
105 'location' => 'query',
106 'type' => 'string',
107 ],
108 'aggregation.groupByFields' => [
109 'location' => 'query',
110 'type' => 'string',
111 'repeated' => true,
112 ],
113 'aggregation.perSeriesAligner' => [
114 'location' => 'query',
115 'type' => 'string',
116 ],
117 'filter' => [
118 'location' => 'query',
119 'type' => 'string',
120 ],
121 'interval.endTime' => [
122 'location' => 'query',
123 'type' => 'string',
124 ],
125 'interval.startTime' => [
126 'location' => 'query',
127 'type' => 'string',
128 ],
129 'orderBy' => [
130 'location' => 'query',
131 'type' => 'string',
132 ],
133 'pageSize' => [
134 'location' => 'query',
135 'type' => 'integer',
136 ],
137 'pageToken' => [
138 'location' => 'query',
139 'type' => 'string',
140 ],
141 'secondaryAggregation.alignmentPeriod' => [
142 'location' => 'query',
143 'type' => 'string',
144 ],
145 'secondaryAggregation.crossSeriesReducer' => [
146 'location' => 'query',
147 'type' => 'string',
148 ],
149 'secondaryAggregation.groupByFields' => [
150 'location' => 'query',
151 'type' => 'string',
152 'repeated' => true,
153 ],
154 'secondaryAggregation.perSeriesAligner' => [
155 'location' => 'query',
156 'type' => 'string',
157 ],
158 'view' => [
159 'location' => 'query',
160 'type' => 'string',
161 ],
162 ],
163 ],
164 ]
165 ]
166 );
167 $this->organizations_timeSeries = new Monitoring\Resource\OrganizationsTimeSeries(
168 $this,
169 $this->serviceName,
170 'timeSeries',
171 [
172 'methods' => [
173 'list' => [
174 'path' => 'v3/{+name}/timeSeries',
175 'httpMethod' => 'GET',
176 'parameters' => [
177 'name' => [
178 'location' => 'path',
179 'type' => 'string',
180 'required' => true,
181 ],
182 'aggregation.alignmentPeriod' => [
183 'location' => 'query',
184 'type' => 'string',
185 ],
186 'aggregation.crossSeriesReducer' => [
187 'location' => 'query',
188 'type' => 'string',
189 ],
190 'aggregation.groupByFields' => [
191 'location' => 'query',
192 'type' => 'string',
193 'repeated' => true,
194 ],
195 'aggregation.perSeriesAligner' => [
196 'location' => 'query',
197 'type' => 'string',
198 ],
199 'filter' => [
200 'location' => 'query',
201 'type' => 'string',
202 ],
203 'interval.endTime' => [
204 'location' => 'query',
205 'type' => 'string',
206 ],
207 'interval.startTime' => [
208 'location' => 'query',
209 'type' => 'string',
210 ],
211 'orderBy' => [
212 'location' => 'query',
213 'type' => 'string',
214 ],
215 'pageSize' => [
216 'location' => 'query',
217 'type' => 'integer',
218 ],
219 'pageToken' => [
220 'location' => 'query',
221 'type' => 'string',
222 ],
223 'secondaryAggregation.alignmentPeriod' => [
224 'location' => 'query',
225 'type' => 'string',
226 ],
227 'secondaryAggregation.crossSeriesReducer' => [
228 'location' => 'query',
229 'type' => 'string',
230 ],
231 'secondaryAggregation.groupByFields' => [
232 'location' => 'query',
233 'type' => 'string',
234 'repeated' => true,
235 ],
236 'secondaryAggregation.perSeriesAligner' => [
237 'location' => 'query',
238 'type' => 'string',
239 ],
240 'view' => [
241 'location' => 'query',
242 'type' => 'string',
243 ],
244 ],
245 ],
246 ]
247 ]
248 );
249 $this->projects_alertPolicies = new Monitoring\Resource\ProjectsAlertPolicies(
250 $this,
251 $this->serviceName,
252 'alertPolicies',
253 [
254 'methods' => [
255 'create' => [
256 'path' => 'v3/{+name}/alertPolicies',
257 'httpMethod' => 'POST',
258 'parameters' => [
259 'name' => [
260 'location' => 'path',
261 'type' => 'string',
262 'required' => true,
263 ],
264 ],
265 ],'delete' => [
266 'path' => 'v3/{+name}',
267 'httpMethod' => 'DELETE',
268 'parameters' => [
269 'name' => [
270 'location' => 'path',
271 'type' => 'string',
272 'required' => true,
273 ],
274 ],
275 ],'get' => [
276 'path' => 'v3/{+name}',
277 'httpMethod' => 'GET',
278 'parameters' => [
279 'name' => [
280 'location' => 'path',
281 'type' => 'string',
282 'required' => true,
283 ],
284 ],
285 ],'list' => [
286 'path' => 'v3/{+name}/alertPolicies',
287 'httpMethod' => 'GET',
288 'parameters' => [
289 'name' => [
290 'location' => 'path',
291 'type' => 'string',
292 'required' => true,
293 ],
294 'filter' => [
295 'location' => 'query',
296 'type' => 'string',
297 ],
298 'orderBy' => [
299 'location' => 'query',
300 'type' => 'string',
301 ],
302 'pageSize' => [
303 'location' => 'query',
304 'type' => 'integer',
305 ],
306 'pageToken' => [
307 'location' => 'query',
308 'type' => 'string',
309 ],
310 ],
311 ],'patch' => [
312 'path' => 'v3/{+name}',
313 'httpMethod' => 'PATCH',
314 'parameters' => [
315 'name' => [
316 'location' => 'path',
317 'type' => 'string',
318 'required' => true,
319 ],
320 'updateMask' => [
321 'location' => 'query',
322 'type' => 'string',
323 ],
324 ],
325 ],
326 ]
327 ]
328 );
329 $this->projects_collectdTimeSeries = new Monitoring\Resource\ProjectsCollectdTimeSeries(
330 $this,
331 $this->serviceName,
332 'collectdTimeSeries',
333 [
334 'methods' => [
335 'create' => [
336 'path' => 'v3/{+name}/collectdTimeSeries',
337 'httpMethod' => 'POST',
338 'parameters' => [
339 'name' => [
340 'location' => 'path',
341 'type' => 'string',
342 'required' => true,
343 ],
344 ],
345 ],
346 ]
347 ]
348 );
349 $this->projects_groups = new Monitoring\Resource\ProjectsGroups(
350 $this,
351 $this->serviceName,
352 'groups',
353 [
354 'methods' => [
355 'create' => [
356 'path' => 'v3/{+name}/groups',
357 'httpMethod' => 'POST',
358 'parameters' => [
359 'name' => [
360 'location' => 'path',
361 'type' => 'string',
362 'required' => true,
363 ],
364 'validateOnly' => [
365 'location' => 'query',
366 'type' => 'boolean',
367 ],
368 ],
369 ],'delete' => [
370 'path' => 'v3/{+name}',
371 'httpMethod' => 'DELETE',
372 'parameters' => [
373 'name' => [
374 'location' => 'path',
375 'type' => 'string',
376 'required' => true,
377 ],
378 'recursive' => [
379 'location' => 'query',
380 'type' => 'boolean',
381 ],
382 ],
383 ],'get' => [
384 'path' => 'v3/{+name}',
385 'httpMethod' => 'GET',
386 'parameters' => [
387 'name' => [
388 'location' => 'path',
389 'type' => 'string',
390 'required' => true,
391 ],
392 ],
393 ],'list' => [
394 'path' => 'v3/{+name}/groups',
395 'httpMethod' => 'GET',
396 'parameters' => [
397 'name' => [
398 'location' => 'path',
399 'type' => 'string',
400 'required' => true,
401 ],
402 'ancestorsOfGroup' => [
403 'location' => 'query',
404 'type' => 'string',
405 ],
406 'childrenOfGroup' => [
407 'location' => 'query',
408 'type' => 'string',
409 ],
410 'descendantsOfGroup' => [
411 'location' => 'query',
412 'type' => 'string',
413 ],
414 'pageSize' => [
415 'location' => 'query',
416 'type' => 'integer',
417 ],
418 'pageToken' => [
419 'location' => 'query',
420 'type' => 'string',
421 ],
422 ],
423 ],'update' => [
424 'path' => 'v3/{+name}',
425 'httpMethod' => 'PUT',
426 'parameters' => [
427 'name' => [
428 'location' => 'path',
429 'type' => 'string',
430 'required' => true,
431 ],
432 'validateOnly' => [
433 'location' => 'query',
434 'type' => 'boolean',
435 ],
436 ],
437 ],
438 ]
439 ]
440 );
441 $this->projects_groups_members = new Monitoring\Resource\ProjectsGroupsMembers(
442 $this,
443 $this->serviceName,
444 'members',
445 [
446 'methods' => [
447 'list' => [
448 'path' => 'v3/{+name}/members',
449 'httpMethod' => 'GET',
450 'parameters' => [
451 'name' => [
452 'location' => 'path',
453 'type' => 'string',
454 'required' => true,
455 ],
456 'filter' => [
457 'location' => 'query',
458 'type' => 'string',
459 ],
460 'interval.endTime' => [
461 'location' => 'query',
462 'type' => 'string',
463 ],
464 'interval.startTime' => [
465 'location' => 'query',
466 'type' => 'string',
467 ],
468 'pageSize' => [
469 'location' => 'query',
470 'type' => 'integer',
471 ],
472 'pageToken' => [
473 'location' => 'query',
474 'type' => 'string',
475 ],
476 ],
477 ],
478 ]
479 ]
480 );
481 $this->projects_metricDescriptors = new Monitoring\Resource\ProjectsMetricDescriptors(
482 $this,
483 $this->serviceName,
484 'metricDescriptors',
485 [
486 'methods' => [
487 'create' => [
488 'path' => 'v3/{+name}/metricDescriptors',
489 'httpMethod' => 'POST',
490 'parameters' => [
491 'name' => [
492 'location' => 'path',
493 'type' => 'string',
494 'required' => true,
495 ],
496 ],
497 ],'delete' => [
498 'path' => 'v3/{+name}',
499 'httpMethod' => 'DELETE',
500 'parameters' => [
501 'name' => [
502 'location' => 'path',
503 'type' => 'string',
504 'required' => true,
505 ],
506 ],
507 ],'get' => [
508 'path' => 'v3/{+name}',
509 'httpMethod' => 'GET',
510 'parameters' => [
511 'name' => [
512 'location' => 'path',
513 'type' => 'string',
514 'required' => true,
515 ],
516 ],
517 ],'list' => [
518 'path' => 'v3/{+name}/metricDescriptors',
519 'httpMethod' => 'GET',
520 'parameters' => [
521 'name' => [
522 'location' => 'path',
523 'type' => 'string',
524 'required' => true,
525 ],
526 'filter' => [
527 'location' => 'query',
528 'type' => 'string',
529 ],
530 'pageSize' => [
531 'location' => 'query',
532 'type' => 'integer',
533 ],
534 'pageToken' => [
535 'location' => 'query',
536 'type' => 'string',
537 ],
538 ],
539 ],
540 ]
541 ]
542 );
543 $this->projects_monitoredResourceDescriptors = new Monitoring\Resource\ProjectsMonitoredResourceDescriptors(
544 $this,
545 $this->serviceName,
546 'monitoredResourceDescriptors',
547 [
548 'methods' => [
549 'get' => [
550 'path' => 'v3/{+name}',
551 'httpMethod' => 'GET',
552 'parameters' => [
553 'name' => [
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ],
558 ],
559 ],'list' => [
560 'path' => 'v3/{+name}/monitoredResourceDescriptors',
561 'httpMethod' => 'GET',
562 'parameters' => [
563 'name' => [
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ],
568 'filter' => [
569 'location' => 'query',
570 'type' => 'string',
571 ],
572 'pageSize' => [
573 'location' => 'query',
574 'type' => 'integer',
575 ],
576 'pageToken' => [
577 'location' => 'query',
578 'type' => 'string',
579 ],
580 ],
581 ],
582 ]
583 ]
584 );
585 $this->projects_notificationChannelDescriptors = new Monitoring\Resource\ProjectsNotificationChannelDescriptors(
586 $this,
587 $this->serviceName,
588 'notificationChannelDescriptors',
589 [
590 'methods' => [
591 'get' => [
592 'path' => 'v3/{+name}',
593 'httpMethod' => 'GET',
594 'parameters' => [
595 'name' => [
596 'location' => 'path',
597 'type' => 'string',
598 'required' => true,
599 ],
600 ],
601 ],'list' => [
602 'path' => 'v3/{+name}/notificationChannelDescriptors',
603 'httpMethod' => 'GET',
604 'parameters' => [
605 'name' => [
606 'location' => 'path',
607 'type' => 'string',
608 'required' => true,
609 ],
610 'pageSize' => [
611 'location' => 'query',
612 'type' => 'integer',
613 ],
614 'pageToken' => [
615 'location' => 'query',
616 'type' => 'string',
617 ],
618 ],
619 ],
620 ]
621 ]
622 );
623 $this->projects_notificationChannels = new Monitoring\Resource\ProjectsNotificationChannels(
624 $this,
625 $this->serviceName,
626 'notificationChannels',
627 [
628 'methods' => [
629 'create' => [
630 'path' => 'v3/{+name}/notificationChannels',
631 'httpMethod' => 'POST',
632 'parameters' => [
633 'name' => [
634 'location' => 'path',
635 'type' => 'string',
636 'required' => true,
637 ],
638 ],
639 ],'delete' => [
640 'path' => 'v3/{+name}',
641 'httpMethod' => 'DELETE',
642 'parameters' => [
643 'name' => [
644 'location' => 'path',
645 'type' => 'string',
646 'required' => true,
647 ],
648 'force' => [
649 'location' => 'query',
650 'type' => 'boolean',
651 ],
652 ],
653 ],'get' => [
654 'path' => 'v3/{+name}',
655 'httpMethod' => 'GET',
656 'parameters' => [
657 'name' => [
658 'location' => 'path',
659 'type' => 'string',
660 'required' => true,
661 ],
662 ],
663 ],'getVerificationCode' => [
664 'path' => 'v3/{+name}:getVerificationCode',
665 'httpMethod' => 'POST',
666 'parameters' => [
667 'name' => [
668 'location' => 'path',
669 'type' => 'string',
670 'required' => true,
671 ],
672 ],
673 ],'list' => [
674 'path' => 'v3/{+name}/notificationChannels',
675 'httpMethod' => 'GET',
676 'parameters' => [
677 'name' => [
678 'location' => 'path',
679 'type' => 'string',
680 'required' => true,
681 ],
682 'filter' => [
683 'location' => 'query',
684 'type' => 'string',
685 ],
686 'orderBy' => [
687 'location' => 'query',
688 'type' => 'string',
689 ],
690 'pageSize' => [
691 'location' => 'query',
692 'type' => 'integer',
693 ],
694 'pageToken' => [
695 'location' => 'query',
696 'type' => 'string',
697 ],
698 ],
699 ],'patch' => [
700 'path' => 'v3/{+name}',
701 'httpMethod' => 'PATCH',
702 'parameters' => [
703 'name' => [
704 'location' => 'path',
705 'type' => 'string',
706 'required' => true,
707 ],
708 'updateMask' => [
709 'location' => 'query',
710 'type' => 'string',
711 ],
712 ],
713 ],'sendVerificationCode' => [
714 'path' => 'v3/{+name}:sendVerificationCode',
715 'httpMethod' => 'POST',
716 'parameters' => [
717 'name' => [
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ],
722 ],
723 ],'verify' => [
724 'path' => 'v3/{+name}:verify',
725 'httpMethod' => 'POST',
726 'parameters' => [
727 'name' => [
728 'location' => 'path',
729 'type' => 'string',
730 'required' => true,
731 ],
732 ],
733 ],
734 ]
735 ]
736 );
737 $this->projects_snoozes = new Monitoring\Resource\ProjectsSnoozes(
738 $this,
739 $this->serviceName,
740 'snoozes',
741 [
742 'methods' => [
743 'create' => [
744 'path' => 'v3/{+parent}/snoozes',
745 'httpMethod' => 'POST',
746 'parameters' => [
747 'parent' => [
748 'location' => 'path',
749 'type' => 'string',
750 'required' => true,
751 ],
752 ],
753 ],'get' => [
754 'path' => 'v3/{+name}',
755 'httpMethod' => 'GET',
756 'parameters' => [
757 'name' => [
758 'location' => 'path',
759 'type' => 'string',
760 'required' => true,
761 ],
762 ],
763 ],'list' => [
764 'path' => 'v3/{+parent}/snoozes',
765 'httpMethod' => 'GET',
766 'parameters' => [
767 'parent' => [
768 'location' => 'path',
769 'type' => 'string',
770 'required' => true,
771 ],
772 'filter' => [
773 'location' => 'query',
774 'type' => 'string',
775 ],
776 'pageSize' => [
777 'location' => 'query',
778 'type' => 'integer',
779 ],
780 'pageToken' => [
781 'location' => 'query',
782 'type' => 'string',
783 ],
784 ],
785 ],'patch' => [
786 'path' => 'v3/{+name}',
787 'httpMethod' => 'PATCH',
788 'parameters' => [
789 'name' => [
790 'location' => 'path',
791 'type' => 'string',
792 'required' => true,
793 ],
794 'updateMask' => [
795 'location' => 'query',
796 'type' => 'string',
797 ],
798 ],
799 ],
800 ]
801 ]
802 );
803 $this->projects_timeSeries = new Monitoring\Resource\ProjectsTimeSeries(
804 $this,
805 $this->serviceName,
806 'timeSeries',
807 [
808 'methods' => [
809 'create' => [
810 'path' => 'v3/{+name}/timeSeries',
811 'httpMethod' => 'POST',
812 'parameters' => [
813 'name' => [
814 'location' => 'path',
815 'type' => 'string',
816 'required' => true,
817 ],
818 ],
819 ],'createService' => [
820 'path' => 'v3/{+name}/timeSeries:createService',
821 'httpMethod' => 'POST',
822 'parameters' => [
823 'name' => [
824 'location' => 'path',
825 'type' => 'string',
826 'required' => true,
827 ],
828 ],
829 ],'list' => [
830 'path' => 'v3/{+name}/timeSeries',
831 'httpMethod' => 'GET',
832 'parameters' => [
833 'name' => [
834 'location' => 'path',
835 'type' => 'string',
836 'required' => true,
837 ],
838 'aggregation.alignmentPeriod' => [
839 'location' => 'query',
840 'type' => 'string',
841 ],
842 'aggregation.crossSeriesReducer' => [
843 'location' => 'query',
844 'type' => 'string',
845 ],
846 'aggregation.groupByFields' => [
847 'location' => 'query',
848 'type' => 'string',
849 'repeated' => true,
850 ],
851 'aggregation.perSeriesAligner' => [
852 'location' => 'query',
853 'type' => 'string',
854 ],
855 'filter' => [
856 'location' => 'query',
857 'type' => 'string',
858 ],
859 'interval.endTime' => [
860 'location' => 'query',
861 'type' => 'string',
862 ],
863 'interval.startTime' => [
864 'location' => 'query',
865 'type' => 'string',
866 ],
867 'orderBy' => [
868 'location' => 'query',
869 'type' => 'string',
870 ],
871 'pageSize' => [
872 'location' => 'query',
873 'type' => 'integer',
874 ],
875 'pageToken' => [
876 'location' => 'query',
877 'type' => 'string',
878 ],
879 'secondaryAggregation.alignmentPeriod' => [
880 'location' => 'query',
881 'type' => 'string',
882 ],
883 'secondaryAggregation.crossSeriesReducer' => [
884 'location' => 'query',
885 'type' => 'string',
886 ],
887 'secondaryAggregation.groupByFields' => [
888 'location' => 'query',
889 'type' => 'string',
890 'repeated' => true,
891 ],
892 'secondaryAggregation.perSeriesAligner' => [
893 'location' => 'query',
894 'type' => 'string',
895 ],
896 'view' => [
897 'location' => 'query',
898 'type' => 'string',
899 ],
900 ],
901 ],'query' => [
902 'path' => 'v3/{+name}/timeSeries:query',
903 'httpMethod' => 'POST',
904 'parameters' => [
905 'name' => [
906 'location' => 'path',
907 'type' => 'string',
908 'required' => true,
909 ],
910 ],
911 ],
912 ]
913 ]
914 );
915 $this->projects_uptimeCheckConfigs = new Monitoring\Resource\ProjectsUptimeCheckConfigs(
916 $this,
917 $this->serviceName,
918 'uptimeCheckConfigs',
919 [
920 'methods' => [
921 'create' => [
922 'path' => 'v3/{+parent}/uptimeCheckConfigs',
923 'httpMethod' => 'POST',
924 'parameters' => [
925 'parent' => [
926 'location' => 'path',
927 'type' => 'string',
928 'required' => true,
929 ],
930 ],
931 ],'delete' => [
932 'path' => 'v3/{+name}',
933 'httpMethod' => 'DELETE',
934 'parameters' => [
935 'name' => [
936 'location' => 'path',
937 'type' => 'string',
938 'required' => true,
939 ],
940 ],
941 ],'get' => [
942 'path' => 'v3/{+name}',
943 'httpMethod' => 'GET',
944 'parameters' => [
945 'name' => [
946 'location' => 'path',
947 'type' => 'string',
948 'required' => true,
949 ],
950 ],
951 ],'list' => [
952 'path' => 'v3/{+parent}/uptimeCheckConfigs',
953 'httpMethod' => 'GET',
954 'parameters' => [
955 'parent' => [
956 'location' => 'path',
957 'type' => 'string',
958 'required' => true,
959 ],
960 'filter' => [
961 'location' => 'query',
962 'type' => 'string',
963 ],
964 'pageSize' => [
965 'location' => 'query',
966 'type' => 'integer',
967 ],
968 'pageToken' => [
969 'location' => 'query',
970 'type' => 'string',
971 ],
972 ],
973 ],'patch' => [
974 'path' => 'v3/{+name}',
975 'httpMethod' => 'PATCH',
976 'parameters' => [
977 'name' => [
978 'location' => 'path',
979 'type' => 'string',
980 'required' => true,
981 ],
982 'updateMask' => [
983 'location' => 'query',
984 'type' => 'string',
985 ],
986 ],
987 ],
988 ]
989 ]
990 );
991 $this->services = new Monitoring\Resource\Services(
992 $this,
993 $this->serviceName,
994 'services',
995 [
996 'methods' => [
997 'create' => [
998 'path' => 'v3/{+parent}/services',
999 'httpMethod' => 'POST',
1000 'parameters' => [
1001 'parent' => [
1002 'location' => 'path',
1003 'type' => 'string',
1004 'required' => true,
1005 ],
1006 'serviceId' => [
1007 'location' => 'query',
1008 'type' => 'string',
1009 ],
1010 ],
1011 ],'delete' => [
1012 'path' => 'v3/{+name}',
1013 'httpMethod' => 'DELETE',
1014 'parameters' => [
1015 'name' => [
1016 'location' => 'path',
1017 'type' => 'string',
1018 'required' => true,
1019 ],
1020 ],
1021 ],'get' => [
1022 'path' => 'v3/{+name}',
1023 'httpMethod' => 'GET',
1024 'parameters' => [
1025 'name' => [
1026 'location' => 'path',
1027 'type' => 'string',
1028 'required' => true,
1029 ],
1030 ],
1031 ],'list' => [
1032 'path' => 'v3/{+parent}/services',
1033 'httpMethod' => 'GET',
1034 'parameters' => [
1035 'parent' => [
1036 'location' => 'path',
1037 'type' => 'string',
1038 'required' => true,
1039 ],
1040 'filter' => [
1041 'location' => 'query',
1042 'type' => 'string',
1043 ],
1044 'pageSize' => [
1045 'location' => 'query',
1046 'type' => 'integer',
1047 ],
1048 'pageToken' => [
1049 'location' => 'query',
1050 'type' => 'string',
1051 ],
1052 ],
1053 ],'patch' => [
1054 'path' => 'v3/{+name}',
1055 'httpMethod' => 'PATCH',
1056 'parameters' => [
1057 'name' => [
1058 'location' => 'path',
1059 'type' => 'string',
1060 'required' => true,
1061 ],
1062 'updateMask' => [
1063 'location' => 'query',
1064 'type' => 'string',
1065 ],
1066 ],
1067 ],
1068 ]
1069 ]
1070 );
1071 $this->services_serviceLevelObjectives = new Monitoring\Resource\ServicesServiceLevelObjectives(
1072 $this,
1073 $this->serviceName,
1074 'serviceLevelObjectives',
1075 [
1076 'methods' => [
1077 'create' => [
1078 'path' => 'v3/{+parent}/serviceLevelObjectives',
1079 'httpMethod' => 'POST',
1080 'parameters' => [
1081 'parent' => [
1082 'location' => 'path',
1083 'type' => 'string',
1084 'required' => true,
1085 ],
1086 'serviceLevelObjectiveId' => [
1087 'location' => 'query',
1088 'type' => 'string',
1089 ],
1090 ],
1091 ],'delete' => [
1092 'path' => 'v3/{+name}',
1093 'httpMethod' => 'DELETE',
1094 'parameters' => [
1095 'name' => [
1096 'location' => 'path',
1097 'type' => 'string',
1098 'required' => true,
1099 ],
1100 ],
1101 ],'get' => [
1102 'path' => 'v3/{+name}',
1103 'httpMethod' => 'GET',
1104 'parameters' => [
1105 'name' => [
1106 'location' => 'path',
1107 'type' => 'string',
1108 'required' => true,
1109 ],
1110 'view' => [
1111 'location' => 'query',
1112 'type' => 'string',
1113 ],
1114 ],
1115 ],'list' => [
1116 'path' => 'v3/{+parent}/serviceLevelObjectives',
1117 'httpMethod' => 'GET',
1118 'parameters' => [
1119 'parent' => [
1120 'location' => 'path',
1121 'type' => 'string',
1122 'required' => true,
1123 ],
1124 'filter' => [
1125 'location' => 'query',
1126 'type' => 'string',
1127 ],
1128 'pageSize' => [
1129 'location' => 'query',
1130 'type' => 'integer',
1131 ],
1132 'pageToken' => [
1133 'location' => 'query',
1134 'type' => 'string',
1135 ],
1136 'view' => [
1137 'location' => 'query',
1138 'type' => 'string',
1139 ],
1140 ],
1141 ],'patch' => [
1142 'path' => 'v3/{+name}',
1143 'httpMethod' => 'PATCH',
1144 'parameters' => [
1145 'name' => [
1146 'location' => 'path',
1147 'type' => 'string',
1148 'required' => true,
1149 ],
1150 'updateMask' => [
1151 'location' => 'query',
1152 'type' => 'string',
1153 ],
1154 ],
1155 ],
1156 ]
1157 ]
1158 );
1159 $this->uptimeCheckIps = new Monitoring\Resource\UptimeCheckIps(
1160 $this,
1161 $this->serviceName,
1162 'uptimeCheckIps',
1163 [
1164 'methods' => [
1165 'list' => [
1166 'path' => 'v3/uptimeCheckIps',
1167 'httpMethod' => 'GET',
1168 'parameters' => [
1169 'pageSize' => [
1170 'location' => 'query',
1171 'type' => 'integer',
1172 ],
1173 'pageToken' => [
1174 'location' => 'query',
1175 'type' => 'string',
1176 ],
1177 ],
1178 ],
1179 ]
1180 ]
1181 );
1182 }
1183}
1184
1185// Adding a class alias for backwards compatibility with the previous class name.
1186class_alias(Monitoring::class, 'Google_Service_Monitoring');
Note: See TracBrowser for help on using the repository browser.