1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service;
|
---|
19 |
|
---|
20 | use Google\Client;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | * Service definition for DiscoveryEngine (v1).
|
---|
24 | *
|
---|
25 | * <p>
|
---|
26 | * Discovery Engine API.</p>
|
---|
27 | *
|
---|
28 | * <p>
|
---|
29 | * For more information about this service, see the API
|
---|
30 | * <a href="https://cloud.google.com/generative-ai-app-builder/docs/" target="_blank">Documentation</a>
|
---|
31 | * </p>
|
---|
32 | *
|
---|
33 | * @author Google, Inc.
|
---|
34 | */
|
---|
35 | class DiscoveryEngine 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;
|
---|
42 | public $projects_locations_collections_dataConnector_operations;
|
---|
43 | public $projects_locations_collections_dataStores;
|
---|
44 | public $projects_locations_collections_dataStores_branches;
|
---|
45 | public $projects_locations_collections_dataStores_branches_documents;
|
---|
46 | public $projects_locations_collections_dataStores_branches_operations;
|
---|
47 | public $projects_locations_collections_dataStores_completionSuggestions;
|
---|
48 | public $projects_locations_collections_dataStores_controls;
|
---|
49 | public $projects_locations_collections_dataStores_conversations;
|
---|
50 | public $projects_locations_collections_dataStores_customModels;
|
---|
51 | public $projects_locations_collections_dataStores_models_operations;
|
---|
52 | public $projects_locations_collections_dataStores_operations;
|
---|
53 | public $projects_locations_collections_dataStores_schemas;
|
---|
54 | public $projects_locations_collections_dataStores_schemas_operations;
|
---|
55 | public $projects_locations_collections_dataStores_servingConfigs;
|
---|
56 | public $projects_locations_collections_dataStores_sessions;
|
---|
57 | public $projects_locations_collections_dataStores_sessions_answers;
|
---|
58 | public $projects_locations_collections_dataStores_siteSearchEngine;
|
---|
59 | public $projects_locations_collections_dataStores_siteSearchEngine_operations;
|
---|
60 | public $projects_locations_collections_dataStores_siteSearchEngine_targetSites;
|
---|
61 | public $projects_locations_collections_dataStores_siteSearchEngine_targetSites_operations;
|
---|
62 | public $projects_locations_collections_dataStores_suggestionDenyListEntries;
|
---|
63 | public $projects_locations_collections_dataStores_userEvents;
|
---|
64 | public $projects_locations_collections_engines;
|
---|
65 | public $projects_locations_collections_engines_controls;
|
---|
66 | public $projects_locations_collections_engines_conversations;
|
---|
67 | public $projects_locations_collections_engines_operations;
|
---|
68 | public $projects_locations_collections_engines_servingConfigs;
|
---|
69 | public $projects_locations_collections_engines_sessions;
|
---|
70 | public $projects_locations_collections_engines_sessions_answers;
|
---|
71 | public $projects_locations_collections_operations;
|
---|
72 | public $projects_locations_dataStores;
|
---|
73 | public $projects_locations_dataStores_branches;
|
---|
74 | public $projects_locations_dataStores_branches_documents;
|
---|
75 | public $projects_locations_dataStores_branches_operations;
|
---|
76 | public $projects_locations_dataStores_completionSuggestions;
|
---|
77 | public $projects_locations_dataStores_controls;
|
---|
78 | public $projects_locations_dataStores_conversations;
|
---|
79 | public $projects_locations_dataStores_models_operations;
|
---|
80 | public $projects_locations_dataStores_operations;
|
---|
81 | public $projects_locations_dataStores_schemas;
|
---|
82 | public $projects_locations_dataStores_servingConfigs;
|
---|
83 | public $projects_locations_dataStores_sessions;
|
---|
84 | public $projects_locations_dataStores_sessions_answers;
|
---|
85 | public $projects_locations_dataStores_siteSearchEngine;
|
---|
86 | public $projects_locations_dataStores_siteSearchEngine_targetSites;
|
---|
87 | public $projects_locations_dataStores_suggestionDenyListEntries;
|
---|
88 | public $projects_locations_dataStores_userEvents;
|
---|
89 | public $projects_locations_groundingConfigs;
|
---|
90 | public $projects_locations_identityMappingStores_operations;
|
---|
91 | public $projects_locations_operations;
|
---|
92 | public $projects_locations_rankingConfigs;
|
---|
93 | public $projects_locations_userEvents;
|
---|
94 | public $projects_operations;
|
---|
95 | public $rootUrlTemplate;
|
---|
96 |
|
---|
97 | /**
|
---|
98 | * Constructs the internal representation of the DiscoveryEngine service.
|
---|
99 | *
|
---|
100 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
101 | * config array to pass to a new Client instance.
|
---|
102 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
103 | */
|
---|
104 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
105 | {
|
---|
106 | parent::__construct($clientOrConfig);
|
---|
107 | $this->rootUrl = $rootUrl ?: 'https://discoveryengine.googleapis.com/';
|
---|
108 | $this->rootUrlTemplate = $rootUrl ?: 'https://discoveryengine.UNIVERSE_DOMAIN/';
|
---|
109 | $this->servicePath = '';
|
---|
110 | $this->batchPath = 'batch';
|
---|
111 | $this->version = 'v1';
|
---|
112 | $this->serviceName = 'discoveryengine';
|
---|
113 |
|
---|
114 | $this->projects = new DiscoveryEngine\Resource\Projects(
|
---|
115 | $this,
|
---|
116 | $this->serviceName,
|
---|
117 | 'projects',
|
---|
118 | [
|
---|
119 | 'methods' => [
|
---|
120 | 'provision' => [
|
---|
121 | 'path' => 'v1/{+name}:provision',
|
---|
122 | 'httpMethod' => 'POST',
|
---|
123 | 'parameters' => [
|
---|
124 | 'name' => [
|
---|
125 | 'location' => 'path',
|
---|
126 | 'type' => 'string',
|
---|
127 | 'required' => true,
|
---|
128 | ],
|
---|
129 | ],
|
---|
130 | ],
|
---|
131 | ]
|
---|
132 | ]
|
---|
133 | );
|
---|
134 | $this->projects_locations_collections_dataConnector_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataConnectorOperations(
|
---|
135 | $this,
|
---|
136 | $this->serviceName,
|
---|
137 | 'operations',
|
---|
138 | [
|
---|
139 | 'methods' => [
|
---|
140 | 'get' => [
|
---|
141 | 'path' => 'v1/{+name}',
|
---|
142 | 'httpMethod' => 'GET',
|
---|
143 | 'parameters' => [
|
---|
144 | 'name' => [
|
---|
145 | 'location' => 'path',
|
---|
146 | 'type' => 'string',
|
---|
147 | 'required' => true,
|
---|
148 | ],
|
---|
149 | ],
|
---|
150 | ],'list' => [
|
---|
151 | 'path' => 'v1/{+name}/operations',
|
---|
152 | 'httpMethod' => 'GET',
|
---|
153 | 'parameters' => [
|
---|
154 | 'name' => [
|
---|
155 | 'location' => 'path',
|
---|
156 | 'type' => 'string',
|
---|
157 | 'required' => true,
|
---|
158 | ],
|
---|
159 | 'filter' => [
|
---|
160 | 'location' => 'query',
|
---|
161 | 'type' => 'string',
|
---|
162 | ],
|
---|
163 | 'pageSize' => [
|
---|
164 | 'location' => 'query',
|
---|
165 | 'type' => 'integer',
|
---|
166 | ],
|
---|
167 | 'pageToken' => [
|
---|
168 | 'location' => 'query',
|
---|
169 | 'type' => 'string',
|
---|
170 | ],
|
---|
171 | ],
|
---|
172 | ],
|
---|
173 | ]
|
---|
174 | ]
|
---|
175 | );
|
---|
176 | $this->projects_locations_collections_dataStores = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStores(
|
---|
177 | $this,
|
---|
178 | $this->serviceName,
|
---|
179 | 'dataStores',
|
---|
180 | [
|
---|
181 | 'methods' => [
|
---|
182 | 'completeQuery' => [
|
---|
183 | 'path' => 'v1/{+dataStore}:completeQuery',
|
---|
184 | 'httpMethod' => 'GET',
|
---|
185 | 'parameters' => [
|
---|
186 | 'dataStore' => [
|
---|
187 | 'location' => 'path',
|
---|
188 | 'type' => 'string',
|
---|
189 | 'required' => true,
|
---|
190 | ],
|
---|
191 | 'includeTailSuggestions' => [
|
---|
192 | 'location' => 'query',
|
---|
193 | 'type' => 'boolean',
|
---|
194 | ],
|
---|
195 | 'query' => [
|
---|
196 | 'location' => 'query',
|
---|
197 | 'type' => 'string',
|
---|
198 | ],
|
---|
199 | 'queryModel' => [
|
---|
200 | 'location' => 'query',
|
---|
201 | 'type' => 'string',
|
---|
202 | ],
|
---|
203 | 'userPseudoId' => [
|
---|
204 | 'location' => 'query',
|
---|
205 | 'type' => 'string',
|
---|
206 | ],
|
---|
207 | ],
|
---|
208 | ],'create' => [
|
---|
209 | 'path' => 'v1/{+parent}/dataStores',
|
---|
210 | 'httpMethod' => 'POST',
|
---|
211 | 'parameters' => [
|
---|
212 | 'parent' => [
|
---|
213 | 'location' => 'path',
|
---|
214 | 'type' => 'string',
|
---|
215 | 'required' => true,
|
---|
216 | ],
|
---|
217 | 'cmekConfigName' => [
|
---|
218 | 'location' => 'query',
|
---|
219 | 'type' => 'string',
|
---|
220 | ],
|
---|
221 | 'createAdvancedSiteSearch' => [
|
---|
222 | 'location' => 'query',
|
---|
223 | 'type' => 'boolean',
|
---|
224 | ],
|
---|
225 | 'dataStoreId' => [
|
---|
226 | 'location' => 'query',
|
---|
227 | 'type' => 'string',
|
---|
228 | ],
|
---|
229 | 'disableCmek' => [
|
---|
230 | 'location' => 'query',
|
---|
231 | 'type' => 'boolean',
|
---|
232 | ],
|
---|
233 | 'skipDefaultSchemaCreation' => [
|
---|
234 | 'location' => 'query',
|
---|
235 | 'type' => 'boolean',
|
---|
236 | ],
|
---|
237 | ],
|
---|
238 | ],'delete' => [
|
---|
239 | 'path' => 'v1/{+name}',
|
---|
240 | 'httpMethod' => 'DELETE',
|
---|
241 | 'parameters' => [
|
---|
242 | 'name' => [
|
---|
243 | 'location' => 'path',
|
---|
244 | 'type' => 'string',
|
---|
245 | 'required' => true,
|
---|
246 | ],
|
---|
247 | ],
|
---|
248 | ],'get' => [
|
---|
249 | 'path' => 'v1/{+name}',
|
---|
250 | 'httpMethod' => 'GET',
|
---|
251 | 'parameters' => [
|
---|
252 | 'name' => [
|
---|
253 | 'location' => 'path',
|
---|
254 | 'type' => 'string',
|
---|
255 | 'required' => true,
|
---|
256 | ],
|
---|
257 | ],
|
---|
258 | ],'getSiteSearchEngine' => [
|
---|
259 | 'path' => 'v1/{+name}',
|
---|
260 | 'httpMethod' => 'GET',
|
---|
261 | 'parameters' => [
|
---|
262 | 'name' => [
|
---|
263 | 'location' => 'path',
|
---|
264 | 'type' => 'string',
|
---|
265 | 'required' => true,
|
---|
266 | ],
|
---|
267 | ],
|
---|
268 | ],'list' => [
|
---|
269 | 'path' => 'v1/{+parent}/dataStores',
|
---|
270 | 'httpMethod' => 'GET',
|
---|
271 | 'parameters' => [
|
---|
272 | 'parent' => [
|
---|
273 | 'location' => 'path',
|
---|
274 | 'type' => 'string',
|
---|
275 | 'required' => true,
|
---|
276 | ],
|
---|
277 | 'filter' => [
|
---|
278 | 'location' => 'query',
|
---|
279 | 'type' => 'string',
|
---|
280 | ],
|
---|
281 | 'pageSize' => [
|
---|
282 | 'location' => 'query',
|
---|
283 | 'type' => 'integer',
|
---|
284 | ],
|
---|
285 | 'pageToken' => [
|
---|
286 | 'location' => 'query',
|
---|
287 | 'type' => 'string',
|
---|
288 | ],
|
---|
289 | ],
|
---|
290 | ],'patch' => [
|
---|
291 | 'path' => 'v1/{+name}',
|
---|
292 | 'httpMethod' => 'PATCH',
|
---|
293 | 'parameters' => [
|
---|
294 | 'name' => [
|
---|
295 | 'location' => 'path',
|
---|
296 | 'type' => 'string',
|
---|
297 | 'required' => true,
|
---|
298 | ],
|
---|
299 | 'updateMask' => [
|
---|
300 | 'location' => 'query',
|
---|
301 | 'type' => 'string',
|
---|
302 | ],
|
---|
303 | ],
|
---|
304 | ],'trainCustomModel' => [
|
---|
305 | 'path' => 'v1/{+dataStore}:trainCustomModel',
|
---|
306 | 'httpMethod' => 'POST',
|
---|
307 | 'parameters' => [
|
---|
308 | 'dataStore' => [
|
---|
309 | 'location' => 'path',
|
---|
310 | 'type' => 'string',
|
---|
311 | 'required' => true,
|
---|
312 | ],
|
---|
313 | ],
|
---|
314 | ],
|
---|
315 | ]
|
---|
316 | ]
|
---|
317 | );
|
---|
318 | $this->projects_locations_collections_dataStores_branches = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresBranches(
|
---|
319 | $this,
|
---|
320 | $this->serviceName,
|
---|
321 | 'branches',
|
---|
322 | [
|
---|
323 | 'methods' => [
|
---|
324 | 'batchGetDocumentsMetadata' => [
|
---|
325 | 'path' => 'v1/{+parent}/batchGetDocumentsMetadata',
|
---|
326 | 'httpMethod' => 'GET',
|
---|
327 | 'parameters' => [
|
---|
328 | 'parent' => [
|
---|
329 | 'location' => 'path',
|
---|
330 | 'type' => 'string',
|
---|
331 | 'required' => true,
|
---|
332 | ],
|
---|
333 | 'matcher.fhirMatcher.fhirResources' => [
|
---|
334 | 'location' => 'query',
|
---|
335 | 'type' => 'string',
|
---|
336 | 'repeated' => true,
|
---|
337 | ],
|
---|
338 | 'matcher.urisMatcher.uris' => [
|
---|
339 | 'location' => 'query',
|
---|
340 | 'type' => 'string',
|
---|
341 | 'repeated' => true,
|
---|
342 | ],
|
---|
343 | ],
|
---|
344 | ],
|
---|
345 | ]
|
---|
346 | ]
|
---|
347 | );
|
---|
348 | $this->projects_locations_collections_dataStores_branches_documents = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresBranchesDocuments(
|
---|
349 | $this,
|
---|
350 | $this->serviceName,
|
---|
351 | 'documents',
|
---|
352 | [
|
---|
353 | 'methods' => [
|
---|
354 | 'create' => [
|
---|
355 | 'path' => 'v1/{+parent}/documents',
|
---|
356 | 'httpMethod' => 'POST',
|
---|
357 | 'parameters' => [
|
---|
358 | 'parent' => [
|
---|
359 | 'location' => 'path',
|
---|
360 | 'type' => 'string',
|
---|
361 | 'required' => true,
|
---|
362 | ],
|
---|
363 | 'documentId' => [
|
---|
364 | 'location' => 'query',
|
---|
365 | 'type' => 'string',
|
---|
366 | ],
|
---|
367 | ],
|
---|
368 | ],'delete' => [
|
---|
369 | 'path' => 'v1/{+name}',
|
---|
370 | 'httpMethod' => 'DELETE',
|
---|
371 | 'parameters' => [
|
---|
372 | 'name' => [
|
---|
373 | 'location' => 'path',
|
---|
374 | 'type' => 'string',
|
---|
375 | 'required' => true,
|
---|
376 | ],
|
---|
377 | ],
|
---|
378 | ],'get' => [
|
---|
379 | 'path' => 'v1/{+name}',
|
---|
380 | 'httpMethod' => 'GET',
|
---|
381 | 'parameters' => [
|
---|
382 | 'name' => [
|
---|
383 | 'location' => 'path',
|
---|
384 | 'type' => 'string',
|
---|
385 | 'required' => true,
|
---|
386 | ],
|
---|
387 | ],
|
---|
388 | ],'import' => [
|
---|
389 | 'path' => 'v1/{+parent}/documents:import',
|
---|
390 | 'httpMethod' => 'POST',
|
---|
391 | 'parameters' => [
|
---|
392 | 'parent' => [
|
---|
393 | 'location' => 'path',
|
---|
394 | 'type' => 'string',
|
---|
395 | 'required' => true,
|
---|
396 | ],
|
---|
397 | ],
|
---|
398 | ],'list' => [
|
---|
399 | 'path' => 'v1/{+parent}/documents',
|
---|
400 | 'httpMethod' => 'GET',
|
---|
401 | 'parameters' => [
|
---|
402 | 'parent' => [
|
---|
403 | 'location' => 'path',
|
---|
404 | 'type' => 'string',
|
---|
405 | 'required' => true,
|
---|
406 | ],
|
---|
407 | 'pageSize' => [
|
---|
408 | 'location' => 'query',
|
---|
409 | 'type' => 'integer',
|
---|
410 | ],
|
---|
411 | 'pageToken' => [
|
---|
412 | 'location' => 'query',
|
---|
413 | 'type' => 'string',
|
---|
414 | ],
|
---|
415 | ],
|
---|
416 | ],'patch' => [
|
---|
417 | 'path' => 'v1/{+name}',
|
---|
418 | 'httpMethod' => 'PATCH',
|
---|
419 | 'parameters' => [
|
---|
420 | 'name' => [
|
---|
421 | 'location' => 'path',
|
---|
422 | 'type' => 'string',
|
---|
423 | 'required' => true,
|
---|
424 | ],
|
---|
425 | 'allowMissing' => [
|
---|
426 | 'location' => 'query',
|
---|
427 | 'type' => 'boolean',
|
---|
428 | ],
|
---|
429 | 'updateMask' => [
|
---|
430 | 'location' => 'query',
|
---|
431 | 'type' => 'string',
|
---|
432 | ],
|
---|
433 | ],
|
---|
434 | ],'purge' => [
|
---|
435 | 'path' => 'v1/{+parent}/documents:purge',
|
---|
436 | 'httpMethod' => 'POST',
|
---|
437 | 'parameters' => [
|
---|
438 | 'parent' => [
|
---|
439 | 'location' => 'path',
|
---|
440 | 'type' => 'string',
|
---|
441 | 'required' => true,
|
---|
442 | ],
|
---|
443 | ],
|
---|
444 | ],
|
---|
445 | ]
|
---|
446 | ]
|
---|
447 | );
|
---|
448 | $this->projects_locations_collections_dataStores_branches_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresBranchesOperations(
|
---|
449 | $this,
|
---|
450 | $this->serviceName,
|
---|
451 | 'operations',
|
---|
452 | [
|
---|
453 | 'methods' => [
|
---|
454 | 'cancel' => [
|
---|
455 | 'path' => 'v1/{+name}:cancel',
|
---|
456 | 'httpMethod' => 'POST',
|
---|
457 | 'parameters' => [
|
---|
458 | 'name' => [
|
---|
459 | 'location' => 'path',
|
---|
460 | 'type' => 'string',
|
---|
461 | 'required' => true,
|
---|
462 | ],
|
---|
463 | ],
|
---|
464 | ],'get' => [
|
---|
465 | 'path' => 'v1/{+name}',
|
---|
466 | 'httpMethod' => 'GET',
|
---|
467 | 'parameters' => [
|
---|
468 | 'name' => [
|
---|
469 | 'location' => 'path',
|
---|
470 | 'type' => 'string',
|
---|
471 | 'required' => true,
|
---|
472 | ],
|
---|
473 | ],
|
---|
474 | ],'list' => [
|
---|
475 | 'path' => 'v1/{+name}/operations',
|
---|
476 | 'httpMethod' => 'GET',
|
---|
477 | 'parameters' => [
|
---|
478 | 'name' => [
|
---|
479 | 'location' => 'path',
|
---|
480 | 'type' => 'string',
|
---|
481 | 'required' => true,
|
---|
482 | ],
|
---|
483 | 'filter' => [
|
---|
484 | 'location' => 'query',
|
---|
485 | 'type' => 'string',
|
---|
486 | ],
|
---|
487 | 'pageSize' => [
|
---|
488 | 'location' => 'query',
|
---|
489 | 'type' => 'integer',
|
---|
490 | ],
|
---|
491 | 'pageToken' => [
|
---|
492 | 'location' => 'query',
|
---|
493 | 'type' => 'string',
|
---|
494 | ],
|
---|
495 | ],
|
---|
496 | ],
|
---|
497 | ]
|
---|
498 | ]
|
---|
499 | );
|
---|
500 | $this->projects_locations_collections_dataStores_completionSuggestions = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresCompletionSuggestions(
|
---|
501 | $this,
|
---|
502 | $this->serviceName,
|
---|
503 | 'completionSuggestions',
|
---|
504 | [
|
---|
505 | 'methods' => [
|
---|
506 | 'import' => [
|
---|
507 | 'path' => 'v1/{+parent}/completionSuggestions:import',
|
---|
508 | 'httpMethod' => 'POST',
|
---|
509 | 'parameters' => [
|
---|
510 | 'parent' => [
|
---|
511 | 'location' => 'path',
|
---|
512 | 'type' => 'string',
|
---|
513 | 'required' => true,
|
---|
514 | ],
|
---|
515 | ],
|
---|
516 | ],'purge' => [
|
---|
517 | 'path' => 'v1/{+parent}/completionSuggestions:purge',
|
---|
518 | 'httpMethod' => 'POST',
|
---|
519 | 'parameters' => [
|
---|
520 | 'parent' => [
|
---|
521 | 'location' => 'path',
|
---|
522 | 'type' => 'string',
|
---|
523 | 'required' => true,
|
---|
524 | ],
|
---|
525 | ],
|
---|
526 | ],
|
---|
527 | ]
|
---|
528 | ]
|
---|
529 | );
|
---|
530 | $this->projects_locations_collections_dataStores_controls = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresControls(
|
---|
531 | $this,
|
---|
532 | $this->serviceName,
|
---|
533 | 'controls',
|
---|
534 | [
|
---|
535 | 'methods' => [
|
---|
536 | 'create' => [
|
---|
537 | 'path' => 'v1/{+parent}/controls',
|
---|
538 | 'httpMethod' => 'POST',
|
---|
539 | 'parameters' => [
|
---|
540 | 'parent' => [
|
---|
541 | 'location' => 'path',
|
---|
542 | 'type' => 'string',
|
---|
543 | 'required' => true,
|
---|
544 | ],
|
---|
545 | 'controlId' => [
|
---|
546 | 'location' => 'query',
|
---|
547 | 'type' => 'string',
|
---|
548 | ],
|
---|
549 | ],
|
---|
550 | ],'delete' => [
|
---|
551 | 'path' => 'v1/{+name}',
|
---|
552 | 'httpMethod' => 'DELETE',
|
---|
553 | 'parameters' => [
|
---|
554 | 'name' => [
|
---|
555 | 'location' => 'path',
|
---|
556 | 'type' => 'string',
|
---|
557 | 'required' => true,
|
---|
558 | ],
|
---|
559 | ],
|
---|
560 | ],'get' => [
|
---|
561 | 'path' => 'v1/{+name}',
|
---|
562 | 'httpMethod' => 'GET',
|
---|
563 | 'parameters' => [
|
---|
564 | 'name' => [
|
---|
565 | 'location' => 'path',
|
---|
566 | 'type' => 'string',
|
---|
567 | 'required' => true,
|
---|
568 | ],
|
---|
569 | ],
|
---|
570 | ],'list' => [
|
---|
571 | 'path' => 'v1/{+parent}/controls',
|
---|
572 | 'httpMethod' => 'GET',
|
---|
573 | 'parameters' => [
|
---|
574 | 'parent' => [
|
---|
575 | 'location' => 'path',
|
---|
576 | 'type' => 'string',
|
---|
577 | 'required' => true,
|
---|
578 | ],
|
---|
579 | 'filter' => [
|
---|
580 | 'location' => 'query',
|
---|
581 | 'type' => 'string',
|
---|
582 | ],
|
---|
583 | 'pageSize' => [
|
---|
584 | 'location' => 'query',
|
---|
585 | 'type' => 'integer',
|
---|
586 | ],
|
---|
587 | 'pageToken' => [
|
---|
588 | 'location' => 'query',
|
---|
589 | 'type' => 'string',
|
---|
590 | ],
|
---|
591 | ],
|
---|
592 | ],'patch' => [
|
---|
593 | 'path' => 'v1/{+name}',
|
---|
594 | 'httpMethod' => 'PATCH',
|
---|
595 | 'parameters' => [
|
---|
596 | 'name' => [
|
---|
597 | 'location' => 'path',
|
---|
598 | 'type' => 'string',
|
---|
599 | 'required' => true,
|
---|
600 | ],
|
---|
601 | 'updateMask' => [
|
---|
602 | 'location' => 'query',
|
---|
603 | 'type' => 'string',
|
---|
604 | ],
|
---|
605 | ],
|
---|
606 | ],
|
---|
607 | ]
|
---|
608 | ]
|
---|
609 | );
|
---|
610 | $this->projects_locations_collections_dataStores_conversations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresConversations(
|
---|
611 | $this,
|
---|
612 | $this->serviceName,
|
---|
613 | 'conversations',
|
---|
614 | [
|
---|
615 | 'methods' => [
|
---|
616 | 'converse' => [
|
---|
617 | 'path' => 'v1/{+name}:converse',
|
---|
618 | 'httpMethod' => 'POST',
|
---|
619 | 'parameters' => [
|
---|
620 | 'name' => [
|
---|
621 | 'location' => 'path',
|
---|
622 | 'type' => 'string',
|
---|
623 | 'required' => true,
|
---|
624 | ],
|
---|
625 | ],
|
---|
626 | ],'create' => [
|
---|
627 | 'path' => 'v1/{+parent}/conversations',
|
---|
628 | 'httpMethod' => 'POST',
|
---|
629 | 'parameters' => [
|
---|
630 | 'parent' => [
|
---|
631 | 'location' => 'path',
|
---|
632 | 'type' => 'string',
|
---|
633 | 'required' => true,
|
---|
634 | ],
|
---|
635 | ],
|
---|
636 | ],'delete' => [
|
---|
637 | 'path' => 'v1/{+name}',
|
---|
638 | 'httpMethod' => 'DELETE',
|
---|
639 | 'parameters' => [
|
---|
640 | 'name' => [
|
---|
641 | 'location' => 'path',
|
---|
642 | 'type' => 'string',
|
---|
643 | 'required' => true,
|
---|
644 | ],
|
---|
645 | ],
|
---|
646 | ],'get' => [
|
---|
647 | 'path' => 'v1/{+name}',
|
---|
648 | 'httpMethod' => 'GET',
|
---|
649 | 'parameters' => [
|
---|
650 | 'name' => [
|
---|
651 | 'location' => 'path',
|
---|
652 | 'type' => 'string',
|
---|
653 | 'required' => true,
|
---|
654 | ],
|
---|
655 | ],
|
---|
656 | ],'list' => [
|
---|
657 | 'path' => 'v1/{+parent}/conversations',
|
---|
658 | 'httpMethod' => 'GET',
|
---|
659 | 'parameters' => [
|
---|
660 | 'parent' => [
|
---|
661 | 'location' => 'path',
|
---|
662 | 'type' => 'string',
|
---|
663 | 'required' => true,
|
---|
664 | ],
|
---|
665 | 'filter' => [
|
---|
666 | 'location' => 'query',
|
---|
667 | 'type' => 'string',
|
---|
668 | ],
|
---|
669 | 'orderBy' => [
|
---|
670 | 'location' => 'query',
|
---|
671 | 'type' => 'string',
|
---|
672 | ],
|
---|
673 | 'pageSize' => [
|
---|
674 | 'location' => 'query',
|
---|
675 | 'type' => 'integer',
|
---|
676 | ],
|
---|
677 | 'pageToken' => [
|
---|
678 | 'location' => 'query',
|
---|
679 | 'type' => 'string',
|
---|
680 | ],
|
---|
681 | ],
|
---|
682 | ],'patch' => [
|
---|
683 | 'path' => 'v1/{+name}',
|
---|
684 | 'httpMethod' => 'PATCH',
|
---|
685 | 'parameters' => [
|
---|
686 | 'name' => [
|
---|
687 | 'location' => 'path',
|
---|
688 | 'type' => 'string',
|
---|
689 | 'required' => true,
|
---|
690 | ],
|
---|
691 | 'updateMask' => [
|
---|
692 | 'location' => 'query',
|
---|
693 | 'type' => 'string',
|
---|
694 | ],
|
---|
695 | ],
|
---|
696 | ],
|
---|
697 | ]
|
---|
698 | ]
|
---|
699 | );
|
---|
700 | $this->projects_locations_collections_dataStores_customModels = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresCustomModels(
|
---|
701 | $this,
|
---|
702 | $this->serviceName,
|
---|
703 | 'customModels',
|
---|
704 | [
|
---|
705 | 'methods' => [
|
---|
706 | 'list' => [
|
---|
707 | 'path' => 'v1/{+dataStore}/customModels',
|
---|
708 | 'httpMethod' => 'GET',
|
---|
709 | 'parameters' => [
|
---|
710 | 'dataStore' => [
|
---|
711 | 'location' => 'path',
|
---|
712 | 'type' => 'string',
|
---|
713 | 'required' => true,
|
---|
714 | ],
|
---|
715 | ],
|
---|
716 | ],
|
---|
717 | ]
|
---|
718 | ]
|
---|
719 | );
|
---|
720 | $this->projects_locations_collections_dataStores_models_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresModelsOperations(
|
---|
721 | $this,
|
---|
722 | $this->serviceName,
|
---|
723 | 'operations',
|
---|
724 | [
|
---|
725 | 'methods' => [
|
---|
726 | 'get' => [
|
---|
727 | 'path' => 'v1/{+name}',
|
---|
728 | 'httpMethod' => 'GET',
|
---|
729 | 'parameters' => [
|
---|
730 | 'name' => [
|
---|
731 | 'location' => 'path',
|
---|
732 | 'type' => 'string',
|
---|
733 | 'required' => true,
|
---|
734 | ],
|
---|
735 | ],
|
---|
736 | ],'list' => [
|
---|
737 | 'path' => 'v1/{+name}/operations',
|
---|
738 | 'httpMethod' => 'GET',
|
---|
739 | 'parameters' => [
|
---|
740 | 'name' => [
|
---|
741 | 'location' => 'path',
|
---|
742 | 'type' => 'string',
|
---|
743 | 'required' => true,
|
---|
744 | ],
|
---|
745 | 'filter' => [
|
---|
746 | 'location' => 'query',
|
---|
747 | 'type' => 'string',
|
---|
748 | ],
|
---|
749 | 'pageSize' => [
|
---|
750 | 'location' => 'query',
|
---|
751 | 'type' => 'integer',
|
---|
752 | ],
|
---|
753 | 'pageToken' => [
|
---|
754 | 'location' => 'query',
|
---|
755 | 'type' => 'string',
|
---|
756 | ],
|
---|
757 | ],
|
---|
758 | ],
|
---|
759 | ]
|
---|
760 | ]
|
---|
761 | );
|
---|
762 | $this->projects_locations_collections_dataStores_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresOperations(
|
---|
763 | $this,
|
---|
764 | $this->serviceName,
|
---|
765 | 'operations',
|
---|
766 | [
|
---|
767 | 'methods' => [
|
---|
768 | 'get' => [
|
---|
769 | 'path' => 'v1/{+name}',
|
---|
770 | 'httpMethod' => 'GET',
|
---|
771 | 'parameters' => [
|
---|
772 | 'name' => [
|
---|
773 | 'location' => 'path',
|
---|
774 | 'type' => 'string',
|
---|
775 | 'required' => true,
|
---|
776 | ],
|
---|
777 | ],
|
---|
778 | ],'list' => [
|
---|
779 | 'path' => 'v1/{+name}/operations',
|
---|
780 | 'httpMethod' => 'GET',
|
---|
781 | 'parameters' => [
|
---|
782 | 'name' => [
|
---|
783 | 'location' => 'path',
|
---|
784 | 'type' => 'string',
|
---|
785 | 'required' => true,
|
---|
786 | ],
|
---|
787 | 'filter' => [
|
---|
788 | 'location' => 'query',
|
---|
789 | 'type' => 'string',
|
---|
790 | ],
|
---|
791 | 'pageSize' => [
|
---|
792 | 'location' => 'query',
|
---|
793 | 'type' => 'integer',
|
---|
794 | ],
|
---|
795 | 'pageToken' => [
|
---|
796 | 'location' => 'query',
|
---|
797 | 'type' => 'string',
|
---|
798 | ],
|
---|
799 | ],
|
---|
800 | ],
|
---|
801 | ]
|
---|
802 | ]
|
---|
803 | );
|
---|
804 | $this->projects_locations_collections_dataStores_schemas = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSchemas(
|
---|
805 | $this,
|
---|
806 | $this->serviceName,
|
---|
807 | 'schemas',
|
---|
808 | [
|
---|
809 | 'methods' => [
|
---|
810 | 'create' => [
|
---|
811 | 'path' => 'v1/{+parent}/schemas',
|
---|
812 | 'httpMethod' => 'POST',
|
---|
813 | 'parameters' => [
|
---|
814 | 'parent' => [
|
---|
815 | 'location' => 'path',
|
---|
816 | 'type' => 'string',
|
---|
817 | 'required' => true,
|
---|
818 | ],
|
---|
819 | 'schemaId' => [
|
---|
820 | 'location' => 'query',
|
---|
821 | 'type' => 'string',
|
---|
822 | ],
|
---|
823 | ],
|
---|
824 | ],'delete' => [
|
---|
825 | 'path' => 'v1/{+name}',
|
---|
826 | 'httpMethod' => 'DELETE',
|
---|
827 | 'parameters' => [
|
---|
828 | 'name' => [
|
---|
829 | 'location' => 'path',
|
---|
830 | 'type' => 'string',
|
---|
831 | 'required' => true,
|
---|
832 | ],
|
---|
833 | ],
|
---|
834 | ],'get' => [
|
---|
835 | 'path' => 'v1/{+name}',
|
---|
836 | 'httpMethod' => 'GET',
|
---|
837 | 'parameters' => [
|
---|
838 | 'name' => [
|
---|
839 | 'location' => 'path',
|
---|
840 | 'type' => 'string',
|
---|
841 | 'required' => true,
|
---|
842 | ],
|
---|
843 | ],
|
---|
844 | ],'list' => [
|
---|
845 | 'path' => 'v1/{+parent}/schemas',
|
---|
846 | 'httpMethod' => 'GET',
|
---|
847 | 'parameters' => [
|
---|
848 | 'parent' => [
|
---|
849 | 'location' => 'path',
|
---|
850 | 'type' => 'string',
|
---|
851 | 'required' => true,
|
---|
852 | ],
|
---|
853 | 'pageSize' => [
|
---|
854 | 'location' => 'query',
|
---|
855 | 'type' => 'integer',
|
---|
856 | ],
|
---|
857 | 'pageToken' => [
|
---|
858 | 'location' => 'query',
|
---|
859 | 'type' => 'string',
|
---|
860 | ],
|
---|
861 | ],
|
---|
862 | ],'patch' => [
|
---|
863 | 'path' => 'v1/{+name}',
|
---|
864 | 'httpMethod' => 'PATCH',
|
---|
865 | 'parameters' => [
|
---|
866 | 'name' => [
|
---|
867 | 'location' => 'path',
|
---|
868 | 'type' => 'string',
|
---|
869 | 'required' => true,
|
---|
870 | ],
|
---|
871 | 'allowMissing' => [
|
---|
872 | 'location' => 'query',
|
---|
873 | 'type' => 'boolean',
|
---|
874 | ],
|
---|
875 | ],
|
---|
876 | ],
|
---|
877 | ]
|
---|
878 | ]
|
---|
879 | );
|
---|
880 | $this->projects_locations_collections_dataStores_schemas_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSchemasOperations(
|
---|
881 | $this,
|
---|
882 | $this->serviceName,
|
---|
883 | 'operations',
|
---|
884 | [
|
---|
885 | 'methods' => [
|
---|
886 | 'get' => [
|
---|
887 | 'path' => 'v1/{+name}',
|
---|
888 | 'httpMethod' => 'GET',
|
---|
889 | 'parameters' => [
|
---|
890 | 'name' => [
|
---|
891 | 'location' => 'path',
|
---|
892 | 'type' => 'string',
|
---|
893 | 'required' => true,
|
---|
894 | ],
|
---|
895 | ],
|
---|
896 | ],'list' => [
|
---|
897 | 'path' => 'v1/{+name}/operations',
|
---|
898 | 'httpMethod' => 'GET',
|
---|
899 | 'parameters' => [
|
---|
900 | 'name' => [
|
---|
901 | 'location' => 'path',
|
---|
902 | 'type' => 'string',
|
---|
903 | 'required' => true,
|
---|
904 | ],
|
---|
905 | 'filter' => [
|
---|
906 | 'location' => 'query',
|
---|
907 | 'type' => 'string',
|
---|
908 | ],
|
---|
909 | 'pageSize' => [
|
---|
910 | 'location' => 'query',
|
---|
911 | 'type' => 'integer',
|
---|
912 | ],
|
---|
913 | 'pageToken' => [
|
---|
914 | 'location' => 'query',
|
---|
915 | 'type' => 'string',
|
---|
916 | ],
|
---|
917 | ],
|
---|
918 | ],
|
---|
919 | ]
|
---|
920 | ]
|
---|
921 | );
|
---|
922 | $this->projects_locations_collections_dataStores_servingConfigs = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresServingConfigs(
|
---|
923 | $this,
|
---|
924 | $this->serviceName,
|
---|
925 | 'servingConfigs',
|
---|
926 | [
|
---|
927 | 'methods' => [
|
---|
928 | 'answer' => [
|
---|
929 | 'path' => 'v1/{+servingConfig}:answer',
|
---|
930 | 'httpMethod' => 'POST',
|
---|
931 | 'parameters' => [
|
---|
932 | 'servingConfig' => [
|
---|
933 | 'location' => 'path',
|
---|
934 | 'type' => 'string',
|
---|
935 | 'required' => true,
|
---|
936 | ],
|
---|
937 | ],
|
---|
938 | ],'recommend' => [
|
---|
939 | 'path' => 'v1/{+servingConfig}:recommend',
|
---|
940 | 'httpMethod' => 'POST',
|
---|
941 | 'parameters' => [
|
---|
942 | 'servingConfig' => [
|
---|
943 | 'location' => 'path',
|
---|
944 | 'type' => 'string',
|
---|
945 | 'required' => true,
|
---|
946 | ],
|
---|
947 | ],
|
---|
948 | ],'search' => [
|
---|
949 | 'path' => 'v1/{+servingConfig}:search',
|
---|
950 | 'httpMethod' => 'POST',
|
---|
951 | 'parameters' => [
|
---|
952 | 'servingConfig' => [
|
---|
953 | 'location' => 'path',
|
---|
954 | 'type' => 'string',
|
---|
955 | 'required' => true,
|
---|
956 | ],
|
---|
957 | ],
|
---|
958 | ],'searchLite' => [
|
---|
959 | 'path' => 'v1/{+servingConfig}:searchLite',
|
---|
960 | 'httpMethod' => 'POST',
|
---|
961 | 'parameters' => [
|
---|
962 | 'servingConfig' => [
|
---|
963 | 'location' => 'path',
|
---|
964 | 'type' => 'string',
|
---|
965 | 'required' => true,
|
---|
966 | ],
|
---|
967 | ],
|
---|
968 | ],
|
---|
969 | ]
|
---|
970 | ]
|
---|
971 | );
|
---|
972 | $this->projects_locations_collections_dataStores_sessions = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSessions(
|
---|
973 | $this,
|
---|
974 | $this->serviceName,
|
---|
975 | 'sessions',
|
---|
976 | [
|
---|
977 | 'methods' => [
|
---|
978 | 'create' => [
|
---|
979 | 'path' => 'v1/{+parent}/sessions',
|
---|
980 | 'httpMethod' => 'POST',
|
---|
981 | 'parameters' => [
|
---|
982 | 'parent' => [
|
---|
983 | 'location' => 'path',
|
---|
984 | 'type' => 'string',
|
---|
985 | 'required' => true,
|
---|
986 | ],
|
---|
987 | ],
|
---|
988 | ],'delete' => [
|
---|
989 | 'path' => 'v1/{+name}',
|
---|
990 | 'httpMethod' => 'DELETE',
|
---|
991 | 'parameters' => [
|
---|
992 | 'name' => [
|
---|
993 | 'location' => 'path',
|
---|
994 | 'type' => 'string',
|
---|
995 | 'required' => true,
|
---|
996 | ],
|
---|
997 | ],
|
---|
998 | ],'get' => [
|
---|
999 | 'path' => 'v1/{+name}',
|
---|
1000 | 'httpMethod' => 'GET',
|
---|
1001 | 'parameters' => [
|
---|
1002 | 'name' => [
|
---|
1003 | 'location' => 'path',
|
---|
1004 | 'type' => 'string',
|
---|
1005 | 'required' => true,
|
---|
1006 | ],
|
---|
1007 | ],
|
---|
1008 | ],'list' => [
|
---|
1009 | 'path' => 'v1/{+parent}/sessions',
|
---|
1010 | 'httpMethod' => 'GET',
|
---|
1011 | 'parameters' => [
|
---|
1012 | 'parent' => [
|
---|
1013 | 'location' => 'path',
|
---|
1014 | 'type' => 'string',
|
---|
1015 | 'required' => true,
|
---|
1016 | ],
|
---|
1017 | 'filter' => [
|
---|
1018 | 'location' => 'query',
|
---|
1019 | 'type' => 'string',
|
---|
1020 | ],
|
---|
1021 | 'orderBy' => [
|
---|
1022 | 'location' => 'query',
|
---|
1023 | 'type' => 'string',
|
---|
1024 | ],
|
---|
1025 | 'pageSize' => [
|
---|
1026 | 'location' => 'query',
|
---|
1027 | 'type' => 'integer',
|
---|
1028 | ],
|
---|
1029 | 'pageToken' => [
|
---|
1030 | 'location' => 'query',
|
---|
1031 | 'type' => 'string',
|
---|
1032 | ],
|
---|
1033 | ],
|
---|
1034 | ],'patch' => [
|
---|
1035 | 'path' => 'v1/{+name}',
|
---|
1036 | 'httpMethod' => 'PATCH',
|
---|
1037 | 'parameters' => [
|
---|
1038 | 'name' => [
|
---|
1039 | 'location' => 'path',
|
---|
1040 | 'type' => 'string',
|
---|
1041 | 'required' => true,
|
---|
1042 | ],
|
---|
1043 | 'updateMask' => [
|
---|
1044 | 'location' => 'query',
|
---|
1045 | 'type' => 'string',
|
---|
1046 | ],
|
---|
1047 | ],
|
---|
1048 | ],
|
---|
1049 | ]
|
---|
1050 | ]
|
---|
1051 | );
|
---|
1052 | $this->projects_locations_collections_dataStores_sessions_answers = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSessionsAnswers(
|
---|
1053 | $this,
|
---|
1054 | $this->serviceName,
|
---|
1055 | 'answers',
|
---|
1056 | [
|
---|
1057 | 'methods' => [
|
---|
1058 | 'get' => [
|
---|
1059 | 'path' => 'v1/{+name}',
|
---|
1060 | 'httpMethod' => 'GET',
|
---|
1061 | 'parameters' => [
|
---|
1062 | 'name' => [
|
---|
1063 | 'location' => 'path',
|
---|
1064 | 'type' => 'string',
|
---|
1065 | 'required' => true,
|
---|
1066 | ],
|
---|
1067 | ],
|
---|
1068 | ],
|
---|
1069 | ]
|
---|
1070 | ]
|
---|
1071 | );
|
---|
1072 | $this->projects_locations_collections_dataStores_siteSearchEngine = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSiteSearchEngine(
|
---|
1073 | $this,
|
---|
1074 | $this->serviceName,
|
---|
1075 | 'siteSearchEngine',
|
---|
1076 | [
|
---|
1077 | 'methods' => [
|
---|
1078 | 'batchVerifyTargetSites' => [
|
---|
1079 | 'path' => 'v1/{+parent}:batchVerifyTargetSites',
|
---|
1080 | 'httpMethod' => 'POST',
|
---|
1081 | 'parameters' => [
|
---|
1082 | 'parent' => [
|
---|
1083 | 'location' => 'path',
|
---|
1084 | 'type' => 'string',
|
---|
1085 | 'required' => true,
|
---|
1086 | ],
|
---|
1087 | ],
|
---|
1088 | ],'disableAdvancedSiteSearch' => [
|
---|
1089 | 'path' => 'v1/{+siteSearchEngine}:disableAdvancedSiteSearch',
|
---|
1090 | 'httpMethod' => 'POST',
|
---|
1091 | 'parameters' => [
|
---|
1092 | 'siteSearchEngine' => [
|
---|
1093 | 'location' => 'path',
|
---|
1094 | 'type' => 'string',
|
---|
1095 | 'required' => true,
|
---|
1096 | ],
|
---|
1097 | ],
|
---|
1098 | ],'enableAdvancedSiteSearch' => [
|
---|
1099 | 'path' => 'v1/{+siteSearchEngine}:enableAdvancedSiteSearch',
|
---|
1100 | 'httpMethod' => 'POST',
|
---|
1101 | 'parameters' => [
|
---|
1102 | 'siteSearchEngine' => [
|
---|
1103 | 'location' => 'path',
|
---|
1104 | 'type' => 'string',
|
---|
1105 | 'required' => true,
|
---|
1106 | ],
|
---|
1107 | ],
|
---|
1108 | ],'fetchDomainVerificationStatus' => [
|
---|
1109 | 'path' => 'v1/{+siteSearchEngine}:fetchDomainVerificationStatus',
|
---|
1110 | 'httpMethod' => 'GET',
|
---|
1111 | 'parameters' => [
|
---|
1112 | 'siteSearchEngine' => [
|
---|
1113 | 'location' => 'path',
|
---|
1114 | 'type' => 'string',
|
---|
1115 | 'required' => true,
|
---|
1116 | ],
|
---|
1117 | 'pageSize' => [
|
---|
1118 | 'location' => 'query',
|
---|
1119 | 'type' => 'integer',
|
---|
1120 | ],
|
---|
1121 | 'pageToken' => [
|
---|
1122 | 'location' => 'query',
|
---|
1123 | 'type' => 'string',
|
---|
1124 | ],
|
---|
1125 | ],
|
---|
1126 | ],'recrawlUris' => [
|
---|
1127 | 'path' => 'v1/{+siteSearchEngine}:recrawlUris',
|
---|
1128 | 'httpMethod' => 'POST',
|
---|
1129 | 'parameters' => [
|
---|
1130 | 'siteSearchEngine' => [
|
---|
1131 | 'location' => 'path',
|
---|
1132 | 'type' => 'string',
|
---|
1133 | 'required' => true,
|
---|
1134 | ],
|
---|
1135 | ],
|
---|
1136 | ],
|
---|
1137 | ]
|
---|
1138 | ]
|
---|
1139 | );
|
---|
1140 | $this->projects_locations_collections_dataStores_siteSearchEngine_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSiteSearchEngineOperations(
|
---|
1141 | $this,
|
---|
1142 | $this->serviceName,
|
---|
1143 | 'operations',
|
---|
1144 | [
|
---|
1145 | 'methods' => [
|
---|
1146 | 'get' => [
|
---|
1147 | 'path' => 'v1/{+name}',
|
---|
1148 | 'httpMethod' => 'GET',
|
---|
1149 | 'parameters' => [
|
---|
1150 | 'name' => [
|
---|
1151 | 'location' => 'path',
|
---|
1152 | 'type' => 'string',
|
---|
1153 | 'required' => true,
|
---|
1154 | ],
|
---|
1155 | ],
|
---|
1156 | ],'list' => [
|
---|
1157 | 'path' => 'v1/{+name}/operations',
|
---|
1158 | 'httpMethod' => 'GET',
|
---|
1159 | 'parameters' => [
|
---|
1160 | 'name' => [
|
---|
1161 | 'location' => 'path',
|
---|
1162 | 'type' => 'string',
|
---|
1163 | 'required' => true,
|
---|
1164 | ],
|
---|
1165 | 'filter' => [
|
---|
1166 | 'location' => 'query',
|
---|
1167 | 'type' => 'string',
|
---|
1168 | ],
|
---|
1169 | 'pageSize' => [
|
---|
1170 | 'location' => 'query',
|
---|
1171 | 'type' => 'integer',
|
---|
1172 | ],
|
---|
1173 | 'pageToken' => [
|
---|
1174 | 'location' => 'query',
|
---|
1175 | 'type' => 'string',
|
---|
1176 | ],
|
---|
1177 | ],
|
---|
1178 | ],
|
---|
1179 | ]
|
---|
1180 | ]
|
---|
1181 | );
|
---|
1182 | $this->projects_locations_collections_dataStores_siteSearchEngine_targetSites = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSites(
|
---|
1183 | $this,
|
---|
1184 | $this->serviceName,
|
---|
1185 | 'targetSites',
|
---|
1186 | [
|
---|
1187 | 'methods' => [
|
---|
1188 | 'batchCreate' => [
|
---|
1189 | 'path' => 'v1/{+parent}/targetSites:batchCreate',
|
---|
1190 | 'httpMethod' => 'POST',
|
---|
1191 | 'parameters' => [
|
---|
1192 | 'parent' => [
|
---|
1193 | 'location' => 'path',
|
---|
1194 | 'type' => 'string',
|
---|
1195 | 'required' => true,
|
---|
1196 | ],
|
---|
1197 | ],
|
---|
1198 | ],'create' => [
|
---|
1199 | 'path' => 'v1/{+parent}/targetSites',
|
---|
1200 | 'httpMethod' => 'POST',
|
---|
1201 | 'parameters' => [
|
---|
1202 | 'parent' => [
|
---|
1203 | 'location' => 'path',
|
---|
1204 | 'type' => 'string',
|
---|
1205 | 'required' => true,
|
---|
1206 | ],
|
---|
1207 | ],
|
---|
1208 | ],'delete' => [
|
---|
1209 | 'path' => 'v1/{+name}',
|
---|
1210 | 'httpMethod' => 'DELETE',
|
---|
1211 | 'parameters' => [
|
---|
1212 | 'name' => [
|
---|
1213 | 'location' => 'path',
|
---|
1214 | 'type' => 'string',
|
---|
1215 | 'required' => true,
|
---|
1216 | ],
|
---|
1217 | ],
|
---|
1218 | ],'get' => [
|
---|
1219 | 'path' => 'v1/{+name}',
|
---|
1220 | 'httpMethod' => 'GET',
|
---|
1221 | 'parameters' => [
|
---|
1222 | 'name' => [
|
---|
1223 | 'location' => 'path',
|
---|
1224 | 'type' => 'string',
|
---|
1225 | 'required' => true,
|
---|
1226 | ],
|
---|
1227 | ],
|
---|
1228 | ],'list' => [
|
---|
1229 | 'path' => 'v1/{+parent}/targetSites',
|
---|
1230 | 'httpMethod' => 'GET',
|
---|
1231 | 'parameters' => [
|
---|
1232 | 'parent' => [
|
---|
1233 | 'location' => 'path',
|
---|
1234 | 'type' => 'string',
|
---|
1235 | 'required' => true,
|
---|
1236 | ],
|
---|
1237 | 'pageSize' => [
|
---|
1238 | 'location' => 'query',
|
---|
1239 | 'type' => 'integer',
|
---|
1240 | ],
|
---|
1241 | 'pageToken' => [
|
---|
1242 | 'location' => 'query',
|
---|
1243 | 'type' => 'string',
|
---|
1244 | ],
|
---|
1245 | ],
|
---|
1246 | ],'patch' => [
|
---|
1247 | 'path' => 'v1/{+name}',
|
---|
1248 | 'httpMethod' => 'PATCH',
|
---|
1249 | 'parameters' => [
|
---|
1250 | 'name' => [
|
---|
1251 | 'location' => 'path',
|
---|
1252 | 'type' => 'string',
|
---|
1253 | 'required' => true,
|
---|
1254 | ],
|
---|
1255 | ],
|
---|
1256 | ],
|
---|
1257 | ]
|
---|
1258 | ]
|
---|
1259 | );
|
---|
1260 | $this->projects_locations_collections_dataStores_siteSearchEngine_targetSites_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSiteSearchEngineTargetSitesOperations(
|
---|
1261 | $this,
|
---|
1262 | $this->serviceName,
|
---|
1263 | 'operations',
|
---|
1264 | [
|
---|
1265 | 'methods' => [
|
---|
1266 | 'get' => [
|
---|
1267 | 'path' => 'v1/{+name}',
|
---|
1268 | 'httpMethod' => 'GET',
|
---|
1269 | 'parameters' => [
|
---|
1270 | 'name' => [
|
---|
1271 | 'location' => 'path',
|
---|
1272 | 'type' => 'string',
|
---|
1273 | 'required' => true,
|
---|
1274 | ],
|
---|
1275 | ],
|
---|
1276 | ],'list' => [
|
---|
1277 | 'path' => 'v1/{+name}/operations',
|
---|
1278 | 'httpMethod' => 'GET',
|
---|
1279 | 'parameters' => [
|
---|
1280 | 'name' => [
|
---|
1281 | 'location' => 'path',
|
---|
1282 | 'type' => 'string',
|
---|
1283 | 'required' => true,
|
---|
1284 | ],
|
---|
1285 | 'filter' => [
|
---|
1286 | 'location' => 'query',
|
---|
1287 | 'type' => 'string',
|
---|
1288 | ],
|
---|
1289 | 'pageSize' => [
|
---|
1290 | 'location' => 'query',
|
---|
1291 | 'type' => 'integer',
|
---|
1292 | ],
|
---|
1293 | 'pageToken' => [
|
---|
1294 | 'location' => 'query',
|
---|
1295 | 'type' => 'string',
|
---|
1296 | ],
|
---|
1297 | ],
|
---|
1298 | ],
|
---|
1299 | ]
|
---|
1300 | ]
|
---|
1301 | );
|
---|
1302 | $this->projects_locations_collections_dataStores_suggestionDenyListEntries = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresSuggestionDenyListEntries(
|
---|
1303 | $this,
|
---|
1304 | $this->serviceName,
|
---|
1305 | 'suggestionDenyListEntries',
|
---|
1306 | [
|
---|
1307 | 'methods' => [
|
---|
1308 | 'import' => [
|
---|
1309 | 'path' => 'v1/{+parent}/suggestionDenyListEntries:import',
|
---|
1310 | 'httpMethod' => 'POST',
|
---|
1311 | 'parameters' => [
|
---|
1312 | 'parent' => [
|
---|
1313 | 'location' => 'path',
|
---|
1314 | 'type' => 'string',
|
---|
1315 | 'required' => true,
|
---|
1316 | ],
|
---|
1317 | ],
|
---|
1318 | ],'purge' => [
|
---|
1319 | 'path' => 'v1/{+parent}/suggestionDenyListEntries:purge',
|
---|
1320 | 'httpMethod' => 'POST',
|
---|
1321 | 'parameters' => [
|
---|
1322 | 'parent' => [
|
---|
1323 | 'location' => 'path',
|
---|
1324 | 'type' => 'string',
|
---|
1325 | 'required' => true,
|
---|
1326 | ],
|
---|
1327 | ],
|
---|
1328 | ],
|
---|
1329 | ]
|
---|
1330 | ]
|
---|
1331 | );
|
---|
1332 | $this->projects_locations_collections_dataStores_userEvents = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsDataStoresUserEvents(
|
---|
1333 | $this,
|
---|
1334 | $this->serviceName,
|
---|
1335 | 'userEvents',
|
---|
1336 | [
|
---|
1337 | 'methods' => [
|
---|
1338 | 'collect' => [
|
---|
1339 | 'path' => 'v1/{+parent}/userEvents:collect',
|
---|
1340 | 'httpMethod' => 'GET',
|
---|
1341 | 'parameters' => [
|
---|
1342 | 'parent' => [
|
---|
1343 | 'location' => 'path',
|
---|
1344 | 'type' => 'string',
|
---|
1345 | 'required' => true,
|
---|
1346 | ],
|
---|
1347 | 'ets' => [
|
---|
1348 | 'location' => 'query',
|
---|
1349 | 'type' => 'string',
|
---|
1350 | ],
|
---|
1351 | 'uri' => [
|
---|
1352 | 'location' => 'query',
|
---|
1353 | 'type' => 'string',
|
---|
1354 | ],
|
---|
1355 | 'userEvent' => [
|
---|
1356 | 'location' => 'query',
|
---|
1357 | 'type' => 'string',
|
---|
1358 | ],
|
---|
1359 | ],
|
---|
1360 | ],'import' => [
|
---|
1361 | 'path' => 'v1/{+parent}/userEvents:import',
|
---|
1362 | 'httpMethod' => 'POST',
|
---|
1363 | 'parameters' => [
|
---|
1364 | 'parent' => [
|
---|
1365 | 'location' => 'path',
|
---|
1366 | 'type' => 'string',
|
---|
1367 | 'required' => true,
|
---|
1368 | ],
|
---|
1369 | ],
|
---|
1370 | ],'purge' => [
|
---|
1371 | 'path' => 'v1/{+parent}/userEvents:purge',
|
---|
1372 | 'httpMethod' => 'POST',
|
---|
1373 | 'parameters' => [
|
---|
1374 | 'parent' => [
|
---|
1375 | 'location' => 'path',
|
---|
1376 | 'type' => 'string',
|
---|
1377 | 'required' => true,
|
---|
1378 | ],
|
---|
1379 | ],
|
---|
1380 | ],'write' => [
|
---|
1381 | 'path' => 'v1/{+parent}/userEvents:write',
|
---|
1382 | 'httpMethod' => 'POST',
|
---|
1383 | 'parameters' => [
|
---|
1384 | 'parent' => [
|
---|
1385 | 'location' => 'path',
|
---|
1386 | 'type' => 'string',
|
---|
1387 | 'required' => true,
|
---|
1388 | ],
|
---|
1389 | 'writeAsync' => [
|
---|
1390 | 'location' => 'query',
|
---|
1391 | 'type' => 'boolean',
|
---|
1392 | ],
|
---|
1393 | ],
|
---|
1394 | ],
|
---|
1395 | ]
|
---|
1396 | ]
|
---|
1397 | );
|
---|
1398 | $this->projects_locations_collections_engines = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEngines(
|
---|
1399 | $this,
|
---|
1400 | $this->serviceName,
|
---|
1401 | 'engines',
|
---|
1402 | [
|
---|
1403 | 'methods' => [
|
---|
1404 | 'create' => [
|
---|
1405 | 'path' => 'v1/{+parent}/engines',
|
---|
1406 | 'httpMethod' => 'POST',
|
---|
1407 | 'parameters' => [
|
---|
1408 | 'parent' => [
|
---|
1409 | 'location' => 'path',
|
---|
1410 | 'type' => 'string',
|
---|
1411 | 'required' => true,
|
---|
1412 | ],
|
---|
1413 | 'engineId' => [
|
---|
1414 | 'location' => 'query',
|
---|
1415 | 'type' => 'string',
|
---|
1416 | ],
|
---|
1417 | ],
|
---|
1418 | ],'delete' => [
|
---|
1419 | 'path' => 'v1/{+name}',
|
---|
1420 | 'httpMethod' => 'DELETE',
|
---|
1421 | 'parameters' => [
|
---|
1422 | 'name' => [
|
---|
1423 | 'location' => 'path',
|
---|
1424 | 'type' => 'string',
|
---|
1425 | 'required' => true,
|
---|
1426 | ],
|
---|
1427 | ],
|
---|
1428 | ],'get' => [
|
---|
1429 | 'path' => 'v1/{+name}',
|
---|
1430 | 'httpMethod' => 'GET',
|
---|
1431 | 'parameters' => [
|
---|
1432 | 'name' => [
|
---|
1433 | 'location' => 'path',
|
---|
1434 | 'type' => 'string',
|
---|
1435 | 'required' => true,
|
---|
1436 | ],
|
---|
1437 | ],
|
---|
1438 | ],'list' => [
|
---|
1439 | 'path' => 'v1/{+parent}/engines',
|
---|
1440 | 'httpMethod' => 'GET',
|
---|
1441 | 'parameters' => [
|
---|
1442 | 'parent' => [
|
---|
1443 | 'location' => 'path',
|
---|
1444 | 'type' => 'string',
|
---|
1445 | 'required' => true,
|
---|
1446 | ],
|
---|
1447 | 'filter' => [
|
---|
1448 | 'location' => 'query',
|
---|
1449 | 'type' => 'string',
|
---|
1450 | ],
|
---|
1451 | 'pageSize' => [
|
---|
1452 | 'location' => 'query',
|
---|
1453 | 'type' => 'integer',
|
---|
1454 | ],
|
---|
1455 | 'pageToken' => [
|
---|
1456 | 'location' => 'query',
|
---|
1457 | 'type' => 'string',
|
---|
1458 | ],
|
---|
1459 | ],
|
---|
1460 | ],'patch' => [
|
---|
1461 | 'path' => 'v1/{+name}',
|
---|
1462 | 'httpMethod' => 'PATCH',
|
---|
1463 | 'parameters' => [
|
---|
1464 | 'name' => [
|
---|
1465 | 'location' => 'path',
|
---|
1466 | 'type' => 'string',
|
---|
1467 | 'required' => true,
|
---|
1468 | ],
|
---|
1469 | 'updateMask' => [
|
---|
1470 | 'location' => 'query',
|
---|
1471 | 'type' => 'string',
|
---|
1472 | ],
|
---|
1473 | ],
|
---|
1474 | ],
|
---|
1475 | ]
|
---|
1476 | ]
|
---|
1477 | );
|
---|
1478 | $this->projects_locations_collections_engines_controls = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesControls(
|
---|
1479 | $this,
|
---|
1480 | $this->serviceName,
|
---|
1481 | 'controls',
|
---|
1482 | [
|
---|
1483 | 'methods' => [
|
---|
1484 | 'create' => [
|
---|
1485 | 'path' => 'v1/{+parent}/controls',
|
---|
1486 | 'httpMethod' => 'POST',
|
---|
1487 | 'parameters' => [
|
---|
1488 | 'parent' => [
|
---|
1489 | 'location' => 'path',
|
---|
1490 | 'type' => 'string',
|
---|
1491 | 'required' => true,
|
---|
1492 | ],
|
---|
1493 | 'controlId' => [
|
---|
1494 | 'location' => 'query',
|
---|
1495 | 'type' => 'string',
|
---|
1496 | ],
|
---|
1497 | ],
|
---|
1498 | ],'delete' => [
|
---|
1499 | 'path' => 'v1/{+name}',
|
---|
1500 | 'httpMethod' => 'DELETE',
|
---|
1501 | 'parameters' => [
|
---|
1502 | 'name' => [
|
---|
1503 | 'location' => 'path',
|
---|
1504 | 'type' => 'string',
|
---|
1505 | 'required' => true,
|
---|
1506 | ],
|
---|
1507 | ],
|
---|
1508 | ],'get' => [
|
---|
1509 | 'path' => 'v1/{+name}',
|
---|
1510 | 'httpMethod' => 'GET',
|
---|
1511 | 'parameters' => [
|
---|
1512 | 'name' => [
|
---|
1513 | 'location' => 'path',
|
---|
1514 | 'type' => 'string',
|
---|
1515 | 'required' => true,
|
---|
1516 | ],
|
---|
1517 | ],
|
---|
1518 | ],'list' => [
|
---|
1519 | 'path' => 'v1/{+parent}/controls',
|
---|
1520 | 'httpMethod' => 'GET',
|
---|
1521 | 'parameters' => [
|
---|
1522 | 'parent' => [
|
---|
1523 | 'location' => 'path',
|
---|
1524 | 'type' => 'string',
|
---|
1525 | 'required' => true,
|
---|
1526 | ],
|
---|
1527 | 'filter' => [
|
---|
1528 | 'location' => 'query',
|
---|
1529 | 'type' => 'string',
|
---|
1530 | ],
|
---|
1531 | 'pageSize' => [
|
---|
1532 | 'location' => 'query',
|
---|
1533 | 'type' => 'integer',
|
---|
1534 | ],
|
---|
1535 | 'pageToken' => [
|
---|
1536 | 'location' => 'query',
|
---|
1537 | 'type' => 'string',
|
---|
1538 | ],
|
---|
1539 | ],
|
---|
1540 | ],'patch' => [
|
---|
1541 | 'path' => 'v1/{+name}',
|
---|
1542 | 'httpMethod' => 'PATCH',
|
---|
1543 | 'parameters' => [
|
---|
1544 | 'name' => [
|
---|
1545 | 'location' => 'path',
|
---|
1546 | 'type' => 'string',
|
---|
1547 | 'required' => true,
|
---|
1548 | ],
|
---|
1549 | 'updateMask' => [
|
---|
1550 | 'location' => 'query',
|
---|
1551 | 'type' => 'string',
|
---|
1552 | ],
|
---|
1553 | ],
|
---|
1554 | ],
|
---|
1555 | ]
|
---|
1556 | ]
|
---|
1557 | );
|
---|
1558 | $this->projects_locations_collections_engines_conversations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesConversations(
|
---|
1559 | $this,
|
---|
1560 | $this->serviceName,
|
---|
1561 | 'conversations',
|
---|
1562 | [
|
---|
1563 | 'methods' => [
|
---|
1564 | 'converse' => [
|
---|
1565 | 'path' => 'v1/{+name}:converse',
|
---|
1566 | 'httpMethod' => 'POST',
|
---|
1567 | 'parameters' => [
|
---|
1568 | 'name' => [
|
---|
1569 | 'location' => 'path',
|
---|
1570 | 'type' => 'string',
|
---|
1571 | 'required' => true,
|
---|
1572 | ],
|
---|
1573 | ],
|
---|
1574 | ],'create' => [
|
---|
1575 | 'path' => 'v1/{+parent}/conversations',
|
---|
1576 | 'httpMethod' => 'POST',
|
---|
1577 | 'parameters' => [
|
---|
1578 | 'parent' => [
|
---|
1579 | 'location' => 'path',
|
---|
1580 | 'type' => 'string',
|
---|
1581 | 'required' => true,
|
---|
1582 | ],
|
---|
1583 | ],
|
---|
1584 | ],'delete' => [
|
---|
1585 | 'path' => 'v1/{+name}',
|
---|
1586 | 'httpMethod' => 'DELETE',
|
---|
1587 | 'parameters' => [
|
---|
1588 | 'name' => [
|
---|
1589 | 'location' => 'path',
|
---|
1590 | 'type' => 'string',
|
---|
1591 | 'required' => true,
|
---|
1592 | ],
|
---|
1593 | ],
|
---|
1594 | ],'get' => [
|
---|
1595 | 'path' => 'v1/{+name}',
|
---|
1596 | 'httpMethod' => 'GET',
|
---|
1597 | 'parameters' => [
|
---|
1598 | 'name' => [
|
---|
1599 | 'location' => 'path',
|
---|
1600 | 'type' => 'string',
|
---|
1601 | 'required' => true,
|
---|
1602 | ],
|
---|
1603 | ],
|
---|
1604 | ],'list' => [
|
---|
1605 | 'path' => 'v1/{+parent}/conversations',
|
---|
1606 | 'httpMethod' => 'GET',
|
---|
1607 | 'parameters' => [
|
---|
1608 | 'parent' => [
|
---|
1609 | 'location' => 'path',
|
---|
1610 | 'type' => 'string',
|
---|
1611 | 'required' => true,
|
---|
1612 | ],
|
---|
1613 | 'filter' => [
|
---|
1614 | 'location' => 'query',
|
---|
1615 | 'type' => 'string',
|
---|
1616 | ],
|
---|
1617 | 'orderBy' => [
|
---|
1618 | 'location' => 'query',
|
---|
1619 | 'type' => 'string',
|
---|
1620 | ],
|
---|
1621 | 'pageSize' => [
|
---|
1622 | 'location' => 'query',
|
---|
1623 | 'type' => 'integer',
|
---|
1624 | ],
|
---|
1625 | 'pageToken' => [
|
---|
1626 | 'location' => 'query',
|
---|
1627 | 'type' => 'string',
|
---|
1628 | ],
|
---|
1629 | ],
|
---|
1630 | ],'patch' => [
|
---|
1631 | 'path' => 'v1/{+name}',
|
---|
1632 | 'httpMethod' => 'PATCH',
|
---|
1633 | 'parameters' => [
|
---|
1634 | 'name' => [
|
---|
1635 | 'location' => 'path',
|
---|
1636 | 'type' => 'string',
|
---|
1637 | 'required' => true,
|
---|
1638 | ],
|
---|
1639 | 'updateMask' => [
|
---|
1640 | 'location' => 'query',
|
---|
1641 | 'type' => 'string',
|
---|
1642 | ],
|
---|
1643 | ],
|
---|
1644 | ],
|
---|
1645 | ]
|
---|
1646 | ]
|
---|
1647 | );
|
---|
1648 | $this->projects_locations_collections_engines_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesOperations(
|
---|
1649 | $this,
|
---|
1650 | $this->serviceName,
|
---|
1651 | 'operations',
|
---|
1652 | [
|
---|
1653 | 'methods' => [
|
---|
1654 | 'get' => [
|
---|
1655 | 'path' => 'v1/{+name}',
|
---|
1656 | 'httpMethod' => 'GET',
|
---|
1657 | 'parameters' => [
|
---|
1658 | 'name' => [
|
---|
1659 | 'location' => 'path',
|
---|
1660 | 'type' => 'string',
|
---|
1661 | 'required' => true,
|
---|
1662 | ],
|
---|
1663 | ],
|
---|
1664 | ],'list' => [
|
---|
1665 | 'path' => 'v1/{+name}/operations',
|
---|
1666 | 'httpMethod' => 'GET',
|
---|
1667 | 'parameters' => [
|
---|
1668 | 'name' => [
|
---|
1669 | 'location' => 'path',
|
---|
1670 | 'type' => 'string',
|
---|
1671 | 'required' => true,
|
---|
1672 | ],
|
---|
1673 | 'filter' => [
|
---|
1674 | 'location' => 'query',
|
---|
1675 | 'type' => 'string',
|
---|
1676 | ],
|
---|
1677 | 'pageSize' => [
|
---|
1678 | 'location' => 'query',
|
---|
1679 | 'type' => 'integer',
|
---|
1680 | ],
|
---|
1681 | 'pageToken' => [
|
---|
1682 | 'location' => 'query',
|
---|
1683 | 'type' => 'string',
|
---|
1684 | ],
|
---|
1685 | ],
|
---|
1686 | ],
|
---|
1687 | ]
|
---|
1688 | ]
|
---|
1689 | );
|
---|
1690 | $this->projects_locations_collections_engines_servingConfigs = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesServingConfigs(
|
---|
1691 | $this,
|
---|
1692 | $this->serviceName,
|
---|
1693 | 'servingConfigs',
|
---|
1694 | [
|
---|
1695 | 'methods' => [
|
---|
1696 | 'answer' => [
|
---|
1697 | 'path' => 'v1/{+servingConfig}:answer',
|
---|
1698 | 'httpMethod' => 'POST',
|
---|
1699 | 'parameters' => [
|
---|
1700 | 'servingConfig' => [
|
---|
1701 | 'location' => 'path',
|
---|
1702 | 'type' => 'string',
|
---|
1703 | 'required' => true,
|
---|
1704 | ],
|
---|
1705 | ],
|
---|
1706 | ],'recommend' => [
|
---|
1707 | 'path' => 'v1/{+servingConfig}:recommend',
|
---|
1708 | 'httpMethod' => 'POST',
|
---|
1709 | 'parameters' => [
|
---|
1710 | 'servingConfig' => [
|
---|
1711 | 'location' => 'path',
|
---|
1712 | 'type' => 'string',
|
---|
1713 | 'required' => true,
|
---|
1714 | ],
|
---|
1715 | ],
|
---|
1716 | ],'search' => [
|
---|
1717 | 'path' => 'v1/{+servingConfig}:search',
|
---|
1718 | 'httpMethod' => 'POST',
|
---|
1719 | 'parameters' => [
|
---|
1720 | 'servingConfig' => [
|
---|
1721 | 'location' => 'path',
|
---|
1722 | 'type' => 'string',
|
---|
1723 | 'required' => true,
|
---|
1724 | ],
|
---|
1725 | ],
|
---|
1726 | ],'searchLite' => [
|
---|
1727 | 'path' => 'v1/{+servingConfig}:searchLite',
|
---|
1728 | 'httpMethod' => 'POST',
|
---|
1729 | 'parameters' => [
|
---|
1730 | 'servingConfig' => [
|
---|
1731 | 'location' => 'path',
|
---|
1732 | 'type' => 'string',
|
---|
1733 | 'required' => true,
|
---|
1734 | ],
|
---|
1735 | ],
|
---|
1736 | ],
|
---|
1737 | ]
|
---|
1738 | ]
|
---|
1739 | );
|
---|
1740 | $this->projects_locations_collections_engines_sessions = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesSessions(
|
---|
1741 | $this,
|
---|
1742 | $this->serviceName,
|
---|
1743 | 'sessions',
|
---|
1744 | [
|
---|
1745 | 'methods' => [
|
---|
1746 | 'create' => [
|
---|
1747 | 'path' => 'v1/{+parent}/sessions',
|
---|
1748 | 'httpMethod' => 'POST',
|
---|
1749 | 'parameters' => [
|
---|
1750 | 'parent' => [
|
---|
1751 | 'location' => 'path',
|
---|
1752 | 'type' => 'string',
|
---|
1753 | 'required' => true,
|
---|
1754 | ],
|
---|
1755 | ],
|
---|
1756 | ],'delete' => [
|
---|
1757 | 'path' => 'v1/{+name}',
|
---|
1758 | 'httpMethod' => 'DELETE',
|
---|
1759 | 'parameters' => [
|
---|
1760 | 'name' => [
|
---|
1761 | 'location' => 'path',
|
---|
1762 | 'type' => 'string',
|
---|
1763 | 'required' => true,
|
---|
1764 | ],
|
---|
1765 | ],
|
---|
1766 | ],'get' => [
|
---|
1767 | 'path' => 'v1/{+name}',
|
---|
1768 | 'httpMethod' => 'GET',
|
---|
1769 | 'parameters' => [
|
---|
1770 | 'name' => [
|
---|
1771 | 'location' => 'path',
|
---|
1772 | 'type' => 'string',
|
---|
1773 | 'required' => true,
|
---|
1774 | ],
|
---|
1775 | ],
|
---|
1776 | ],'list' => [
|
---|
1777 | 'path' => 'v1/{+parent}/sessions',
|
---|
1778 | 'httpMethod' => 'GET',
|
---|
1779 | 'parameters' => [
|
---|
1780 | 'parent' => [
|
---|
1781 | 'location' => 'path',
|
---|
1782 | 'type' => 'string',
|
---|
1783 | 'required' => true,
|
---|
1784 | ],
|
---|
1785 | 'filter' => [
|
---|
1786 | 'location' => 'query',
|
---|
1787 | 'type' => 'string',
|
---|
1788 | ],
|
---|
1789 | 'orderBy' => [
|
---|
1790 | 'location' => 'query',
|
---|
1791 | 'type' => 'string',
|
---|
1792 | ],
|
---|
1793 | 'pageSize' => [
|
---|
1794 | 'location' => 'query',
|
---|
1795 | 'type' => 'integer',
|
---|
1796 | ],
|
---|
1797 | 'pageToken' => [
|
---|
1798 | 'location' => 'query',
|
---|
1799 | 'type' => 'string',
|
---|
1800 | ],
|
---|
1801 | ],
|
---|
1802 | ],'patch' => [
|
---|
1803 | 'path' => 'v1/{+name}',
|
---|
1804 | 'httpMethod' => 'PATCH',
|
---|
1805 | 'parameters' => [
|
---|
1806 | 'name' => [
|
---|
1807 | 'location' => 'path',
|
---|
1808 | 'type' => 'string',
|
---|
1809 | 'required' => true,
|
---|
1810 | ],
|
---|
1811 | 'updateMask' => [
|
---|
1812 | 'location' => 'query',
|
---|
1813 | 'type' => 'string',
|
---|
1814 | ],
|
---|
1815 | ],
|
---|
1816 | ],
|
---|
1817 | ]
|
---|
1818 | ]
|
---|
1819 | );
|
---|
1820 | $this->projects_locations_collections_engines_sessions_answers = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsEnginesSessionsAnswers(
|
---|
1821 | $this,
|
---|
1822 | $this->serviceName,
|
---|
1823 | 'answers',
|
---|
1824 | [
|
---|
1825 | 'methods' => [
|
---|
1826 | 'get' => [
|
---|
1827 | 'path' => 'v1/{+name}',
|
---|
1828 | 'httpMethod' => 'GET',
|
---|
1829 | 'parameters' => [
|
---|
1830 | 'name' => [
|
---|
1831 | 'location' => 'path',
|
---|
1832 | 'type' => 'string',
|
---|
1833 | 'required' => true,
|
---|
1834 | ],
|
---|
1835 | ],
|
---|
1836 | ],
|
---|
1837 | ]
|
---|
1838 | ]
|
---|
1839 | );
|
---|
1840 | $this->projects_locations_collections_operations = new DiscoveryEngine\Resource\ProjectsLocationsCollectionsOperations(
|
---|
1841 | $this,
|
---|
1842 | $this->serviceName,
|
---|
1843 | 'operations',
|
---|
1844 | [
|
---|
1845 | 'methods' => [
|
---|
1846 | 'get' => [
|
---|
1847 | 'path' => 'v1/{+name}',
|
---|
1848 | 'httpMethod' => 'GET',
|
---|
1849 | 'parameters' => [
|
---|
1850 | 'name' => [
|
---|
1851 | 'location' => 'path',
|
---|
1852 | 'type' => 'string',
|
---|
1853 | 'required' => true,
|
---|
1854 | ],
|
---|
1855 | ],
|
---|
1856 | ],'list' => [
|
---|
1857 | 'path' => 'v1/{+name}/operations',
|
---|
1858 | 'httpMethod' => 'GET',
|
---|
1859 | 'parameters' => [
|
---|
1860 | 'name' => [
|
---|
1861 | 'location' => 'path',
|
---|
1862 | 'type' => 'string',
|
---|
1863 | 'required' => true,
|
---|
1864 | ],
|
---|
1865 | 'filter' => [
|
---|
1866 | 'location' => 'query',
|
---|
1867 | 'type' => 'string',
|
---|
1868 | ],
|
---|
1869 | 'pageSize' => [
|
---|
1870 | 'location' => 'query',
|
---|
1871 | 'type' => 'integer',
|
---|
1872 | ],
|
---|
1873 | 'pageToken' => [
|
---|
1874 | 'location' => 'query',
|
---|
1875 | 'type' => 'string',
|
---|
1876 | ],
|
---|
1877 | ],
|
---|
1878 | ],
|
---|
1879 | ]
|
---|
1880 | ]
|
---|
1881 | );
|
---|
1882 | $this->projects_locations_dataStores = new DiscoveryEngine\Resource\ProjectsLocationsDataStores(
|
---|
1883 | $this,
|
---|
1884 | $this->serviceName,
|
---|
1885 | 'dataStores',
|
---|
1886 | [
|
---|
1887 | 'methods' => [
|
---|
1888 | 'completeQuery' => [
|
---|
1889 | 'path' => 'v1/{+dataStore}:completeQuery',
|
---|
1890 | 'httpMethod' => 'GET',
|
---|
1891 | 'parameters' => [
|
---|
1892 | 'dataStore' => [
|
---|
1893 | 'location' => 'path',
|
---|
1894 | 'type' => 'string',
|
---|
1895 | 'required' => true,
|
---|
1896 | ],
|
---|
1897 | 'includeTailSuggestions' => [
|
---|
1898 | 'location' => 'query',
|
---|
1899 | 'type' => 'boolean',
|
---|
1900 | ],
|
---|
1901 | 'query' => [
|
---|
1902 | 'location' => 'query',
|
---|
1903 | 'type' => 'string',
|
---|
1904 | ],
|
---|
1905 | 'queryModel' => [
|
---|
1906 | 'location' => 'query',
|
---|
1907 | 'type' => 'string',
|
---|
1908 | ],
|
---|
1909 | 'userPseudoId' => [
|
---|
1910 | 'location' => 'query',
|
---|
1911 | 'type' => 'string',
|
---|
1912 | ],
|
---|
1913 | ],
|
---|
1914 | ],'create' => [
|
---|
1915 | 'path' => 'v1/{+parent}/dataStores',
|
---|
1916 | 'httpMethod' => 'POST',
|
---|
1917 | 'parameters' => [
|
---|
1918 | 'parent' => [
|
---|
1919 | 'location' => 'path',
|
---|
1920 | 'type' => 'string',
|
---|
1921 | 'required' => true,
|
---|
1922 | ],
|
---|
1923 | 'cmekConfigName' => [
|
---|
1924 | 'location' => 'query',
|
---|
1925 | 'type' => 'string',
|
---|
1926 | ],
|
---|
1927 | 'createAdvancedSiteSearch' => [
|
---|
1928 | 'location' => 'query',
|
---|
1929 | 'type' => 'boolean',
|
---|
1930 | ],
|
---|
1931 | 'dataStoreId' => [
|
---|
1932 | 'location' => 'query',
|
---|
1933 | 'type' => 'string',
|
---|
1934 | ],
|
---|
1935 | 'disableCmek' => [
|
---|
1936 | 'location' => 'query',
|
---|
1937 | 'type' => 'boolean',
|
---|
1938 | ],
|
---|
1939 | 'skipDefaultSchemaCreation' => [
|
---|
1940 | 'location' => 'query',
|
---|
1941 | 'type' => 'boolean',
|
---|
1942 | ],
|
---|
1943 | ],
|
---|
1944 | ],'delete' => [
|
---|
1945 | 'path' => 'v1/{+name}',
|
---|
1946 | 'httpMethod' => 'DELETE',
|
---|
1947 | 'parameters' => [
|
---|
1948 | 'name' => [
|
---|
1949 | 'location' => 'path',
|
---|
1950 | 'type' => 'string',
|
---|
1951 | 'required' => true,
|
---|
1952 | ],
|
---|
1953 | ],
|
---|
1954 | ],'get' => [
|
---|
1955 | 'path' => 'v1/{+name}',
|
---|
1956 | 'httpMethod' => 'GET',
|
---|
1957 | 'parameters' => [
|
---|
1958 | 'name' => [
|
---|
1959 | 'location' => 'path',
|
---|
1960 | 'type' => 'string',
|
---|
1961 | 'required' => true,
|
---|
1962 | ],
|
---|
1963 | ],
|
---|
1964 | ],'getSiteSearchEngine' => [
|
---|
1965 | 'path' => 'v1/{+name}',
|
---|
1966 | 'httpMethod' => 'GET',
|
---|
1967 | 'parameters' => [
|
---|
1968 | 'name' => [
|
---|
1969 | 'location' => 'path',
|
---|
1970 | 'type' => 'string',
|
---|
1971 | 'required' => true,
|
---|
1972 | ],
|
---|
1973 | ],
|
---|
1974 | ],'list' => [
|
---|
1975 | 'path' => 'v1/{+parent}/dataStores',
|
---|
1976 | 'httpMethod' => 'GET',
|
---|
1977 | 'parameters' => [
|
---|
1978 | 'parent' => [
|
---|
1979 | 'location' => 'path',
|
---|
1980 | 'type' => 'string',
|
---|
1981 | 'required' => true,
|
---|
1982 | ],
|
---|
1983 | 'filter' => [
|
---|
1984 | 'location' => 'query',
|
---|
1985 | 'type' => 'string',
|
---|
1986 | ],
|
---|
1987 | 'pageSize' => [
|
---|
1988 | 'location' => 'query',
|
---|
1989 | 'type' => 'integer',
|
---|
1990 | ],
|
---|
1991 | 'pageToken' => [
|
---|
1992 | 'location' => 'query',
|
---|
1993 | 'type' => 'string',
|
---|
1994 | ],
|
---|
1995 | ],
|
---|
1996 | ],'patch' => [
|
---|
1997 | 'path' => 'v1/{+name}',
|
---|
1998 | 'httpMethod' => 'PATCH',
|
---|
1999 | 'parameters' => [
|
---|
2000 | 'name' => [
|
---|
2001 | 'location' => 'path',
|
---|
2002 | 'type' => 'string',
|
---|
2003 | 'required' => true,
|
---|
2004 | ],
|
---|
2005 | 'updateMask' => [
|
---|
2006 | 'location' => 'query',
|
---|
2007 | 'type' => 'string',
|
---|
2008 | ],
|
---|
2009 | ],
|
---|
2010 | ],
|
---|
2011 | ]
|
---|
2012 | ]
|
---|
2013 | );
|
---|
2014 | $this->projects_locations_dataStores_branches = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresBranches(
|
---|
2015 | $this,
|
---|
2016 | $this->serviceName,
|
---|
2017 | 'branches',
|
---|
2018 | [
|
---|
2019 | 'methods' => [
|
---|
2020 | 'batchGetDocumentsMetadata' => [
|
---|
2021 | 'path' => 'v1/{+parent}/batchGetDocumentsMetadata',
|
---|
2022 | 'httpMethod' => 'GET',
|
---|
2023 | 'parameters' => [
|
---|
2024 | 'parent' => [
|
---|
2025 | 'location' => 'path',
|
---|
2026 | 'type' => 'string',
|
---|
2027 | 'required' => true,
|
---|
2028 | ],
|
---|
2029 | 'matcher.fhirMatcher.fhirResources' => [
|
---|
2030 | 'location' => 'query',
|
---|
2031 | 'type' => 'string',
|
---|
2032 | 'repeated' => true,
|
---|
2033 | ],
|
---|
2034 | 'matcher.urisMatcher.uris' => [
|
---|
2035 | 'location' => 'query',
|
---|
2036 | 'type' => 'string',
|
---|
2037 | 'repeated' => true,
|
---|
2038 | ],
|
---|
2039 | ],
|
---|
2040 | ],
|
---|
2041 | ]
|
---|
2042 | ]
|
---|
2043 | );
|
---|
2044 | $this->projects_locations_dataStores_branches_documents = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresBranchesDocuments(
|
---|
2045 | $this,
|
---|
2046 | $this->serviceName,
|
---|
2047 | 'documents',
|
---|
2048 | [
|
---|
2049 | 'methods' => [
|
---|
2050 | 'create' => [
|
---|
2051 | 'path' => 'v1/{+parent}/documents',
|
---|
2052 | 'httpMethod' => 'POST',
|
---|
2053 | 'parameters' => [
|
---|
2054 | 'parent' => [
|
---|
2055 | 'location' => 'path',
|
---|
2056 | 'type' => 'string',
|
---|
2057 | 'required' => true,
|
---|
2058 | ],
|
---|
2059 | 'documentId' => [
|
---|
2060 | 'location' => 'query',
|
---|
2061 | 'type' => 'string',
|
---|
2062 | ],
|
---|
2063 | ],
|
---|
2064 | ],'delete' => [
|
---|
2065 | 'path' => 'v1/{+name}',
|
---|
2066 | 'httpMethod' => 'DELETE',
|
---|
2067 | 'parameters' => [
|
---|
2068 | 'name' => [
|
---|
2069 | 'location' => 'path',
|
---|
2070 | 'type' => 'string',
|
---|
2071 | 'required' => true,
|
---|
2072 | ],
|
---|
2073 | ],
|
---|
2074 | ],'get' => [
|
---|
2075 | 'path' => 'v1/{+name}',
|
---|
2076 | 'httpMethod' => 'GET',
|
---|
2077 | 'parameters' => [
|
---|
2078 | 'name' => [
|
---|
2079 | 'location' => 'path',
|
---|
2080 | 'type' => 'string',
|
---|
2081 | 'required' => true,
|
---|
2082 | ],
|
---|
2083 | ],
|
---|
2084 | ],'import' => [
|
---|
2085 | 'path' => 'v1/{+parent}/documents:import',
|
---|
2086 | 'httpMethod' => 'POST',
|
---|
2087 | 'parameters' => [
|
---|
2088 | 'parent' => [
|
---|
2089 | 'location' => 'path',
|
---|
2090 | 'type' => 'string',
|
---|
2091 | 'required' => true,
|
---|
2092 | ],
|
---|
2093 | ],
|
---|
2094 | ],'list' => [
|
---|
2095 | 'path' => 'v1/{+parent}/documents',
|
---|
2096 | 'httpMethod' => 'GET',
|
---|
2097 | 'parameters' => [
|
---|
2098 | 'parent' => [
|
---|
2099 | 'location' => 'path',
|
---|
2100 | 'type' => 'string',
|
---|
2101 | 'required' => true,
|
---|
2102 | ],
|
---|
2103 | 'pageSize' => [
|
---|
2104 | 'location' => 'query',
|
---|
2105 | 'type' => 'integer',
|
---|
2106 | ],
|
---|
2107 | 'pageToken' => [
|
---|
2108 | 'location' => 'query',
|
---|
2109 | 'type' => 'string',
|
---|
2110 | ],
|
---|
2111 | ],
|
---|
2112 | ],'patch' => [
|
---|
2113 | 'path' => 'v1/{+name}',
|
---|
2114 | 'httpMethod' => 'PATCH',
|
---|
2115 | 'parameters' => [
|
---|
2116 | 'name' => [
|
---|
2117 | 'location' => 'path',
|
---|
2118 | 'type' => 'string',
|
---|
2119 | 'required' => true,
|
---|
2120 | ],
|
---|
2121 | 'allowMissing' => [
|
---|
2122 | 'location' => 'query',
|
---|
2123 | 'type' => 'boolean',
|
---|
2124 | ],
|
---|
2125 | 'updateMask' => [
|
---|
2126 | 'location' => 'query',
|
---|
2127 | 'type' => 'string',
|
---|
2128 | ],
|
---|
2129 | ],
|
---|
2130 | ],'purge' => [
|
---|
2131 | 'path' => 'v1/{+parent}/documents:purge',
|
---|
2132 | 'httpMethod' => 'POST',
|
---|
2133 | 'parameters' => [
|
---|
2134 | 'parent' => [
|
---|
2135 | 'location' => 'path',
|
---|
2136 | 'type' => 'string',
|
---|
2137 | 'required' => true,
|
---|
2138 | ],
|
---|
2139 | ],
|
---|
2140 | ],
|
---|
2141 | ]
|
---|
2142 | ]
|
---|
2143 | );
|
---|
2144 | $this->projects_locations_dataStores_branches_operations = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresBranchesOperations(
|
---|
2145 | $this,
|
---|
2146 | $this->serviceName,
|
---|
2147 | 'operations',
|
---|
2148 | [
|
---|
2149 | 'methods' => [
|
---|
2150 | 'cancel' => [
|
---|
2151 | 'path' => 'v1/{+name}:cancel',
|
---|
2152 | 'httpMethod' => 'POST',
|
---|
2153 | 'parameters' => [
|
---|
2154 | 'name' => [
|
---|
2155 | 'location' => 'path',
|
---|
2156 | 'type' => 'string',
|
---|
2157 | 'required' => true,
|
---|
2158 | ],
|
---|
2159 | ],
|
---|
2160 | ],'get' => [
|
---|
2161 | 'path' => 'v1/{+name}',
|
---|
2162 | 'httpMethod' => 'GET',
|
---|
2163 | 'parameters' => [
|
---|
2164 | 'name' => [
|
---|
2165 | 'location' => 'path',
|
---|
2166 | 'type' => 'string',
|
---|
2167 | 'required' => true,
|
---|
2168 | ],
|
---|
2169 | ],
|
---|
2170 | ],'list' => [
|
---|
2171 | 'path' => 'v1/{+name}/operations',
|
---|
2172 | 'httpMethod' => 'GET',
|
---|
2173 | 'parameters' => [
|
---|
2174 | 'name' => [
|
---|
2175 | 'location' => 'path',
|
---|
2176 | 'type' => 'string',
|
---|
2177 | 'required' => true,
|
---|
2178 | ],
|
---|
2179 | 'filter' => [
|
---|
2180 | 'location' => 'query',
|
---|
2181 | 'type' => 'string',
|
---|
2182 | ],
|
---|
2183 | 'pageSize' => [
|
---|
2184 | 'location' => 'query',
|
---|
2185 | 'type' => 'integer',
|
---|
2186 | ],
|
---|
2187 | 'pageToken' => [
|
---|
2188 | 'location' => 'query',
|
---|
2189 | 'type' => 'string',
|
---|
2190 | ],
|
---|
2191 | ],
|
---|
2192 | ],
|
---|
2193 | ]
|
---|
2194 | ]
|
---|
2195 | );
|
---|
2196 | $this->projects_locations_dataStores_completionSuggestions = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresCompletionSuggestions(
|
---|
2197 | $this,
|
---|
2198 | $this->serviceName,
|
---|
2199 | 'completionSuggestions',
|
---|
2200 | [
|
---|
2201 | 'methods' => [
|
---|
2202 | 'import' => [
|
---|
2203 | 'path' => 'v1/{+parent}/completionSuggestions:import',
|
---|
2204 | 'httpMethod' => 'POST',
|
---|
2205 | 'parameters' => [
|
---|
2206 | 'parent' => [
|
---|
2207 | 'location' => 'path',
|
---|
2208 | 'type' => 'string',
|
---|
2209 | 'required' => true,
|
---|
2210 | ],
|
---|
2211 | ],
|
---|
2212 | ],'purge' => [
|
---|
2213 | 'path' => 'v1/{+parent}/completionSuggestions:purge',
|
---|
2214 | 'httpMethod' => 'POST',
|
---|
2215 | 'parameters' => [
|
---|
2216 | 'parent' => [
|
---|
2217 | 'location' => 'path',
|
---|
2218 | 'type' => 'string',
|
---|
2219 | 'required' => true,
|
---|
2220 | ],
|
---|
2221 | ],
|
---|
2222 | ],
|
---|
2223 | ]
|
---|
2224 | ]
|
---|
2225 | );
|
---|
2226 | $this->projects_locations_dataStores_controls = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresControls(
|
---|
2227 | $this,
|
---|
2228 | $this->serviceName,
|
---|
2229 | 'controls',
|
---|
2230 | [
|
---|
2231 | 'methods' => [
|
---|
2232 | 'create' => [
|
---|
2233 | 'path' => 'v1/{+parent}/controls',
|
---|
2234 | 'httpMethod' => 'POST',
|
---|
2235 | 'parameters' => [
|
---|
2236 | 'parent' => [
|
---|
2237 | 'location' => 'path',
|
---|
2238 | 'type' => 'string',
|
---|
2239 | 'required' => true,
|
---|
2240 | ],
|
---|
2241 | 'controlId' => [
|
---|
2242 | 'location' => 'query',
|
---|
2243 | 'type' => 'string',
|
---|
2244 | ],
|
---|
2245 | ],
|
---|
2246 | ],'delete' => [
|
---|
2247 | 'path' => 'v1/{+name}',
|
---|
2248 | 'httpMethod' => 'DELETE',
|
---|
2249 | 'parameters' => [
|
---|
2250 | 'name' => [
|
---|
2251 | 'location' => 'path',
|
---|
2252 | 'type' => 'string',
|
---|
2253 | 'required' => true,
|
---|
2254 | ],
|
---|
2255 | ],
|
---|
2256 | ],'get' => [
|
---|
2257 | 'path' => 'v1/{+name}',
|
---|
2258 | 'httpMethod' => 'GET',
|
---|
2259 | 'parameters' => [
|
---|
2260 | 'name' => [
|
---|
2261 | 'location' => 'path',
|
---|
2262 | 'type' => 'string',
|
---|
2263 | 'required' => true,
|
---|
2264 | ],
|
---|
2265 | ],
|
---|
2266 | ],'list' => [
|
---|
2267 | 'path' => 'v1/{+parent}/controls',
|
---|
2268 | 'httpMethod' => 'GET',
|
---|
2269 | 'parameters' => [
|
---|
2270 | 'parent' => [
|
---|
2271 | 'location' => 'path',
|
---|
2272 | 'type' => 'string',
|
---|
2273 | 'required' => true,
|
---|
2274 | ],
|
---|
2275 | 'filter' => [
|
---|
2276 | 'location' => 'query',
|
---|
2277 | 'type' => 'string',
|
---|
2278 | ],
|
---|
2279 | 'pageSize' => [
|
---|
2280 | 'location' => 'query',
|
---|
2281 | 'type' => 'integer',
|
---|
2282 | ],
|
---|
2283 | 'pageToken' => [
|
---|
2284 | 'location' => 'query',
|
---|
2285 | 'type' => 'string',
|
---|
2286 | ],
|
---|
2287 | ],
|
---|
2288 | ],'patch' => [
|
---|
2289 | 'path' => 'v1/{+name}',
|
---|
2290 | 'httpMethod' => 'PATCH',
|
---|
2291 | 'parameters' => [
|
---|
2292 | 'name' => [
|
---|
2293 | 'location' => 'path',
|
---|
2294 | 'type' => 'string',
|
---|
2295 | 'required' => true,
|
---|
2296 | ],
|
---|
2297 | 'updateMask' => [
|
---|
2298 | 'location' => 'query',
|
---|
2299 | 'type' => 'string',
|
---|
2300 | ],
|
---|
2301 | ],
|
---|
2302 | ],
|
---|
2303 | ]
|
---|
2304 | ]
|
---|
2305 | );
|
---|
2306 | $this->projects_locations_dataStores_conversations = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresConversations(
|
---|
2307 | $this,
|
---|
2308 | $this->serviceName,
|
---|
2309 | 'conversations',
|
---|
2310 | [
|
---|
2311 | 'methods' => [
|
---|
2312 | 'converse' => [
|
---|
2313 | 'path' => 'v1/{+name}:converse',
|
---|
2314 | 'httpMethod' => 'POST',
|
---|
2315 | 'parameters' => [
|
---|
2316 | 'name' => [
|
---|
2317 | 'location' => 'path',
|
---|
2318 | 'type' => 'string',
|
---|
2319 | 'required' => true,
|
---|
2320 | ],
|
---|
2321 | ],
|
---|
2322 | ],'create' => [
|
---|
2323 | 'path' => 'v1/{+parent}/conversations',
|
---|
2324 | 'httpMethod' => 'POST',
|
---|
2325 | 'parameters' => [
|
---|
2326 | 'parent' => [
|
---|
2327 | 'location' => 'path',
|
---|
2328 | 'type' => 'string',
|
---|
2329 | 'required' => true,
|
---|
2330 | ],
|
---|
2331 | ],
|
---|
2332 | ],'delete' => [
|
---|
2333 | 'path' => 'v1/{+name}',
|
---|
2334 | 'httpMethod' => 'DELETE',
|
---|
2335 | 'parameters' => [
|
---|
2336 | 'name' => [
|
---|
2337 | 'location' => 'path',
|
---|
2338 | 'type' => 'string',
|
---|
2339 | 'required' => true,
|
---|
2340 | ],
|
---|
2341 | ],
|
---|
2342 | ],'get' => [
|
---|
2343 | 'path' => 'v1/{+name}',
|
---|
2344 | 'httpMethod' => 'GET',
|
---|
2345 | 'parameters' => [
|
---|
2346 | 'name' => [
|
---|
2347 | 'location' => 'path',
|
---|
2348 | 'type' => 'string',
|
---|
2349 | 'required' => true,
|
---|
2350 | ],
|
---|
2351 | ],
|
---|
2352 | ],'list' => [
|
---|
2353 | 'path' => 'v1/{+parent}/conversations',
|
---|
2354 | 'httpMethod' => 'GET',
|
---|
2355 | 'parameters' => [
|
---|
2356 | 'parent' => [
|
---|
2357 | 'location' => 'path',
|
---|
2358 | 'type' => 'string',
|
---|
2359 | 'required' => true,
|
---|
2360 | ],
|
---|
2361 | 'filter' => [
|
---|
2362 | 'location' => 'query',
|
---|
2363 | 'type' => 'string',
|
---|
2364 | ],
|
---|
2365 | 'orderBy' => [
|
---|
2366 | 'location' => 'query',
|
---|
2367 | 'type' => 'string',
|
---|
2368 | ],
|
---|
2369 | 'pageSize' => [
|
---|
2370 | 'location' => 'query',
|
---|
2371 | 'type' => 'integer',
|
---|
2372 | ],
|
---|
2373 | 'pageToken' => [
|
---|
2374 | 'location' => 'query',
|
---|
2375 | 'type' => 'string',
|
---|
2376 | ],
|
---|
2377 | ],
|
---|
2378 | ],'patch' => [
|
---|
2379 | 'path' => 'v1/{+name}',
|
---|
2380 | 'httpMethod' => 'PATCH',
|
---|
2381 | 'parameters' => [
|
---|
2382 | 'name' => [
|
---|
2383 | 'location' => 'path',
|
---|
2384 | 'type' => 'string',
|
---|
2385 | 'required' => true,
|
---|
2386 | ],
|
---|
2387 | 'updateMask' => [
|
---|
2388 | 'location' => 'query',
|
---|
2389 | 'type' => 'string',
|
---|
2390 | ],
|
---|
2391 | ],
|
---|
2392 | ],
|
---|
2393 | ]
|
---|
2394 | ]
|
---|
2395 | );
|
---|
2396 | $this->projects_locations_dataStores_models_operations = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresModelsOperations(
|
---|
2397 | $this,
|
---|
2398 | $this->serviceName,
|
---|
2399 | 'operations',
|
---|
2400 | [
|
---|
2401 | 'methods' => [
|
---|
2402 | 'get' => [
|
---|
2403 | 'path' => 'v1/{+name}',
|
---|
2404 | 'httpMethod' => 'GET',
|
---|
2405 | 'parameters' => [
|
---|
2406 | 'name' => [
|
---|
2407 | 'location' => 'path',
|
---|
2408 | 'type' => 'string',
|
---|
2409 | 'required' => true,
|
---|
2410 | ],
|
---|
2411 | ],
|
---|
2412 | ],'list' => [
|
---|
2413 | 'path' => 'v1/{+name}/operations',
|
---|
2414 | 'httpMethod' => 'GET',
|
---|
2415 | 'parameters' => [
|
---|
2416 | 'name' => [
|
---|
2417 | 'location' => 'path',
|
---|
2418 | 'type' => 'string',
|
---|
2419 | 'required' => true,
|
---|
2420 | ],
|
---|
2421 | 'filter' => [
|
---|
2422 | 'location' => 'query',
|
---|
2423 | 'type' => 'string',
|
---|
2424 | ],
|
---|
2425 | 'pageSize' => [
|
---|
2426 | 'location' => 'query',
|
---|
2427 | 'type' => 'integer',
|
---|
2428 | ],
|
---|
2429 | 'pageToken' => [
|
---|
2430 | 'location' => 'query',
|
---|
2431 | 'type' => 'string',
|
---|
2432 | ],
|
---|
2433 | ],
|
---|
2434 | ],
|
---|
2435 | ]
|
---|
2436 | ]
|
---|
2437 | );
|
---|
2438 | $this->projects_locations_dataStores_operations = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresOperations(
|
---|
2439 | $this,
|
---|
2440 | $this->serviceName,
|
---|
2441 | 'operations',
|
---|
2442 | [
|
---|
2443 | 'methods' => [
|
---|
2444 | 'get' => [
|
---|
2445 | 'path' => 'v1/{+name}',
|
---|
2446 | 'httpMethod' => 'GET',
|
---|
2447 | 'parameters' => [
|
---|
2448 | 'name' => [
|
---|
2449 | 'location' => 'path',
|
---|
2450 | 'type' => 'string',
|
---|
2451 | 'required' => true,
|
---|
2452 | ],
|
---|
2453 | ],
|
---|
2454 | ],'list' => [
|
---|
2455 | 'path' => 'v1/{+name}/operations',
|
---|
2456 | 'httpMethod' => 'GET',
|
---|
2457 | 'parameters' => [
|
---|
2458 | 'name' => [
|
---|
2459 | 'location' => 'path',
|
---|
2460 | 'type' => 'string',
|
---|
2461 | 'required' => true,
|
---|
2462 | ],
|
---|
2463 | 'filter' => [
|
---|
2464 | 'location' => 'query',
|
---|
2465 | 'type' => 'string',
|
---|
2466 | ],
|
---|
2467 | 'pageSize' => [
|
---|
2468 | 'location' => 'query',
|
---|
2469 | 'type' => 'integer',
|
---|
2470 | ],
|
---|
2471 | 'pageToken' => [
|
---|
2472 | 'location' => 'query',
|
---|
2473 | 'type' => 'string',
|
---|
2474 | ],
|
---|
2475 | ],
|
---|
2476 | ],
|
---|
2477 | ]
|
---|
2478 | ]
|
---|
2479 | );
|
---|
2480 | $this->projects_locations_dataStores_schemas = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSchemas(
|
---|
2481 | $this,
|
---|
2482 | $this->serviceName,
|
---|
2483 | 'schemas',
|
---|
2484 | [
|
---|
2485 | 'methods' => [
|
---|
2486 | 'create' => [
|
---|
2487 | 'path' => 'v1/{+parent}/schemas',
|
---|
2488 | 'httpMethod' => 'POST',
|
---|
2489 | 'parameters' => [
|
---|
2490 | 'parent' => [
|
---|
2491 | 'location' => 'path',
|
---|
2492 | 'type' => 'string',
|
---|
2493 | 'required' => true,
|
---|
2494 | ],
|
---|
2495 | 'schemaId' => [
|
---|
2496 | 'location' => 'query',
|
---|
2497 | 'type' => 'string',
|
---|
2498 | ],
|
---|
2499 | ],
|
---|
2500 | ],'delete' => [
|
---|
2501 | 'path' => 'v1/{+name}',
|
---|
2502 | 'httpMethod' => 'DELETE',
|
---|
2503 | 'parameters' => [
|
---|
2504 | 'name' => [
|
---|
2505 | 'location' => 'path',
|
---|
2506 | 'type' => 'string',
|
---|
2507 | 'required' => true,
|
---|
2508 | ],
|
---|
2509 | ],
|
---|
2510 | ],'get' => [
|
---|
2511 | 'path' => 'v1/{+name}',
|
---|
2512 | 'httpMethod' => 'GET',
|
---|
2513 | 'parameters' => [
|
---|
2514 | 'name' => [
|
---|
2515 | 'location' => 'path',
|
---|
2516 | 'type' => 'string',
|
---|
2517 | 'required' => true,
|
---|
2518 | ],
|
---|
2519 | ],
|
---|
2520 | ],'list' => [
|
---|
2521 | 'path' => 'v1/{+parent}/schemas',
|
---|
2522 | 'httpMethod' => 'GET',
|
---|
2523 | 'parameters' => [
|
---|
2524 | 'parent' => [
|
---|
2525 | 'location' => 'path',
|
---|
2526 | 'type' => 'string',
|
---|
2527 | 'required' => true,
|
---|
2528 | ],
|
---|
2529 | 'pageSize' => [
|
---|
2530 | 'location' => 'query',
|
---|
2531 | 'type' => 'integer',
|
---|
2532 | ],
|
---|
2533 | 'pageToken' => [
|
---|
2534 | 'location' => 'query',
|
---|
2535 | 'type' => 'string',
|
---|
2536 | ],
|
---|
2537 | ],
|
---|
2538 | ],'patch' => [
|
---|
2539 | 'path' => 'v1/{+name}',
|
---|
2540 | 'httpMethod' => 'PATCH',
|
---|
2541 | 'parameters' => [
|
---|
2542 | 'name' => [
|
---|
2543 | 'location' => 'path',
|
---|
2544 | 'type' => 'string',
|
---|
2545 | 'required' => true,
|
---|
2546 | ],
|
---|
2547 | 'allowMissing' => [
|
---|
2548 | 'location' => 'query',
|
---|
2549 | 'type' => 'boolean',
|
---|
2550 | ],
|
---|
2551 | ],
|
---|
2552 | ],
|
---|
2553 | ]
|
---|
2554 | ]
|
---|
2555 | );
|
---|
2556 | $this->projects_locations_dataStores_servingConfigs = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresServingConfigs(
|
---|
2557 | $this,
|
---|
2558 | $this->serviceName,
|
---|
2559 | 'servingConfigs',
|
---|
2560 | [
|
---|
2561 | 'methods' => [
|
---|
2562 | 'answer' => [
|
---|
2563 | 'path' => 'v1/{+servingConfig}:answer',
|
---|
2564 | 'httpMethod' => 'POST',
|
---|
2565 | 'parameters' => [
|
---|
2566 | 'servingConfig' => [
|
---|
2567 | 'location' => 'path',
|
---|
2568 | 'type' => 'string',
|
---|
2569 | 'required' => true,
|
---|
2570 | ],
|
---|
2571 | ],
|
---|
2572 | ],'recommend' => [
|
---|
2573 | 'path' => 'v1/{+servingConfig}:recommend',
|
---|
2574 | 'httpMethod' => 'POST',
|
---|
2575 | 'parameters' => [
|
---|
2576 | 'servingConfig' => [
|
---|
2577 | 'location' => 'path',
|
---|
2578 | 'type' => 'string',
|
---|
2579 | 'required' => true,
|
---|
2580 | ],
|
---|
2581 | ],
|
---|
2582 | ],'search' => [
|
---|
2583 | 'path' => 'v1/{+servingConfig}:search',
|
---|
2584 | 'httpMethod' => 'POST',
|
---|
2585 | 'parameters' => [
|
---|
2586 | 'servingConfig' => [
|
---|
2587 | 'location' => 'path',
|
---|
2588 | 'type' => 'string',
|
---|
2589 | 'required' => true,
|
---|
2590 | ],
|
---|
2591 | ],
|
---|
2592 | ],'searchLite' => [
|
---|
2593 | 'path' => 'v1/{+servingConfig}:searchLite',
|
---|
2594 | 'httpMethod' => 'POST',
|
---|
2595 | 'parameters' => [
|
---|
2596 | 'servingConfig' => [
|
---|
2597 | 'location' => 'path',
|
---|
2598 | 'type' => 'string',
|
---|
2599 | 'required' => true,
|
---|
2600 | ],
|
---|
2601 | ],
|
---|
2602 | ],
|
---|
2603 | ]
|
---|
2604 | ]
|
---|
2605 | );
|
---|
2606 | $this->projects_locations_dataStores_sessions = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSessions(
|
---|
2607 | $this,
|
---|
2608 | $this->serviceName,
|
---|
2609 | 'sessions',
|
---|
2610 | [
|
---|
2611 | 'methods' => [
|
---|
2612 | 'create' => [
|
---|
2613 | 'path' => 'v1/{+parent}/sessions',
|
---|
2614 | 'httpMethod' => 'POST',
|
---|
2615 | 'parameters' => [
|
---|
2616 | 'parent' => [
|
---|
2617 | 'location' => 'path',
|
---|
2618 | 'type' => 'string',
|
---|
2619 | 'required' => true,
|
---|
2620 | ],
|
---|
2621 | ],
|
---|
2622 | ],'delete' => [
|
---|
2623 | 'path' => 'v1/{+name}',
|
---|
2624 | 'httpMethod' => 'DELETE',
|
---|
2625 | 'parameters' => [
|
---|
2626 | 'name' => [
|
---|
2627 | 'location' => 'path',
|
---|
2628 | 'type' => 'string',
|
---|
2629 | 'required' => true,
|
---|
2630 | ],
|
---|
2631 | ],
|
---|
2632 | ],'get' => [
|
---|
2633 | 'path' => 'v1/{+name}',
|
---|
2634 | 'httpMethod' => 'GET',
|
---|
2635 | 'parameters' => [
|
---|
2636 | 'name' => [
|
---|
2637 | 'location' => 'path',
|
---|
2638 | 'type' => 'string',
|
---|
2639 | 'required' => true,
|
---|
2640 | ],
|
---|
2641 | ],
|
---|
2642 | ],'list' => [
|
---|
2643 | 'path' => 'v1/{+parent}/sessions',
|
---|
2644 | 'httpMethod' => 'GET',
|
---|
2645 | 'parameters' => [
|
---|
2646 | 'parent' => [
|
---|
2647 | 'location' => 'path',
|
---|
2648 | 'type' => 'string',
|
---|
2649 | 'required' => true,
|
---|
2650 | ],
|
---|
2651 | 'filter' => [
|
---|
2652 | 'location' => 'query',
|
---|
2653 | 'type' => 'string',
|
---|
2654 | ],
|
---|
2655 | 'orderBy' => [
|
---|
2656 | 'location' => 'query',
|
---|
2657 | 'type' => 'string',
|
---|
2658 | ],
|
---|
2659 | 'pageSize' => [
|
---|
2660 | 'location' => 'query',
|
---|
2661 | 'type' => 'integer',
|
---|
2662 | ],
|
---|
2663 | 'pageToken' => [
|
---|
2664 | 'location' => 'query',
|
---|
2665 | 'type' => 'string',
|
---|
2666 | ],
|
---|
2667 | ],
|
---|
2668 | ],'patch' => [
|
---|
2669 | 'path' => 'v1/{+name}',
|
---|
2670 | 'httpMethod' => 'PATCH',
|
---|
2671 | 'parameters' => [
|
---|
2672 | 'name' => [
|
---|
2673 | 'location' => 'path',
|
---|
2674 | 'type' => 'string',
|
---|
2675 | 'required' => true,
|
---|
2676 | ],
|
---|
2677 | 'updateMask' => [
|
---|
2678 | 'location' => 'query',
|
---|
2679 | 'type' => 'string',
|
---|
2680 | ],
|
---|
2681 | ],
|
---|
2682 | ],
|
---|
2683 | ]
|
---|
2684 | ]
|
---|
2685 | );
|
---|
2686 | $this->projects_locations_dataStores_sessions_answers = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSessionsAnswers(
|
---|
2687 | $this,
|
---|
2688 | $this->serviceName,
|
---|
2689 | 'answers',
|
---|
2690 | [
|
---|
2691 | 'methods' => [
|
---|
2692 | 'get' => [
|
---|
2693 | 'path' => 'v1/{+name}',
|
---|
2694 | 'httpMethod' => 'GET',
|
---|
2695 | 'parameters' => [
|
---|
2696 | 'name' => [
|
---|
2697 | 'location' => 'path',
|
---|
2698 | 'type' => 'string',
|
---|
2699 | 'required' => true,
|
---|
2700 | ],
|
---|
2701 | ],
|
---|
2702 | ],
|
---|
2703 | ]
|
---|
2704 | ]
|
---|
2705 | );
|
---|
2706 | $this->projects_locations_dataStores_siteSearchEngine = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSiteSearchEngine(
|
---|
2707 | $this,
|
---|
2708 | $this->serviceName,
|
---|
2709 | 'siteSearchEngine',
|
---|
2710 | [
|
---|
2711 | 'methods' => [
|
---|
2712 | 'disableAdvancedSiteSearch' => [
|
---|
2713 | 'path' => 'v1/{+siteSearchEngine}:disableAdvancedSiteSearch',
|
---|
2714 | 'httpMethod' => 'POST',
|
---|
2715 | 'parameters' => [
|
---|
2716 | 'siteSearchEngine' => [
|
---|
2717 | 'location' => 'path',
|
---|
2718 | 'type' => 'string',
|
---|
2719 | 'required' => true,
|
---|
2720 | ],
|
---|
2721 | ],
|
---|
2722 | ],'enableAdvancedSiteSearch' => [
|
---|
2723 | 'path' => 'v1/{+siteSearchEngine}:enableAdvancedSiteSearch',
|
---|
2724 | 'httpMethod' => 'POST',
|
---|
2725 | 'parameters' => [
|
---|
2726 | 'siteSearchEngine' => [
|
---|
2727 | 'location' => 'path',
|
---|
2728 | 'type' => 'string',
|
---|
2729 | 'required' => true,
|
---|
2730 | ],
|
---|
2731 | ],
|
---|
2732 | ],'recrawlUris' => [
|
---|
2733 | 'path' => 'v1/{+siteSearchEngine}:recrawlUris',
|
---|
2734 | 'httpMethod' => 'POST',
|
---|
2735 | 'parameters' => [
|
---|
2736 | 'siteSearchEngine' => [
|
---|
2737 | 'location' => 'path',
|
---|
2738 | 'type' => 'string',
|
---|
2739 | 'required' => true,
|
---|
2740 | ],
|
---|
2741 | ],
|
---|
2742 | ],
|
---|
2743 | ]
|
---|
2744 | ]
|
---|
2745 | );
|
---|
2746 | $this->projects_locations_dataStores_siteSearchEngine_targetSites = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSiteSearchEngineTargetSites(
|
---|
2747 | $this,
|
---|
2748 | $this->serviceName,
|
---|
2749 | 'targetSites',
|
---|
2750 | [
|
---|
2751 | 'methods' => [
|
---|
2752 | 'batchCreate' => [
|
---|
2753 | 'path' => 'v1/{+parent}/targetSites:batchCreate',
|
---|
2754 | 'httpMethod' => 'POST',
|
---|
2755 | 'parameters' => [
|
---|
2756 | 'parent' => [
|
---|
2757 | 'location' => 'path',
|
---|
2758 | 'type' => 'string',
|
---|
2759 | 'required' => true,
|
---|
2760 | ],
|
---|
2761 | ],
|
---|
2762 | ],'create' => [
|
---|
2763 | 'path' => 'v1/{+parent}/targetSites',
|
---|
2764 | 'httpMethod' => 'POST',
|
---|
2765 | 'parameters' => [
|
---|
2766 | 'parent' => [
|
---|
2767 | 'location' => 'path',
|
---|
2768 | 'type' => 'string',
|
---|
2769 | 'required' => true,
|
---|
2770 | ],
|
---|
2771 | ],
|
---|
2772 | ],'delete' => [
|
---|
2773 | 'path' => 'v1/{+name}',
|
---|
2774 | 'httpMethod' => 'DELETE',
|
---|
2775 | 'parameters' => [
|
---|
2776 | 'name' => [
|
---|
2777 | 'location' => 'path',
|
---|
2778 | 'type' => 'string',
|
---|
2779 | 'required' => true,
|
---|
2780 | ],
|
---|
2781 | ],
|
---|
2782 | ],'get' => [
|
---|
2783 | 'path' => 'v1/{+name}',
|
---|
2784 | 'httpMethod' => 'GET',
|
---|
2785 | 'parameters' => [
|
---|
2786 | 'name' => [
|
---|
2787 | 'location' => 'path',
|
---|
2788 | 'type' => 'string',
|
---|
2789 | 'required' => true,
|
---|
2790 | ],
|
---|
2791 | ],
|
---|
2792 | ],'list' => [
|
---|
2793 | 'path' => 'v1/{+parent}/targetSites',
|
---|
2794 | 'httpMethod' => 'GET',
|
---|
2795 | 'parameters' => [
|
---|
2796 | 'parent' => [
|
---|
2797 | 'location' => 'path',
|
---|
2798 | 'type' => 'string',
|
---|
2799 | 'required' => true,
|
---|
2800 | ],
|
---|
2801 | 'pageSize' => [
|
---|
2802 | 'location' => 'query',
|
---|
2803 | 'type' => 'integer',
|
---|
2804 | ],
|
---|
2805 | 'pageToken' => [
|
---|
2806 | 'location' => 'query',
|
---|
2807 | 'type' => 'string',
|
---|
2808 | ],
|
---|
2809 | ],
|
---|
2810 | ],'patch' => [
|
---|
2811 | 'path' => 'v1/{+name}',
|
---|
2812 | 'httpMethod' => 'PATCH',
|
---|
2813 | 'parameters' => [
|
---|
2814 | 'name' => [
|
---|
2815 | 'location' => 'path',
|
---|
2816 | 'type' => 'string',
|
---|
2817 | 'required' => true,
|
---|
2818 | ],
|
---|
2819 | ],
|
---|
2820 | ],
|
---|
2821 | ]
|
---|
2822 | ]
|
---|
2823 | );
|
---|
2824 | $this->projects_locations_dataStores_suggestionDenyListEntries = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresSuggestionDenyListEntries(
|
---|
2825 | $this,
|
---|
2826 | $this->serviceName,
|
---|
2827 | 'suggestionDenyListEntries',
|
---|
2828 | [
|
---|
2829 | 'methods' => [
|
---|
2830 | 'import' => [
|
---|
2831 | 'path' => 'v1/{+parent}/suggestionDenyListEntries:import',
|
---|
2832 | 'httpMethod' => 'POST',
|
---|
2833 | 'parameters' => [
|
---|
2834 | 'parent' => [
|
---|
2835 | 'location' => 'path',
|
---|
2836 | 'type' => 'string',
|
---|
2837 | 'required' => true,
|
---|
2838 | ],
|
---|
2839 | ],
|
---|
2840 | ],'purge' => [
|
---|
2841 | 'path' => 'v1/{+parent}/suggestionDenyListEntries:purge',
|
---|
2842 | 'httpMethod' => 'POST',
|
---|
2843 | 'parameters' => [
|
---|
2844 | 'parent' => [
|
---|
2845 | 'location' => 'path',
|
---|
2846 | 'type' => 'string',
|
---|
2847 | 'required' => true,
|
---|
2848 | ],
|
---|
2849 | ],
|
---|
2850 | ],
|
---|
2851 | ]
|
---|
2852 | ]
|
---|
2853 | );
|
---|
2854 | $this->projects_locations_dataStores_userEvents = new DiscoveryEngine\Resource\ProjectsLocationsDataStoresUserEvents(
|
---|
2855 | $this,
|
---|
2856 | $this->serviceName,
|
---|
2857 | 'userEvents',
|
---|
2858 | [
|
---|
2859 | 'methods' => [
|
---|
2860 | 'collect' => [
|
---|
2861 | 'path' => 'v1/{+parent}/userEvents:collect',
|
---|
2862 | 'httpMethod' => 'GET',
|
---|
2863 | 'parameters' => [
|
---|
2864 | 'parent' => [
|
---|
2865 | 'location' => 'path',
|
---|
2866 | 'type' => 'string',
|
---|
2867 | 'required' => true,
|
---|
2868 | ],
|
---|
2869 | 'ets' => [
|
---|
2870 | 'location' => 'query',
|
---|
2871 | 'type' => 'string',
|
---|
2872 | ],
|
---|
2873 | 'uri' => [
|
---|
2874 | 'location' => 'query',
|
---|
2875 | 'type' => 'string',
|
---|
2876 | ],
|
---|
2877 | 'userEvent' => [
|
---|
2878 | 'location' => 'query',
|
---|
2879 | 'type' => 'string',
|
---|
2880 | ],
|
---|
2881 | ],
|
---|
2882 | ],'import' => [
|
---|
2883 | 'path' => 'v1/{+parent}/userEvents:import',
|
---|
2884 | 'httpMethod' => 'POST',
|
---|
2885 | 'parameters' => [
|
---|
2886 | 'parent' => [
|
---|
2887 | 'location' => 'path',
|
---|
2888 | 'type' => 'string',
|
---|
2889 | 'required' => true,
|
---|
2890 | ],
|
---|
2891 | ],
|
---|
2892 | ],'purge' => [
|
---|
2893 | 'path' => 'v1/{+parent}/userEvents:purge',
|
---|
2894 | 'httpMethod' => 'POST',
|
---|
2895 | 'parameters' => [
|
---|
2896 | 'parent' => [
|
---|
2897 | 'location' => 'path',
|
---|
2898 | 'type' => 'string',
|
---|
2899 | 'required' => true,
|
---|
2900 | ],
|
---|
2901 | ],
|
---|
2902 | ],'write' => [
|
---|
2903 | 'path' => 'v1/{+parent}/userEvents:write',
|
---|
2904 | 'httpMethod' => 'POST',
|
---|
2905 | 'parameters' => [
|
---|
2906 | 'parent' => [
|
---|
2907 | 'location' => 'path',
|
---|
2908 | 'type' => 'string',
|
---|
2909 | 'required' => true,
|
---|
2910 | ],
|
---|
2911 | 'writeAsync' => [
|
---|
2912 | 'location' => 'query',
|
---|
2913 | 'type' => 'boolean',
|
---|
2914 | ],
|
---|
2915 | ],
|
---|
2916 | ],
|
---|
2917 | ]
|
---|
2918 | ]
|
---|
2919 | );
|
---|
2920 | $this->projects_locations_groundingConfigs = new DiscoveryEngine\Resource\ProjectsLocationsGroundingConfigs(
|
---|
2921 | $this,
|
---|
2922 | $this->serviceName,
|
---|
2923 | 'groundingConfigs',
|
---|
2924 | [
|
---|
2925 | 'methods' => [
|
---|
2926 | 'check' => [
|
---|
2927 | 'path' => 'v1/{+groundingConfig}:check',
|
---|
2928 | 'httpMethod' => 'POST',
|
---|
2929 | 'parameters' => [
|
---|
2930 | 'groundingConfig' => [
|
---|
2931 | 'location' => 'path',
|
---|
2932 | 'type' => 'string',
|
---|
2933 | 'required' => true,
|
---|
2934 | ],
|
---|
2935 | ],
|
---|
2936 | ],
|
---|
2937 | ]
|
---|
2938 | ]
|
---|
2939 | );
|
---|
2940 | $this->projects_locations_identityMappingStores_operations = new DiscoveryEngine\Resource\ProjectsLocationsIdentityMappingStoresOperations(
|
---|
2941 | $this,
|
---|
2942 | $this->serviceName,
|
---|
2943 | 'operations',
|
---|
2944 | [
|
---|
2945 | 'methods' => [
|
---|
2946 | 'get' => [
|
---|
2947 | 'path' => 'v1/{+name}',
|
---|
2948 | 'httpMethod' => 'GET',
|
---|
2949 | 'parameters' => [
|
---|
2950 | 'name' => [
|
---|
2951 | 'location' => 'path',
|
---|
2952 | 'type' => 'string',
|
---|
2953 | 'required' => true,
|
---|
2954 | ],
|
---|
2955 | ],
|
---|
2956 | ],'list' => [
|
---|
2957 | 'path' => 'v1/{+name}/operations',
|
---|
2958 | 'httpMethod' => 'GET',
|
---|
2959 | 'parameters' => [
|
---|
2960 | 'name' => [
|
---|
2961 | 'location' => 'path',
|
---|
2962 | 'type' => 'string',
|
---|
2963 | 'required' => true,
|
---|
2964 | ],
|
---|
2965 | 'filter' => [
|
---|
2966 | 'location' => 'query',
|
---|
2967 | 'type' => 'string',
|
---|
2968 | ],
|
---|
2969 | 'pageSize' => [
|
---|
2970 | 'location' => 'query',
|
---|
2971 | 'type' => 'integer',
|
---|
2972 | ],
|
---|
2973 | 'pageToken' => [
|
---|
2974 | 'location' => 'query',
|
---|
2975 | 'type' => 'string',
|
---|
2976 | ],
|
---|
2977 | ],
|
---|
2978 | ],
|
---|
2979 | ]
|
---|
2980 | ]
|
---|
2981 | );
|
---|
2982 | $this->projects_locations_operations = new DiscoveryEngine\Resource\ProjectsLocationsOperations(
|
---|
2983 | $this,
|
---|
2984 | $this->serviceName,
|
---|
2985 | 'operations',
|
---|
2986 | [
|
---|
2987 | 'methods' => [
|
---|
2988 | 'get' => [
|
---|
2989 | 'path' => 'v1/{+name}',
|
---|
2990 | 'httpMethod' => 'GET',
|
---|
2991 | 'parameters' => [
|
---|
2992 | 'name' => [
|
---|
2993 | 'location' => 'path',
|
---|
2994 | 'type' => 'string',
|
---|
2995 | 'required' => true,
|
---|
2996 | ],
|
---|
2997 | ],
|
---|
2998 | ],'list' => [
|
---|
2999 | 'path' => 'v1/{+name}/operations',
|
---|
3000 | 'httpMethod' => 'GET',
|
---|
3001 | 'parameters' => [
|
---|
3002 | 'name' => [
|
---|
3003 | 'location' => 'path',
|
---|
3004 | 'type' => 'string',
|
---|
3005 | 'required' => true,
|
---|
3006 | ],
|
---|
3007 | 'filter' => [
|
---|
3008 | 'location' => 'query',
|
---|
3009 | 'type' => 'string',
|
---|
3010 | ],
|
---|
3011 | 'pageSize' => [
|
---|
3012 | 'location' => 'query',
|
---|
3013 | 'type' => 'integer',
|
---|
3014 | ],
|
---|
3015 | 'pageToken' => [
|
---|
3016 | 'location' => 'query',
|
---|
3017 | 'type' => 'string',
|
---|
3018 | ],
|
---|
3019 | ],
|
---|
3020 | ],
|
---|
3021 | ]
|
---|
3022 | ]
|
---|
3023 | );
|
---|
3024 | $this->projects_locations_rankingConfigs = new DiscoveryEngine\Resource\ProjectsLocationsRankingConfigs(
|
---|
3025 | $this,
|
---|
3026 | $this->serviceName,
|
---|
3027 | 'rankingConfigs',
|
---|
3028 | [
|
---|
3029 | 'methods' => [
|
---|
3030 | 'rank' => [
|
---|
3031 | 'path' => 'v1/{+rankingConfig}:rank',
|
---|
3032 | 'httpMethod' => 'POST',
|
---|
3033 | 'parameters' => [
|
---|
3034 | 'rankingConfig' => [
|
---|
3035 | 'location' => 'path',
|
---|
3036 | 'type' => 'string',
|
---|
3037 | 'required' => true,
|
---|
3038 | ],
|
---|
3039 | ],
|
---|
3040 | ],
|
---|
3041 | ]
|
---|
3042 | ]
|
---|
3043 | );
|
---|
3044 | $this->projects_locations_userEvents = new DiscoveryEngine\Resource\ProjectsLocationsUserEvents(
|
---|
3045 | $this,
|
---|
3046 | $this->serviceName,
|
---|
3047 | 'userEvents',
|
---|
3048 | [
|
---|
3049 | 'methods' => [
|
---|
3050 | 'collect' => [
|
---|
3051 | 'path' => 'v1/{+parent}/userEvents:collect',
|
---|
3052 | 'httpMethod' => 'GET',
|
---|
3053 | 'parameters' => [
|
---|
3054 | 'parent' => [
|
---|
3055 | 'location' => 'path',
|
---|
3056 | 'type' => 'string',
|
---|
3057 | 'required' => true,
|
---|
3058 | ],
|
---|
3059 | 'ets' => [
|
---|
3060 | 'location' => 'query',
|
---|
3061 | 'type' => 'string',
|
---|
3062 | ],
|
---|
3063 | 'uri' => [
|
---|
3064 | 'location' => 'query',
|
---|
3065 | 'type' => 'string',
|
---|
3066 | ],
|
---|
3067 | 'userEvent' => [
|
---|
3068 | 'location' => 'query',
|
---|
3069 | 'type' => 'string',
|
---|
3070 | ],
|
---|
3071 | ],
|
---|
3072 | ],'import' => [
|
---|
3073 | 'path' => 'v1/{+parent}/userEvents:import',
|
---|
3074 | 'httpMethod' => 'POST',
|
---|
3075 | 'parameters' => [
|
---|
3076 | 'parent' => [
|
---|
3077 | 'location' => 'path',
|
---|
3078 | 'type' => 'string',
|
---|
3079 | 'required' => true,
|
---|
3080 | ],
|
---|
3081 | ],
|
---|
3082 | ],'write' => [
|
---|
3083 | 'path' => 'v1/{+parent}/userEvents:write',
|
---|
3084 | 'httpMethod' => 'POST',
|
---|
3085 | 'parameters' => [
|
---|
3086 | 'parent' => [
|
---|
3087 | 'location' => 'path',
|
---|
3088 | 'type' => 'string',
|
---|
3089 | 'required' => true,
|
---|
3090 | ],
|
---|
3091 | 'writeAsync' => [
|
---|
3092 | 'location' => 'query',
|
---|
3093 | 'type' => 'boolean',
|
---|
3094 | ],
|
---|
3095 | ],
|
---|
3096 | ],
|
---|
3097 | ]
|
---|
3098 | ]
|
---|
3099 | );
|
---|
3100 | $this->projects_operations = new DiscoveryEngine\Resource\ProjectsOperations(
|
---|
3101 | $this,
|
---|
3102 | $this->serviceName,
|
---|
3103 | 'operations',
|
---|
3104 | [
|
---|
3105 | 'methods' => [
|
---|
3106 | 'cancel' => [
|
---|
3107 | 'path' => 'v1/{+name}:cancel',
|
---|
3108 | 'httpMethod' => 'POST',
|
---|
3109 | 'parameters' => [
|
---|
3110 | 'name' => [
|
---|
3111 | 'location' => 'path',
|
---|
3112 | 'type' => 'string',
|
---|
3113 | 'required' => true,
|
---|
3114 | ],
|
---|
3115 | ],
|
---|
3116 | ],'get' => [
|
---|
3117 | 'path' => 'v1/{+name}',
|
---|
3118 | 'httpMethod' => 'GET',
|
---|
3119 | 'parameters' => [
|
---|
3120 | 'name' => [
|
---|
3121 | 'location' => 'path',
|
---|
3122 | 'type' => 'string',
|
---|
3123 | 'required' => true,
|
---|
3124 | ],
|
---|
3125 | ],
|
---|
3126 | ],'list' => [
|
---|
3127 | 'path' => 'v1/{+name}/operations',
|
---|
3128 | 'httpMethod' => 'GET',
|
---|
3129 | 'parameters' => [
|
---|
3130 | 'name' => [
|
---|
3131 | 'location' => 'path',
|
---|
3132 | 'type' => 'string',
|
---|
3133 | 'required' => true,
|
---|
3134 | ],
|
---|
3135 | 'filter' => [
|
---|
3136 | 'location' => 'query',
|
---|
3137 | 'type' => 'string',
|
---|
3138 | ],
|
---|
3139 | 'pageSize' => [
|
---|
3140 | 'location' => 'query',
|
---|
3141 | 'type' => 'integer',
|
---|
3142 | ],
|
---|
3143 | 'pageToken' => [
|
---|
3144 | 'location' => 'query',
|
---|
3145 | 'type' => 'string',
|
---|
3146 | ],
|
---|
3147 | ],
|
---|
3148 | ],
|
---|
3149 | ]
|
---|
3150 | ]
|
---|
3151 | );
|
---|
3152 | }
|
---|
3153 | }
|
---|
3154 |
|
---|
3155 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
3156 | class_alias(DiscoveryEngine::class, 'Google_Service_DiscoveryEngine');
|
---|