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