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 BigtableAdmin (v2).
|
---|
24 | *
|
---|
25 | * <p>
|
---|
26 | * Administer your Cloud Bigtable tables and instances.</p>
|
---|
27 | *
|
---|
28 | * <p>
|
---|
29 | * For more information about this service, see the API
|
---|
30 | * <a href="https://cloud.google.com/bigtable/" target="_blank">Documentation</a>
|
---|
31 | * </p>
|
---|
32 | *
|
---|
33 | * @author Google, Inc.
|
---|
34 | */
|
---|
35 | class BigtableAdmin extends \Google\Service
|
---|
36 | {
|
---|
37 | /** Administer your Cloud Bigtable tables and clusters. */
|
---|
38 | const BIGTABLE_ADMIN =
|
---|
39 | "https://www.googleapis.com/auth/bigtable.admin";
|
---|
40 | /** Administer your Cloud Bigtable clusters. */
|
---|
41 | const BIGTABLE_ADMIN_CLUSTER =
|
---|
42 | "https://www.googleapis.com/auth/bigtable.admin.cluster";
|
---|
43 | /** Administer your Cloud Bigtable clusters. */
|
---|
44 | const BIGTABLE_ADMIN_INSTANCE =
|
---|
45 | "https://www.googleapis.com/auth/bigtable.admin.instance";
|
---|
46 | /** Administer your Cloud Bigtable tables. */
|
---|
47 | const BIGTABLE_ADMIN_TABLE =
|
---|
48 | "https://www.googleapis.com/auth/bigtable.admin.table";
|
---|
49 | /** Administer your Cloud Bigtable tables and clusters. */
|
---|
50 | const CLOUD_BIGTABLE_ADMIN =
|
---|
51 | "https://www.googleapis.com/auth/cloud-bigtable.admin";
|
---|
52 | /** Administer your Cloud Bigtable clusters. */
|
---|
53 | const CLOUD_BIGTABLE_ADMIN_CLUSTER =
|
---|
54 | "https://www.googleapis.com/auth/cloud-bigtable.admin.cluster";
|
---|
55 | /** Administer your Cloud Bigtable tables. */
|
---|
56 | const CLOUD_BIGTABLE_ADMIN_TABLE =
|
---|
57 | "https://www.googleapis.com/auth/cloud-bigtable.admin.table";
|
---|
58 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
59 | const CLOUD_PLATFORM =
|
---|
60 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
61 | /** View your data across Google Cloud services and see the email address of your Google Account. */
|
---|
62 | const CLOUD_PLATFORM_READ_ONLY =
|
---|
63 | "https://www.googleapis.com/auth/cloud-platform.read-only";
|
---|
64 |
|
---|
65 | public $operations;
|
---|
66 | public $operations_projects_operations;
|
---|
67 | public $projects_instances;
|
---|
68 | public $projects_instances_appProfiles;
|
---|
69 | public $projects_instances_clusters;
|
---|
70 | public $projects_instances_clusters_backups;
|
---|
71 | public $projects_instances_clusters_hotTablets;
|
---|
72 | public $projects_instances_tables;
|
---|
73 | public $projects_instances_tables_authorizedViews;
|
---|
74 | public $projects_locations;
|
---|
75 | public $rootUrlTemplate;
|
---|
76 |
|
---|
77 | /**
|
---|
78 | * Constructs the internal representation of the BigtableAdmin service.
|
---|
79 | *
|
---|
80 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
81 | * config array to pass to a new Client instance.
|
---|
82 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
83 | */
|
---|
84 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
85 | {
|
---|
86 | parent::__construct($clientOrConfig);
|
---|
87 | $this->rootUrl = $rootUrl ?: 'https://bigtableadmin.googleapis.com/';
|
---|
88 | $this->rootUrlTemplate = $rootUrl ?: 'https://bigtableadmin.UNIVERSE_DOMAIN/';
|
---|
89 | $this->servicePath = '';
|
---|
90 | $this->batchPath = 'batch';
|
---|
91 | $this->version = 'v2';
|
---|
92 | $this->serviceName = 'bigtableadmin';
|
---|
93 |
|
---|
94 | $this->operations = new BigtableAdmin\Resource\Operations(
|
---|
95 | $this,
|
---|
96 | $this->serviceName,
|
---|
97 | 'operations',
|
---|
98 | [
|
---|
99 | 'methods' => [
|
---|
100 | 'get' => [
|
---|
101 | 'path' => 'v2/{+name}',
|
---|
102 | 'httpMethod' => 'GET',
|
---|
103 | 'parameters' => [
|
---|
104 | 'name' => [
|
---|
105 | 'location' => 'path',
|
---|
106 | 'type' => 'string',
|
---|
107 | 'required' => true,
|
---|
108 | ],
|
---|
109 | ],
|
---|
110 | ],
|
---|
111 | ]
|
---|
112 | ]
|
---|
113 | );
|
---|
114 | $this->operations_projects_operations = new BigtableAdmin\Resource\OperationsProjectsOperations(
|
---|
115 | $this,
|
---|
116 | $this->serviceName,
|
---|
117 | 'operations',
|
---|
118 | [
|
---|
119 | 'methods' => [
|
---|
120 | 'list' => [
|
---|
121 | 'path' => 'v2/{+name}/operations',
|
---|
122 | 'httpMethod' => 'GET',
|
---|
123 | 'parameters' => [
|
---|
124 | 'name' => [
|
---|
125 | 'location' => 'path',
|
---|
126 | 'type' => 'string',
|
---|
127 | 'required' => true,
|
---|
128 | ],
|
---|
129 | 'filter' => [
|
---|
130 | 'location' => 'query',
|
---|
131 | 'type' => 'string',
|
---|
132 | ],
|
---|
133 | 'pageSize' => [
|
---|
134 | 'location' => 'query',
|
---|
135 | 'type' => 'integer',
|
---|
136 | ],
|
---|
137 | 'pageToken' => [
|
---|
138 | 'location' => 'query',
|
---|
139 | 'type' => 'string',
|
---|
140 | ],
|
---|
141 | ],
|
---|
142 | ],
|
---|
143 | ]
|
---|
144 | ]
|
---|
145 | );
|
---|
146 | $this->projects_instances = new BigtableAdmin\Resource\ProjectsInstances(
|
---|
147 | $this,
|
---|
148 | $this->serviceName,
|
---|
149 | 'instances',
|
---|
150 | [
|
---|
151 | 'methods' => [
|
---|
152 | 'create' => [
|
---|
153 | 'path' => 'v2/{+parent}/instances',
|
---|
154 | 'httpMethod' => 'POST',
|
---|
155 | 'parameters' => [
|
---|
156 | 'parent' => [
|
---|
157 | 'location' => 'path',
|
---|
158 | 'type' => 'string',
|
---|
159 | 'required' => true,
|
---|
160 | ],
|
---|
161 | ],
|
---|
162 | ],'delete' => [
|
---|
163 | 'path' => 'v2/{+name}',
|
---|
164 | 'httpMethod' => 'DELETE',
|
---|
165 | 'parameters' => [
|
---|
166 | 'name' => [
|
---|
167 | 'location' => 'path',
|
---|
168 | 'type' => 'string',
|
---|
169 | 'required' => true,
|
---|
170 | ],
|
---|
171 | ],
|
---|
172 | ],'get' => [
|
---|
173 | 'path' => 'v2/{+name}',
|
---|
174 | 'httpMethod' => 'GET',
|
---|
175 | 'parameters' => [
|
---|
176 | 'name' => [
|
---|
177 | 'location' => 'path',
|
---|
178 | 'type' => 'string',
|
---|
179 | 'required' => true,
|
---|
180 | ],
|
---|
181 | ],
|
---|
182 | ],'getIamPolicy' => [
|
---|
183 | 'path' => 'v2/{+resource}:getIamPolicy',
|
---|
184 | 'httpMethod' => 'POST',
|
---|
185 | 'parameters' => [
|
---|
186 | 'resource' => [
|
---|
187 | 'location' => 'path',
|
---|
188 | 'type' => 'string',
|
---|
189 | 'required' => true,
|
---|
190 | ],
|
---|
191 | ],
|
---|
192 | ],'list' => [
|
---|
193 | 'path' => 'v2/{+parent}/instances',
|
---|
194 | 'httpMethod' => 'GET',
|
---|
195 | 'parameters' => [
|
---|
196 | 'parent' => [
|
---|
197 | 'location' => 'path',
|
---|
198 | 'type' => 'string',
|
---|
199 | 'required' => true,
|
---|
200 | ],
|
---|
201 | 'pageToken' => [
|
---|
202 | 'location' => 'query',
|
---|
203 | 'type' => 'string',
|
---|
204 | ],
|
---|
205 | ],
|
---|
206 | ],'partialUpdateInstance' => [
|
---|
207 | 'path' => 'v2/{+name}',
|
---|
208 | 'httpMethod' => 'PATCH',
|
---|
209 | 'parameters' => [
|
---|
210 | 'name' => [
|
---|
211 | 'location' => 'path',
|
---|
212 | 'type' => 'string',
|
---|
213 | 'required' => true,
|
---|
214 | ],
|
---|
215 | 'updateMask' => [
|
---|
216 | 'location' => 'query',
|
---|
217 | 'type' => 'string',
|
---|
218 | ],
|
---|
219 | ],
|
---|
220 | ],'setIamPolicy' => [
|
---|
221 | 'path' => 'v2/{+resource}:setIamPolicy',
|
---|
222 | 'httpMethod' => 'POST',
|
---|
223 | 'parameters' => [
|
---|
224 | 'resource' => [
|
---|
225 | 'location' => 'path',
|
---|
226 | 'type' => 'string',
|
---|
227 | 'required' => true,
|
---|
228 | ],
|
---|
229 | ],
|
---|
230 | ],'testIamPermissions' => [
|
---|
231 | 'path' => 'v2/{+resource}:testIamPermissions',
|
---|
232 | 'httpMethod' => 'POST',
|
---|
233 | 'parameters' => [
|
---|
234 | 'resource' => [
|
---|
235 | 'location' => 'path',
|
---|
236 | 'type' => 'string',
|
---|
237 | 'required' => true,
|
---|
238 | ],
|
---|
239 | ],
|
---|
240 | ],'update' => [
|
---|
241 | 'path' => 'v2/{+name}',
|
---|
242 | 'httpMethod' => 'PUT',
|
---|
243 | 'parameters' => [
|
---|
244 | 'name' => [
|
---|
245 | 'location' => 'path',
|
---|
246 | 'type' => 'string',
|
---|
247 | 'required' => true,
|
---|
248 | ],
|
---|
249 | ],
|
---|
250 | ],
|
---|
251 | ]
|
---|
252 | ]
|
---|
253 | );
|
---|
254 | $this->projects_instances_appProfiles = new BigtableAdmin\Resource\ProjectsInstancesAppProfiles(
|
---|
255 | $this,
|
---|
256 | $this->serviceName,
|
---|
257 | 'appProfiles',
|
---|
258 | [
|
---|
259 | 'methods' => [
|
---|
260 | 'create' => [
|
---|
261 | 'path' => 'v2/{+parent}/appProfiles',
|
---|
262 | 'httpMethod' => 'POST',
|
---|
263 | 'parameters' => [
|
---|
264 | 'parent' => [
|
---|
265 | 'location' => 'path',
|
---|
266 | 'type' => 'string',
|
---|
267 | 'required' => true,
|
---|
268 | ],
|
---|
269 | 'appProfileId' => [
|
---|
270 | 'location' => 'query',
|
---|
271 | 'type' => 'string',
|
---|
272 | ],
|
---|
273 | 'ignoreWarnings' => [
|
---|
274 | 'location' => 'query',
|
---|
275 | 'type' => 'boolean',
|
---|
276 | ],
|
---|
277 | ],
|
---|
278 | ],'delete' => [
|
---|
279 | 'path' => 'v2/{+name}',
|
---|
280 | 'httpMethod' => 'DELETE',
|
---|
281 | 'parameters' => [
|
---|
282 | 'name' => [
|
---|
283 | 'location' => 'path',
|
---|
284 | 'type' => 'string',
|
---|
285 | 'required' => true,
|
---|
286 | ],
|
---|
287 | 'ignoreWarnings' => [
|
---|
288 | 'location' => 'query',
|
---|
289 | 'type' => 'boolean',
|
---|
290 | ],
|
---|
291 | ],
|
---|
292 | ],'get' => [
|
---|
293 | 'path' => 'v2/{+name}',
|
---|
294 | 'httpMethod' => 'GET',
|
---|
295 | 'parameters' => [
|
---|
296 | 'name' => [
|
---|
297 | 'location' => 'path',
|
---|
298 | 'type' => 'string',
|
---|
299 | 'required' => true,
|
---|
300 | ],
|
---|
301 | ],
|
---|
302 | ],'list' => [
|
---|
303 | 'path' => 'v2/{+parent}/appProfiles',
|
---|
304 | 'httpMethod' => 'GET',
|
---|
305 | 'parameters' => [
|
---|
306 | 'parent' => [
|
---|
307 | 'location' => 'path',
|
---|
308 | 'type' => 'string',
|
---|
309 | 'required' => true,
|
---|
310 | ],
|
---|
311 | 'pageSize' => [
|
---|
312 | 'location' => 'query',
|
---|
313 | 'type' => 'integer',
|
---|
314 | ],
|
---|
315 | 'pageToken' => [
|
---|
316 | 'location' => 'query',
|
---|
317 | 'type' => 'string',
|
---|
318 | ],
|
---|
319 | ],
|
---|
320 | ],'patch' => [
|
---|
321 | 'path' => 'v2/{+name}',
|
---|
322 | 'httpMethod' => 'PATCH',
|
---|
323 | 'parameters' => [
|
---|
324 | 'name' => [
|
---|
325 | 'location' => 'path',
|
---|
326 | 'type' => 'string',
|
---|
327 | 'required' => true,
|
---|
328 | ],
|
---|
329 | 'ignoreWarnings' => [
|
---|
330 | 'location' => 'query',
|
---|
331 | 'type' => 'boolean',
|
---|
332 | ],
|
---|
333 | 'updateMask' => [
|
---|
334 | 'location' => 'query',
|
---|
335 | 'type' => 'string',
|
---|
336 | ],
|
---|
337 | ],
|
---|
338 | ],
|
---|
339 | ]
|
---|
340 | ]
|
---|
341 | );
|
---|
342 | $this->projects_instances_clusters = new BigtableAdmin\Resource\ProjectsInstancesClusters(
|
---|
343 | $this,
|
---|
344 | $this->serviceName,
|
---|
345 | 'clusters',
|
---|
346 | [
|
---|
347 | 'methods' => [
|
---|
348 | 'create' => [
|
---|
349 | 'path' => 'v2/{+parent}/clusters',
|
---|
350 | 'httpMethod' => 'POST',
|
---|
351 | 'parameters' => [
|
---|
352 | 'parent' => [
|
---|
353 | 'location' => 'path',
|
---|
354 | 'type' => 'string',
|
---|
355 | 'required' => true,
|
---|
356 | ],
|
---|
357 | 'clusterId' => [
|
---|
358 | 'location' => 'query',
|
---|
359 | 'type' => 'string',
|
---|
360 | ],
|
---|
361 | ],
|
---|
362 | ],'delete' => [
|
---|
363 | 'path' => 'v2/{+name}',
|
---|
364 | 'httpMethod' => 'DELETE',
|
---|
365 | 'parameters' => [
|
---|
366 | 'name' => [
|
---|
367 | 'location' => 'path',
|
---|
368 | 'type' => 'string',
|
---|
369 | 'required' => true,
|
---|
370 | ],
|
---|
371 | ],
|
---|
372 | ],'get' => [
|
---|
373 | 'path' => 'v2/{+name}',
|
---|
374 | 'httpMethod' => 'GET',
|
---|
375 | 'parameters' => [
|
---|
376 | 'name' => [
|
---|
377 | 'location' => 'path',
|
---|
378 | 'type' => 'string',
|
---|
379 | 'required' => true,
|
---|
380 | ],
|
---|
381 | ],
|
---|
382 | ],'list' => [
|
---|
383 | 'path' => 'v2/{+parent}/clusters',
|
---|
384 | 'httpMethod' => 'GET',
|
---|
385 | 'parameters' => [
|
---|
386 | 'parent' => [
|
---|
387 | 'location' => 'path',
|
---|
388 | 'type' => 'string',
|
---|
389 | 'required' => true,
|
---|
390 | ],
|
---|
391 | 'pageToken' => [
|
---|
392 | 'location' => 'query',
|
---|
393 | 'type' => 'string',
|
---|
394 | ],
|
---|
395 | ],
|
---|
396 | ],'partialUpdateCluster' => [
|
---|
397 | 'path' => 'v2/{+name}',
|
---|
398 | 'httpMethod' => 'PATCH',
|
---|
399 | 'parameters' => [
|
---|
400 | 'name' => [
|
---|
401 | 'location' => 'path',
|
---|
402 | 'type' => 'string',
|
---|
403 | 'required' => true,
|
---|
404 | ],
|
---|
405 | 'updateMask' => [
|
---|
406 | 'location' => 'query',
|
---|
407 | 'type' => 'string',
|
---|
408 | ],
|
---|
409 | ],
|
---|
410 | ],'update' => [
|
---|
411 | 'path' => 'v2/{+name}',
|
---|
412 | 'httpMethod' => 'PUT',
|
---|
413 | 'parameters' => [
|
---|
414 | 'name' => [
|
---|
415 | 'location' => 'path',
|
---|
416 | 'type' => 'string',
|
---|
417 | 'required' => true,
|
---|
418 | ],
|
---|
419 | ],
|
---|
420 | ],
|
---|
421 | ]
|
---|
422 | ]
|
---|
423 | );
|
---|
424 | $this->projects_instances_clusters_backups = new BigtableAdmin\Resource\ProjectsInstancesClustersBackups(
|
---|
425 | $this,
|
---|
426 | $this->serviceName,
|
---|
427 | 'backups',
|
---|
428 | [
|
---|
429 | 'methods' => [
|
---|
430 | 'copy' => [
|
---|
431 | 'path' => 'v2/{+parent}/backups:copy',
|
---|
432 | 'httpMethod' => 'POST',
|
---|
433 | 'parameters' => [
|
---|
434 | 'parent' => [
|
---|
435 | 'location' => 'path',
|
---|
436 | 'type' => 'string',
|
---|
437 | 'required' => true,
|
---|
438 | ],
|
---|
439 | ],
|
---|
440 | ],'create' => [
|
---|
441 | 'path' => 'v2/{+parent}/backups',
|
---|
442 | 'httpMethod' => 'POST',
|
---|
443 | 'parameters' => [
|
---|
444 | 'parent' => [
|
---|
445 | 'location' => 'path',
|
---|
446 | 'type' => 'string',
|
---|
447 | 'required' => true,
|
---|
448 | ],
|
---|
449 | 'backupId' => [
|
---|
450 | 'location' => 'query',
|
---|
451 | 'type' => 'string',
|
---|
452 | ],
|
---|
453 | ],
|
---|
454 | ],'delete' => [
|
---|
455 | 'path' => 'v2/{+name}',
|
---|
456 | 'httpMethod' => 'DELETE',
|
---|
457 | 'parameters' => [
|
---|
458 | 'name' => [
|
---|
459 | 'location' => 'path',
|
---|
460 | 'type' => 'string',
|
---|
461 | 'required' => true,
|
---|
462 | ],
|
---|
463 | ],
|
---|
464 | ],'get' => [
|
---|
465 | 'path' => 'v2/{+name}',
|
---|
466 | 'httpMethod' => 'GET',
|
---|
467 | 'parameters' => [
|
---|
468 | 'name' => [
|
---|
469 | 'location' => 'path',
|
---|
470 | 'type' => 'string',
|
---|
471 | 'required' => true,
|
---|
472 | ],
|
---|
473 | ],
|
---|
474 | ],'getIamPolicy' => [
|
---|
475 | 'path' => 'v2/{+resource}:getIamPolicy',
|
---|
476 | 'httpMethod' => 'POST',
|
---|
477 | 'parameters' => [
|
---|
478 | 'resource' => [
|
---|
479 | 'location' => 'path',
|
---|
480 | 'type' => 'string',
|
---|
481 | 'required' => true,
|
---|
482 | ],
|
---|
483 | ],
|
---|
484 | ],'list' => [
|
---|
485 | 'path' => 'v2/{+parent}/backups',
|
---|
486 | 'httpMethod' => 'GET',
|
---|
487 | 'parameters' => [
|
---|
488 | 'parent' => [
|
---|
489 | 'location' => 'path',
|
---|
490 | 'type' => 'string',
|
---|
491 | 'required' => true,
|
---|
492 | ],
|
---|
493 | 'filter' => [
|
---|
494 | 'location' => 'query',
|
---|
495 | 'type' => 'string',
|
---|
496 | ],
|
---|
497 | 'orderBy' => [
|
---|
498 | 'location' => 'query',
|
---|
499 | 'type' => 'string',
|
---|
500 | ],
|
---|
501 | 'pageSize' => [
|
---|
502 | 'location' => 'query',
|
---|
503 | 'type' => 'integer',
|
---|
504 | ],
|
---|
505 | 'pageToken' => [
|
---|
506 | 'location' => 'query',
|
---|
507 | 'type' => 'string',
|
---|
508 | ],
|
---|
509 | ],
|
---|
510 | ],'patch' => [
|
---|
511 | 'path' => 'v2/{+name}',
|
---|
512 | 'httpMethod' => 'PATCH',
|
---|
513 | 'parameters' => [
|
---|
514 | 'name' => [
|
---|
515 | 'location' => 'path',
|
---|
516 | 'type' => 'string',
|
---|
517 | 'required' => true,
|
---|
518 | ],
|
---|
519 | 'updateMask' => [
|
---|
520 | 'location' => 'query',
|
---|
521 | 'type' => 'string',
|
---|
522 | ],
|
---|
523 | ],
|
---|
524 | ],'setIamPolicy' => [
|
---|
525 | 'path' => 'v2/{+resource}:setIamPolicy',
|
---|
526 | 'httpMethod' => 'POST',
|
---|
527 | 'parameters' => [
|
---|
528 | 'resource' => [
|
---|
529 | 'location' => 'path',
|
---|
530 | 'type' => 'string',
|
---|
531 | 'required' => true,
|
---|
532 | ],
|
---|
533 | ],
|
---|
534 | ],'testIamPermissions' => [
|
---|
535 | 'path' => 'v2/{+resource}:testIamPermissions',
|
---|
536 | 'httpMethod' => 'POST',
|
---|
537 | 'parameters' => [
|
---|
538 | 'resource' => [
|
---|
539 | 'location' => 'path',
|
---|
540 | 'type' => 'string',
|
---|
541 | 'required' => true,
|
---|
542 | ],
|
---|
543 | ],
|
---|
544 | ],
|
---|
545 | ]
|
---|
546 | ]
|
---|
547 | );
|
---|
548 | $this->projects_instances_clusters_hotTablets = new BigtableAdmin\Resource\ProjectsInstancesClustersHotTablets(
|
---|
549 | $this,
|
---|
550 | $this->serviceName,
|
---|
551 | 'hotTablets',
|
---|
552 | [
|
---|
553 | 'methods' => [
|
---|
554 | 'list' => [
|
---|
555 | 'path' => 'v2/{+parent}/hotTablets',
|
---|
556 | 'httpMethod' => 'GET',
|
---|
557 | 'parameters' => [
|
---|
558 | 'parent' => [
|
---|
559 | 'location' => 'path',
|
---|
560 | 'type' => 'string',
|
---|
561 | 'required' => true,
|
---|
562 | ],
|
---|
563 | 'endTime' => [
|
---|
564 | 'location' => 'query',
|
---|
565 | 'type' => 'string',
|
---|
566 | ],
|
---|
567 | 'pageSize' => [
|
---|
568 | 'location' => 'query',
|
---|
569 | 'type' => 'integer',
|
---|
570 | ],
|
---|
571 | 'pageToken' => [
|
---|
572 | 'location' => 'query',
|
---|
573 | 'type' => 'string',
|
---|
574 | ],
|
---|
575 | 'startTime' => [
|
---|
576 | 'location' => 'query',
|
---|
577 | 'type' => 'string',
|
---|
578 | ],
|
---|
579 | ],
|
---|
580 | ],
|
---|
581 | ]
|
---|
582 | ]
|
---|
583 | );
|
---|
584 | $this->projects_instances_tables = new BigtableAdmin\Resource\ProjectsInstancesTables(
|
---|
585 | $this,
|
---|
586 | $this->serviceName,
|
---|
587 | 'tables',
|
---|
588 | [
|
---|
589 | 'methods' => [
|
---|
590 | 'checkConsistency' => [
|
---|
591 | 'path' => 'v2/{+name}:checkConsistency',
|
---|
592 | 'httpMethod' => 'POST',
|
---|
593 | 'parameters' => [
|
---|
594 | 'name' => [
|
---|
595 | 'location' => 'path',
|
---|
596 | 'type' => 'string',
|
---|
597 | 'required' => true,
|
---|
598 | ],
|
---|
599 | ],
|
---|
600 | ],'create' => [
|
---|
601 | 'path' => 'v2/{+parent}/tables',
|
---|
602 | 'httpMethod' => 'POST',
|
---|
603 | 'parameters' => [
|
---|
604 | 'parent' => [
|
---|
605 | 'location' => 'path',
|
---|
606 | 'type' => 'string',
|
---|
607 | 'required' => true,
|
---|
608 | ],
|
---|
609 | ],
|
---|
610 | ],'delete' => [
|
---|
611 | 'path' => 'v2/{+name}',
|
---|
612 | 'httpMethod' => 'DELETE',
|
---|
613 | 'parameters' => [
|
---|
614 | 'name' => [
|
---|
615 | 'location' => 'path',
|
---|
616 | 'type' => 'string',
|
---|
617 | 'required' => true,
|
---|
618 | ],
|
---|
619 | ],
|
---|
620 | ],'dropRowRange' => [
|
---|
621 | 'path' => 'v2/{+name}:dropRowRange',
|
---|
622 | 'httpMethod' => 'POST',
|
---|
623 | 'parameters' => [
|
---|
624 | 'name' => [
|
---|
625 | 'location' => 'path',
|
---|
626 | 'type' => 'string',
|
---|
627 | 'required' => true,
|
---|
628 | ],
|
---|
629 | ],
|
---|
630 | ],'generateConsistencyToken' => [
|
---|
631 | 'path' => 'v2/{+name}:generateConsistencyToken',
|
---|
632 | 'httpMethod' => 'POST',
|
---|
633 | 'parameters' => [
|
---|
634 | 'name' => [
|
---|
635 | 'location' => 'path',
|
---|
636 | 'type' => 'string',
|
---|
637 | 'required' => true,
|
---|
638 | ],
|
---|
639 | ],
|
---|
640 | ],'get' => [
|
---|
641 | 'path' => 'v2/{+name}',
|
---|
642 | 'httpMethod' => 'GET',
|
---|
643 | 'parameters' => [
|
---|
644 | 'name' => [
|
---|
645 | 'location' => 'path',
|
---|
646 | 'type' => 'string',
|
---|
647 | 'required' => true,
|
---|
648 | ],
|
---|
649 | 'view' => [
|
---|
650 | 'location' => 'query',
|
---|
651 | 'type' => 'string',
|
---|
652 | ],
|
---|
653 | ],
|
---|
654 | ],'getIamPolicy' => [
|
---|
655 | 'path' => 'v2/{+resource}:getIamPolicy',
|
---|
656 | 'httpMethod' => 'POST',
|
---|
657 | 'parameters' => [
|
---|
658 | 'resource' => [
|
---|
659 | 'location' => 'path',
|
---|
660 | 'type' => 'string',
|
---|
661 | 'required' => true,
|
---|
662 | ],
|
---|
663 | ],
|
---|
664 | ],'list' => [
|
---|
665 | 'path' => 'v2/{+parent}/tables',
|
---|
666 | 'httpMethod' => 'GET',
|
---|
667 | 'parameters' => [
|
---|
668 | 'parent' => [
|
---|
669 | 'location' => 'path',
|
---|
670 | 'type' => 'string',
|
---|
671 | 'required' => true,
|
---|
672 | ],
|
---|
673 | 'pageSize' => [
|
---|
674 | 'location' => 'query',
|
---|
675 | 'type' => 'integer',
|
---|
676 | ],
|
---|
677 | 'pageToken' => [
|
---|
678 | 'location' => 'query',
|
---|
679 | 'type' => 'string',
|
---|
680 | ],
|
---|
681 | 'view' => [
|
---|
682 | 'location' => 'query',
|
---|
683 | 'type' => 'string',
|
---|
684 | ],
|
---|
685 | ],
|
---|
686 | ],'modifyColumnFamilies' => [
|
---|
687 | 'path' => 'v2/{+name}:modifyColumnFamilies',
|
---|
688 | 'httpMethod' => 'POST',
|
---|
689 | 'parameters' => [
|
---|
690 | 'name' => [
|
---|
691 | 'location' => 'path',
|
---|
692 | 'type' => 'string',
|
---|
693 | 'required' => true,
|
---|
694 | ],
|
---|
695 | ],
|
---|
696 | ],'patch' => [
|
---|
697 | 'path' => 'v2/{+name}',
|
---|
698 | 'httpMethod' => 'PATCH',
|
---|
699 | 'parameters' => [
|
---|
700 | 'name' => [
|
---|
701 | 'location' => 'path',
|
---|
702 | 'type' => 'string',
|
---|
703 | 'required' => true,
|
---|
704 | ],
|
---|
705 | 'updateMask' => [
|
---|
706 | 'location' => 'query',
|
---|
707 | 'type' => 'string',
|
---|
708 | ],
|
---|
709 | ],
|
---|
710 | ],'restore' => [
|
---|
711 | 'path' => 'v2/{+parent}/tables:restore',
|
---|
712 | 'httpMethod' => 'POST',
|
---|
713 | 'parameters' => [
|
---|
714 | 'parent' => [
|
---|
715 | 'location' => 'path',
|
---|
716 | 'type' => 'string',
|
---|
717 | 'required' => true,
|
---|
718 | ],
|
---|
719 | ],
|
---|
720 | ],'setIamPolicy' => [
|
---|
721 | 'path' => 'v2/{+resource}:setIamPolicy',
|
---|
722 | 'httpMethod' => 'POST',
|
---|
723 | 'parameters' => [
|
---|
724 | 'resource' => [
|
---|
725 | 'location' => 'path',
|
---|
726 | 'type' => 'string',
|
---|
727 | 'required' => true,
|
---|
728 | ],
|
---|
729 | ],
|
---|
730 | ],'testIamPermissions' => [
|
---|
731 | 'path' => 'v2/{+resource}:testIamPermissions',
|
---|
732 | 'httpMethod' => 'POST',
|
---|
733 | 'parameters' => [
|
---|
734 | 'resource' => [
|
---|
735 | 'location' => 'path',
|
---|
736 | 'type' => 'string',
|
---|
737 | 'required' => true,
|
---|
738 | ],
|
---|
739 | ],
|
---|
740 | ],'undelete' => [
|
---|
741 | 'path' => 'v2/{+name}:undelete',
|
---|
742 | 'httpMethod' => 'POST',
|
---|
743 | 'parameters' => [
|
---|
744 | 'name' => [
|
---|
745 | 'location' => 'path',
|
---|
746 | 'type' => 'string',
|
---|
747 | 'required' => true,
|
---|
748 | ],
|
---|
749 | ],
|
---|
750 | ],
|
---|
751 | ]
|
---|
752 | ]
|
---|
753 | );
|
---|
754 | $this->projects_instances_tables_authorizedViews = new BigtableAdmin\Resource\ProjectsInstancesTablesAuthorizedViews(
|
---|
755 | $this,
|
---|
756 | $this->serviceName,
|
---|
757 | 'authorizedViews',
|
---|
758 | [
|
---|
759 | 'methods' => [
|
---|
760 | 'create' => [
|
---|
761 | 'path' => 'v2/{+parent}/authorizedViews',
|
---|
762 | 'httpMethod' => 'POST',
|
---|
763 | 'parameters' => [
|
---|
764 | 'parent' => [
|
---|
765 | 'location' => 'path',
|
---|
766 | 'type' => 'string',
|
---|
767 | 'required' => true,
|
---|
768 | ],
|
---|
769 | 'authorizedViewId' => [
|
---|
770 | 'location' => 'query',
|
---|
771 | 'type' => 'string',
|
---|
772 | ],
|
---|
773 | ],
|
---|
774 | ],'delete' => [
|
---|
775 | 'path' => 'v2/{+name}',
|
---|
776 | 'httpMethod' => 'DELETE',
|
---|
777 | 'parameters' => [
|
---|
778 | 'name' => [
|
---|
779 | 'location' => 'path',
|
---|
780 | 'type' => 'string',
|
---|
781 | 'required' => true,
|
---|
782 | ],
|
---|
783 | 'etag' => [
|
---|
784 | 'location' => 'query',
|
---|
785 | 'type' => 'string',
|
---|
786 | ],
|
---|
787 | ],
|
---|
788 | ],'get' => [
|
---|
789 | 'path' => 'v2/{+name}',
|
---|
790 | 'httpMethod' => 'GET',
|
---|
791 | 'parameters' => [
|
---|
792 | 'name' => [
|
---|
793 | 'location' => 'path',
|
---|
794 | 'type' => 'string',
|
---|
795 | 'required' => true,
|
---|
796 | ],
|
---|
797 | 'view' => [
|
---|
798 | 'location' => 'query',
|
---|
799 | 'type' => 'string',
|
---|
800 | ],
|
---|
801 | ],
|
---|
802 | ],'getIamPolicy' => [
|
---|
803 | 'path' => 'v2/{+resource}:getIamPolicy',
|
---|
804 | 'httpMethod' => 'POST',
|
---|
805 | 'parameters' => [
|
---|
806 | 'resource' => [
|
---|
807 | 'location' => 'path',
|
---|
808 | 'type' => 'string',
|
---|
809 | 'required' => true,
|
---|
810 | ],
|
---|
811 | ],
|
---|
812 | ],'list' => [
|
---|
813 | 'path' => 'v2/{+parent}/authorizedViews',
|
---|
814 | 'httpMethod' => 'GET',
|
---|
815 | 'parameters' => [
|
---|
816 | 'parent' => [
|
---|
817 | 'location' => 'path',
|
---|
818 | 'type' => 'string',
|
---|
819 | 'required' => true,
|
---|
820 | ],
|
---|
821 | 'pageSize' => [
|
---|
822 | 'location' => 'query',
|
---|
823 | 'type' => 'integer',
|
---|
824 | ],
|
---|
825 | 'pageToken' => [
|
---|
826 | 'location' => 'query',
|
---|
827 | 'type' => 'string',
|
---|
828 | ],
|
---|
829 | 'view' => [
|
---|
830 | 'location' => 'query',
|
---|
831 | 'type' => 'string',
|
---|
832 | ],
|
---|
833 | ],
|
---|
834 | ],'patch' => [
|
---|
835 | 'path' => 'v2/{+name}',
|
---|
836 | 'httpMethod' => 'PATCH',
|
---|
837 | 'parameters' => [
|
---|
838 | 'name' => [
|
---|
839 | 'location' => 'path',
|
---|
840 | 'type' => 'string',
|
---|
841 | 'required' => true,
|
---|
842 | ],
|
---|
843 | 'ignoreWarnings' => [
|
---|
844 | 'location' => 'query',
|
---|
845 | 'type' => 'boolean',
|
---|
846 | ],
|
---|
847 | 'updateMask' => [
|
---|
848 | 'location' => 'query',
|
---|
849 | 'type' => 'string',
|
---|
850 | ],
|
---|
851 | ],
|
---|
852 | ],'setIamPolicy' => [
|
---|
853 | 'path' => 'v2/{+resource}:setIamPolicy',
|
---|
854 | 'httpMethod' => 'POST',
|
---|
855 | 'parameters' => [
|
---|
856 | 'resource' => [
|
---|
857 | 'location' => 'path',
|
---|
858 | 'type' => 'string',
|
---|
859 | 'required' => true,
|
---|
860 | ],
|
---|
861 | ],
|
---|
862 | ],'testIamPermissions' => [
|
---|
863 | 'path' => 'v2/{+resource}:testIamPermissions',
|
---|
864 | 'httpMethod' => 'POST',
|
---|
865 | 'parameters' => [
|
---|
866 | 'resource' => [
|
---|
867 | 'location' => 'path',
|
---|
868 | 'type' => 'string',
|
---|
869 | 'required' => true,
|
---|
870 | ],
|
---|
871 | ],
|
---|
872 | ],
|
---|
873 | ]
|
---|
874 | ]
|
---|
875 | );
|
---|
876 | $this->projects_locations = new BigtableAdmin\Resource\ProjectsLocations(
|
---|
877 | $this,
|
---|
878 | $this->serviceName,
|
---|
879 | 'locations',
|
---|
880 | [
|
---|
881 | 'methods' => [
|
---|
882 | 'list' => [
|
---|
883 | 'path' => 'v2/{+name}/locations',
|
---|
884 | 'httpMethod' => 'GET',
|
---|
885 | 'parameters' => [
|
---|
886 | 'name' => [
|
---|
887 | 'location' => 'path',
|
---|
888 | 'type' => 'string',
|
---|
889 | 'required' => true,
|
---|
890 | ],
|
---|
891 | 'filter' => [
|
---|
892 | 'location' => 'query',
|
---|
893 | 'type' => 'string',
|
---|
894 | ],
|
---|
895 | 'pageSize' => [
|
---|
896 | 'location' => 'query',
|
---|
897 | 'type' => 'integer',
|
---|
898 | ],
|
---|
899 | 'pageToken' => [
|
---|
900 | 'location' => 'query',
|
---|
901 | 'type' => 'string',
|
---|
902 | ],
|
---|
903 | ],
|
---|
904 | ],
|
---|
905 | ]
|
---|
906 | ]
|
---|
907 | );
|
---|
908 | }
|
---|
909 | }
|
---|
910 |
|
---|
911 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
912 | class_alias(BigtableAdmin::class, 'Google_Service_BigtableAdmin');
|
---|