source: vendor/google/apiclient-services/src/Dialogflow.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: 65.7 KB
RevLine 
[e3d4e0a]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 Dialogflow (v3).
24 *
25 * <p>
26 * Builds conversational interfaces (for example, chatbots, and voice-powered
27 * apps and devices).</p>
28 *
29 * <p>
30 * For more information about this service, see the API
31 * <a href="https://cloud.google.com/dialogflow/" target="_blank">Documentation</a>
32 * </p>
33 *
34 * @author Google, Inc.
35 */
36class Dialogflow extends \Google\Service
37{
38 /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
39 const CLOUD_PLATFORM =
40 "https://www.googleapis.com/auth/cloud-platform";
41 /** View, manage and query your Dialogflow agents. */
42 const DIALOGFLOW =
43 "https://www.googleapis.com/auth/dialogflow";
44
45 public $projects_locations;
46 public $projects_locations_agents;
47 public $projects_locations_agents_changelogs;
48 public $projects_locations_agents_entityTypes;
49 public $projects_locations_agents_environments;
50 public $projects_locations_agents_environments_continuousTestResults;
51 public $projects_locations_agents_environments_deployments;
52 public $projects_locations_agents_environments_experiments;
53 public $projects_locations_agents_environments_sessions;
54 public $projects_locations_agents_environments_sessions_entityTypes;
55 public $projects_locations_agents_flows;
56 public $projects_locations_agents_flows_pages;
57 public $projects_locations_agents_flows_transitionRouteGroups;
58 public $projects_locations_agents_flows_versions;
59 public $projects_locations_agents_generators;
60 public $projects_locations_agents_intents;
61 public $projects_locations_agents_sessions;
62 public $projects_locations_agents_sessions_entityTypes;
63 public $projects_locations_agents_testCases;
64 public $projects_locations_agents_testCases_results;
65 public $projects_locations_agents_transitionRouteGroups;
66 public $projects_locations_agents_webhooks;
67 public $projects_locations_operations;
68 public $projects_locations_securitySettings;
69 public $projects_operations;
70 public $rootUrlTemplate;
71
72 /**
73 * Constructs the internal representation of the Dialogflow service.
74 *
75 * @param Client|array $clientOrConfig The client used to deliver requests, or a
76 * config array to pass to a new Client instance.
77 * @param string $rootUrl The root URL used for requests to the service.
78 */
79 public function __construct($clientOrConfig = [], $rootUrl = null)
80 {
81 parent::__construct($clientOrConfig);
82 $this->rootUrl = $rootUrl ?: 'https://dialogflow.googleapis.com/';
83 $this->rootUrlTemplate = $rootUrl ?: 'https://dialogflow.UNIVERSE_DOMAIN/';
84 $this->servicePath = '';
85 $this->batchPath = 'batch';
86 $this->version = 'v3';
87 $this->serviceName = 'dialogflow';
88
89 $this->projects_locations = new Dialogflow\Resource\ProjectsLocations(
90 $this,
91 $this->serviceName,
92 'locations',
93 [
94 'methods' => [
95 'get' => [
96 'path' => 'v3/{+name}',
97 'httpMethod' => 'GET',
98 'parameters' => [
99 'name' => [
100 'location' => 'path',
101 'type' => 'string',
102 'required' => true,
103 ],
104 ],
105 ],'list' => [
106 'path' => 'v3/{+name}/locations',
107 'httpMethod' => 'GET',
108 'parameters' => [
109 'name' => [
110 'location' => 'path',
111 'type' => 'string',
112 'required' => true,
113 ],
114 'filter' => [
115 'location' => 'query',
116 'type' => 'string',
117 ],
118 'pageSize' => [
119 'location' => 'query',
120 'type' => 'integer',
121 ],
122 'pageToken' => [
123 'location' => 'query',
124 'type' => 'string',
125 ],
126 ],
127 ],
128 ]
129 ]
130 );
131 $this->projects_locations_agents = new Dialogflow\Resource\ProjectsLocationsAgents(
132 $this,
133 $this->serviceName,
134 'agents',
135 [
136 'methods' => [
137 'create' => [
138 'path' => 'v3/{+parent}/agents',
139 'httpMethod' => 'POST',
140 'parameters' => [
141 'parent' => [
142 'location' => 'path',
143 'type' => 'string',
144 'required' => true,
145 ],
146 ],
147 ],'delete' => [
148 'path' => 'v3/{+name}',
149 'httpMethod' => 'DELETE',
150 'parameters' => [
151 'name' => [
152 'location' => 'path',
153 'type' => 'string',
154 'required' => true,
155 ],
156 ],
157 ],'export' => [
158 'path' => 'v3/{+name}:export',
159 'httpMethod' => 'POST',
160 'parameters' => [
161 'name' => [
162 'location' => 'path',
163 'type' => 'string',
164 'required' => true,
165 ],
166 ],
167 ],'get' => [
168 'path' => 'v3/{+name}',
169 'httpMethod' => 'GET',
170 'parameters' => [
171 'name' => [
172 'location' => 'path',
173 'type' => 'string',
174 'required' => true,
175 ],
176 ],
177 ],'getGenerativeSettings' => [
178 'path' => 'v3/{+name}',
179 'httpMethod' => 'GET',
180 'parameters' => [
181 'name' => [
182 'location' => 'path',
183 'type' => 'string',
184 'required' => true,
185 ],
186 'languageCode' => [
187 'location' => 'query',
188 'type' => 'string',
189 ],
190 ],
191 ],'getValidationResult' => [
192 'path' => 'v3/{+name}',
193 'httpMethod' => 'GET',
194 'parameters' => [
195 'name' => [
196 'location' => 'path',
197 'type' => 'string',
198 'required' => true,
199 ],
200 'languageCode' => [
201 'location' => 'query',
202 'type' => 'string',
203 ],
204 ],
205 ],'list' => [
206 'path' => 'v3/{+parent}/agents',
207 'httpMethod' => 'GET',
208 'parameters' => [
209 'parent' => [
210 'location' => 'path',
211 'type' => 'string',
212 'required' => true,
213 ],
214 'pageSize' => [
215 'location' => 'query',
216 'type' => 'integer',
217 ],
218 'pageToken' => [
219 'location' => 'query',
220 'type' => 'string',
221 ],
222 ],
223 ],'patch' => [
224 'path' => 'v3/{+name}',
225 'httpMethod' => 'PATCH',
226 'parameters' => [
227 'name' => [
228 'location' => 'path',
229 'type' => 'string',
230 'required' => true,
231 ],
232 'updateMask' => [
233 'location' => 'query',
234 'type' => 'string',
235 ],
236 ],
237 ],'restore' => [
238 'path' => 'v3/{+name}:restore',
239 'httpMethod' => 'POST',
240 'parameters' => [
241 'name' => [
242 'location' => 'path',
243 'type' => 'string',
244 'required' => true,
245 ],
246 ],
247 ],'updateGenerativeSettings' => [
248 'path' => 'v3/{+name}',
249 'httpMethod' => 'PATCH',
250 'parameters' => [
251 'name' => [
252 'location' => 'path',
253 'type' => 'string',
254 'required' => true,
255 ],
256 'updateMask' => [
257 'location' => 'query',
258 'type' => 'string',
259 ],
260 ],
261 ],'validate' => [
262 'path' => 'v3/{+name}:validate',
263 'httpMethod' => 'POST',
264 'parameters' => [
265 'name' => [
266 'location' => 'path',
267 'type' => 'string',
268 'required' => true,
269 ],
270 ],
271 ],
272 ]
273 ]
274 );
275 $this->projects_locations_agents_changelogs = new Dialogflow\Resource\ProjectsLocationsAgentsChangelogs(
276 $this,
277 $this->serviceName,
278 'changelogs',
279 [
280 'methods' => [
281 'get' => [
282 'path' => 'v3/{+name}',
283 'httpMethod' => 'GET',
284 'parameters' => [
285 'name' => [
286 'location' => 'path',
287 'type' => 'string',
288 'required' => true,
289 ],
290 ],
291 ],'list' => [
292 'path' => 'v3/{+parent}/changelogs',
293 'httpMethod' => 'GET',
294 'parameters' => [
295 'parent' => [
296 'location' => 'path',
297 'type' => 'string',
298 'required' => true,
299 ],
300 'filter' => [
301 'location' => 'query',
302 'type' => 'string',
303 ],
304 'pageSize' => [
305 'location' => 'query',
306 'type' => 'integer',
307 ],
308 'pageToken' => [
309 'location' => 'query',
310 'type' => 'string',
311 ],
312 ],
313 ],
314 ]
315 ]
316 );
317 $this->projects_locations_agents_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsEntityTypes(
318 $this,
319 $this->serviceName,
320 'entityTypes',
321 [
322 'methods' => [
323 'create' => [
324 'path' => 'v3/{+parent}/entityTypes',
325 'httpMethod' => 'POST',
326 'parameters' => [
327 'parent' => [
328 'location' => 'path',
329 'type' => 'string',
330 'required' => true,
331 ],
332 'languageCode' => [
333 'location' => 'query',
334 'type' => 'string',
335 ],
336 ],
337 ],'delete' => [
338 'path' => 'v3/{+name}',
339 'httpMethod' => 'DELETE',
340 'parameters' => [
341 'name' => [
342 'location' => 'path',
343 'type' => 'string',
344 'required' => true,
345 ],
346 'force' => [
347 'location' => 'query',
348 'type' => 'boolean',
349 ],
350 ],
351 ],'export' => [
352 'path' => 'v3/{+parent}/entityTypes:export',
353 'httpMethod' => 'POST',
354 'parameters' => [
355 'parent' => [
356 'location' => 'path',
357 'type' => 'string',
358 'required' => true,
359 ],
360 ],
361 ],'get' => [
362 'path' => 'v3/{+name}',
363 'httpMethod' => 'GET',
364 'parameters' => [
365 'name' => [
366 'location' => 'path',
367 'type' => 'string',
368 'required' => true,
369 ],
370 'languageCode' => [
371 'location' => 'query',
372 'type' => 'string',
373 ],
374 ],
375 ],'import' => [
376 'path' => 'v3/{+parent}/entityTypes:import',
377 'httpMethod' => 'POST',
378 'parameters' => [
379 'parent' => [
380 'location' => 'path',
381 'type' => 'string',
382 'required' => true,
383 ],
384 ],
385 ],'list' => [
386 'path' => 'v3/{+parent}/entityTypes',
387 'httpMethod' => 'GET',
388 'parameters' => [
389 'parent' => [
390 'location' => 'path',
391 'type' => 'string',
392 'required' => true,
393 ],
394 'languageCode' => [
395 'location' => 'query',
396 'type' => 'string',
397 ],
398 'pageSize' => [
399 'location' => 'query',
400 'type' => 'integer',
401 ],
402 'pageToken' => [
403 'location' => 'query',
404 'type' => 'string',
405 ],
406 ],
407 ],'patch' => [
408 'path' => 'v3/{+name}',
409 'httpMethod' => 'PATCH',
410 'parameters' => [
411 'name' => [
412 'location' => 'path',
413 'type' => 'string',
414 'required' => true,
415 ],
416 'languageCode' => [
417 'location' => 'query',
418 'type' => 'string',
419 ],
420 'updateMask' => [
421 'location' => 'query',
422 'type' => 'string',
423 ],
424 ],
425 ],
426 ]
427 ]
428 );
429 $this->projects_locations_agents_environments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironments(
430 $this,
431 $this->serviceName,
432 'environments',
433 [
434 'methods' => [
435 'create' => [
436 'path' => 'v3/{+parent}/environments',
437 'httpMethod' => 'POST',
438 'parameters' => [
439 'parent' => [
440 'location' => 'path',
441 'type' => 'string',
442 'required' => true,
443 ],
444 ],
445 ],'delete' => [
446 'path' => 'v3/{+name}',
447 'httpMethod' => 'DELETE',
448 'parameters' => [
449 'name' => [
450 'location' => 'path',
451 'type' => 'string',
452 'required' => true,
453 ],
454 ],
455 ],'deployFlow' => [
456 'path' => 'v3/{+environment}:deployFlow',
457 'httpMethod' => 'POST',
458 'parameters' => [
459 'environment' => [
460 'location' => 'path',
461 'type' => 'string',
462 'required' => true,
463 ],
464 ],
465 ],'get' => [
466 'path' => 'v3/{+name}',
467 'httpMethod' => 'GET',
468 'parameters' => [
469 'name' => [
470 'location' => 'path',
471 'type' => 'string',
472 'required' => true,
473 ],
474 ],
475 ],'list' => [
476 'path' => 'v3/{+parent}/environments',
477 'httpMethod' => 'GET',
478 'parameters' => [
479 'parent' => [
480 'location' => 'path',
481 'type' => 'string',
482 'required' => true,
483 ],
484 'pageSize' => [
485 'location' => 'query',
486 'type' => 'integer',
487 ],
488 'pageToken' => [
489 'location' => 'query',
490 'type' => 'string',
491 ],
492 ],
493 ],'lookupEnvironmentHistory' => [
494 'path' => 'v3/{+name}:lookupEnvironmentHistory',
495 'httpMethod' => 'GET',
496 'parameters' => [
497 'name' => [
498 'location' => 'path',
499 'type' => 'string',
500 'required' => true,
501 ],
502 'pageSize' => [
503 'location' => 'query',
504 'type' => 'integer',
505 ],
506 'pageToken' => [
507 'location' => 'query',
508 'type' => 'string',
509 ],
510 ],
511 ],'patch' => [
512 'path' => 'v3/{+name}',
513 'httpMethod' => 'PATCH',
514 'parameters' => [
515 'name' => [
516 'location' => 'path',
517 'type' => 'string',
518 'required' => true,
519 ],
520 'updateMask' => [
521 'location' => 'query',
522 'type' => 'string',
523 ],
524 ],
525 ],'runContinuousTest' => [
526 'path' => 'v3/{+environment}:runContinuousTest',
527 'httpMethod' => 'POST',
528 'parameters' => [
529 'environment' => [
530 'location' => 'path',
531 'type' => 'string',
532 'required' => true,
533 ],
534 ],
535 ],
536 ]
537 ]
538 );
539 $this->projects_locations_agents_environments_continuousTestResults = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsContinuousTestResults(
540 $this,
541 $this->serviceName,
542 'continuousTestResults',
543 [
544 'methods' => [
545 'list' => [
546 'path' => 'v3/{+parent}/continuousTestResults',
547 'httpMethod' => 'GET',
548 'parameters' => [
549 'parent' => [
550 'location' => 'path',
551 'type' => 'string',
552 'required' => true,
553 ],
554 'pageSize' => [
555 'location' => 'query',
556 'type' => 'integer',
557 ],
558 'pageToken' => [
559 'location' => 'query',
560 'type' => 'string',
561 ],
562 ],
563 ],
564 ]
565 ]
566 );
567 $this->projects_locations_agents_environments_deployments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsDeployments(
568 $this,
569 $this->serviceName,
570 'deployments',
571 [
572 'methods' => [
573 'get' => [
574 'path' => 'v3/{+name}',
575 'httpMethod' => 'GET',
576 'parameters' => [
577 'name' => [
578 'location' => 'path',
579 'type' => 'string',
580 'required' => true,
581 ],
582 ],
583 ],'list' => [
584 'path' => 'v3/{+parent}/deployments',
585 'httpMethod' => 'GET',
586 'parameters' => [
587 'parent' => [
588 'location' => 'path',
589 'type' => 'string',
590 'required' => true,
591 ],
592 'pageSize' => [
593 'location' => 'query',
594 'type' => 'integer',
595 ],
596 'pageToken' => [
597 'location' => 'query',
598 'type' => 'string',
599 ],
600 ],
601 ],
602 ]
603 ]
604 );
605 $this->projects_locations_agents_environments_experiments = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsExperiments(
606 $this,
607 $this->serviceName,
608 'experiments',
609 [
610 'methods' => [
611 'create' => [
612 'path' => 'v3/{+parent}/experiments',
613 'httpMethod' => 'POST',
614 'parameters' => [
615 'parent' => [
616 'location' => 'path',
617 'type' => 'string',
618 'required' => true,
619 ],
620 ],
621 ],'delete' => [
622 'path' => 'v3/{+name}',
623 'httpMethod' => 'DELETE',
624 'parameters' => [
625 'name' => [
626 'location' => 'path',
627 'type' => 'string',
628 'required' => true,
629 ],
630 ],
631 ],'get' => [
632 'path' => 'v3/{+name}',
633 'httpMethod' => 'GET',
634 'parameters' => [
635 'name' => [
636 'location' => 'path',
637 'type' => 'string',
638 'required' => true,
639 ],
640 ],
641 ],'list' => [
642 'path' => 'v3/{+parent}/experiments',
643 'httpMethod' => 'GET',
644 'parameters' => [
645 'parent' => [
646 'location' => 'path',
647 'type' => 'string',
648 'required' => true,
649 ],
650 'pageSize' => [
651 'location' => 'query',
652 'type' => 'integer',
653 ],
654 'pageToken' => [
655 'location' => 'query',
656 'type' => 'string',
657 ],
658 ],
659 ],'patch' => [
660 'path' => 'v3/{+name}',
661 'httpMethod' => 'PATCH',
662 'parameters' => [
663 'name' => [
664 'location' => 'path',
665 'type' => 'string',
666 'required' => true,
667 ],
668 'updateMask' => [
669 'location' => 'query',
670 'type' => 'string',
671 ],
672 ],
673 ],'start' => [
674 'path' => 'v3/{+name}:start',
675 'httpMethod' => 'POST',
676 'parameters' => [
677 'name' => [
678 'location' => 'path',
679 'type' => 'string',
680 'required' => true,
681 ],
682 ],
683 ],'stop' => [
684 'path' => 'v3/{+name}:stop',
685 'httpMethod' => 'POST',
686 'parameters' => [
687 'name' => [
688 'location' => 'path',
689 'type' => 'string',
690 'required' => true,
691 ],
692 ],
693 ],
694 ]
695 ]
696 );
697 $this->projects_locations_agents_environments_sessions = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsSessions(
698 $this,
699 $this->serviceName,
700 'sessions',
701 [
702 'methods' => [
703 'detectIntent' => [
704 'path' => 'v3/{+session}:detectIntent',
705 'httpMethod' => 'POST',
706 'parameters' => [
707 'session' => [
708 'location' => 'path',
709 'type' => 'string',
710 'required' => true,
711 ],
712 ],
713 ],'fulfillIntent' => [
714 'path' => 'v3/{+session}:fulfillIntent',
715 'httpMethod' => 'POST',
716 'parameters' => [
717 'session' => [
718 'location' => 'path',
719 'type' => 'string',
720 'required' => true,
721 ],
722 ],
723 ],'matchIntent' => [
724 'path' => 'v3/{+session}:matchIntent',
725 'httpMethod' => 'POST',
726 'parameters' => [
727 'session' => [
728 'location' => 'path',
729 'type' => 'string',
730 'required' => true,
731 ],
732 ],
733 ],'serverStreamingDetectIntent' => [
734 'path' => 'v3/{+session}:serverStreamingDetectIntent',
735 'httpMethod' => 'POST',
736 'parameters' => [
737 'session' => [
738 'location' => 'path',
739 'type' => 'string',
740 'required' => true,
741 ],
742 ],
743 ],
744 ]
745 ]
746 );
747 $this->projects_locations_agents_environments_sessions_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsEnvironmentsSessionsEntityTypes(
748 $this,
749 $this->serviceName,
750 'entityTypes',
751 [
752 'methods' => [
753 'create' => [
754 'path' => 'v3/{+parent}/entityTypes',
755 'httpMethod' => 'POST',
756 'parameters' => [
757 'parent' => [
758 'location' => 'path',
759 'type' => 'string',
760 'required' => true,
761 ],
762 ],
763 ],'delete' => [
764 'path' => 'v3/{+name}',
765 'httpMethod' => 'DELETE',
766 'parameters' => [
767 'name' => [
768 'location' => 'path',
769 'type' => 'string',
770 'required' => true,
771 ],
772 ],
773 ],'get' => [
774 'path' => 'v3/{+name}',
775 'httpMethod' => 'GET',
776 'parameters' => [
777 'name' => [
778 'location' => 'path',
779 'type' => 'string',
780 'required' => true,
781 ],
782 ],
783 ],'list' => [
784 'path' => 'v3/{+parent}/entityTypes',
785 'httpMethod' => 'GET',
786 'parameters' => [
787 'parent' => [
788 'location' => 'path',
789 'type' => 'string',
790 'required' => true,
791 ],
792 'pageSize' => [
793 'location' => 'query',
794 'type' => 'integer',
795 ],
796 'pageToken' => [
797 'location' => 'query',
798 'type' => 'string',
799 ],
800 ],
801 ],'patch' => [
802 'path' => 'v3/{+name}',
803 'httpMethod' => 'PATCH',
804 'parameters' => [
805 'name' => [
806 'location' => 'path',
807 'type' => 'string',
808 'required' => true,
809 ],
810 'updateMask' => [
811 'location' => 'query',
812 'type' => 'string',
813 ],
814 ],
815 ],
816 ]
817 ]
818 );
819 $this->projects_locations_agents_flows = new Dialogflow\Resource\ProjectsLocationsAgentsFlows(
820 $this,
821 $this->serviceName,
822 'flows',
823 [
824 'methods' => [
825 'create' => [
826 'path' => 'v3/{+parent}/flows',
827 'httpMethod' => 'POST',
828 'parameters' => [
829 'parent' => [
830 'location' => 'path',
831 'type' => 'string',
832 'required' => true,
833 ],
834 'languageCode' => [
835 'location' => 'query',
836 'type' => 'string',
837 ],
838 ],
839 ],'delete' => [
840 'path' => 'v3/{+name}',
841 'httpMethod' => 'DELETE',
842 'parameters' => [
843 'name' => [
844 'location' => 'path',
845 'type' => 'string',
846 'required' => true,
847 ],
848 'force' => [
849 'location' => 'query',
850 'type' => 'boolean',
851 ],
852 ],
853 ],'export' => [
854 'path' => 'v3/{+name}:export',
855 'httpMethod' => 'POST',
856 'parameters' => [
857 'name' => [
858 'location' => 'path',
859 'type' => 'string',
860 'required' => true,
861 ],
862 ],
863 ],'get' => [
864 'path' => 'v3/{+name}',
865 'httpMethod' => 'GET',
866 'parameters' => [
867 'name' => [
868 'location' => 'path',
869 'type' => 'string',
870 'required' => true,
871 ],
872 'languageCode' => [
873 'location' => 'query',
874 'type' => 'string',
875 ],
876 ],
877 ],'getValidationResult' => [
878 'path' => 'v3/{+name}',
879 'httpMethod' => 'GET',
880 'parameters' => [
881 'name' => [
882 'location' => 'path',
883 'type' => 'string',
884 'required' => true,
885 ],
886 'languageCode' => [
887 'location' => 'query',
888 'type' => 'string',
889 ],
890 ],
891 ],'import' => [
892 'path' => 'v3/{+parent}/flows:import',
893 'httpMethod' => 'POST',
894 'parameters' => [
895 'parent' => [
896 'location' => 'path',
897 'type' => 'string',
898 'required' => true,
899 ],
900 ],
901 ],'list' => [
902 'path' => 'v3/{+parent}/flows',
903 'httpMethod' => 'GET',
904 'parameters' => [
905 'parent' => [
906 'location' => 'path',
907 'type' => 'string',
908 'required' => true,
909 ],
910 'languageCode' => [
911 'location' => 'query',
912 'type' => 'string',
913 ],
914 'pageSize' => [
915 'location' => 'query',
916 'type' => 'integer',
917 ],
918 'pageToken' => [
919 'location' => 'query',
920 'type' => 'string',
921 ],
922 ],
923 ],'patch' => [
924 'path' => 'v3/{+name}',
925 'httpMethod' => 'PATCH',
926 'parameters' => [
927 'name' => [
928 'location' => 'path',
929 'type' => 'string',
930 'required' => true,
931 ],
932 'languageCode' => [
933 'location' => 'query',
934 'type' => 'string',
935 ],
936 'updateMask' => [
937 'location' => 'query',
938 'type' => 'string',
939 ],
940 ],
941 ],'train' => [
942 'path' => 'v3/{+name}:train',
943 'httpMethod' => 'POST',
944 'parameters' => [
945 'name' => [
946 'location' => 'path',
947 'type' => 'string',
948 'required' => true,
949 ],
950 ],
951 ],'validate' => [
952 'path' => 'v3/{+name}:validate',
953 'httpMethod' => 'POST',
954 'parameters' => [
955 'name' => [
956 'location' => 'path',
957 'type' => 'string',
958 'required' => true,
959 ],
960 ],
961 ],
962 ]
963 ]
964 );
965 $this->projects_locations_agents_flows_pages = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsPages(
966 $this,
967 $this->serviceName,
968 'pages',
969 [
970 'methods' => [
971 'create' => [
972 'path' => 'v3/{+parent}/pages',
973 'httpMethod' => 'POST',
974 'parameters' => [
975 'parent' => [
976 'location' => 'path',
977 'type' => 'string',
978 'required' => true,
979 ],
980 'languageCode' => [
981 'location' => 'query',
982 'type' => 'string',
983 ],
984 ],
985 ],'delete' => [
986 'path' => 'v3/{+name}',
987 'httpMethod' => 'DELETE',
988 'parameters' => [
989 'name' => [
990 'location' => 'path',
991 'type' => 'string',
992 'required' => true,
993 ],
994 'force' => [
995 'location' => 'query',
996 'type' => 'boolean',
997 ],
998 ],
999 ],'get' => [
1000 'path' => 'v3/{+name}',
1001 'httpMethod' => 'GET',
1002 'parameters' => [
1003 'name' => [
1004 'location' => 'path',
1005 'type' => 'string',
1006 'required' => true,
1007 ],
1008 'languageCode' => [
1009 'location' => 'query',
1010 'type' => 'string',
1011 ],
1012 ],
1013 ],'list' => [
1014 'path' => 'v3/{+parent}/pages',
1015 'httpMethod' => 'GET',
1016 'parameters' => [
1017 'parent' => [
1018 'location' => 'path',
1019 'type' => 'string',
1020 'required' => true,
1021 ],
1022 'languageCode' => [
1023 'location' => 'query',
1024 'type' => 'string',
1025 ],
1026 'pageSize' => [
1027 'location' => 'query',
1028 'type' => 'integer',
1029 ],
1030 'pageToken' => [
1031 'location' => 'query',
1032 'type' => 'string',
1033 ],
1034 ],
1035 ],'patch' => [
1036 'path' => 'v3/{+name}',
1037 'httpMethod' => 'PATCH',
1038 'parameters' => [
1039 'name' => [
1040 'location' => 'path',
1041 'type' => 'string',
1042 'required' => true,
1043 ],
1044 'languageCode' => [
1045 'location' => 'query',
1046 'type' => 'string',
1047 ],
1048 'updateMask' => [
1049 'location' => 'query',
1050 'type' => 'string',
1051 ],
1052 ],
1053 ],
1054 ]
1055 ]
1056 );
1057 $this->projects_locations_agents_flows_transitionRouteGroups = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsTransitionRouteGroups(
1058 $this,
1059 $this->serviceName,
1060 'transitionRouteGroups',
1061 [
1062 'methods' => [
1063 'create' => [
1064 'path' => 'v3/{+parent}/transitionRouteGroups',
1065 'httpMethod' => 'POST',
1066 'parameters' => [
1067 'parent' => [
1068 'location' => 'path',
1069 'type' => 'string',
1070 'required' => true,
1071 ],
1072 'languageCode' => [
1073 'location' => 'query',
1074 'type' => 'string',
1075 ],
1076 ],
1077 ],'delete' => [
1078 'path' => 'v3/{+name}',
1079 'httpMethod' => 'DELETE',
1080 'parameters' => [
1081 'name' => [
1082 'location' => 'path',
1083 'type' => 'string',
1084 'required' => true,
1085 ],
1086 'force' => [
1087 'location' => 'query',
1088 'type' => 'boolean',
1089 ],
1090 ],
1091 ],'get' => [
1092 'path' => 'v3/{+name}',
1093 'httpMethod' => 'GET',
1094 'parameters' => [
1095 'name' => [
1096 'location' => 'path',
1097 'type' => 'string',
1098 'required' => true,
1099 ],
1100 'languageCode' => [
1101 'location' => 'query',
1102 'type' => 'string',
1103 ],
1104 ],
1105 ],'list' => [
1106 'path' => 'v3/{+parent}/transitionRouteGroups',
1107 'httpMethod' => 'GET',
1108 'parameters' => [
1109 'parent' => [
1110 'location' => 'path',
1111 'type' => 'string',
1112 'required' => true,
1113 ],
1114 'languageCode' => [
1115 'location' => 'query',
1116 'type' => 'string',
1117 ],
1118 'pageSize' => [
1119 'location' => 'query',
1120 'type' => 'integer',
1121 ],
1122 'pageToken' => [
1123 'location' => 'query',
1124 'type' => 'string',
1125 ],
1126 ],
1127 ],'patch' => [
1128 'path' => 'v3/{+name}',
1129 'httpMethod' => 'PATCH',
1130 'parameters' => [
1131 'name' => [
1132 'location' => 'path',
1133 'type' => 'string',
1134 'required' => true,
1135 ],
1136 'languageCode' => [
1137 'location' => 'query',
1138 'type' => 'string',
1139 ],
1140 'updateMask' => [
1141 'location' => 'query',
1142 'type' => 'string',
1143 ],
1144 ],
1145 ],
1146 ]
1147 ]
1148 );
1149 $this->projects_locations_agents_flows_versions = new Dialogflow\Resource\ProjectsLocationsAgentsFlowsVersions(
1150 $this,
1151 $this->serviceName,
1152 'versions',
1153 [
1154 'methods' => [
1155 'compareVersions' => [
1156 'path' => 'v3/{+baseVersion}:compareVersions',
1157 'httpMethod' => 'POST',
1158 'parameters' => [
1159 'baseVersion' => [
1160 'location' => 'path',
1161 'type' => 'string',
1162 'required' => true,
1163 ],
1164 ],
1165 ],'create' => [
1166 'path' => 'v3/{+parent}/versions',
1167 'httpMethod' => 'POST',
1168 'parameters' => [
1169 'parent' => [
1170 'location' => 'path',
1171 'type' => 'string',
1172 'required' => true,
1173 ],
1174 ],
1175 ],'delete' => [
1176 'path' => 'v3/{+name}',
1177 'httpMethod' => 'DELETE',
1178 'parameters' => [
1179 'name' => [
1180 'location' => 'path',
1181 'type' => 'string',
1182 'required' => true,
1183 ],
1184 ],
1185 ],'get' => [
1186 'path' => 'v3/{+name}',
1187 'httpMethod' => 'GET',
1188 'parameters' => [
1189 'name' => [
1190 'location' => 'path',
1191 'type' => 'string',
1192 'required' => true,
1193 ],
1194 ],
1195 ],'list' => [
1196 'path' => 'v3/{+parent}/versions',
1197 'httpMethod' => 'GET',
1198 'parameters' => [
1199 'parent' => [
1200 'location' => 'path',
1201 'type' => 'string',
1202 'required' => true,
1203 ],
1204 'pageSize' => [
1205 'location' => 'query',
1206 'type' => 'integer',
1207 ],
1208 'pageToken' => [
1209 'location' => 'query',
1210 'type' => 'string',
1211 ],
1212 ],
1213 ],'load' => [
1214 'path' => 'v3/{+name}:load',
1215 'httpMethod' => 'POST',
1216 'parameters' => [
1217 'name' => [
1218 'location' => 'path',
1219 'type' => 'string',
1220 'required' => true,
1221 ],
1222 ],
1223 ],'patch' => [
1224 'path' => 'v3/{+name}',
1225 'httpMethod' => 'PATCH',
1226 'parameters' => [
1227 'name' => [
1228 'location' => 'path',
1229 'type' => 'string',
1230 'required' => true,
1231 ],
1232 'updateMask' => [
1233 'location' => 'query',
1234 'type' => 'string',
1235 ],
1236 ],
1237 ],
1238 ]
1239 ]
1240 );
1241 $this->projects_locations_agents_generators = new Dialogflow\Resource\ProjectsLocationsAgentsGenerators(
1242 $this,
1243 $this->serviceName,
1244 'generators',
1245 [
1246 'methods' => [
1247 'create' => [
1248 'path' => 'v3/{+parent}/generators',
1249 'httpMethod' => 'POST',
1250 'parameters' => [
1251 'parent' => [
1252 'location' => 'path',
1253 'type' => 'string',
1254 'required' => true,
1255 ],
1256 'languageCode' => [
1257 'location' => 'query',
1258 'type' => 'string',
1259 ],
1260 ],
1261 ],'delete' => [
1262 'path' => 'v3/{+name}',
1263 'httpMethod' => 'DELETE',
1264 'parameters' => [
1265 'name' => [
1266 'location' => 'path',
1267 'type' => 'string',
1268 'required' => true,
1269 ],
1270 'force' => [
1271 'location' => 'query',
1272 'type' => 'boolean',
1273 ],
1274 ],
1275 ],'get' => [
1276 'path' => 'v3/{+name}',
1277 'httpMethod' => 'GET',
1278 'parameters' => [
1279 'name' => [
1280 'location' => 'path',
1281 'type' => 'string',
1282 'required' => true,
1283 ],
1284 'languageCode' => [
1285 'location' => 'query',
1286 'type' => 'string',
1287 ],
1288 ],
1289 ],'list' => [
1290 'path' => 'v3/{+parent}/generators',
1291 'httpMethod' => 'GET',
1292 'parameters' => [
1293 'parent' => [
1294 'location' => 'path',
1295 'type' => 'string',
1296 'required' => true,
1297 ],
1298 'languageCode' => [
1299 'location' => 'query',
1300 'type' => 'string',
1301 ],
1302 'pageSize' => [
1303 'location' => 'query',
1304 'type' => 'integer',
1305 ],
1306 'pageToken' => [
1307 'location' => 'query',
1308 'type' => 'string',
1309 ],
1310 ],
1311 ],'patch' => [
1312 'path' => 'v3/{+name}',
1313 'httpMethod' => 'PATCH',
1314 'parameters' => [
1315 'name' => [
1316 'location' => 'path',
1317 'type' => 'string',
1318 'required' => true,
1319 ],
1320 'languageCode' => [
1321 'location' => 'query',
1322 'type' => 'string',
1323 ],
1324 'updateMask' => [
1325 'location' => 'query',
1326 'type' => 'string',
1327 ],
1328 ],
1329 ],
1330 ]
1331 ]
1332 );
1333 $this->projects_locations_agents_intents = new Dialogflow\Resource\ProjectsLocationsAgentsIntents(
1334 $this,
1335 $this->serviceName,
1336 'intents',
1337 [
1338 'methods' => [
1339 'create' => [
1340 'path' => 'v3/{+parent}/intents',
1341 'httpMethod' => 'POST',
1342 'parameters' => [
1343 'parent' => [
1344 'location' => 'path',
1345 'type' => 'string',
1346 'required' => true,
1347 ],
1348 'languageCode' => [
1349 'location' => 'query',
1350 'type' => 'string',
1351 ],
1352 ],
1353 ],'delete' => [
1354 'path' => 'v3/{+name}',
1355 'httpMethod' => 'DELETE',
1356 'parameters' => [
1357 'name' => [
1358 'location' => 'path',
1359 'type' => 'string',
1360 'required' => true,
1361 ],
1362 ],
1363 ],'export' => [
1364 'path' => 'v3/{+parent}/intents:export',
1365 'httpMethod' => 'POST',
1366 'parameters' => [
1367 'parent' => [
1368 'location' => 'path',
1369 'type' => 'string',
1370 'required' => true,
1371 ],
1372 ],
1373 ],'get' => [
1374 'path' => 'v3/{+name}',
1375 'httpMethod' => 'GET',
1376 'parameters' => [
1377 'name' => [
1378 'location' => 'path',
1379 'type' => 'string',
1380 'required' => true,
1381 ],
1382 'languageCode' => [
1383 'location' => 'query',
1384 'type' => 'string',
1385 ],
1386 ],
1387 ],'import' => [
1388 'path' => 'v3/{+parent}/intents:import',
1389 'httpMethod' => 'POST',
1390 'parameters' => [
1391 'parent' => [
1392 'location' => 'path',
1393 'type' => 'string',
1394 'required' => true,
1395 ],
1396 ],
1397 ],'list' => [
1398 'path' => 'v3/{+parent}/intents',
1399 'httpMethod' => 'GET',
1400 'parameters' => [
1401 'parent' => [
1402 'location' => 'path',
1403 'type' => 'string',
1404 'required' => true,
1405 ],
1406 'intentView' => [
1407 'location' => 'query',
1408 'type' => 'string',
1409 ],
1410 'languageCode' => [
1411 'location' => 'query',
1412 'type' => 'string',
1413 ],
1414 'pageSize' => [
1415 'location' => 'query',
1416 'type' => 'integer',
1417 ],
1418 'pageToken' => [
1419 'location' => 'query',
1420 'type' => 'string',
1421 ],
1422 ],
1423 ],'patch' => [
1424 'path' => 'v3/{+name}',
1425 'httpMethod' => 'PATCH',
1426 'parameters' => [
1427 'name' => [
1428 'location' => 'path',
1429 'type' => 'string',
1430 'required' => true,
1431 ],
1432 'languageCode' => [
1433 'location' => 'query',
1434 'type' => 'string',
1435 ],
1436 'updateMask' => [
1437 'location' => 'query',
1438 'type' => 'string',
1439 ],
1440 ],
1441 ],
1442 ]
1443 ]
1444 );
1445 $this->projects_locations_agents_sessions = new Dialogflow\Resource\ProjectsLocationsAgentsSessions(
1446 $this,
1447 $this->serviceName,
1448 'sessions',
1449 [
1450 'methods' => [
1451 'detectIntent' => [
1452 'path' => 'v3/{+session}:detectIntent',
1453 'httpMethod' => 'POST',
1454 'parameters' => [
1455 'session' => [
1456 'location' => 'path',
1457 'type' => 'string',
1458 'required' => true,
1459 ],
1460 ],
1461 ],'fulfillIntent' => [
1462 'path' => 'v3/{+session}:fulfillIntent',
1463 'httpMethod' => 'POST',
1464 'parameters' => [
1465 'session' => [
1466 'location' => 'path',
1467 'type' => 'string',
1468 'required' => true,
1469 ],
1470 ],
1471 ],'matchIntent' => [
1472 'path' => 'v3/{+session}:matchIntent',
1473 'httpMethod' => 'POST',
1474 'parameters' => [
1475 'session' => [
1476 'location' => 'path',
1477 'type' => 'string',
1478 'required' => true,
1479 ],
1480 ],
1481 ],'serverStreamingDetectIntent' => [
1482 'path' => 'v3/{+session}:serverStreamingDetectIntent',
1483 'httpMethod' => 'POST',
1484 'parameters' => [
1485 'session' => [
1486 'location' => 'path',
1487 'type' => 'string',
1488 'required' => true,
1489 ],
1490 ],
1491 ],'submitAnswerFeedback' => [
1492 'path' => 'v3/{+session}:submitAnswerFeedback',
1493 'httpMethod' => 'POST',
1494 'parameters' => [
1495 'session' => [
1496 'location' => 'path',
1497 'type' => 'string',
1498 'required' => true,
1499 ],
1500 ],
1501 ],
1502 ]
1503 ]
1504 );
1505 $this->projects_locations_agents_sessions_entityTypes = new Dialogflow\Resource\ProjectsLocationsAgentsSessionsEntityTypes(
1506 $this,
1507 $this->serviceName,
1508 'entityTypes',
1509 [
1510 'methods' => [
1511 'create' => [
1512 'path' => 'v3/{+parent}/entityTypes',
1513 'httpMethod' => 'POST',
1514 'parameters' => [
1515 'parent' => [
1516 'location' => 'path',
1517 'type' => 'string',
1518 'required' => true,
1519 ],
1520 ],
1521 ],'delete' => [
1522 'path' => 'v3/{+name}',
1523 'httpMethod' => 'DELETE',
1524 'parameters' => [
1525 'name' => [
1526 'location' => 'path',
1527 'type' => 'string',
1528 'required' => true,
1529 ],
1530 ],
1531 ],'get' => [
1532 'path' => 'v3/{+name}',
1533 'httpMethod' => 'GET',
1534 'parameters' => [
1535 'name' => [
1536 'location' => 'path',
1537 'type' => 'string',
1538 'required' => true,
1539 ],
1540 ],
1541 ],'list' => [
1542 'path' => 'v3/{+parent}/entityTypes',
1543 'httpMethod' => 'GET',
1544 'parameters' => [
1545 'parent' => [
1546 'location' => 'path',
1547 'type' => 'string',
1548 'required' => true,
1549 ],
1550 'pageSize' => [
1551 'location' => 'query',
1552 'type' => 'integer',
1553 ],
1554 'pageToken' => [
1555 'location' => 'query',
1556 'type' => 'string',
1557 ],
1558 ],
1559 ],'patch' => [
1560 'path' => 'v3/{+name}',
1561 'httpMethod' => 'PATCH',
1562 'parameters' => [
1563 'name' => [
1564 'location' => 'path',
1565 'type' => 'string',
1566 'required' => true,
1567 ],
1568 'updateMask' => [
1569 'location' => 'query',
1570 'type' => 'string',
1571 ],
1572 ],
1573 ],
1574 ]
1575 ]
1576 );
1577 $this->projects_locations_agents_testCases = new Dialogflow\Resource\ProjectsLocationsAgentsTestCases(
1578 $this,
1579 $this->serviceName,
1580 'testCases',
1581 [
1582 'methods' => [
1583 'batchDelete' => [
1584 'path' => 'v3/{+parent}/testCases:batchDelete',
1585 'httpMethod' => 'POST',
1586 'parameters' => [
1587 'parent' => [
1588 'location' => 'path',
1589 'type' => 'string',
1590 'required' => true,
1591 ],
1592 ],
1593 ],'batchRun' => [
1594 'path' => 'v3/{+parent}/testCases:batchRun',
1595 'httpMethod' => 'POST',
1596 'parameters' => [
1597 'parent' => [
1598 'location' => 'path',
1599 'type' => 'string',
1600 'required' => true,
1601 ],
1602 ],
1603 ],'calculateCoverage' => [
1604 'path' => 'v3/{+agent}/testCases:calculateCoverage',
1605 'httpMethod' => 'GET',
1606 'parameters' => [
1607 'agent' => [
1608 'location' => 'path',
1609 'type' => 'string',
1610 'required' => true,
1611 ],
1612 'type' => [
1613 'location' => 'query',
1614 'type' => 'string',
1615 ],
1616 ],
1617 ],'create' => [
1618 'path' => 'v3/{+parent}/testCases',
1619 'httpMethod' => 'POST',
1620 'parameters' => [
1621 'parent' => [
1622 'location' => 'path',
1623 'type' => 'string',
1624 'required' => true,
1625 ],
1626 ],
1627 ],'export' => [
1628 'path' => 'v3/{+parent}/testCases:export',
1629 'httpMethod' => 'POST',
1630 'parameters' => [
1631 'parent' => [
1632 'location' => 'path',
1633 'type' => 'string',
1634 'required' => true,
1635 ],
1636 ],
1637 ],'get' => [
1638 'path' => 'v3/{+name}',
1639 'httpMethod' => 'GET',
1640 'parameters' => [
1641 'name' => [
1642 'location' => 'path',
1643 'type' => 'string',
1644 'required' => true,
1645 ],
1646 ],
1647 ],'import' => [
1648 'path' => 'v3/{+parent}/testCases:import',
1649 'httpMethod' => 'POST',
1650 'parameters' => [
1651 'parent' => [
1652 'location' => 'path',
1653 'type' => 'string',
1654 'required' => true,
1655 ],
1656 ],
1657 ],'list' => [
1658 'path' => 'v3/{+parent}/testCases',
1659 'httpMethod' => 'GET',
1660 'parameters' => [
1661 'parent' => [
1662 'location' => 'path',
1663 'type' => 'string',
1664 'required' => true,
1665 ],
1666 'pageSize' => [
1667 'location' => 'query',
1668 'type' => 'integer',
1669 ],
1670 'pageToken' => [
1671 'location' => 'query',
1672 'type' => 'string',
1673 ],
1674 'view' => [
1675 'location' => 'query',
1676 'type' => 'string',
1677 ],
1678 ],
1679 ],'patch' => [
1680 'path' => 'v3/{+name}',
1681 'httpMethod' => 'PATCH',
1682 'parameters' => [
1683 'name' => [
1684 'location' => 'path',
1685 'type' => 'string',
1686 'required' => true,
1687 ],
1688 'updateMask' => [
1689 'location' => 'query',
1690 'type' => 'string',
1691 ],
1692 ],
1693 ],'run' => [
1694 'path' => 'v3/{+name}:run',
1695 'httpMethod' => 'POST',
1696 'parameters' => [
1697 'name' => [
1698 'location' => 'path',
1699 'type' => 'string',
1700 'required' => true,
1701 ],
1702 ],
1703 ],
1704 ]
1705 ]
1706 );
1707 $this->projects_locations_agents_testCases_results = new Dialogflow\Resource\ProjectsLocationsAgentsTestCasesResults(
1708 $this,
1709 $this->serviceName,
1710 'results',
1711 [
1712 'methods' => [
1713 'get' => [
1714 'path' => 'v3/{+name}',
1715 'httpMethod' => 'GET',
1716 'parameters' => [
1717 'name' => [
1718 'location' => 'path',
1719 'type' => 'string',
1720 'required' => true,
1721 ],
1722 ],
1723 ],'list' => [
1724 'path' => 'v3/{+parent}/results',
1725 'httpMethod' => 'GET',
1726 'parameters' => [
1727 'parent' => [
1728 'location' => 'path',
1729 'type' => 'string',
1730 'required' => true,
1731 ],
1732 'filter' => [
1733 'location' => 'query',
1734 'type' => 'string',
1735 ],
1736 'pageSize' => [
1737 'location' => 'query',
1738 'type' => 'integer',
1739 ],
1740 'pageToken' => [
1741 'location' => 'query',
1742 'type' => 'string',
1743 ],
1744 ],
1745 ],
1746 ]
1747 ]
1748 );
1749 $this->projects_locations_agents_transitionRouteGroups = new Dialogflow\Resource\ProjectsLocationsAgentsTransitionRouteGroups(
1750 $this,
1751 $this->serviceName,
1752 'transitionRouteGroups',
1753 [
1754 'methods' => [
1755 'create' => [
1756 'path' => 'v3/{+parent}/transitionRouteGroups',
1757 'httpMethod' => 'POST',
1758 'parameters' => [
1759 'parent' => [
1760 'location' => 'path',
1761 'type' => 'string',
1762 'required' => true,
1763 ],
1764 'languageCode' => [
1765 'location' => 'query',
1766 'type' => 'string',
1767 ],
1768 ],
1769 ],'delete' => [
1770 'path' => 'v3/{+name}',
1771 'httpMethod' => 'DELETE',
1772 'parameters' => [
1773 'name' => [
1774 'location' => 'path',
1775 'type' => 'string',
1776 'required' => true,
1777 ],
1778 'force' => [
1779 'location' => 'query',
1780 'type' => 'boolean',
1781 ],
1782 ],
1783 ],'get' => [
1784 'path' => 'v3/{+name}',
1785 'httpMethod' => 'GET',
1786 'parameters' => [
1787 'name' => [
1788 'location' => 'path',
1789 'type' => 'string',
1790 'required' => true,
1791 ],
1792 'languageCode' => [
1793 'location' => 'query',
1794 'type' => 'string',
1795 ],
1796 ],
1797 ],'list' => [
1798 'path' => 'v3/{+parent}/transitionRouteGroups',
1799 'httpMethod' => 'GET',
1800 'parameters' => [
1801 'parent' => [
1802 'location' => 'path',
1803 'type' => 'string',
1804 'required' => true,
1805 ],
1806 'languageCode' => [
1807 'location' => 'query',
1808 'type' => 'string',
1809 ],
1810 'pageSize' => [
1811 'location' => 'query',
1812 'type' => 'integer',
1813 ],
1814 'pageToken' => [
1815 'location' => 'query',
1816 'type' => 'string',
1817 ],
1818 ],
1819 ],'patch' => [
1820 'path' => 'v3/{+name}',
1821 'httpMethod' => 'PATCH',
1822 'parameters' => [
1823 'name' => [
1824 'location' => 'path',
1825 'type' => 'string',
1826 'required' => true,
1827 ],
1828 'languageCode' => [
1829 'location' => 'query',
1830 'type' => 'string',
1831 ],
1832 'updateMask' => [
1833 'location' => 'query',
1834 'type' => 'string',
1835 ],
1836 ],
1837 ],
1838 ]
1839 ]
1840 );
1841 $this->projects_locations_agents_webhooks = new Dialogflow\Resource\ProjectsLocationsAgentsWebhooks(
1842 $this,
1843 $this->serviceName,
1844 'webhooks',
1845 [
1846 'methods' => [
1847 'create' => [
1848 'path' => 'v3/{+parent}/webhooks',
1849 'httpMethod' => 'POST',
1850 'parameters' => [
1851 'parent' => [
1852 'location' => 'path',
1853 'type' => 'string',
1854 'required' => true,
1855 ],
1856 ],
1857 ],'delete' => [
1858 'path' => 'v3/{+name}',
1859 'httpMethod' => 'DELETE',
1860 'parameters' => [
1861 'name' => [
1862 'location' => 'path',
1863 'type' => 'string',
1864 'required' => true,
1865 ],
1866 'force' => [
1867 'location' => 'query',
1868 'type' => 'boolean',
1869 ],
1870 ],
1871 ],'get' => [
1872 'path' => 'v3/{+name}',
1873 'httpMethod' => 'GET',
1874 'parameters' => [
1875 'name' => [
1876 'location' => 'path',
1877 'type' => 'string',
1878 'required' => true,
1879 ],
1880 ],
1881 ],'list' => [
1882 'path' => 'v3/{+parent}/webhooks',
1883 'httpMethod' => 'GET',
1884 'parameters' => [
1885 'parent' => [
1886 'location' => 'path',
1887 'type' => 'string',
1888 'required' => true,
1889 ],
1890 'pageSize' => [
1891 'location' => 'query',
1892 'type' => 'integer',
1893 ],
1894 'pageToken' => [
1895 'location' => 'query',
1896 'type' => 'string',
1897 ],
1898 ],
1899 ],'patch' => [
1900 'path' => 'v3/{+name}',
1901 'httpMethod' => 'PATCH',
1902 'parameters' => [
1903 'name' => [
1904 'location' => 'path',
1905 'type' => 'string',
1906 'required' => true,
1907 ],
1908 'updateMask' => [
1909 'location' => 'query',
1910 'type' => 'string',
1911 ],
1912 ],
1913 ],
1914 ]
1915 ]
1916 );
1917 $this->projects_locations_operations = new Dialogflow\Resource\ProjectsLocationsOperations(
1918 $this,
1919 $this->serviceName,
1920 'operations',
1921 [
1922 'methods' => [
1923 'cancel' => [
1924 'path' => 'v3/{+name}:cancel',
1925 'httpMethod' => 'POST',
1926 'parameters' => [
1927 'name' => [
1928 'location' => 'path',
1929 'type' => 'string',
1930 'required' => true,
1931 ],
1932 ],
1933 ],'get' => [
1934 'path' => 'v3/{+name}',
1935 'httpMethod' => 'GET',
1936 'parameters' => [
1937 'name' => [
1938 'location' => 'path',
1939 'type' => 'string',
1940 'required' => true,
1941 ],
1942 ],
1943 ],'list' => [
1944 'path' => 'v3/{+name}/operations',
1945 'httpMethod' => 'GET',
1946 'parameters' => [
1947 'name' => [
1948 'location' => 'path',
1949 'type' => 'string',
1950 'required' => true,
1951 ],
1952 'filter' => [
1953 'location' => 'query',
1954 'type' => 'string',
1955 ],
1956 'pageSize' => [
1957 'location' => 'query',
1958 'type' => 'integer',
1959 ],
1960 'pageToken' => [
1961 'location' => 'query',
1962 'type' => 'string',
1963 ],
1964 ],
1965 ],
1966 ]
1967 ]
1968 );
1969 $this->projects_locations_securitySettings = new Dialogflow\Resource\ProjectsLocationsSecuritySettings(
1970 $this,
1971 $this->serviceName,
1972 'securitySettings',
1973 [
1974 'methods' => [
1975 'create' => [
1976 'path' => 'v3/{+parent}/securitySettings',
1977 'httpMethod' => 'POST',
1978 'parameters' => [
1979 'parent' => [
1980 'location' => 'path',
1981 'type' => 'string',
1982 'required' => true,
1983 ],
1984 ],
1985 ],'delete' => [
1986 'path' => 'v3/{+name}',
1987 'httpMethod' => 'DELETE',
1988 'parameters' => [
1989 'name' => [
1990 'location' => 'path',
1991 'type' => 'string',
1992 'required' => true,
1993 ],
1994 ],
1995 ],'get' => [
1996 'path' => 'v3/{+name}',
1997 'httpMethod' => 'GET',
1998 'parameters' => [
1999 'name' => [
2000 'location' => 'path',
2001 'type' => 'string',
2002 'required' => true,
2003 ],
2004 ],
2005 ],'list' => [
2006 'path' => 'v3/{+parent}/securitySettings',
2007 'httpMethod' => 'GET',
2008 'parameters' => [
2009 'parent' => [
2010 'location' => 'path',
2011 'type' => 'string',
2012 'required' => true,
2013 ],
2014 'pageSize' => [
2015 'location' => 'query',
2016 'type' => 'integer',
2017 ],
2018 'pageToken' => [
2019 'location' => 'query',
2020 'type' => 'string',
2021 ],
2022 ],
2023 ],'patch' => [
2024 'path' => 'v3/{+name}',
2025 'httpMethod' => 'PATCH',
2026 'parameters' => [
2027 'name' => [
2028 'location' => 'path',
2029 'type' => 'string',
2030 'required' => true,
2031 ],
2032 'updateMask' => [
2033 'location' => 'query',
2034 'type' => 'string',
2035 ],
2036 ],
2037 ],
2038 ]
2039 ]
2040 );
2041 $this->projects_operations = new Dialogflow\Resource\ProjectsOperations(
2042 $this,
2043 $this->serviceName,
2044 'operations',
2045 [
2046 'methods' => [
2047 'cancel' => [
2048 'path' => 'v3/{+name}:cancel',
2049 'httpMethod' => 'POST',
2050 'parameters' => [
2051 'name' => [
2052 'location' => 'path',
2053 'type' => 'string',
2054 'required' => true,
2055 ],
2056 ],
2057 ],'get' => [
2058 'path' => 'v3/{+name}',
2059 'httpMethod' => 'GET',
2060 'parameters' => [
2061 'name' => [
2062 'location' => 'path',
2063 'type' => 'string',
2064 'required' => true,
2065 ],
2066 ],
2067 ],'list' => [
2068 'path' => 'v3/{+name}/operations',
2069 'httpMethod' => 'GET',
2070 'parameters' => [
2071 'name' => [
2072 'location' => 'path',
2073 'type' => 'string',
2074 'required' => true,
2075 ],
2076 'filter' => [
2077 'location' => 'query',
2078 'type' => 'string',
2079 ],
2080 'pageSize' => [
2081 'location' => 'query',
2082 'type' => 'integer',
2083 ],
2084 'pageToken' => [
2085 'location' => 'query',
2086 'type' => 'string',
2087 ],
2088 ],
2089 ],
2090 ]
2091 ]
2092 );
2093 }
2094}
2095
2096// Adding a class alias for backwards compatibility with the previous class name.
2097class_alias(Dialogflow::class, 'Google_Service_Dialogflow');
Note: See TracBrowser for help on using the repository browser.