[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 OSConfig (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | * OS management tools that can be used for patch management, patch compliance,
|
---|
| 27 | * and configuration management on VM instances.</p>
|
---|
| 28 | *
|
---|
| 29 | * <p>
|
---|
| 30 | * For more information about this service, see the API
|
---|
| 31 | * <a href="https://cloud.google.com/compute/docs/osconfig/rest" target="_blank">Documentation</a>
|
---|
| 32 | * </p>
|
---|
| 33 | *
|
---|
| 34 | * @author Google, Inc.
|
---|
| 35 | */
|
---|
| 36 | class OSConfig 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_global;
|
---|
| 43 | public $projects_locations_instances_inventories;
|
---|
| 44 | public $projects_locations_instances_osPolicyAssignments_reports;
|
---|
| 45 | public $projects_locations_instances_vulnerabilityReports;
|
---|
| 46 | public $projects_locations_osPolicyAssignments;
|
---|
| 47 | public $projects_locations_osPolicyAssignments_operations;
|
---|
| 48 | public $projects_patchDeployments;
|
---|
| 49 | public $projects_patchJobs;
|
---|
| 50 | public $projects_patchJobs_instanceDetails;
|
---|
| 51 | public $rootUrlTemplate;
|
---|
| 52 |
|
---|
| 53 | /**
|
---|
| 54 | * Constructs the internal representation of the OSConfig 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://osconfig.googleapis.com/';
|
---|
| 64 | $this->rootUrlTemplate = $rootUrl ?: 'https://osconfig.UNIVERSE_DOMAIN/';
|
---|
| 65 | $this->servicePath = '';
|
---|
| 66 | $this->batchPath = 'batch';
|
---|
| 67 | $this->version = 'v1';
|
---|
| 68 | $this->serviceName = 'osconfig';
|
---|
| 69 |
|
---|
| 70 | $this->projects_locations_global = new OSConfig\Resource\ProjectsLocationsOsconfigGlobal(
|
---|
| 71 | $this,
|
---|
| 72 | $this->serviceName,
|
---|
| 73 | 'global',
|
---|
| 74 | [
|
---|
| 75 | 'methods' => [
|
---|
| 76 | 'getProjectFeatureSettings' => [
|
---|
| 77 | 'path' => 'v1/{+name}',
|
---|
| 78 | 'httpMethod' => 'GET',
|
---|
| 79 | 'parameters' => [
|
---|
| 80 | 'name' => [
|
---|
| 81 | 'location' => 'path',
|
---|
| 82 | 'type' => 'string',
|
---|
| 83 | 'required' => true,
|
---|
| 84 | ],
|
---|
| 85 | ],
|
---|
| 86 | ],'updateProjectFeatureSettings' => [
|
---|
| 87 | 'path' => 'v1/{+name}',
|
---|
| 88 | 'httpMethod' => 'PATCH',
|
---|
| 89 | 'parameters' => [
|
---|
| 90 | 'name' => [
|
---|
| 91 | 'location' => 'path',
|
---|
| 92 | 'type' => 'string',
|
---|
| 93 | 'required' => true,
|
---|
| 94 | ],
|
---|
| 95 | 'updateMask' => [
|
---|
| 96 | 'location' => 'query',
|
---|
| 97 | 'type' => 'string',
|
---|
| 98 | ],
|
---|
| 99 | ],
|
---|
| 100 | ],
|
---|
| 101 | ]
|
---|
| 102 | ]
|
---|
| 103 | );
|
---|
| 104 | $this->projects_locations_instances_inventories = new OSConfig\Resource\ProjectsLocationsInstancesInventories(
|
---|
| 105 | $this,
|
---|
| 106 | $this->serviceName,
|
---|
| 107 | 'inventories',
|
---|
| 108 | [
|
---|
| 109 | 'methods' => [
|
---|
| 110 | 'get' => [
|
---|
| 111 | 'path' => 'v1/{+name}',
|
---|
| 112 | 'httpMethod' => 'GET',
|
---|
| 113 | 'parameters' => [
|
---|
| 114 | 'name' => [
|
---|
| 115 | 'location' => 'path',
|
---|
| 116 | 'type' => 'string',
|
---|
| 117 | 'required' => true,
|
---|
| 118 | ],
|
---|
| 119 | 'view' => [
|
---|
| 120 | 'location' => 'query',
|
---|
| 121 | 'type' => 'string',
|
---|
| 122 | ],
|
---|
| 123 | ],
|
---|
| 124 | ],'list' => [
|
---|
| 125 | 'path' => 'v1/{+parent}/inventories',
|
---|
| 126 | 'httpMethod' => 'GET',
|
---|
| 127 | 'parameters' => [
|
---|
| 128 | 'parent' => [
|
---|
| 129 | 'location' => 'path',
|
---|
| 130 | 'type' => 'string',
|
---|
| 131 | 'required' => true,
|
---|
| 132 | ],
|
---|
| 133 | 'filter' => [
|
---|
| 134 | 'location' => 'query',
|
---|
| 135 | 'type' => 'string',
|
---|
| 136 | ],
|
---|
| 137 | 'pageSize' => [
|
---|
| 138 | 'location' => 'query',
|
---|
| 139 | 'type' => 'integer',
|
---|
| 140 | ],
|
---|
| 141 | 'pageToken' => [
|
---|
| 142 | 'location' => 'query',
|
---|
| 143 | 'type' => 'string',
|
---|
| 144 | ],
|
---|
| 145 | 'view' => [
|
---|
| 146 | 'location' => 'query',
|
---|
| 147 | 'type' => 'string',
|
---|
| 148 | ],
|
---|
| 149 | ],
|
---|
| 150 | ],
|
---|
| 151 | ]
|
---|
| 152 | ]
|
---|
| 153 | );
|
---|
| 154 | $this->projects_locations_instances_osPolicyAssignments_reports = new OSConfig\Resource\ProjectsLocationsInstancesOsPolicyAssignmentsReports(
|
---|
| 155 | $this,
|
---|
| 156 | $this->serviceName,
|
---|
| 157 | 'reports',
|
---|
| 158 | [
|
---|
| 159 | 'methods' => [
|
---|
| 160 | 'get' => [
|
---|
| 161 | 'path' => 'v1/{+name}',
|
---|
| 162 | 'httpMethod' => 'GET',
|
---|
| 163 | 'parameters' => [
|
---|
| 164 | 'name' => [
|
---|
| 165 | 'location' => 'path',
|
---|
| 166 | 'type' => 'string',
|
---|
| 167 | 'required' => true,
|
---|
| 168 | ],
|
---|
| 169 | ],
|
---|
| 170 | ],'list' => [
|
---|
| 171 | 'path' => 'v1/{+parent}/reports',
|
---|
| 172 | 'httpMethod' => 'GET',
|
---|
| 173 | 'parameters' => [
|
---|
| 174 | 'parent' => [
|
---|
| 175 | 'location' => 'path',
|
---|
| 176 | 'type' => 'string',
|
---|
| 177 | 'required' => true,
|
---|
| 178 | ],
|
---|
| 179 | 'filter' => [
|
---|
| 180 | 'location' => 'query',
|
---|
| 181 | 'type' => 'string',
|
---|
| 182 | ],
|
---|
| 183 | 'pageSize' => [
|
---|
| 184 | 'location' => 'query',
|
---|
| 185 | 'type' => 'integer',
|
---|
| 186 | ],
|
---|
| 187 | 'pageToken' => [
|
---|
| 188 | 'location' => 'query',
|
---|
| 189 | 'type' => 'string',
|
---|
| 190 | ],
|
---|
| 191 | ],
|
---|
| 192 | ],
|
---|
| 193 | ]
|
---|
| 194 | ]
|
---|
| 195 | );
|
---|
| 196 | $this->projects_locations_instances_vulnerabilityReports = new OSConfig\Resource\ProjectsLocationsInstancesVulnerabilityReports(
|
---|
| 197 | $this,
|
---|
| 198 | $this->serviceName,
|
---|
| 199 | 'vulnerabilityReports',
|
---|
| 200 | [
|
---|
| 201 | 'methods' => [
|
---|
| 202 | 'get' => [
|
---|
| 203 | 'path' => 'v1/{+name}',
|
---|
| 204 | 'httpMethod' => 'GET',
|
---|
| 205 | 'parameters' => [
|
---|
| 206 | 'name' => [
|
---|
| 207 | 'location' => 'path',
|
---|
| 208 | 'type' => 'string',
|
---|
| 209 | 'required' => true,
|
---|
| 210 | ],
|
---|
| 211 | ],
|
---|
| 212 | ],'list' => [
|
---|
| 213 | 'path' => 'v1/{+parent}/vulnerabilityReports',
|
---|
| 214 | 'httpMethod' => 'GET',
|
---|
| 215 | 'parameters' => [
|
---|
| 216 | 'parent' => [
|
---|
| 217 | 'location' => 'path',
|
---|
| 218 | 'type' => 'string',
|
---|
| 219 | 'required' => true,
|
---|
| 220 | ],
|
---|
| 221 | 'filter' => [
|
---|
| 222 | 'location' => 'query',
|
---|
| 223 | 'type' => 'string',
|
---|
| 224 | ],
|
---|
| 225 | 'pageSize' => [
|
---|
| 226 | 'location' => 'query',
|
---|
| 227 | 'type' => 'integer',
|
---|
| 228 | ],
|
---|
| 229 | 'pageToken' => [
|
---|
| 230 | 'location' => 'query',
|
---|
| 231 | 'type' => 'string',
|
---|
| 232 | ],
|
---|
| 233 | ],
|
---|
| 234 | ],
|
---|
| 235 | ]
|
---|
| 236 | ]
|
---|
| 237 | );
|
---|
| 238 | $this->projects_locations_osPolicyAssignments = new OSConfig\Resource\ProjectsLocationsOsPolicyAssignments(
|
---|
| 239 | $this,
|
---|
| 240 | $this->serviceName,
|
---|
| 241 | 'osPolicyAssignments',
|
---|
| 242 | [
|
---|
| 243 | 'methods' => [
|
---|
| 244 | 'create' => [
|
---|
| 245 | 'path' => 'v1/{+parent}/osPolicyAssignments',
|
---|
| 246 | 'httpMethod' => 'POST',
|
---|
| 247 | 'parameters' => [
|
---|
| 248 | 'parent' => [
|
---|
| 249 | 'location' => 'path',
|
---|
| 250 | 'type' => 'string',
|
---|
| 251 | 'required' => true,
|
---|
| 252 | ],
|
---|
| 253 | 'osPolicyAssignmentId' => [
|
---|
| 254 | 'location' => 'query',
|
---|
| 255 | 'type' => 'string',
|
---|
| 256 | ],
|
---|
| 257 | 'requestId' => [
|
---|
| 258 | 'location' => 'query',
|
---|
| 259 | 'type' => 'string',
|
---|
| 260 | ],
|
---|
| 261 | ],
|
---|
| 262 | ],'delete' => [
|
---|
| 263 | 'path' => 'v1/{+name}',
|
---|
| 264 | 'httpMethod' => 'DELETE',
|
---|
| 265 | 'parameters' => [
|
---|
| 266 | 'name' => [
|
---|
| 267 | 'location' => 'path',
|
---|
| 268 | 'type' => 'string',
|
---|
| 269 | 'required' => true,
|
---|
| 270 | ],
|
---|
| 271 | 'requestId' => [
|
---|
| 272 | 'location' => 'query',
|
---|
| 273 | 'type' => 'string',
|
---|
| 274 | ],
|
---|
| 275 | ],
|
---|
| 276 | ],'get' => [
|
---|
| 277 | 'path' => 'v1/{+name}',
|
---|
| 278 | 'httpMethod' => 'GET',
|
---|
| 279 | 'parameters' => [
|
---|
| 280 | 'name' => [
|
---|
| 281 | 'location' => 'path',
|
---|
| 282 | 'type' => 'string',
|
---|
| 283 | 'required' => true,
|
---|
| 284 | ],
|
---|
| 285 | ],
|
---|
| 286 | ],'list' => [
|
---|
| 287 | 'path' => 'v1/{+parent}/osPolicyAssignments',
|
---|
| 288 | 'httpMethod' => 'GET',
|
---|
| 289 | 'parameters' => [
|
---|
| 290 | 'parent' => [
|
---|
| 291 | 'location' => 'path',
|
---|
| 292 | 'type' => 'string',
|
---|
| 293 | 'required' => true,
|
---|
| 294 | ],
|
---|
| 295 | 'pageSize' => [
|
---|
| 296 | 'location' => 'query',
|
---|
| 297 | 'type' => 'integer',
|
---|
| 298 | ],
|
---|
| 299 | 'pageToken' => [
|
---|
| 300 | 'location' => 'query',
|
---|
| 301 | 'type' => 'string',
|
---|
| 302 | ],
|
---|
| 303 | ],
|
---|
| 304 | ],'listRevisions' => [
|
---|
| 305 | 'path' => 'v1/{+name}:listRevisions',
|
---|
| 306 | 'httpMethod' => 'GET',
|
---|
| 307 | 'parameters' => [
|
---|
| 308 | 'name' => [
|
---|
| 309 | 'location' => 'path',
|
---|
| 310 | 'type' => 'string',
|
---|
| 311 | 'required' => true,
|
---|
| 312 | ],
|
---|
| 313 | 'pageSize' => [
|
---|
| 314 | 'location' => 'query',
|
---|
| 315 | 'type' => 'integer',
|
---|
| 316 | ],
|
---|
| 317 | 'pageToken' => [
|
---|
| 318 | 'location' => 'query',
|
---|
| 319 | 'type' => 'string',
|
---|
| 320 | ],
|
---|
| 321 | ],
|
---|
| 322 | ],'patch' => [
|
---|
| 323 | 'path' => 'v1/{+name}',
|
---|
| 324 | 'httpMethod' => 'PATCH',
|
---|
| 325 | 'parameters' => [
|
---|
| 326 | 'name' => [
|
---|
| 327 | 'location' => 'path',
|
---|
| 328 | 'type' => 'string',
|
---|
| 329 | 'required' => true,
|
---|
| 330 | ],
|
---|
| 331 | 'allowMissing' => [
|
---|
| 332 | 'location' => 'query',
|
---|
| 333 | 'type' => 'boolean',
|
---|
| 334 | ],
|
---|
| 335 | 'requestId' => [
|
---|
| 336 | 'location' => 'query',
|
---|
| 337 | 'type' => 'string',
|
---|
| 338 | ],
|
---|
| 339 | 'updateMask' => [
|
---|
| 340 | 'location' => 'query',
|
---|
| 341 | 'type' => 'string',
|
---|
| 342 | ],
|
---|
| 343 | ],
|
---|
| 344 | ],
|
---|
| 345 | ]
|
---|
| 346 | ]
|
---|
| 347 | );
|
---|
| 348 | $this->projects_locations_osPolicyAssignments_operations = new OSConfig\Resource\ProjectsLocationsOsPolicyAssignmentsOperations(
|
---|
| 349 | $this,
|
---|
| 350 | $this->serviceName,
|
---|
| 351 | 'operations',
|
---|
| 352 | [
|
---|
| 353 | 'methods' => [
|
---|
| 354 | 'cancel' => [
|
---|
| 355 | 'path' => 'v1/{+name}:cancel',
|
---|
| 356 | 'httpMethod' => 'POST',
|
---|
| 357 | 'parameters' => [
|
---|
| 358 | 'name' => [
|
---|
| 359 | 'location' => 'path',
|
---|
| 360 | 'type' => 'string',
|
---|
| 361 | 'required' => true,
|
---|
| 362 | ],
|
---|
| 363 | ],
|
---|
| 364 | ],'get' => [
|
---|
| 365 | 'path' => 'v1/{+name}',
|
---|
| 366 | 'httpMethod' => 'GET',
|
---|
| 367 | 'parameters' => [
|
---|
| 368 | 'name' => [
|
---|
| 369 | 'location' => 'path',
|
---|
| 370 | 'type' => 'string',
|
---|
| 371 | 'required' => true,
|
---|
| 372 | ],
|
---|
| 373 | ],
|
---|
| 374 | ],
|
---|
| 375 | ]
|
---|
| 376 | ]
|
---|
| 377 | );
|
---|
| 378 | $this->projects_patchDeployments = new OSConfig\Resource\ProjectsPatchDeployments(
|
---|
| 379 | $this,
|
---|
| 380 | $this->serviceName,
|
---|
| 381 | 'patchDeployments',
|
---|
| 382 | [
|
---|
| 383 | 'methods' => [
|
---|
| 384 | 'create' => [
|
---|
| 385 | 'path' => 'v1/{+parent}/patchDeployments',
|
---|
| 386 | 'httpMethod' => 'POST',
|
---|
| 387 | 'parameters' => [
|
---|
| 388 | 'parent' => [
|
---|
| 389 | 'location' => 'path',
|
---|
| 390 | 'type' => 'string',
|
---|
| 391 | 'required' => true,
|
---|
| 392 | ],
|
---|
| 393 | 'patchDeploymentId' => [
|
---|
| 394 | 'location' => 'query',
|
---|
| 395 | 'type' => 'string',
|
---|
| 396 | ],
|
---|
| 397 | ],
|
---|
| 398 | ],'delete' => [
|
---|
| 399 | 'path' => 'v1/{+name}',
|
---|
| 400 | 'httpMethod' => 'DELETE',
|
---|
| 401 | 'parameters' => [
|
---|
| 402 | 'name' => [
|
---|
| 403 | 'location' => 'path',
|
---|
| 404 | 'type' => 'string',
|
---|
| 405 | 'required' => true,
|
---|
| 406 | ],
|
---|
| 407 | ],
|
---|
| 408 | ],'get' => [
|
---|
| 409 | 'path' => 'v1/{+name}',
|
---|
| 410 | 'httpMethod' => 'GET',
|
---|
| 411 | 'parameters' => [
|
---|
| 412 | 'name' => [
|
---|
| 413 | 'location' => 'path',
|
---|
| 414 | 'type' => 'string',
|
---|
| 415 | 'required' => true,
|
---|
| 416 | ],
|
---|
| 417 | ],
|
---|
| 418 | ],'list' => [
|
---|
| 419 | 'path' => 'v1/{+parent}/patchDeployments',
|
---|
| 420 | 'httpMethod' => 'GET',
|
---|
| 421 | 'parameters' => [
|
---|
| 422 | 'parent' => [
|
---|
| 423 | 'location' => 'path',
|
---|
| 424 | 'type' => 'string',
|
---|
| 425 | 'required' => true,
|
---|
| 426 | ],
|
---|
| 427 | 'pageSize' => [
|
---|
| 428 | 'location' => 'query',
|
---|
| 429 | 'type' => 'integer',
|
---|
| 430 | ],
|
---|
| 431 | 'pageToken' => [
|
---|
| 432 | 'location' => 'query',
|
---|
| 433 | 'type' => 'string',
|
---|
| 434 | ],
|
---|
| 435 | ],
|
---|
| 436 | ],'patch' => [
|
---|
| 437 | 'path' => 'v1/{+name}',
|
---|
| 438 | 'httpMethod' => 'PATCH',
|
---|
| 439 | 'parameters' => [
|
---|
| 440 | 'name' => [
|
---|
| 441 | 'location' => 'path',
|
---|
| 442 | 'type' => 'string',
|
---|
| 443 | 'required' => true,
|
---|
| 444 | ],
|
---|
| 445 | 'updateMask' => [
|
---|
| 446 | 'location' => 'query',
|
---|
| 447 | 'type' => 'string',
|
---|
| 448 | ],
|
---|
| 449 | ],
|
---|
| 450 | ],'pause' => [
|
---|
| 451 | 'path' => 'v1/{+name}:pause',
|
---|
| 452 | 'httpMethod' => 'POST',
|
---|
| 453 | 'parameters' => [
|
---|
| 454 | 'name' => [
|
---|
| 455 | 'location' => 'path',
|
---|
| 456 | 'type' => 'string',
|
---|
| 457 | 'required' => true,
|
---|
| 458 | ],
|
---|
| 459 | ],
|
---|
| 460 | ],'resume' => [
|
---|
| 461 | 'path' => 'v1/{+name}:resume',
|
---|
| 462 | 'httpMethod' => 'POST',
|
---|
| 463 | 'parameters' => [
|
---|
| 464 | 'name' => [
|
---|
| 465 | 'location' => 'path',
|
---|
| 466 | 'type' => 'string',
|
---|
| 467 | 'required' => true,
|
---|
| 468 | ],
|
---|
| 469 | ],
|
---|
| 470 | ],
|
---|
| 471 | ]
|
---|
| 472 | ]
|
---|
| 473 | );
|
---|
| 474 | $this->projects_patchJobs = new OSConfig\Resource\ProjectsPatchJobs(
|
---|
| 475 | $this,
|
---|
| 476 | $this->serviceName,
|
---|
| 477 | 'patchJobs',
|
---|
| 478 | [
|
---|
| 479 | 'methods' => [
|
---|
| 480 | 'cancel' => [
|
---|
| 481 | 'path' => 'v1/{+name}:cancel',
|
---|
| 482 | 'httpMethod' => 'POST',
|
---|
| 483 | 'parameters' => [
|
---|
| 484 | 'name' => [
|
---|
| 485 | 'location' => 'path',
|
---|
| 486 | 'type' => 'string',
|
---|
| 487 | 'required' => true,
|
---|
| 488 | ],
|
---|
| 489 | ],
|
---|
| 490 | ],'execute' => [
|
---|
| 491 | 'path' => 'v1/{+parent}/patchJobs:execute',
|
---|
| 492 | 'httpMethod' => 'POST',
|
---|
| 493 | 'parameters' => [
|
---|
| 494 | 'parent' => [
|
---|
| 495 | 'location' => 'path',
|
---|
| 496 | 'type' => 'string',
|
---|
| 497 | 'required' => true,
|
---|
| 498 | ],
|
---|
| 499 | ],
|
---|
| 500 | ],'get' => [
|
---|
| 501 | 'path' => 'v1/{+name}',
|
---|
| 502 | 'httpMethod' => 'GET',
|
---|
| 503 | 'parameters' => [
|
---|
| 504 | 'name' => [
|
---|
| 505 | 'location' => 'path',
|
---|
| 506 | 'type' => 'string',
|
---|
| 507 | 'required' => true,
|
---|
| 508 | ],
|
---|
| 509 | ],
|
---|
| 510 | ],'list' => [
|
---|
| 511 | 'path' => 'v1/{+parent}/patchJobs',
|
---|
| 512 | 'httpMethod' => 'GET',
|
---|
| 513 | 'parameters' => [
|
---|
| 514 | 'parent' => [
|
---|
| 515 | 'location' => 'path',
|
---|
| 516 | 'type' => 'string',
|
---|
| 517 | 'required' => true,
|
---|
| 518 | ],
|
---|
| 519 | 'filter' => [
|
---|
| 520 | 'location' => 'query',
|
---|
| 521 | 'type' => 'string',
|
---|
| 522 | ],
|
---|
| 523 | 'pageSize' => [
|
---|
| 524 | 'location' => 'query',
|
---|
| 525 | 'type' => 'integer',
|
---|
| 526 | ],
|
---|
| 527 | 'pageToken' => [
|
---|
| 528 | 'location' => 'query',
|
---|
| 529 | 'type' => 'string',
|
---|
| 530 | ],
|
---|
| 531 | ],
|
---|
| 532 | ],
|
---|
| 533 | ]
|
---|
| 534 | ]
|
---|
| 535 | );
|
---|
| 536 | $this->projects_patchJobs_instanceDetails = new OSConfig\Resource\ProjectsPatchJobsInstanceDetails(
|
---|
| 537 | $this,
|
---|
| 538 | $this->serviceName,
|
---|
| 539 | 'instanceDetails',
|
---|
| 540 | [
|
---|
| 541 | 'methods' => [
|
---|
| 542 | 'list' => [
|
---|
| 543 | 'path' => 'v1/{+parent}/instanceDetails',
|
---|
| 544 | 'httpMethod' => 'GET',
|
---|
| 545 | 'parameters' => [
|
---|
| 546 | 'parent' => [
|
---|
| 547 | 'location' => 'path',
|
---|
| 548 | 'type' => 'string',
|
---|
| 549 | 'required' => true,
|
---|
| 550 | ],
|
---|
| 551 | 'filter' => [
|
---|
| 552 | 'location' => 'query',
|
---|
| 553 | 'type' => 'string',
|
---|
| 554 | ],
|
---|
| 555 | 'pageSize' => [
|
---|
| 556 | 'location' => 'query',
|
---|
| 557 | 'type' => 'integer',
|
---|
| 558 | ],
|
---|
| 559 | 'pageToken' => [
|
---|
| 560 | 'location' => 'query',
|
---|
| 561 | 'type' => 'string',
|
---|
| 562 | ],
|
---|
| 563 | ],
|
---|
| 564 | ],
|
---|
| 565 | ]
|
---|
| 566 | ]
|
---|
| 567 | );
|
---|
| 568 | }
|
---|
| 569 | }
|
---|
| 570 |
|
---|
| 571 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 572 | class_alias(OSConfig::class, 'Google_Service_OSConfig');
|
---|