[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 Datastream (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | </p>
|
---|
| 27 | *
|
---|
| 28 | * <p>
|
---|
| 29 | * For more information about this service, see the API
|
---|
| 30 | * <a href="https://cloud.google.com/datastream/" target="_blank">Documentation</a>
|
---|
| 31 | * </p>
|
---|
| 32 | *
|
---|
| 33 | * @author Google, Inc.
|
---|
| 34 | */
|
---|
| 35 | class Datastream extends \Google\Service
|
---|
| 36 | {
|
---|
| 37 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
| 38 | const CLOUD_PLATFORM =
|
---|
| 39 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
| 40 |
|
---|
| 41 | public $projects_locations;
|
---|
| 42 | public $projects_locations_connectionProfiles;
|
---|
| 43 | public $projects_locations_operations;
|
---|
| 44 | public $projects_locations_privateConnections;
|
---|
| 45 | public $projects_locations_privateConnections_routes;
|
---|
| 46 | public $projects_locations_streams;
|
---|
| 47 | public $projects_locations_streams_objects;
|
---|
| 48 | public $rootUrlTemplate;
|
---|
| 49 |
|
---|
| 50 | /**
|
---|
| 51 | * Constructs the internal representation of the Datastream service.
|
---|
| 52 | *
|
---|
| 53 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 54 | * config array to pass to a new Client instance.
|
---|
| 55 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 56 | */
|
---|
| 57 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 58 | {
|
---|
| 59 | parent::__construct($clientOrConfig);
|
---|
| 60 | $this->rootUrl = $rootUrl ?: 'https://datastream.googleapis.com/';
|
---|
| 61 | $this->rootUrlTemplate = $rootUrl ?: 'https://datastream.UNIVERSE_DOMAIN/';
|
---|
| 62 | $this->servicePath = '';
|
---|
| 63 | $this->batchPath = 'batch';
|
---|
| 64 | $this->version = 'v1';
|
---|
| 65 | $this->serviceName = 'datastream';
|
---|
| 66 |
|
---|
| 67 | $this->projects_locations = new Datastream\Resource\ProjectsLocations(
|
---|
| 68 | $this,
|
---|
| 69 | $this->serviceName,
|
---|
| 70 | 'locations',
|
---|
| 71 | [
|
---|
| 72 | 'methods' => [
|
---|
| 73 | 'fetchStaticIps' => [
|
---|
| 74 | 'path' => 'v1/{+name}:fetchStaticIps',
|
---|
| 75 | 'httpMethod' => 'GET',
|
---|
| 76 | 'parameters' => [
|
---|
| 77 | 'name' => [
|
---|
| 78 | 'location' => 'path',
|
---|
| 79 | 'type' => 'string',
|
---|
| 80 | 'required' => true,
|
---|
| 81 | ],
|
---|
| 82 | 'pageSize' => [
|
---|
| 83 | 'location' => 'query',
|
---|
| 84 | 'type' => 'integer',
|
---|
| 85 | ],
|
---|
| 86 | 'pageToken' => [
|
---|
| 87 | 'location' => 'query',
|
---|
| 88 | 'type' => 'string',
|
---|
| 89 | ],
|
---|
| 90 | ],
|
---|
| 91 | ],'get' => [
|
---|
| 92 | 'path' => 'v1/{+name}',
|
---|
| 93 | 'httpMethod' => 'GET',
|
---|
| 94 | 'parameters' => [
|
---|
| 95 | 'name' => [
|
---|
| 96 | 'location' => 'path',
|
---|
| 97 | 'type' => 'string',
|
---|
| 98 | 'required' => true,
|
---|
| 99 | ],
|
---|
| 100 | ],
|
---|
| 101 | ],'list' => [
|
---|
| 102 | 'path' => 'v1/{+name}/locations',
|
---|
| 103 | 'httpMethod' => 'GET',
|
---|
| 104 | 'parameters' => [
|
---|
| 105 | 'name' => [
|
---|
| 106 | 'location' => 'path',
|
---|
| 107 | 'type' => 'string',
|
---|
| 108 | 'required' => true,
|
---|
| 109 | ],
|
---|
| 110 | 'filter' => [
|
---|
| 111 | 'location' => 'query',
|
---|
| 112 | 'type' => 'string',
|
---|
| 113 | ],
|
---|
| 114 | 'pageSize' => [
|
---|
| 115 | 'location' => 'query',
|
---|
| 116 | 'type' => 'integer',
|
---|
| 117 | ],
|
---|
| 118 | 'pageToken' => [
|
---|
| 119 | 'location' => 'query',
|
---|
| 120 | 'type' => 'string',
|
---|
| 121 | ],
|
---|
| 122 | ],
|
---|
| 123 | ],
|
---|
| 124 | ]
|
---|
| 125 | ]
|
---|
| 126 | );
|
---|
| 127 | $this->projects_locations_connectionProfiles = new Datastream\Resource\ProjectsLocationsConnectionProfiles(
|
---|
| 128 | $this,
|
---|
| 129 | $this->serviceName,
|
---|
| 130 | 'connectionProfiles',
|
---|
| 131 | [
|
---|
| 132 | 'methods' => [
|
---|
| 133 | 'create' => [
|
---|
| 134 | 'path' => 'v1/{+parent}/connectionProfiles',
|
---|
| 135 | 'httpMethod' => 'POST',
|
---|
| 136 | 'parameters' => [
|
---|
| 137 | 'parent' => [
|
---|
| 138 | 'location' => 'path',
|
---|
| 139 | 'type' => 'string',
|
---|
| 140 | 'required' => true,
|
---|
| 141 | ],
|
---|
| 142 | 'connectionProfileId' => [
|
---|
| 143 | 'location' => 'query',
|
---|
| 144 | 'type' => 'string',
|
---|
| 145 | ],
|
---|
| 146 | 'force' => [
|
---|
| 147 | 'location' => 'query',
|
---|
| 148 | 'type' => 'boolean',
|
---|
| 149 | ],
|
---|
| 150 | 'requestId' => [
|
---|
| 151 | 'location' => 'query',
|
---|
| 152 | 'type' => 'string',
|
---|
| 153 | ],
|
---|
| 154 | 'validateOnly' => [
|
---|
| 155 | 'location' => 'query',
|
---|
| 156 | 'type' => 'boolean',
|
---|
| 157 | ],
|
---|
| 158 | ],
|
---|
| 159 | ],'delete' => [
|
---|
| 160 | 'path' => 'v1/{+name}',
|
---|
| 161 | 'httpMethod' => 'DELETE',
|
---|
| 162 | 'parameters' => [
|
---|
| 163 | 'name' => [
|
---|
| 164 | 'location' => 'path',
|
---|
| 165 | 'type' => 'string',
|
---|
| 166 | 'required' => true,
|
---|
| 167 | ],
|
---|
| 168 | 'requestId' => [
|
---|
| 169 | 'location' => 'query',
|
---|
| 170 | 'type' => 'string',
|
---|
| 171 | ],
|
---|
| 172 | ],
|
---|
| 173 | ],'discover' => [
|
---|
| 174 | 'path' => 'v1/{+parent}/connectionProfiles:discover',
|
---|
| 175 | 'httpMethod' => 'POST',
|
---|
| 176 | 'parameters' => [
|
---|
| 177 | 'parent' => [
|
---|
| 178 | 'location' => 'path',
|
---|
| 179 | 'type' => 'string',
|
---|
| 180 | 'required' => true,
|
---|
| 181 | ],
|
---|
| 182 | ],
|
---|
| 183 | ],'get' => [
|
---|
| 184 | 'path' => 'v1/{+name}',
|
---|
| 185 | 'httpMethod' => 'GET',
|
---|
| 186 | 'parameters' => [
|
---|
| 187 | 'name' => [
|
---|
| 188 | 'location' => 'path',
|
---|
| 189 | 'type' => 'string',
|
---|
| 190 | 'required' => true,
|
---|
| 191 | ],
|
---|
| 192 | ],
|
---|
| 193 | ],'list' => [
|
---|
| 194 | 'path' => 'v1/{+parent}/connectionProfiles',
|
---|
| 195 | 'httpMethod' => 'GET',
|
---|
| 196 | 'parameters' => [
|
---|
| 197 | 'parent' => [
|
---|
| 198 | 'location' => 'path',
|
---|
| 199 | 'type' => 'string',
|
---|
| 200 | 'required' => true,
|
---|
| 201 | ],
|
---|
| 202 | 'filter' => [
|
---|
| 203 | 'location' => 'query',
|
---|
| 204 | 'type' => 'string',
|
---|
| 205 | ],
|
---|
| 206 | 'orderBy' => [
|
---|
| 207 | 'location' => 'query',
|
---|
| 208 | 'type' => 'string',
|
---|
| 209 | ],
|
---|
| 210 | 'pageSize' => [
|
---|
| 211 | 'location' => 'query',
|
---|
| 212 | 'type' => 'integer',
|
---|
| 213 | ],
|
---|
| 214 | 'pageToken' => [
|
---|
| 215 | 'location' => 'query',
|
---|
| 216 | 'type' => 'string',
|
---|
| 217 | ],
|
---|
| 218 | ],
|
---|
| 219 | ],'patch' => [
|
---|
| 220 | 'path' => 'v1/{+name}',
|
---|
| 221 | 'httpMethod' => 'PATCH',
|
---|
| 222 | 'parameters' => [
|
---|
| 223 | 'name' => [
|
---|
| 224 | 'location' => 'path',
|
---|
| 225 | 'type' => 'string',
|
---|
| 226 | 'required' => true,
|
---|
| 227 | ],
|
---|
| 228 | 'force' => [
|
---|
| 229 | 'location' => 'query',
|
---|
| 230 | 'type' => 'boolean',
|
---|
| 231 | ],
|
---|
| 232 | 'requestId' => [
|
---|
| 233 | 'location' => 'query',
|
---|
| 234 | 'type' => 'string',
|
---|
| 235 | ],
|
---|
| 236 | 'updateMask' => [
|
---|
| 237 | 'location' => 'query',
|
---|
| 238 | 'type' => 'string',
|
---|
| 239 | ],
|
---|
| 240 | 'validateOnly' => [
|
---|
| 241 | 'location' => 'query',
|
---|
| 242 | 'type' => 'boolean',
|
---|
| 243 | ],
|
---|
| 244 | ],
|
---|
| 245 | ],
|
---|
| 246 | ]
|
---|
| 247 | ]
|
---|
| 248 | );
|
---|
| 249 | $this->projects_locations_operations = new Datastream\Resource\ProjectsLocationsOperations(
|
---|
| 250 | $this,
|
---|
| 251 | $this->serviceName,
|
---|
| 252 | 'operations',
|
---|
| 253 | [
|
---|
| 254 | 'methods' => [
|
---|
| 255 | 'cancel' => [
|
---|
| 256 | 'path' => 'v1/{+name}:cancel',
|
---|
| 257 | 'httpMethod' => 'POST',
|
---|
| 258 | 'parameters' => [
|
---|
| 259 | 'name' => [
|
---|
| 260 | 'location' => 'path',
|
---|
| 261 | 'type' => 'string',
|
---|
| 262 | 'required' => true,
|
---|
| 263 | ],
|
---|
| 264 | ],
|
---|
| 265 | ],'delete' => [
|
---|
| 266 | 'path' => 'v1/{+name}',
|
---|
| 267 | 'httpMethod' => 'DELETE',
|
---|
| 268 | 'parameters' => [
|
---|
| 269 | 'name' => [
|
---|
| 270 | 'location' => 'path',
|
---|
| 271 | 'type' => 'string',
|
---|
| 272 | 'required' => true,
|
---|
| 273 | ],
|
---|
| 274 | ],
|
---|
| 275 | ],'get' => [
|
---|
| 276 | 'path' => 'v1/{+name}',
|
---|
| 277 | 'httpMethod' => 'GET',
|
---|
| 278 | 'parameters' => [
|
---|
| 279 | 'name' => [
|
---|
| 280 | 'location' => 'path',
|
---|
| 281 | 'type' => 'string',
|
---|
| 282 | 'required' => true,
|
---|
| 283 | ],
|
---|
| 284 | ],
|
---|
| 285 | ],'list' => [
|
---|
| 286 | 'path' => 'v1/{+name}/operations',
|
---|
| 287 | 'httpMethod' => 'GET',
|
---|
| 288 | 'parameters' => [
|
---|
| 289 | 'name' => [
|
---|
| 290 | 'location' => 'path',
|
---|
| 291 | 'type' => 'string',
|
---|
| 292 | 'required' => true,
|
---|
| 293 | ],
|
---|
| 294 | 'filter' => [
|
---|
| 295 | 'location' => 'query',
|
---|
| 296 | 'type' => 'string',
|
---|
| 297 | ],
|
---|
| 298 | 'pageSize' => [
|
---|
| 299 | 'location' => 'query',
|
---|
| 300 | 'type' => 'integer',
|
---|
| 301 | ],
|
---|
| 302 | 'pageToken' => [
|
---|
| 303 | 'location' => 'query',
|
---|
| 304 | 'type' => 'string',
|
---|
| 305 | ],
|
---|
| 306 | ],
|
---|
| 307 | ],
|
---|
| 308 | ]
|
---|
| 309 | ]
|
---|
| 310 | );
|
---|
| 311 | $this->projects_locations_privateConnections = new Datastream\Resource\ProjectsLocationsPrivateConnections(
|
---|
| 312 | $this,
|
---|
| 313 | $this->serviceName,
|
---|
| 314 | 'privateConnections',
|
---|
| 315 | [
|
---|
| 316 | 'methods' => [
|
---|
| 317 | 'create' => [
|
---|
| 318 | 'path' => 'v1/{+parent}/privateConnections',
|
---|
| 319 | 'httpMethod' => 'POST',
|
---|
| 320 | 'parameters' => [
|
---|
| 321 | 'parent' => [
|
---|
| 322 | 'location' => 'path',
|
---|
| 323 | 'type' => 'string',
|
---|
| 324 | 'required' => true,
|
---|
| 325 | ],
|
---|
| 326 | 'force' => [
|
---|
| 327 | 'location' => 'query',
|
---|
| 328 | 'type' => 'boolean',
|
---|
| 329 | ],
|
---|
| 330 | 'privateConnectionId' => [
|
---|
| 331 | 'location' => 'query',
|
---|
| 332 | 'type' => 'string',
|
---|
| 333 | ],
|
---|
| 334 | 'requestId' => [
|
---|
| 335 | 'location' => 'query',
|
---|
| 336 | 'type' => 'string',
|
---|
| 337 | ],
|
---|
| 338 | ],
|
---|
| 339 | ],'delete' => [
|
---|
| 340 | 'path' => 'v1/{+name}',
|
---|
| 341 | 'httpMethod' => 'DELETE',
|
---|
| 342 | 'parameters' => [
|
---|
| 343 | 'name' => [
|
---|
| 344 | 'location' => 'path',
|
---|
| 345 | 'type' => 'string',
|
---|
| 346 | 'required' => true,
|
---|
| 347 | ],
|
---|
| 348 | 'force' => [
|
---|
| 349 | 'location' => 'query',
|
---|
| 350 | 'type' => 'boolean',
|
---|
| 351 | ],
|
---|
| 352 | 'requestId' => [
|
---|
| 353 | 'location' => 'query',
|
---|
| 354 | 'type' => 'string',
|
---|
| 355 | ],
|
---|
| 356 | ],
|
---|
| 357 | ],'get' => [
|
---|
| 358 | 'path' => 'v1/{+name}',
|
---|
| 359 | 'httpMethod' => 'GET',
|
---|
| 360 | 'parameters' => [
|
---|
| 361 | 'name' => [
|
---|
| 362 | 'location' => 'path',
|
---|
| 363 | 'type' => 'string',
|
---|
| 364 | 'required' => true,
|
---|
| 365 | ],
|
---|
| 366 | ],
|
---|
| 367 | ],'list' => [
|
---|
| 368 | 'path' => 'v1/{+parent}/privateConnections',
|
---|
| 369 | 'httpMethod' => 'GET',
|
---|
| 370 | 'parameters' => [
|
---|
| 371 | 'parent' => [
|
---|
| 372 | 'location' => 'path',
|
---|
| 373 | 'type' => 'string',
|
---|
| 374 | 'required' => true,
|
---|
| 375 | ],
|
---|
| 376 | 'filter' => [
|
---|
| 377 | 'location' => 'query',
|
---|
| 378 | 'type' => 'string',
|
---|
| 379 | ],
|
---|
| 380 | 'orderBy' => [
|
---|
| 381 | 'location' => 'query',
|
---|
| 382 | 'type' => 'string',
|
---|
| 383 | ],
|
---|
| 384 | 'pageSize' => [
|
---|
| 385 | 'location' => 'query',
|
---|
| 386 | 'type' => 'integer',
|
---|
| 387 | ],
|
---|
| 388 | 'pageToken' => [
|
---|
| 389 | 'location' => 'query',
|
---|
| 390 | 'type' => 'string',
|
---|
| 391 | ],
|
---|
| 392 | ],
|
---|
| 393 | ],
|
---|
| 394 | ]
|
---|
| 395 | ]
|
---|
| 396 | );
|
---|
| 397 | $this->projects_locations_privateConnections_routes = new Datastream\Resource\ProjectsLocationsPrivateConnectionsRoutes(
|
---|
| 398 | $this,
|
---|
| 399 | $this->serviceName,
|
---|
| 400 | 'routes',
|
---|
| 401 | [
|
---|
| 402 | 'methods' => [
|
---|
| 403 | 'create' => [
|
---|
| 404 | 'path' => 'v1/{+parent}/routes',
|
---|
| 405 | 'httpMethod' => 'POST',
|
---|
| 406 | 'parameters' => [
|
---|
| 407 | 'parent' => [
|
---|
| 408 | 'location' => 'path',
|
---|
| 409 | 'type' => 'string',
|
---|
| 410 | 'required' => true,
|
---|
| 411 | ],
|
---|
| 412 | 'requestId' => [
|
---|
| 413 | 'location' => 'query',
|
---|
| 414 | 'type' => 'string',
|
---|
| 415 | ],
|
---|
| 416 | 'routeId' => [
|
---|
| 417 | 'location' => 'query',
|
---|
| 418 | 'type' => 'string',
|
---|
| 419 | ],
|
---|
| 420 | ],
|
---|
| 421 | ],'delete' => [
|
---|
| 422 | 'path' => 'v1/{+name}',
|
---|
| 423 | 'httpMethod' => 'DELETE',
|
---|
| 424 | 'parameters' => [
|
---|
| 425 | 'name' => [
|
---|
| 426 | 'location' => 'path',
|
---|
| 427 | 'type' => 'string',
|
---|
| 428 | 'required' => true,
|
---|
| 429 | ],
|
---|
| 430 | 'requestId' => [
|
---|
| 431 | 'location' => 'query',
|
---|
| 432 | 'type' => 'string',
|
---|
| 433 | ],
|
---|
| 434 | ],
|
---|
| 435 | ],'get' => [
|
---|
| 436 | 'path' => 'v1/{+name}',
|
---|
| 437 | 'httpMethod' => 'GET',
|
---|
| 438 | 'parameters' => [
|
---|
| 439 | 'name' => [
|
---|
| 440 | 'location' => 'path',
|
---|
| 441 | 'type' => 'string',
|
---|
| 442 | 'required' => true,
|
---|
| 443 | ],
|
---|
| 444 | ],
|
---|
| 445 | ],'list' => [
|
---|
| 446 | 'path' => 'v1/{+parent}/routes',
|
---|
| 447 | 'httpMethod' => 'GET',
|
---|
| 448 | 'parameters' => [
|
---|
| 449 | 'parent' => [
|
---|
| 450 | 'location' => 'path',
|
---|
| 451 | 'type' => 'string',
|
---|
| 452 | 'required' => true,
|
---|
| 453 | ],
|
---|
| 454 | 'filter' => [
|
---|
| 455 | 'location' => 'query',
|
---|
| 456 | 'type' => 'string',
|
---|
| 457 | ],
|
---|
| 458 | 'orderBy' => [
|
---|
| 459 | 'location' => 'query',
|
---|
| 460 | 'type' => 'string',
|
---|
| 461 | ],
|
---|
| 462 | 'pageSize' => [
|
---|
| 463 | 'location' => 'query',
|
---|
| 464 | 'type' => 'integer',
|
---|
| 465 | ],
|
---|
| 466 | 'pageToken' => [
|
---|
| 467 | 'location' => 'query',
|
---|
| 468 | 'type' => 'string',
|
---|
| 469 | ],
|
---|
| 470 | ],
|
---|
| 471 | ],
|
---|
| 472 | ]
|
---|
| 473 | ]
|
---|
| 474 | );
|
---|
| 475 | $this->projects_locations_streams = new Datastream\Resource\ProjectsLocationsStreams(
|
---|
| 476 | $this,
|
---|
| 477 | $this->serviceName,
|
---|
| 478 | 'streams',
|
---|
| 479 | [
|
---|
| 480 | 'methods' => [
|
---|
| 481 | 'create' => [
|
---|
| 482 | 'path' => 'v1/{+parent}/streams',
|
---|
| 483 | 'httpMethod' => 'POST',
|
---|
| 484 | 'parameters' => [
|
---|
| 485 | 'parent' => [
|
---|
| 486 | 'location' => 'path',
|
---|
| 487 | 'type' => 'string',
|
---|
| 488 | 'required' => true,
|
---|
| 489 | ],
|
---|
| 490 | 'force' => [
|
---|
| 491 | 'location' => 'query',
|
---|
| 492 | 'type' => 'boolean',
|
---|
| 493 | ],
|
---|
| 494 | 'requestId' => [
|
---|
| 495 | 'location' => 'query',
|
---|
| 496 | 'type' => 'string',
|
---|
| 497 | ],
|
---|
| 498 | 'streamId' => [
|
---|
| 499 | 'location' => 'query',
|
---|
| 500 | 'type' => 'string',
|
---|
| 501 | ],
|
---|
| 502 | 'validateOnly' => [
|
---|
| 503 | 'location' => 'query',
|
---|
| 504 | 'type' => 'boolean',
|
---|
| 505 | ],
|
---|
| 506 | ],
|
---|
| 507 | ],'delete' => [
|
---|
| 508 | 'path' => 'v1/{+name}',
|
---|
| 509 | 'httpMethod' => 'DELETE',
|
---|
| 510 | 'parameters' => [
|
---|
| 511 | 'name' => [
|
---|
| 512 | 'location' => 'path',
|
---|
| 513 | 'type' => 'string',
|
---|
| 514 | 'required' => true,
|
---|
| 515 | ],
|
---|
| 516 | 'requestId' => [
|
---|
| 517 | 'location' => 'query',
|
---|
| 518 | 'type' => 'string',
|
---|
| 519 | ],
|
---|
| 520 | ],
|
---|
| 521 | ],'get' => [
|
---|
| 522 | 'path' => 'v1/{+name}',
|
---|
| 523 | 'httpMethod' => 'GET',
|
---|
| 524 | 'parameters' => [
|
---|
| 525 | 'name' => [
|
---|
| 526 | 'location' => 'path',
|
---|
| 527 | 'type' => 'string',
|
---|
| 528 | 'required' => true,
|
---|
| 529 | ],
|
---|
| 530 | ],
|
---|
| 531 | ],'list' => [
|
---|
| 532 | 'path' => 'v1/{+parent}/streams',
|
---|
| 533 | 'httpMethod' => 'GET',
|
---|
| 534 | 'parameters' => [
|
---|
| 535 | 'parent' => [
|
---|
| 536 | 'location' => 'path',
|
---|
| 537 | 'type' => 'string',
|
---|
| 538 | 'required' => true,
|
---|
| 539 | ],
|
---|
| 540 | 'filter' => [
|
---|
| 541 | 'location' => 'query',
|
---|
| 542 | 'type' => 'string',
|
---|
| 543 | ],
|
---|
| 544 | 'orderBy' => [
|
---|
| 545 | 'location' => 'query',
|
---|
| 546 | 'type' => 'string',
|
---|
| 547 | ],
|
---|
| 548 | 'pageSize' => [
|
---|
| 549 | 'location' => 'query',
|
---|
| 550 | 'type' => 'integer',
|
---|
| 551 | ],
|
---|
| 552 | 'pageToken' => [
|
---|
| 553 | 'location' => 'query',
|
---|
| 554 | 'type' => 'string',
|
---|
| 555 | ],
|
---|
| 556 | ],
|
---|
| 557 | ],'patch' => [
|
---|
| 558 | 'path' => 'v1/{+name}',
|
---|
| 559 | 'httpMethod' => 'PATCH',
|
---|
| 560 | 'parameters' => [
|
---|
| 561 | 'name' => [
|
---|
| 562 | 'location' => 'path',
|
---|
| 563 | 'type' => 'string',
|
---|
| 564 | 'required' => true,
|
---|
| 565 | ],
|
---|
| 566 | 'force' => [
|
---|
| 567 | 'location' => 'query',
|
---|
| 568 | 'type' => 'boolean',
|
---|
| 569 | ],
|
---|
| 570 | 'requestId' => [
|
---|
| 571 | 'location' => 'query',
|
---|
| 572 | 'type' => 'string',
|
---|
| 573 | ],
|
---|
| 574 | 'updateMask' => [
|
---|
| 575 | 'location' => 'query',
|
---|
| 576 | 'type' => 'string',
|
---|
| 577 | ],
|
---|
| 578 | 'validateOnly' => [
|
---|
| 579 | 'location' => 'query',
|
---|
| 580 | 'type' => 'boolean',
|
---|
| 581 | ],
|
---|
| 582 | ],
|
---|
| 583 | ],'run' => [
|
---|
| 584 | 'path' => 'v1/{+name}:run',
|
---|
| 585 | 'httpMethod' => 'POST',
|
---|
| 586 | 'parameters' => [
|
---|
| 587 | 'name' => [
|
---|
| 588 | 'location' => 'path',
|
---|
| 589 | 'type' => 'string',
|
---|
| 590 | 'required' => true,
|
---|
| 591 | ],
|
---|
| 592 | ],
|
---|
| 593 | ],
|
---|
| 594 | ]
|
---|
| 595 | ]
|
---|
| 596 | );
|
---|
| 597 | $this->projects_locations_streams_objects = new Datastream\Resource\ProjectsLocationsStreamsObjects(
|
---|
| 598 | $this,
|
---|
| 599 | $this->serviceName,
|
---|
| 600 | 'objects',
|
---|
| 601 | [
|
---|
| 602 | 'methods' => [
|
---|
| 603 | 'get' => [
|
---|
| 604 | 'path' => 'v1/{+name}',
|
---|
| 605 | 'httpMethod' => 'GET',
|
---|
| 606 | 'parameters' => [
|
---|
| 607 | 'name' => [
|
---|
| 608 | 'location' => 'path',
|
---|
| 609 | 'type' => 'string',
|
---|
| 610 | 'required' => true,
|
---|
| 611 | ],
|
---|
| 612 | ],
|
---|
| 613 | ],'list' => [
|
---|
| 614 | 'path' => 'v1/{+parent}/objects',
|
---|
| 615 | 'httpMethod' => 'GET',
|
---|
| 616 | 'parameters' => [
|
---|
| 617 | 'parent' => [
|
---|
| 618 | 'location' => 'path',
|
---|
| 619 | 'type' => 'string',
|
---|
| 620 | 'required' => true,
|
---|
| 621 | ],
|
---|
| 622 | 'pageSize' => [
|
---|
| 623 | 'location' => 'query',
|
---|
| 624 | 'type' => 'integer',
|
---|
| 625 | ],
|
---|
| 626 | 'pageToken' => [
|
---|
| 627 | 'location' => 'query',
|
---|
| 628 | 'type' => 'string',
|
---|
| 629 | ],
|
---|
| 630 | ],
|
---|
| 631 | ],'lookup' => [
|
---|
| 632 | 'path' => 'v1/{+parent}/objects:lookup',
|
---|
| 633 | 'httpMethod' => 'POST',
|
---|
| 634 | 'parameters' => [
|
---|
| 635 | 'parent' => [
|
---|
| 636 | 'location' => 'path',
|
---|
| 637 | 'type' => 'string',
|
---|
| 638 | 'required' => true,
|
---|
| 639 | ],
|
---|
| 640 | ],
|
---|
| 641 | ],'startBackfillJob' => [
|
---|
| 642 | 'path' => 'v1/{+object}:startBackfillJob',
|
---|
| 643 | 'httpMethod' => 'POST',
|
---|
| 644 | 'parameters' => [
|
---|
| 645 | 'object' => [
|
---|
| 646 | 'location' => 'path',
|
---|
| 647 | 'type' => 'string',
|
---|
| 648 | 'required' => true,
|
---|
| 649 | ],
|
---|
| 650 | ],
|
---|
| 651 | ],'stopBackfillJob' => [
|
---|
| 652 | 'path' => 'v1/{+object}:stopBackfillJob',
|
---|
| 653 | 'httpMethod' => 'POST',
|
---|
| 654 | 'parameters' => [
|
---|
| 655 | 'object' => [
|
---|
| 656 | 'location' => 'path',
|
---|
| 657 | 'type' => 'string',
|
---|
| 658 | 'required' => true,
|
---|
| 659 | ],
|
---|
| 660 | ],
|
---|
| 661 | ],
|
---|
| 662 | ]
|
---|
| 663 | ]
|
---|
| 664 | );
|
---|
| 665 | }
|
---|
| 666 | }
|
---|
| 667 |
|
---|
| 668 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 669 | class_alias(Datastream::class, 'Google_Service_Datastream');
|
---|