source: vendor/google/apiclient-services/src/Contactcenterinsights.php@ e3d4e0a

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

Upload project files

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