[e3d4e0a] | 1 | <?php
|
---|
| 2 | /*
|
---|
| 3 | * Copyright 2014 Google Inc.
|
---|
| 4 | *
|
---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
| 6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
| 7 | * the License at
|
---|
| 8 | *
|
---|
| 9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
| 10 | *
|
---|
| 11 | * Unless required by applicable law or agreed to in writing, software
|
---|
| 12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
| 13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
| 14 | * License for the specific language governing permissions and limitations under
|
---|
| 15 | * the License.
|
---|
| 16 | */
|
---|
| 17 |
|
---|
| 18 | namespace Google\Service;
|
---|
| 19 |
|
---|
| 20 | use Google\Client;
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | * Service definition for DataprocMetastore (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | * The Dataproc Metastore API is used to manage the lifecycle and configuration
|
---|
| 27 | * of metastore services.</p>
|
---|
| 28 | *
|
---|
| 29 | * <p>
|
---|
| 30 | * For more information about this service, see the API
|
---|
| 31 | * <a href="https://cloud.google.com/dataproc-metastore/docs" target="_blank">Documentation</a>
|
---|
| 32 | * </p>
|
---|
| 33 | *
|
---|
| 34 | * @author Google, Inc.
|
---|
| 35 | */
|
---|
| 36 | class DataprocMetastore extends \Google\Service
|
---|
| 37 | {
|
---|
| 38 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
| 39 | const CLOUD_PLATFORM =
|
---|
| 40 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
| 41 |
|
---|
| 42 | public $projects_locations;
|
---|
| 43 | public $projects_locations_federations;
|
---|
| 44 | public $projects_locations_operations;
|
---|
| 45 | public $projects_locations_services;
|
---|
| 46 | public $projects_locations_services_backups;
|
---|
| 47 | public $projects_locations_services_databases;
|
---|
| 48 | public $projects_locations_services_databases_tables;
|
---|
| 49 | public $projects_locations_services_metadataImports;
|
---|
| 50 | public $projects_locations_services_migrationExecutions;
|
---|
| 51 | public $rootUrlTemplate;
|
---|
| 52 |
|
---|
| 53 | /**
|
---|
| 54 | * Constructs the internal representation of the DataprocMetastore service.
|
---|
| 55 | *
|
---|
| 56 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 57 | * config array to pass to a new Client instance.
|
---|
| 58 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 59 | */
|
---|
| 60 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 61 | {
|
---|
| 62 | parent::__construct($clientOrConfig);
|
---|
| 63 | $this->rootUrl = $rootUrl ?: 'https://metastore.googleapis.com/';
|
---|
| 64 | $this->rootUrlTemplate = $rootUrl ?: 'https://metastore.UNIVERSE_DOMAIN/';
|
---|
| 65 | $this->servicePath = '';
|
---|
| 66 | $this->batchPath = 'batch';
|
---|
| 67 | $this->version = 'v1';
|
---|
| 68 | $this->serviceName = 'metastore';
|
---|
| 69 |
|
---|
| 70 | $this->projects_locations = new DataprocMetastore\Resource\ProjectsLocations(
|
---|
| 71 | $this,
|
---|
| 72 | $this->serviceName,
|
---|
| 73 | 'locations',
|
---|
| 74 | [
|
---|
| 75 | 'methods' => [
|
---|
| 76 | 'get' => [
|
---|
| 77 | 'path' => 'v1/{+name}',
|
---|
| 78 | 'httpMethod' => 'GET',
|
---|
| 79 | 'parameters' => [
|
---|
| 80 | 'name' => [
|
---|
| 81 | 'location' => 'path',
|
---|
| 82 | 'type' => 'string',
|
---|
| 83 | 'required' => true,
|
---|
| 84 | ],
|
---|
| 85 | ],
|
---|
| 86 | ],'list' => [
|
---|
| 87 | 'path' => 'v1/{+name}/locations',
|
---|
| 88 | 'httpMethod' => 'GET',
|
---|
| 89 | 'parameters' => [
|
---|
| 90 | 'name' => [
|
---|
| 91 | 'location' => 'path',
|
---|
| 92 | 'type' => 'string',
|
---|
| 93 | 'required' => true,
|
---|
| 94 | ],
|
---|
| 95 | 'filter' => [
|
---|
| 96 | 'location' => 'query',
|
---|
| 97 | 'type' => 'string',
|
---|
| 98 | ],
|
---|
| 99 | 'pageSize' => [
|
---|
| 100 | 'location' => 'query',
|
---|
| 101 | 'type' => 'integer',
|
---|
| 102 | ],
|
---|
| 103 | 'pageToken' => [
|
---|
| 104 | 'location' => 'query',
|
---|
| 105 | 'type' => 'string',
|
---|
| 106 | ],
|
---|
| 107 | ],
|
---|
| 108 | ],
|
---|
| 109 | ]
|
---|
| 110 | ]
|
---|
| 111 | );
|
---|
| 112 | $this->projects_locations_federations = new DataprocMetastore\Resource\ProjectsLocationsFederations(
|
---|
| 113 | $this,
|
---|
| 114 | $this->serviceName,
|
---|
| 115 | 'federations',
|
---|
| 116 | [
|
---|
| 117 | 'methods' => [
|
---|
| 118 | 'create' => [
|
---|
| 119 | 'path' => 'v1/{+parent}/federations',
|
---|
| 120 | 'httpMethod' => 'POST',
|
---|
| 121 | 'parameters' => [
|
---|
| 122 | 'parent' => [
|
---|
| 123 | 'location' => 'path',
|
---|
| 124 | 'type' => 'string',
|
---|
| 125 | 'required' => true,
|
---|
| 126 | ],
|
---|
| 127 | 'federationId' => [
|
---|
| 128 | 'location' => 'query',
|
---|
| 129 | 'type' => 'string',
|
---|
| 130 | ],
|
---|
| 131 | 'requestId' => [
|
---|
| 132 | 'location' => 'query',
|
---|
| 133 | 'type' => 'string',
|
---|
| 134 | ],
|
---|
| 135 | ],
|
---|
| 136 | ],'delete' => [
|
---|
| 137 | 'path' => 'v1/{+name}',
|
---|
| 138 | 'httpMethod' => 'DELETE',
|
---|
| 139 | 'parameters' => [
|
---|
| 140 | 'name' => [
|
---|
| 141 | 'location' => 'path',
|
---|
| 142 | 'type' => 'string',
|
---|
| 143 | 'required' => true,
|
---|
| 144 | ],
|
---|
| 145 | 'requestId' => [
|
---|
| 146 | 'location' => 'query',
|
---|
| 147 | 'type' => 'string',
|
---|
| 148 | ],
|
---|
| 149 | ],
|
---|
| 150 | ],'get' => [
|
---|
| 151 | 'path' => 'v1/{+name}',
|
---|
| 152 | 'httpMethod' => 'GET',
|
---|
| 153 | 'parameters' => [
|
---|
| 154 | 'name' => [
|
---|
| 155 | 'location' => 'path',
|
---|
| 156 | 'type' => 'string',
|
---|
| 157 | 'required' => true,
|
---|
| 158 | ],
|
---|
| 159 | ],
|
---|
| 160 | ],'getIamPolicy' => [
|
---|
| 161 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 162 | 'httpMethod' => 'GET',
|
---|
| 163 | 'parameters' => [
|
---|
| 164 | 'resource' => [
|
---|
| 165 | 'location' => 'path',
|
---|
| 166 | 'type' => 'string',
|
---|
| 167 | 'required' => true,
|
---|
| 168 | ],
|
---|
| 169 | 'options.requestedPolicyVersion' => [
|
---|
| 170 | 'location' => 'query',
|
---|
| 171 | 'type' => 'integer',
|
---|
| 172 | ],
|
---|
| 173 | ],
|
---|
| 174 | ],'list' => [
|
---|
| 175 | 'path' => 'v1/{+parent}/federations',
|
---|
| 176 | 'httpMethod' => 'GET',
|
---|
| 177 | 'parameters' => [
|
---|
| 178 | 'parent' => [
|
---|
| 179 | 'location' => 'path',
|
---|
| 180 | 'type' => 'string',
|
---|
| 181 | 'required' => true,
|
---|
| 182 | ],
|
---|
| 183 | 'filter' => [
|
---|
| 184 | 'location' => 'query',
|
---|
| 185 | 'type' => 'string',
|
---|
| 186 | ],
|
---|
| 187 | 'orderBy' => [
|
---|
| 188 | 'location' => 'query',
|
---|
| 189 | 'type' => 'string',
|
---|
| 190 | ],
|
---|
| 191 | 'pageSize' => [
|
---|
| 192 | 'location' => 'query',
|
---|
| 193 | 'type' => 'integer',
|
---|
| 194 | ],
|
---|
| 195 | 'pageToken' => [
|
---|
| 196 | 'location' => 'query',
|
---|
| 197 | 'type' => 'string',
|
---|
| 198 | ],
|
---|
| 199 | ],
|
---|
| 200 | ],'patch' => [
|
---|
| 201 | 'path' => 'v1/{+name}',
|
---|
| 202 | 'httpMethod' => 'PATCH',
|
---|
| 203 | 'parameters' => [
|
---|
| 204 | 'name' => [
|
---|
| 205 | 'location' => 'path',
|
---|
| 206 | 'type' => 'string',
|
---|
| 207 | 'required' => true,
|
---|
| 208 | ],
|
---|
| 209 | 'requestId' => [
|
---|
| 210 | 'location' => 'query',
|
---|
| 211 | 'type' => 'string',
|
---|
| 212 | ],
|
---|
| 213 | 'updateMask' => [
|
---|
| 214 | 'location' => 'query',
|
---|
| 215 | 'type' => 'string',
|
---|
| 216 | ],
|
---|
| 217 | ],
|
---|
| 218 | ],'setIamPolicy' => [
|
---|
| 219 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 220 | 'httpMethod' => 'POST',
|
---|
| 221 | 'parameters' => [
|
---|
| 222 | 'resource' => [
|
---|
| 223 | 'location' => 'path',
|
---|
| 224 | 'type' => 'string',
|
---|
| 225 | 'required' => true,
|
---|
| 226 | ],
|
---|
| 227 | ],
|
---|
| 228 | ],'testIamPermissions' => [
|
---|
| 229 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 230 | 'httpMethod' => 'POST',
|
---|
| 231 | 'parameters' => [
|
---|
| 232 | 'resource' => [
|
---|
| 233 | 'location' => 'path',
|
---|
| 234 | 'type' => 'string',
|
---|
| 235 | 'required' => true,
|
---|
| 236 | ],
|
---|
| 237 | ],
|
---|
| 238 | ],
|
---|
| 239 | ]
|
---|
| 240 | ]
|
---|
| 241 | );
|
---|
| 242 | $this->projects_locations_operations = new DataprocMetastore\Resource\ProjectsLocationsOperations(
|
---|
| 243 | $this,
|
---|
| 244 | $this->serviceName,
|
---|
| 245 | 'operations',
|
---|
| 246 | [
|
---|
| 247 | 'methods' => [
|
---|
| 248 | 'cancel' => [
|
---|
| 249 | 'path' => 'v1/{+name}:cancel',
|
---|
| 250 | 'httpMethod' => 'POST',
|
---|
| 251 | 'parameters' => [
|
---|
| 252 | 'name' => [
|
---|
| 253 | 'location' => 'path',
|
---|
| 254 | 'type' => 'string',
|
---|
| 255 | 'required' => true,
|
---|
| 256 | ],
|
---|
| 257 | ],
|
---|
| 258 | ],'delete' => [
|
---|
| 259 | 'path' => 'v1/{+name}',
|
---|
| 260 | 'httpMethod' => 'DELETE',
|
---|
| 261 | 'parameters' => [
|
---|
| 262 | 'name' => [
|
---|
| 263 | 'location' => 'path',
|
---|
| 264 | 'type' => 'string',
|
---|
| 265 | 'required' => true,
|
---|
| 266 | ],
|
---|
| 267 | ],
|
---|
| 268 | ],'get' => [
|
---|
| 269 | 'path' => 'v1/{+name}',
|
---|
| 270 | 'httpMethod' => 'GET',
|
---|
| 271 | 'parameters' => [
|
---|
| 272 | 'name' => [
|
---|
| 273 | 'location' => 'path',
|
---|
| 274 | 'type' => 'string',
|
---|
| 275 | 'required' => true,
|
---|
| 276 | ],
|
---|
| 277 | ],
|
---|
| 278 | ],'list' => [
|
---|
| 279 | 'path' => 'v1/{+name}/operations',
|
---|
| 280 | 'httpMethod' => 'GET',
|
---|
| 281 | 'parameters' => [
|
---|
| 282 | 'name' => [
|
---|
| 283 | 'location' => 'path',
|
---|
| 284 | 'type' => 'string',
|
---|
| 285 | 'required' => true,
|
---|
| 286 | ],
|
---|
| 287 | 'filter' => [
|
---|
| 288 | 'location' => 'query',
|
---|
| 289 | 'type' => 'string',
|
---|
| 290 | ],
|
---|
| 291 | 'pageSize' => [
|
---|
| 292 | 'location' => 'query',
|
---|
| 293 | 'type' => 'integer',
|
---|
| 294 | ],
|
---|
| 295 | 'pageToken' => [
|
---|
| 296 | 'location' => 'query',
|
---|
| 297 | 'type' => 'string',
|
---|
| 298 | ],
|
---|
| 299 | ],
|
---|
| 300 | ],
|
---|
| 301 | ]
|
---|
| 302 | ]
|
---|
| 303 | );
|
---|
| 304 | $this->projects_locations_services = new DataprocMetastore\Resource\ProjectsLocationsServices(
|
---|
| 305 | $this,
|
---|
| 306 | $this->serviceName,
|
---|
| 307 | 'services',
|
---|
| 308 | [
|
---|
| 309 | 'methods' => [
|
---|
| 310 | 'alterLocation' => [
|
---|
| 311 | 'path' => 'v1/{+service}:alterLocation',
|
---|
| 312 | 'httpMethod' => 'POST',
|
---|
| 313 | 'parameters' => [
|
---|
| 314 | 'service' => [
|
---|
| 315 | 'location' => 'path',
|
---|
| 316 | 'type' => 'string',
|
---|
| 317 | 'required' => true,
|
---|
| 318 | ],
|
---|
| 319 | ],
|
---|
| 320 | ],'alterTableProperties' => [
|
---|
| 321 | 'path' => 'v1/{+service}:alterTableProperties',
|
---|
| 322 | 'httpMethod' => 'POST',
|
---|
| 323 | 'parameters' => [
|
---|
| 324 | 'service' => [
|
---|
| 325 | 'location' => 'path',
|
---|
| 326 | 'type' => 'string',
|
---|
| 327 | 'required' => true,
|
---|
| 328 | ],
|
---|
| 329 | ],
|
---|
| 330 | ],'cancelMigration' => [
|
---|
| 331 | 'path' => 'v1/{+service}:cancelMigration',
|
---|
| 332 | 'httpMethod' => 'POST',
|
---|
| 333 | 'parameters' => [
|
---|
| 334 | 'service' => [
|
---|
| 335 | 'location' => 'path',
|
---|
| 336 | 'type' => 'string',
|
---|
| 337 | 'required' => true,
|
---|
| 338 | ],
|
---|
| 339 | ],
|
---|
| 340 | ],'completeMigration' => [
|
---|
| 341 | 'path' => 'v1/{+service}:completeMigration',
|
---|
| 342 | 'httpMethod' => 'POST',
|
---|
| 343 | 'parameters' => [
|
---|
| 344 | 'service' => [
|
---|
| 345 | 'location' => 'path',
|
---|
| 346 | 'type' => 'string',
|
---|
| 347 | 'required' => true,
|
---|
| 348 | ],
|
---|
| 349 | ],
|
---|
| 350 | ],'create' => [
|
---|
| 351 | 'path' => 'v1/{+parent}/services',
|
---|
| 352 | 'httpMethod' => 'POST',
|
---|
| 353 | 'parameters' => [
|
---|
| 354 | 'parent' => [
|
---|
| 355 | 'location' => 'path',
|
---|
| 356 | 'type' => 'string',
|
---|
| 357 | 'required' => true,
|
---|
| 358 | ],
|
---|
| 359 | 'requestId' => [
|
---|
| 360 | 'location' => 'query',
|
---|
| 361 | 'type' => 'string',
|
---|
| 362 | ],
|
---|
| 363 | 'serviceId' => [
|
---|
| 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 | 'requestId' => [
|
---|
| 378 | 'location' => 'query',
|
---|
| 379 | 'type' => 'string',
|
---|
| 380 | ],
|
---|
| 381 | ],
|
---|
| 382 | ],'exportMetadata' => [
|
---|
| 383 | 'path' => 'v1/{+service}:exportMetadata',
|
---|
| 384 | 'httpMethod' => 'POST',
|
---|
| 385 | 'parameters' => [
|
---|
| 386 | 'service' => [
|
---|
| 387 | 'location' => 'path',
|
---|
| 388 | 'type' => 'string',
|
---|
| 389 | 'required' => true,
|
---|
| 390 | ],
|
---|
| 391 | ],
|
---|
| 392 | ],'get' => [
|
---|
| 393 | 'path' => 'v1/{+name}',
|
---|
| 394 | 'httpMethod' => 'GET',
|
---|
| 395 | 'parameters' => [
|
---|
| 396 | 'name' => [
|
---|
| 397 | 'location' => 'path',
|
---|
| 398 | 'type' => 'string',
|
---|
| 399 | 'required' => true,
|
---|
| 400 | ],
|
---|
| 401 | ],
|
---|
| 402 | ],'getIamPolicy' => [
|
---|
| 403 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 404 | 'httpMethod' => 'GET',
|
---|
| 405 | 'parameters' => [
|
---|
| 406 | 'resource' => [
|
---|
| 407 | 'location' => 'path',
|
---|
| 408 | 'type' => 'string',
|
---|
| 409 | 'required' => true,
|
---|
| 410 | ],
|
---|
| 411 | 'options.requestedPolicyVersion' => [
|
---|
| 412 | 'location' => 'query',
|
---|
| 413 | 'type' => 'integer',
|
---|
| 414 | ],
|
---|
| 415 | ],
|
---|
| 416 | ],'list' => [
|
---|
| 417 | 'path' => 'v1/{+parent}/services',
|
---|
| 418 | 'httpMethod' => 'GET',
|
---|
| 419 | 'parameters' => [
|
---|
| 420 | 'parent' => [
|
---|
| 421 | 'location' => 'path',
|
---|
| 422 | 'type' => 'string',
|
---|
| 423 | 'required' => true,
|
---|
| 424 | ],
|
---|
| 425 | 'filter' => [
|
---|
| 426 | 'location' => 'query',
|
---|
| 427 | 'type' => 'string',
|
---|
| 428 | ],
|
---|
| 429 | 'orderBy' => [
|
---|
| 430 | 'location' => 'query',
|
---|
| 431 | 'type' => 'string',
|
---|
| 432 | ],
|
---|
| 433 | 'pageSize' => [
|
---|
| 434 | 'location' => 'query',
|
---|
| 435 | 'type' => 'integer',
|
---|
| 436 | ],
|
---|
| 437 | 'pageToken' => [
|
---|
| 438 | 'location' => 'query',
|
---|
| 439 | 'type' => 'string',
|
---|
| 440 | ],
|
---|
| 441 | ],
|
---|
| 442 | ],'moveTableToDatabase' => [
|
---|
| 443 | 'path' => 'v1/{+service}:moveTableToDatabase',
|
---|
| 444 | 'httpMethod' => 'POST',
|
---|
| 445 | 'parameters' => [
|
---|
| 446 | 'service' => [
|
---|
| 447 | 'location' => 'path',
|
---|
| 448 | 'type' => 'string',
|
---|
| 449 | 'required' => true,
|
---|
| 450 | ],
|
---|
| 451 | ],
|
---|
| 452 | ],'patch' => [
|
---|
| 453 | 'path' => 'v1/{+name}',
|
---|
| 454 | 'httpMethod' => 'PATCH',
|
---|
| 455 | 'parameters' => [
|
---|
| 456 | 'name' => [
|
---|
| 457 | 'location' => 'path',
|
---|
| 458 | 'type' => 'string',
|
---|
| 459 | 'required' => true,
|
---|
| 460 | ],
|
---|
| 461 | 'requestId' => [
|
---|
| 462 | 'location' => 'query',
|
---|
| 463 | 'type' => 'string',
|
---|
| 464 | ],
|
---|
| 465 | 'updateMask' => [
|
---|
| 466 | 'location' => 'query',
|
---|
| 467 | 'type' => 'string',
|
---|
| 468 | ],
|
---|
| 469 | ],
|
---|
| 470 | ],'queryMetadata' => [
|
---|
| 471 | 'path' => 'v1/{+service}:queryMetadata',
|
---|
| 472 | 'httpMethod' => 'POST',
|
---|
| 473 | 'parameters' => [
|
---|
| 474 | 'service' => [
|
---|
| 475 | 'location' => 'path',
|
---|
| 476 | 'type' => 'string',
|
---|
| 477 | 'required' => true,
|
---|
| 478 | ],
|
---|
| 479 | ],
|
---|
| 480 | ],'restore' => [
|
---|
| 481 | 'path' => 'v1/{+service}:restore',
|
---|
| 482 | 'httpMethod' => 'POST',
|
---|
| 483 | 'parameters' => [
|
---|
| 484 | 'service' => [
|
---|
| 485 | 'location' => 'path',
|
---|
| 486 | 'type' => 'string',
|
---|
| 487 | 'required' => true,
|
---|
| 488 | ],
|
---|
| 489 | ],
|
---|
| 490 | ],'setIamPolicy' => [
|
---|
| 491 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 492 | 'httpMethod' => 'POST',
|
---|
| 493 | 'parameters' => [
|
---|
| 494 | 'resource' => [
|
---|
| 495 | 'location' => 'path',
|
---|
| 496 | 'type' => 'string',
|
---|
| 497 | 'required' => true,
|
---|
| 498 | ],
|
---|
| 499 | ],
|
---|
| 500 | ],'startMigration' => [
|
---|
| 501 | 'path' => 'v1/{+service}:startMigration',
|
---|
| 502 | 'httpMethod' => 'POST',
|
---|
| 503 | 'parameters' => [
|
---|
| 504 | 'service' => [
|
---|
| 505 | 'location' => 'path',
|
---|
| 506 | 'type' => 'string',
|
---|
| 507 | 'required' => true,
|
---|
| 508 | ],
|
---|
| 509 | ],
|
---|
| 510 | ],'testIamPermissions' => [
|
---|
| 511 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 512 | 'httpMethod' => 'POST',
|
---|
| 513 | 'parameters' => [
|
---|
| 514 | 'resource' => [
|
---|
| 515 | 'location' => 'path',
|
---|
| 516 | 'type' => 'string',
|
---|
| 517 | 'required' => true,
|
---|
| 518 | ],
|
---|
| 519 | ],
|
---|
| 520 | ],
|
---|
| 521 | ]
|
---|
| 522 | ]
|
---|
| 523 | );
|
---|
| 524 | $this->projects_locations_services_backups = new DataprocMetastore\Resource\ProjectsLocationsServicesBackups(
|
---|
| 525 | $this,
|
---|
| 526 | $this->serviceName,
|
---|
| 527 | 'backups',
|
---|
| 528 | [
|
---|
| 529 | 'methods' => [
|
---|
| 530 | 'create' => [
|
---|
| 531 | 'path' => 'v1/{+parent}/backups',
|
---|
| 532 | 'httpMethod' => 'POST',
|
---|
| 533 | 'parameters' => [
|
---|
| 534 | 'parent' => [
|
---|
| 535 | 'location' => 'path',
|
---|
| 536 | 'type' => 'string',
|
---|
| 537 | 'required' => true,
|
---|
| 538 | ],
|
---|
| 539 | 'backupId' => [
|
---|
| 540 | 'location' => 'query',
|
---|
| 541 | 'type' => 'string',
|
---|
| 542 | ],
|
---|
| 543 | 'requestId' => [
|
---|
| 544 | 'location' => 'query',
|
---|
| 545 | 'type' => 'string',
|
---|
| 546 | ],
|
---|
| 547 | ],
|
---|
| 548 | ],'delete' => [
|
---|
| 549 | 'path' => 'v1/{+name}',
|
---|
| 550 | 'httpMethod' => 'DELETE',
|
---|
| 551 | 'parameters' => [
|
---|
| 552 | 'name' => [
|
---|
| 553 | 'location' => 'path',
|
---|
| 554 | 'type' => 'string',
|
---|
| 555 | 'required' => true,
|
---|
| 556 | ],
|
---|
| 557 | 'requestId' => [
|
---|
| 558 | 'location' => 'query',
|
---|
| 559 | 'type' => 'string',
|
---|
| 560 | ],
|
---|
| 561 | ],
|
---|
| 562 | ],'get' => [
|
---|
| 563 | 'path' => 'v1/{+name}',
|
---|
| 564 | 'httpMethod' => 'GET',
|
---|
| 565 | 'parameters' => [
|
---|
| 566 | 'name' => [
|
---|
| 567 | 'location' => 'path',
|
---|
| 568 | 'type' => 'string',
|
---|
| 569 | 'required' => true,
|
---|
| 570 | ],
|
---|
| 571 | ],
|
---|
| 572 | ],'getIamPolicy' => [
|
---|
| 573 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 574 | 'httpMethod' => 'GET',
|
---|
| 575 | 'parameters' => [
|
---|
| 576 | 'resource' => [
|
---|
| 577 | 'location' => 'path',
|
---|
| 578 | 'type' => 'string',
|
---|
| 579 | 'required' => true,
|
---|
| 580 | ],
|
---|
| 581 | 'options.requestedPolicyVersion' => [
|
---|
| 582 | 'location' => 'query',
|
---|
| 583 | 'type' => 'integer',
|
---|
| 584 | ],
|
---|
| 585 | ],
|
---|
| 586 | ],'list' => [
|
---|
| 587 | 'path' => 'v1/{+parent}/backups',
|
---|
| 588 | 'httpMethod' => 'GET',
|
---|
| 589 | 'parameters' => [
|
---|
| 590 | 'parent' => [
|
---|
| 591 | 'location' => 'path',
|
---|
| 592 | 'type' => 'string',
|
---|
| 593 | 'required' => true,
|
---|
| 594 | ],
|
---|
| 595 | 'filter' => [
|
---|
| 596 | 'location' => 'query',
|
---|
| 597 | 'type' => 'string',
|
---|
| 598 | ],
|
---|
| 599 | 'orderBy' => [
|
---|
| 600 | 'location' => 'query',
|
---|
| 601 | 'type' => 'string',
|
---|
| 602 | ],
|
---|
| 603 | 'pageSize' => [
|
---|
| 604 | 'location' => 'query',
|
---|
| 605 | 'type' => 'integer',
|
---|
| 606 | ],
|
---|
| 607 | 'pageToken' => [
|
---|
| 608 | 'location' => 'query',
|
---|
| 609 | 'type' => 'string',
|
---|
| 610 | ],
|
---|
| 611 | ],
|
---|
| 612 | ],'setIamPolicy' => [
|
---|
| 613 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 614 | 'httpMethod' => 'POST',
|
---|
| 615 | 'parameters' => [
|
---|
| 616 | 'resource' => [
|
---|
| 617 | 'location' => 'path',
|
---|
| 618 | 'type' => 'string',
|
---|
| 619 | 'required' => true,
|
---|
| 620 | ],
|
---|
| 621 | ],
|
---|
| 622 | ],
|
---|
| 623 | ]
|
---|
| 624 | ]
|
---|
| 625 | );
|
---|
| 626 | $this->projects_locations_services_databases = new DataprocMetastore\Resource\ProjectsLocationsServicesDatabases(
|
---|
| 627 | $this,
|
---|
| 628 | $this->serviceName,
|
---|
| 629 | 'databases',
|
---|
| 630 | [
|
---|
| 631 | 'methods' => [
|
---|
| 632 | 'getIamPolicy' => [
|
---|
| 633 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 634 | 'httpMethod' => 'GET',
|
---|
| 635 | 'parameters' => [
|
---|
| 636 | 'resource' => [
|
---|
| 637 | 'location' => 'path',
|
---|
| 638 | 'type' => 'string',
|
---|
| 639 | 'required' => true,
|
---|
| 640 | ],
|
---|
| 641 | 'options.requestedPolicyVersion' => [
|
---|
| 642 | 'location' => 'query',
|
---|
| 643 | 'type' => 'integer',
|
---|
| 644 | ],
|
---|
| 645 | ],
|
---|
| 646 | ],'setIamPolicy' => [
|
---|
| 647 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 648 | 'httpMethod' => 'POST',
|
---|
| 649 | 'parameters' => [
|
---|
| 650 | 'resource' => [
|
---|
| 651 | 'location' => 'path',
|
---|
| 652 | 'type' => 'string',
|
---|
| 653 | 'required' => true,
|
---|
| 654 | ],
|
---|
| 655 | ],
|
---|
| 656 | ],
|
---|
| 657 | ]
|
---|
| 658 | ]
|
---|
| 659 | );
|
---|
| 660 | $this->projects_locations_services_databases_tables = new DataprocMetastore\Resource\ProjectsLocationsServicesDatabasesTables(
|
---|
| 661 | $this,
|
---|
| 662 | $this->serviceName,
|
---|
| 663 | 'tables',
|
---|
| 664 | [
|
---|
| 665 | 'methods' => [
|
---|
| 666 | 'getIamPolicy' => [
|
---|
| 667 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 668 | 'httpMethod' => 'GET',
|
---|
| 669 | 'parameters' => [
|
---|
| 670 | 'resource' => [
|
---|
| 671 | 'location' => 'path',
|
---|
| 672 | 'type' => 'string',
|
---|
| 673 | 'required' => true,
|
---|
| 674 | ],
|
---|
| 675 | 'options.requestedPolicyVersion' => [
|
---|
| 676 | 'location' => 'query',
|
---|
| 677 | 'type' => 'integer',
|
---|
| 678 | ],
|
---|
| 679 | ],
|
---|
| 680 | ],'setIamPolicy' => [
|
---|
| 681 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 682 | 'httpMethod' => 'POST',
|
---|
| 683 | 'parameters' => [
|
---|
| 684 | 'resource' => [
|
---|
| 685 | 'location' => 'path',
|
---|
| 686 | 'type' => 'string',
|
---|
| 687 | 'required' => true,
|
---|
| 688 | ],
|
---|
| 689 | ],
|
---|
| 690 | ],
|
---|
| 691 | ]
|
---|
| 692 | ]
|
---|
| 693 | );
|
---|
| 694 | $this->projects_locations_services_metadataImports = new DataprocMetastore\Resource\ProjectsLocationsServicesMetadataImports(
|
---|
| 695 | $this,
|
---|
| 696 | $this->serviceName,
|
---|
| 697 | 'metadataImports',
|
---|
| 698 | [
|
---|
| 699 | 'methods' => [
|
---|
| 700 | 'create' => [
|
---|
| 701 | 'path' => 'v1/{+parent}/metadataImports',
|
---|
| 702 | 'httpMethod' => 'POST',
|
---|
| 703 | 'parameters' => [
|
---|
| 704 | 'parent' => [
|
---|
| 705 | 'location' => 'path',
|
---|
| 706 | 'type' => 'string',
|
---|
| 707 | 'required' => true,
|
---|
| 708 | ],
|
---|
| 709 | 'metadataImportId' => [
|
---|
| 710 | 'location' => 'query',
|
---|
| 711 | 'type' => 'string',
|
---|
| 712 | ],
|
---|
| 713 | 'requestId' => [
|
---|
| 714 | 'location' => 'query',
|
---|
| 715 | 'type' => 'string',
|
---|
| 716 | ],
|
---|
| 717 | ],
|
---|
| 718 | ],'get' => [
|
---|
| 719 | 'path' => 'v1/{+name}',
|
---|
| 720 | 'httpMethod' => 'GET',
|
---|
| 721 | 'parameters' => [
|
---|
| 722 | 'name' => [
|
---|
| 723 | 'location' => 'path',
|
---|
| 724 | 'type' => 'string',
|
---|
| 725 | 'required' => true,
|
---|
| 726 | ],
|
---|
| 727 | ],
|
---|
| 728 | ],'list' => [
|
---|
| 729 | 'path' => 'v1/{+parent}/metadataImports',
|
---|
| 730 | 'httpMethod' => 'GET',
|
---|
| 731 | 'parameters' => [
|
---|
| 732 | 'parent' => [
|
---|
| 733 | 'location' => 'path',
|
---|
| 734 | 'type' => 'string',
|
---|
| 735 | 'required' => true,
|
---|
| 736 | ],
|
---|
| 737 | 'filter' => [
|
---|
| 738 | 'location' => 'query',
|
---|
| 739 | 'type' => 'string',
|
---|
| 740 | ],
|
---|
| 741 | 'orderBy' => [
|
---|
| 742 | 'location' => 'query',
|
---|
| 743 | 'type' => 'string',
|
---|
| 744 | ],
|
---|
| 745 | 'pageSize' => [
|
---|
| 746 | 'location' => 'query',
|
---|
| 747 | 'type' => 'integer',
|
---|
| 748 | ],
|
---|
| 749 | 'pageToken' => [
|
---|
| 750 | 'location' => 'query',
|
---|
| 751 | 'type' => 'string',
|
---|
| 752 | ],
|
---|
| 753 | ],
|
---|
| 754 | ],'patch' => [
|
---|
| 755 | 'path' => 'v1/{+name}',
|
---|
| 756 | 'httpMethod' => 'PATCH',
|
---|
| 757 | 'parameters' => [
|
---|
| 758 | 'name' => [
|
---|
| 759 | 'location' => 'path',
|
---|
| 760 | 'type' => 'string',
|
---|
| 761 | 'required' => true,
|
---|
| 762 | ],
|
---|
| 763 | 'requestId' => [
|
---|
| 764 | 'location' => 'query',
|
---|
| 765 | 'type' => 'string',
|
---|
| 766 | ],
|
---|
| 767 | 'updateMask' => [
|
---|
| 768 | 'location' => 'query',
|
---|
| 769 | 'type' => 'string',
|
---|
| 770 | ],
|
---|
| 771 | ],
|
---|
| 772 | ],
|
---|
| 773 | ]
|
---|
| 774 | ]
|
---|
| 775 | );
|
---|
| 776 | $this->projects_locations_services_migrationExecutions = new DataprocMetastore\Resource\ProjectsLocationsServicesMigrationExecutions(
|
---|
| 777 | $this,
|
---|
| 778 | $this->serviceName,
|
---|
| 779 | 'migrationExecutions',
|
---|
| 780 | [
|
---|
| 781 | 'methods' => [
|
---|
| 782 | 'delete' => [
|
---|
| 783 | 'path' => 'v1/{+name}',
|
---|
| 784 | 'httpMethod' => 'DELETE',
|
---|
| 785 | 'parameters' => [
|
---|
| 786 | 'name' => [
|
---|
| 787 | 'location' => 'path',
|
---|
| 788 | 'type' => 'string',
|
---|
| 789 | 'required' => true,
|
---|
| 790 | ],
|
---|
| 791 | 'requestId' => [
|
---|
| 792 | 'location' => 'query',
|
---|
| 793 | 'type' => 'string',
|
---|
| 794 | ],
|
---|
| 795 | ],
|
---|
| 796 | ],'get' => [
|
---|
| 797 | 'path' => 'v1/{+name}',
|
---|
| 798 | 'httpMethod' => 'GET',
|
---|
| 799 | 'parameters' => [
|
---|
| 800 | 'name' => [
|
---|
| 801 | 'location' => 'path',
|
---|
| 802 | 'type' => 'string',
|
---|
| 803 | 'required' => true,
|
---|
| 804 | ],
|
---|
| 805 | ],
|
---|
| 806 | ],'list' => [
|
---|
| 807 | 'path' => 'v1/{+parent}/migrationExecutions',
|
---|
| 808 | 'httpMethod' => 'GET',
|
---|
| 809 | 'parameters' => [
|
---|
| 810 | 'parent' => [
|
---|
| 811 | 'location' => 'path',
|
---|
| 812 | 'type' => 'string',
|
---|
| 813 | 'required' => true,
|
---|
| 814 | ],
|
---|
| 815 | 'filter' => [
|
---|
| 816 | 'location' => 'query',
|
---|
| 817 | 'type' => 'string',
|
---|
| 818 | ],
|
---|
| 819 | 'orderBy' => [
|
---|
| 820 | 'location' => 'query',
|
---|
| 821 | 'type' => 'string',
|
---|
| 822 | ],
|
---|
| 823 | 'pageSize' => [
|
---|
| 824 | 'location' => 'query',
|
---|
| 825 | 'type' => 'integer',
|
---|
| 826 | ],
|
---|
| 827 | 'pageToken' => [
|
---|
| 828 | 'location' => 'query',
|
---|
| 829 | 'type' => 'string',
|
---|
| 830 | ],
|
---|
| 831 | ],
|
---|
| 832 | ],
|
---|
| 833 | ]
|
---|
| 834 | ]
|
---|
| 835 | );
|
---|
| 836 | }
|
---|
| 837 | }
|
---|
| 838 |
|
---|
| 839 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 840 | class_alias(DataprocMetastore::class, 'Google_Service_DataprocMetastore');
|
---|