[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 SecurityCommandCenter (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | * Security Command Center API provides access to temporal views of assets and
|
---|
| 27 | * findings within an organization.</p>
|
---|
| 28 | *
|
---|
| 29 | * <p>
|
---|
| 30 | * For more information about this service, see the API
|
---|
| 31 | * <a href="https://cloud.google.com/security-command-center" target="_blank">Documentation</a>
|
---|
| 32 | * </p>
|
---|
| 33 | *
|
---|
| 34 | * @author Google, Inc.
|
---|
| 35 | */
|
---|
| 36 | class SecurityCommandCenter 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 $folders_assets;
|
---|
| 43 | public $folders_bigQueryExports;
|
---|
| 44 | public $folders_eventThreatDetectionSettings;
|
---|
| 45 | public $folders_eventThreatDetectionSettings_customModules;
|
---|
| 46 | public $folders_eventThreatDetectionSettings_effectiveCustomModules;
|
---|
| 47 | public $folders_findings;
|
---|
| 48 | public $folders_locations_muteConfigs;
|
---|
| 49 | public $folders_muteConfigs;
|
---|
| 50 | public $folders_notificationConfigs;
|
---|
| 51 | public $folders_securityHealthAnalyticsSettings_customModules;
|
---|
| 52 | public $folders_securityHealthAnalyticsSettings_effectiveCustomModules;
|
---|
| 53 | public $folders_sources;
|
---|
| 54 | public $folders_sources_findings;
|
---|
| 55 | public $folders_sources_findings_externalSystems;
|
---|
| 56 | public $organizations;
|
---|
| 57 | public $organizations_assets;
|
---|
| 58 | public $organizations_bigQueryExports;
|
---|
| 59 | public $organizations_eventThreatDetectionSettings;
|
---|
| 60 | public $organizations_eventThreatDetectionSettings_customModules;
|
---|
| 61 | public $organizations_eventThreatDetectionSettings_effectiveCustomModules;
|
---|
| 62 | public $organizations_findings;
|
---|
| 63 | public $organizations_locations_muteConfigs;
|
---|
| 64 | public $organizations_muteConfigs;
|
---|
| 65 | public $organizations_notificationConfigs;
|
---|
| 66 | public $organizations_operations;
|
---|
| 67 | public $organizations_resourceValueConfigs;
|
---|
| 68 | public $organizations_securityHealthAnalyticsSettings_customModules;
|
---|
| 69 | public $organizations_securityHealthAnalyticsSettings_effectiveCustomModules;
|
---|
| 70 | public $organizations_simulations;
|
---|
| 71 | public $organizations_simulations_attackExposureResults_attackPaths;
|
---|
| 72 | public $organizations_simulations_attackExposureResults_valuedResources;
|
---|
| 73 | public $organizations_simulations_attackPaths;
|
---|
| 74 | public $organizations_simulations_valuedResources;
|
---|
| 75 | public $organizations_simulations_valuedResources_attackPaths;
|
---|
| 76 | public $organizations_sources;
|
---|
| 77 | public $organizations_sources_findings;
|
---|
| 78 | public $organizations_sources_findings_externalSystems;
|
---|
| 79 | public $organizations_valuedResources;
|
---|
| 80 | public $projects_assets;
|
---|
| 81 | public $projects_bigQueryExports;
|
---|
| 82 | public $projects_eventThreatDetectionSettings;
|
---|
| 83 | public $projects_eventThreatDetectionSettings_customModules;
|
---|
| 84 | public $projects_eventThreatDetectionSettings_effectiveCustomModules;
|
---|
| 85 | public $projects_findings;
|
---|
| 86 | public $projects_locations_muteConfigs;
|
---|
| 87 | public $projects_muteConfigs;
|
---|
| 88 | public $projects_notificationConfigs;
|
---|
| 89 | public $projects_securityHealthAnalyticsSettings_customModules;
|
---|
| 90 | public $projects_securityHealthAnalyticsSettings_effectiveCustomModules;
|
---|
| 91 | public $projects_sources;
|
---|
| 92 | public $projects_sources_findings;
|
---|
| 93 | public $projects_sources_findings_externalSystems;
|
---|
| 94 | public $rootUrlTemplate;
|
---|
| 95 |
|
---|
| 96 | /**
|
---|
| 97 | * Constructs the internal representation of the SecurityCommandCenter
|
---|
| 98 | * service.
|
---|
| 99 | *
|
---|
| 100 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 101 | * config array to pass to a new Client instance.
|
---|
| 102 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 103 | */
|
---|
| 104 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 105 | {
|
---|
| 106 | parent::__construct($clientOrConfig);
|
---|
| 107 | $this->rootUrl = $rootUrl ?: 'https://securitycenter.googleapis.com/';
|
---|
| 108 | $this->rootUrlTemplate = $rootUrl ?: 'https://securitycenter.UNIVERSE_DOMAIN/';
|
---|
| 109 | $this->servicePath = '';
|
---|
| 110 | $this->batchPath = 'batch';
|
---|
| 111 | $this->version = 'v1';
|
---|
| 112 | $this->serviceName = 'securitycenter';
|
---|
| 113 |
|
---|
| 114 | $this->folders_assets = new SecurityCommandCenter\Resource\FoldersAssets(
|
---|
| 115 | $this,
|
---|
| 116 | $this->serviceName,
|
---|
| 117 | 'assets',
|
---|
| 118 | [
|
---|
| 119 | 'methods' => [
|
---|
| 120 | 'group' => [
|
---|
| 121 | 'path' => 'v1/{+parent}/assets:group',
|
---|
| 122 | 'httpMethod' => 'POST',
|
---|
| 123 | 'parameters' => [
|
---|
| 124 | 'parent' => [
|
---|
| 125 | 'location' => 'path',
|
---|
| 126 | 'type' => 'string',
|
---|
| 127 | 'required' => true,
|
---|
| 128 | ],
|
---|
| 129 | ],
|
---|
| 130 | ],'list' => [
|
---|
| 131 | 'path' => 'v1/{+parent}/assets',
|
---|
| 132 | 'httpMethod' => 'GET',
|
---|
| 133 | 'parameters' => [
|
---|
| 134 | 'parent' => [
|
---|
| 135 | 'location' => 'path',
|
---|
| 136 | 'type' => 'string',
|
---|
| 137 | 'required' => true,
|
---|
| 138 | ],
|
---|
| 139 | 'compareDuration' => [
|
---|
| 140 | 'location' => 'query',
|
---|
| 141 | 'type' => 'string',
|
---|
| 142 | ],
|
---|
| 143 | 'fieldMask' => [
|
---|
| 144 | 'location' => 'query',
|
---|
| 145 | 'type' => 'string',
|
---|
| 146 | ],
|
---|
| 147 | 'filter' => [
|
---|
| 148 | 'location' => 'query',
|
---|
| 149 | 'type' => 'string',
|
---|
| 150 | ],
|
---|
| 151 | 'orderBy' => [
|
---|
| 152 | 'location' => 'query',
|
---|
| 153 | 'type' => 'string',
|
---|
| 154 | ],
|
---|
| 155 | 'pageSize' => [
|
---|
| 156 | 'location' => 'query',
|
---|
| 157 | 'type' => 'integer',
|
---|
| 158 | ],
|
---|
| 159 | 'pageToken' => [
|
---|
| 160 | 'location' => 'query',
|
---|
| 161 | 'type' => 'string',
|
---|
| 162 | ],
|
---|
| 163 | 'readTime' => [
|
---|
| 164 | 'location' => 'query',
|
---|
| 165 | 'type' => 'string',
|
---|
| 166 | ],
|
---|
| 167 | ],
|
---|
| 168 | ],'updateSecurityMarks' => [
|
---|
| 169 | 'path' => 'v1/{+name}',
|
---|
| 170 | 'httpMethod' => 'PATCH',
|
---|
| 171 | 'parameters' => [
|
---|
| 172 | 'name' => [
|
---|
| 173 | 'location' => 'path',
|
---|
| 174 | 'type' => 'string',
|
---|
| 175 | 'required' => true,
|
---|
| 176 | ],
|
---|
| 177 | 'startTime' => [
|
---|
| 178 | 'location' => 'query',
|
---|
| 179 | 'type' => 'string',
|
---|
| 180 | ],
|
---|
| 181 | 'updateMask' => [
|
---|
| 182 | 'location' => 'query',
|
---|
| 183 | 'type' => 'string',
|
---|
| 184 | ],
|
---|
| 185 | ],
|
---|
| 186 | ],
|
---|
| 187 | ]
|
---|
| 188 | ]
|
---|
| 189 | );
|
---|
| 190 | $this->folders_bigQueryExports = new SecurityCommandCenter\Resource\FoldersBigQueryExports(
|
---|
| 191 | $this,
|
---|
| 192 | $this->serviceName,
|
---|
| 193 | 'bigQueryExports',
|
---|
| 194 | [
|
---|
| 195 | 'methods' => [
|
---|
| 196 | 'create' => [
|
---|
| 197 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 198 | 'httpMethod' => 'POST',
|
---|
| 199 | 'parameters' => [
|
---|
| 200 | 'parent' => [
|
---|
| 201 | 'location' => 'path',
|
---|
| 202 | 'type' => 'string',
|
---|
| 203 | 'required' => true,
|
---|
| 204 | ],
|
---|
| 205 | 'bigQueryExportId' => [
|
---|
| 206 | 'location' => 'query',
|
---|
| 207 | 'type' => 'string',
|
---|
| 208 | ],
|
---|
| 209 | ],
|
---|
| 210 | ],'delete' => [
|
---|
| 211 | 'path' => 'v1/{+name}',
|
---|
| 212 | 'httpMethod' => 'DELETE',
|
---|
| 213 | 'parameters' => [
|
---|
| 214 | 'name' => [
|
---|
| 215 | 'location' => 'path',
|
---|
| 216 | 'type' => 'string',
|
---|
| 217 | 'required' => true,
|
---|
| 218 | ],
|
---|
| 219 | ],
|
---|
| 220 | ],'get' => [
|
---|
| 221 | 'path' => 'v1/{+name}',
|
---|
| 222 | 'httpMethod' => 'GET',
|
---|
| 223 | 'parameters' => [
|
---|
| 224 | 'name' => [
|
---|
| 225 | 'location' => 'path',
|
---|
| 226 | 'type' => 'string',
|
---|
| 227 | 'required' => true,
|
---|
| 228 | ],
|
---|
| 229 | ],
|
---|
| 230 | ],'list' => [
|
---|
| 231 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 232 | 'httpMethod' => 'GET',
|
---|
| 233 | 'parameters' => [
|
---|
| 234 | 'parent' => [
|
---|
| 235 | 'location' => 'path',
|
---|
| 236 | 'type' => 'string',
|
---|
| 237 | 'required' => true,
|
---|
| 238 | ],
|
---|
| 239 | 'pageSize' => [
|
---|
| 240 | 'location' => 'query',
|
---|
| 241 | 'type' => 'integer',
|
---|
| 242 | ],
|
---|
| 243 | 'pageToken' => [
|
---|
| 244 | 'location' => 'query',
|
---|
| 245 | 'type' => 'string',
|
---|
| 246 | ],
|
---|
| 247 | ],
|
---|
| 248 | ],'patch' => [
|
---|
| 249 | 'path' => 'v1/{+name}',
|
---|
| 250 | 'httpMethod' => 'PATCH',
|
---|
| 251 | 'parameters' => [
|
---|
| 252 | 'name' => [
|
---|
| 253 | 'location' => 'path',
|
---|
| 254 | 'type' => 'string',
|
---|
| 255 | 'required' => true,
|
---|
| 256 | ],
|
---|
| 257 | 'updateMask' => [
|
---|
| 258 | 'location' => 'query',
|
---|
| 259 | 'type' => 'string',
|
---|
| 260 | ],
|
---|
| 261 | ],
|
---|
| 262 | ],
|
---|
| 263 | ]
|
---|
| 264 | ]
|
---|
| 265 | );
|
---|
| 266 | $this->folders_eventThreatDetectionSettings = new SecurityCommandCenter\Resource\FoldersEventThreatDetectionSettings(
|
---|
| 267 | $this,
|
---|
| 268 | $this->serviceName,
|
---|
| 269 | 'eventThreatDetectionSettings',
|
---|
| 270 | [
|
---|
| 271 | 'methods' => [
|
---|
| 272 | 'validateCustomModule' => [
|
---|
| 273 | 'path' => 'v1/{+parent}:validateCustomModule',
|
---|
| 274 | 'httpMethod' => 'POST',
|
---|
| 275 | 'parameters' => [
|
---|
| 276 | 'parent' => [
|
---|
| 277 | 'location' => 'path',
|
---|
| 278 | 'type' => 'string',
|
---|
| 279 | 'required' => true,
|
---|
| 280 | ],
|
---|
| 281 | ],
|
---|
| 282 | ],
|
---|
| 283 | ]
|
---|
| 284 | ]
|
---|
| 285 | );
|
---|
| 286 | $this->folders_eventThreatDetectionSettings_customModules = new SecurityCommandCenter\Resource\FoldersEventThreatDetectionSettingsCustomModules(
|
---|
| 287 | $this,
|
---|
| 288 | $this->serviceName,
|
---|
| 289 | 'customModules',
|
---|
| 290 | [
|
---|
| 291 | 'methods' => [
|
---|
| 292 | 'create' => [
|
---|
| 293 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 294 | 'httpMethod' => 'POST',
|
---|
| 295 | 'parameters' => [
|
---|
| 296 | 'parent' => [
|
---|
| 297 | 'location' => 'path',
|
---|
| 298 | 'type' => 'string',
|
---|
| 299 | 'required' => true,
|
---|
| 300 | ],
|
---|
| 301 | ],
|
---|
| 302 | ],'delete' => [
|
---|
| 303 | 'path' => 'v1/{+name}',
|
---|
| 304 | 'httpMethod' => 'DELETE',
|
---|
| 305 | 'parameters' => [
|
---|
| 306 | 'name' => [
|
---|
| 307 | 'location' => 'path',
|
---|
| 308 | 'type' => 'string',
|
---|
| 309 | 'required' => true,
|
---|
| 310 | ],
|
---|
| 311 | ],
|
---|
| 312 | ],'get' => [
|
---|
| 313 | 'path' => 'v1/{+name}',
|
---|
| 314 | 'httpMethod' => 'GET',
|
---|
| 315 | 'parameters' => [
|
---|
| 316 | 'name' => [
|
---|
| 317 | 'location' => 'path',
|
---|
| 318 | 'type' => 'string',
|
---|
| 319 | 'required' => true,
|
---|
| 320 | ],
|
---|
| 321 | ],
|
---|
| 322 | ],'list' => [
|
---|
| 323 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 324 | 'httpMethod' => 'GET',
|
---|
| 325 | 'parameters' => [
|
---|
| 326 | 'parent' => [
|
---|
| 327 | 'location' => 'path',
|
---|
| 328 | 'type' => 'string',
|
---|
| 329 | 'required' => true,
|
---|
| 330 | ],
|
---|
| 331 | 'pageSize' => [
|
---|
| 332 | 'location' => 'query',
|
---|
| 333 | 'type' => 'integer',
|
---|
| 334 | ],
|
---|
| 335 | 'pageToken' => [
|
---|
| 336 | 'location' => 'query',
|
---|
| 337 | 'type' => 'string',
|
---|
| 338 | ],
|
---|
| 339 | ],
|
---|
| 340 | ],'listDescendant' => [
|
---|
| 341 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 342 | 'httpMethod' => 'GET',
|
---|
| 343 | 'parameters' => [
|
---|
| 344 | 'parent' => [
|
---|
| 345 | 'location' => 'path',
|
---|
| 346 | 'type' => 'string',
|
---|
| 347 | 'required' => true,
|
---|
| 348 | ],
|
---|
| 349 | 'pageSize' => [
|
---|
| 350 | 'location' => 'query',
|
---|
| 351 | 'type' => 'integer',
|
---|
| 352 | ],
|
---|
| 353 | 'pageToken' => [
|
---|
| 354 | 'location' => 'query',
|
---|
| 355 | 'type' => 'string',
|
---|
| 356 | ],
|
---|
| 357 | ],
|
---|
| 358 | ],'patch' => [
|
---|
| 359 | 'path' => 'v1/{+name}',
|
---|
| 360 | 'httpMethod' => 'PATCH',
|
---|
| 361 | 'parameters' => [
|
---|
| 362 | 'name' => [
|
---|
| 363 | 'location' => 'path',
|
---|
| 364 | 'type' => 'string',
|
---|
| 365 | 'required' => true,
|
---|
| 366 | ],
|
---|
| 367 | 'updateMask' => [
|
---|
| 368 | 'location' => 'query',
|
---|
| 369 | 'type' => 'string',
|
---|
| 370 | ],
|
---|
| 371 | ],
|
---|
| 372 | ],
|
---|
| 373 | ]
|
---|
| 374 | ]
|
---|
| 375 | );
|
---|
| 376 | $this->folders_eventThreatDetectionSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\FoldersEventThreatDetectionSettingsEffectiveCustomModules(
|
---|
| 377 | $this,
|
---|
| 378 | $this->serviceName,
|
---|
| 379 | 'effectiveCustomModules',
|
---|
| 380 | [
|
---|
| 381 | 'methods' => [
|
---|
| 382 | 'get' => [
|
---|
| 383 | 'path' => 'v1/{+name}',
|
---|
| 384 | 'httpMethod' => 'GET',
|
---|
| 385 | 'parameters' => [
|
---|
| 386 | 'name' => [
|
---|
| 387 | 'location' => 'path',
|
---|
| 388 | 'type' => 'string',
|
---|
| 389 | 'required' => true,
|
---|
| 390 | ],
|
---|
| 391 | ],
|
---|
| 392 | ],'list' => [
|
---|
| 393 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 394 | 'httpMethod' => 'GET',
|
---|
| 395 | 'parameters' => [
|
---|
| 396 | 'parent' => [
|
---|
| 397 | 'location' => 'path',
|
---|
| 398 | 'type' => 'string',
|
---|
| 399 | 'required' => true,
|
---|
| 400 | ],
|
---|
| 401 | 'pageSize' => [
|
---|
| 402 | 'location' => 'query',
|
---|
| 403 | 'type' => 'integer',
|
---|
| 404 | ],
|
---|
| 405 | 'pageToken' => [
|
---|
| 406 | 'location' => 'query',
|
---|
| 407 | 'type' => 'string',
|
---|
| 408 | ],
|
---|
| 409 | ],
|
---|
| 410 | ],
|
---|
| 411 | ]
|
---|
| 412 | ]
|
---|
| 413 | );
|
---|
| 414 | $this->folders_findings = new SecurityCommandCenter\Resource\FoldersFindings(
|
---|
| 415 | $this,
|
---|
| 416 | $this->serviceName,
|
---|
| 417 | 'findings',
|
---|
| 418 | [
|
---|
| 419 | 'methods' => [
|
---|
| 420 | 'bulkMute' => [
|
---|
| 421 | 'path' => 'v1/{+parent}/findings:bulkMute',
|
---|
| 422 | 'httpMethod' => 'POST',
|
---|
| 423 | 'parameters' => [
|
---|
| 424 | 'parent' => [
|
---|
| 425 | 'location' => 'path',
|
---|
| 426 | 'type' => 'string',
|
---|
| 427 | 'required' => true,
|
---|
| 428 | ],
|
---|
| 429 | ],
|
---|
| 430 | ],
|
---|
| 431 | ]
|
---|
| 432 | ]
|
---|
| 433 | );
|
---|
| 434 | $this->folders_locations_muteConfigs = new SecurityCommandCenter\Resource\FoldersLocationsMuteConfigs(
|
---|
| 435 | $this,
|
---|
| 436 | $this->serviceName,
|
---|
| 437 | 'muteConfigs',
|
---|
| 438 | [
|
---|
| 439 | 'methods' => [
|
---|
| 440 | 'delete' => [
|
---|
| 441 | 'path' => 'v1/{+name}',
|
---|
| 442 | 'httpMethod' => 'DELETE',
|
---|
| 443 | 'parameters' => [
|
---|
| 444 | 'name' => [
|
---|
| 445 | 'location' => 'path',
|
---|
| 446 | 'type' => 'string',
|
---|
| 447 | 'required' => true,
|
---|
| 448 | ],
|
---|
| 449 | ],
|
---|
| 450 | ],'get' => [
|
---|
| 451 | 'path' => 'v1/{+name}',
|
---|
| 452 | 'httpMethod' => 'GET',
|
---|
| 453 | 'parameters' => [
|
---|
| 454 | 'name' => [
|
---|
| 455 | 'location' => 'path',
|
---|
| 456 | 'type' => 'string',
|
---|
| 457 | 'required' => true,
|
---|
| 458 | ],
|
---|
| 459 | ],
|
---|
| 460 | ],'patch' => [
|
---|
| 461 | 'path' => 'v1/{+name}',
|
---|
| 462 | 'httpMethod' => 'PATCH',
|
---|
| 463 | 'parameters' => [
|
---|
| 464 | 'name' => [
|
---|
| 465 | 'location' => 'path',
|
---|
| 466 | 'type' => 'string',
|
---|
| 467 | 'required' => true,
|
---|
| 468 | ],
|
---|
| 469 | 'updateMask' => [
|
---|
| 470 | 'location' => 'query',
|
---|
| 471 | 'type' => 'string',
|
---|
| 472 | ],
|
---|
| 473 | ],
|
---|
| 474 | ],
|
---|
| 475 | ]
|
---|
| 476 | ]
|
---|
| 477 | );
|
---|
| 478 | $this->folders_muteConfigs = new SecurityCommandCenter\Resource\FoldersMuteConfigs(
|
---|
| 479 | $this,
|
---|
| 480 | $this->serviceName,
|
---|
| 481 | 'muteConfigs',
|
---|
| 482 | [
|
---|
| 483 | 'methods' => [
|
---|
| 484 | 'create' => [
|
---|
| 485 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 486 | 'httpMethod' => 'POST',
|
---|
| 487 | 'parameters' => [
|
---|
| 488 | 'parent' => [
|
---|
| 489 | 'location' => 'path',
|
---|
| 490 | 'type' => 'string',
|
---|
| 491 | 'required' => true,
|
---|
| 492 | ],
|
---|
| 493 | 'muteConfigId' => [
|
---|
| 494 | 'location' => 'query',
|
---|
| 495 | 'type' => 'string',
|
---|
| 496 | ],
|
---|
| 497 | ],
|
---|
| 498 | ],'delete' => [
|
---|
| 499 | 'path' => 'v1/{+name}',
|
---|
| 500 | 'httpMethod' => 'DELETE',
|
---|
| 501 | 'parameters' => [
|
---|
| 502 | 'name' => [
|
---|
| 503 | 'location' => 'path',
|
---|
| 504 | 'type' => 'string',
|
---|
| 505 | 'required' => true,
|
---|
| 506 | ],
|
---|
| 507 | ],
|
---|
| 508 | ],'get' => [
|
---|
| 509 | 'path' => 'v1/{+name}',
|
---|
| 510 | 'httpMethod' => 'GET',
|
---|
| 511 | 'parameters' => [
|
---|
| 512 | 'name' => [
|
---|
| 513 | 'location' => 'path',
|
---|
| 514 | 'type' => 'string',
|
---|
| 515 | 'required' => true,
|
---|
| 516 | ],
|
---|
| 517 | ],
|
---|
| 518 | ],'list' => [
|
---|
| 519 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 520 | 'httpMethod' => 'GET',
|
---|
| 521 | 'parameters' => [
|
---|
| 522 | 'parent' => [
|
---|
| 523 | 'location' => 'path',
|
---|
| 524 | 'type' => 'string',
|
---|
| 525 | 'required' => true,
|
---|
| 526 | ],
|
---|
| 527 | 'pageSize' => [
|
---|
| 528 | 'location' => 'query',
|
---|
| 529 | 'type' => 'integer',
|
---|
| 530 | ],
|
---|
| 531 | 'pageToken' => [
|
---|
| 532 | 'location' => 'query',
|
---|
| 533 | 'type' => 'string',
|
---|
| 534 | ],
|
---|
| 535 | ],
|
---|
| 536 | ],'patch' => [
|
---|
| 537 | 'path' => 'v1/{+name}',
|
---|
| 538 | 'httpMethod' => 'PATCH',
|
---|
| 539 | 'parameters' => [
|
---|
| 540 | 'name' => [
|
---|
| 541 | 'location' => 'path',
|
---|
| 542 | 'type' => 'string',
|
---|
| 543 | 'required' => true,
|
---|
| 544 | ],
|
---|
| 545 | 'updateMask' => [
|
---|
| 546 | 'location' => 'query',
|
---|
| 547 | 'type' => 'string',
|
---|
| 548 | ],
|
---|
| 549 | ],
|
---|
| 550 | ],
|
---|
| 551 | ]
|
---|
| 552 | ]
|
---|
| 553 | );
|
---|
| 554 | $this->folders_notificationConfigs = new SecurityCommandCenter\Resource\FoldersNotificationConfigs(
|
---|
| 555 | $this,
|
---|
| 556 | $this->serviceName,
|
---|
| 557 | 'notificationConfigs',
|
---|
| 558 | [
|
---|
| 559 | 'methods' => [
|
---|
| 560 | 'create' => [
|
---|
| 561 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 562 | 'httpMethod' => 'POST',
|
---|
| 563 | 'parameters' => [
|
---|
| 564 | 'parent' => [
|
---|
| 565 | 'location' => 'path',
|
---|
| 566 | 'type' => 'string',
|
---|
| 567 | 'required' => true,
|
---|
| 568 | ],
|
---|
| 569 | 'configId' => [
|
---|
| 570 | 'location' => 'query',
|
---|
| 571 | 'type' => 'string',
|
---|
| 572 | ],
|
---|
| 573 | ],
|
---|
| 574 | ],'delete' => [
|
---|
| 575 | 'path' => 'v1/{+name}',
|
---|
| 576 | 'httpMethod' => 'DELETE',
|
---|
| 577 | 'parameters' => [
|
---|
| 578 | 'name' => [
|
---|
| 579 | 'location' => 'path',
|
---|
| 580 | 'type' => 'string',
|
---|
| 581 | 'required' => true,
|
---|
| 582 | ],
|
---|
| 583 | ],
|
---|
| 584 | ],'get' => [
|
---|
| 585 | 'path' => 'v1/{+name}',
|
---|
| 586 | 'httpMethod' => 'GET',
|
---|
| 587 | 'parameters' => [
|
---|
| 588 | 'name' => [
|
---|
| 589 | 'location' => 'path',
|
---|
| 590 | 'type' => 'string',
|
---|
| 591 | 'required' => true,
|
---|
| 592 | ],
|
---|
| 593 | ],
|
---|
| 594 | ],'list' => [
|
---|
| 595 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 596 | 'httpMethod' => 'GET',
|
---|
| 597 | 'parameters' => [
|
---|
| 598 | 'parent' => [
|
---|
| 599 | 'location' => 'path',
|
---|
| 600 | 'type' => 'string',
|
---|
| 601 | 'required' => true,
|
---|
| 602 | ],
|
---|
| 603 | 'pageSize' => [
|
---|
| 604 | 'location' => 'query',
|
---|
| 605 | 'type' => 'integer',
|
---|
| 606 | ],
|
---|
| 607 | 'pageToken' => [
|
---|
| 608 | 'location' => 'query',
|
---|
| 609 | 'type' => 'string',
|
---|
| 610 | ],
|
---|
| 611 | ],
|
---|
| 612 | ],'patch' => [
|
---|
| 613 | 'path' => 'v1/{+name}',
|
---|
| 614 | 'httpMethod' => 'PATCH',
|
---|
| 615 | 'parameters' => [
|
---|
| 616 | 'name' => [
|
---|
| 617 | 'location' => 'path',
|
---|
| 618 | 'type' => 'string',
|
---|
| 619 | 'required' => true,
|
---|
| 620 | ],
|
---|
| 621 | 'updateMask' => [
|
---|
| 622 | 'location' => 'query',
|
---|
| 623 | 'type' => 'string',
|
---|
| 624 | ],
|
---|
| 625 | ],
|
---|
| 626 | ],
|
---|
| 627 | ]
|
---|
| 628 | ]
|
---|
| 629 | );
|
---|
| 630 | $this->folders_securityHealthAnalyticsSettings_customModules = new SecurityCommandCenter\Resource\FoldersSecurityHealthAnalyticsSettingsCustomModules(
|
---|
| 631 | $this,
|
---|
| 632 | $this->serviceName,
|
---|
| 633 | 'customModules',
|
---|
| 634 | [
|
---|
| 635 | 'methods' => [
|
---|
| 636 | 'create' => [
|
---|
| 637 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 638 | 'httpMethod' => 'POST',
|
---|
| 639 | 'parameters' => [
|
---|
| 640 | 'parent' => [
|
---|
| 641 | 'location' => 'path',
|
---|
| 642 | 'type' => 'string',
|
---|
| 643 | 'required' => true,
|
---|
| 644 | ],
|
---|
| 645 | ],
|
---|
| 646 | ],'delete' => [
|
---|
| 647 | 'path' => 'v1/{+name}',
|
---|
| 648 | 'httpMethod' => 'DELETE',
|
---|
| 649 | 'parameters' => [
|
---|
| 650 | 'name' => [
|
---|
| 651 | 'location' => 'path',
|
---|
| 652 | 'type' => 'string',
|
---|
| 653 | 'required' => true,
|
---|
| 654 | ],
|
---|
| 655 | ],
|
---|
| 656 | ],'get' => [
|
---|
| 657 | 'path' => 'v1/{+name}',
|
---|
| 658 | 'httpMethod' => 'GET',
|
---|
| 659 | 'parameters' => [
|
---|
| 660 | 'name' => [
|
---|
| 661 | 'location' => 'path',
|
---|
| 662 | 'type' => 'string',
|
---|
| 663 | 'required' => true,
|
---|
| 664 | ],
|
---|
| 665 | ],
|
---|
| 666 | ],'list' => [
|
---|
| 667 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 668 | 'httpMethod' => 'GET',
|
---|
| 669 | 'parameters' => [
|
---|
| 670 | 'parent' => [
|
---|
| 671 | 'location' => 'path',
|
---|
| 672 | 'type' => 'string',
|
---|
| 673 | 'required' => true,
|
---|
| 674 | ],
|
---|
| 675 | 'pageSize' => [
|
---|
| 676 | 'location' => 'query',
|
---|
| 677 | 'type' => 'integer',
|
---|
| 678 | ],
|
---|
| 679 | 'pageToken' => [
|
---|
| 680 | 'location' => 'query',
|
---|
| 681 | 'type' => 'string',
|
---|
| 682 | ],
|
---|
| 683 | ],
|
---|
| 684 | ],'listDescendant' => [
|
---|
| 685 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 686 | 'httpMethod' => 'GET',
|
---|
| 687 | 'parameters' => [
|
---|
| 688 | 'parent' => [
|
---|
| 689 | 'location' => 'path',
|
---|
| 690 | 'type' => 'string',
|
---|
| 691 | 'required' => true,
|
---|
| 692 | ],
|
---|
| 693 | 'pageSize' => [
|
---|
| 694 | 'location' => 'query',
|
---|
| 695 | 'type' => 'integer',
|
---|
| 696 | ],
|
---|
| 697 | 'pageToken' => [
|
---|
| 698 | 'location' => 'query',
|
---|
| 699 | 'type' => 'string',
|
---|
| 700 | ],
|
---|
| 701 | ],
|
---|
| 702 | ],'patch' => [
|
---|
| 703 | 'path' => 'v1/{+name}',
|
---|
| 704 | 'httpMethod' => 'PATCH',
|
---|
| 705 | 'parameters' => [
|
---|
| 706 | 'name' => [
|
---|
| 707 | 'location' => 'path',
|
---|
| 708 | 'type' => 'string',
|
---|
| 709 | 'required' => true,
|
---|
| 710 | ],
|
---|
| 711 | 'updateMask' => [
|
---|
| 712 | 'location' => 'query',
|
---|
| 713 | 'type' => 'string',
|
---|
| 714 | ],
|
---|
| 715 | ],
|
---|
| 716 | ],'simulate' => [
|
---|
| 717 | 'path' => 'v1/{+parent}/customModules:simulate',
|
---|
| 718 | 'httpMethod' => 'POST',
|
---|
| 719 | 'parameters' => [
|
---|
| 720 | 'parent' => [
|
---|
| 721 | 'location' => 'path',
|
---|
| 722 | 'type' => 'string',
|
---|
| 723 | 'required' => true,
|
---|
| 724 | ],
|
---|
| 725 | ],
|
---|
| 726 | ],
|
---|
| 727 | ]
|
---|
| 728 | ]
|
---|
| 729 | );
|
---|
| 730 | $this->folders_securityHealthAnalyticsSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\FoldersSecurityHealthAnalyticsSettingsEffectiveCustomModules(
|
---|
| 731 | $this,
|
---|
| 732 | $this->serviceName,
|
---|
| 733 | 'effectiveCustomModules',
|
---|
| 734 | [
|
---|
| 735 | 'methods' => [
|
---|
| 736 | 'get' => [
|
---|
| 737 | 'path' => 'v1/{+name}',
|
---|
| 738 | 'httpMethod' => 'GET',
|
---|
| 739 | 'parameters' => [
|
---|
| 740 | 'name' => [
|
---|
| 741 | 'location' => 'path',
|
---|
| 742 | 'type' => 'string',
|
---|
| 743 | 'required' => true,
|
---|
| 744 | ],
|
---|
| 745 | ],
|
---|
| 746 | ],'list' => [
|
---|
| 747 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 748 | 'httpMethod' => 'GET',
|
---|
| 749 | 'parameters' => [
|
---|
| 750 | 'parent' => [
|
---|
| 751 | 'location' => 'path',
|
---|
| 752 | 'type' => 'string',
|
---|
| 753 | 'required' => true,
|
---|
| 754 | ],
|
---|
| 755 | 'pageSize' => [
|
---|
| 756 | 'location' => 'query',
|
---|
| 757 | 'type' => 'integer',
|
---|
| 758 | ],
|
---|
| 759 | 'pageToken' => [
|
---|
| 760 | 'location' => 'query',
|
---|
| 761 | 'type' => 'string',
|
---|
| 762 | ],
|
---|
| 763 | ],
|
---|
| 764 | ],
|
---|
| 765 | ]
|
---|
| 766 | ]
|
---|
| 767 | );
|
---|
| 768 | $this->folders_sources = new SecurityCommandCenter\Resource\FoldersSources(
|
---|
| 769 | $this,
|
---|
| 770 | $this->serviceName,
|
---|
| 771 | 'sources',
|
---|
| 772 | [
|
---|
| 773 | 'methods' => [
|
---|
| 774 | 'list' => [
|
---|
| 775 | 'path' => 'v1/{+parent}/sources',
|
---|
| 776 | 'httpMethod' => 'GET',
|
---|
| 777 | 'parameters' => [
|
---|
| 778 | 'parent' => [
|
---|
| 779 | 'location' => 'path',
|
---|
| 780 | 'type' => 'string',
|
---|
| 781 | 'required' => true,
|
---|
| 782 | ],
|
---|
| 783 | 'pageSize' => [
|
---|
| 784 | 'location' => 'query',
|
---|
| 785 | 'type' => 'integer',
|
---|
| 786 | ],
|
---|
| 787 | 'pageToken' => [
|
---|
| 788 | 'location' => 'query',
|
---|
| 789 | 'type' => 'string',
|
---|
| 790 | ],
|
---|
| 791 | ],
|
---|
| 792 | ],
|
---|
| 793 | ]
|
---|
| 794 | ]
|
---|
| 795 | );
|
---|
| 796 | $this->folders_sources_findings = new SecurityCommandCenter\Resource\FoldersSourcesFindings(
|
---|
| 797 | $this,
|
---|
| 798 | $this->serviceName,
|
---|
| 799 | 'findings',
|
---|
| 800 | [
|
---|
| 801 | 'methods' => [
|
---|
| 802 | 'group' => [
|
---|
| 803 | 'path' => 'v1/{+parent}/findings:group',
|
---|
| 804 | 'httpMethod' => 'POST',
|
---|
| 805 | 'parameters' => [
|
---|
| 806 | 'parent' => [
|
---|
| 807 | 'location' => 'path',
|
---|
| 808 | 'type' => 'string',
|
---|
| 809 | 'required' => true,
|
---|
| 810 | ],
|
---|
| 811 | ],
|
---|
| 812 | ],'list' => [
|
---|
| 813 | 'path' => 'v1/{+parent}/findings',
|
---|
| 814 | 'httpMethod' => 'GET',
|
---|
| 815 | 'parameters' => [
|
---|
| 816 | 'parent' => [
|
---|
| 817 | 'location' => 'path',
|
---|
| 818 | 'type' => 'string',
|
---|
| 819 | 'required' => true,
|
---|
| 820 | ],
|
---|
| 821 | 'compareDuration' => [
|
---|
| 822 | 'location' => 'query',
|
---|
| 823 | 'type' => 'string',
|
---|
| 824 | ],
|
---|
| 825 | 'fieldMask' => [
|
---|
| 826 | 'location' => 'query',
|
---|
| 827 | 'type' => 'string',
|
---|
| 828 | ],
|
---|
| 829 | 'filter' => [
|
---|
| 830 | 'location' => 'query',
|
---|
| 831 | 'type' => 'string',
|
---|
| 832 | ],
|
---|
| 833 | 'orderBy' => [
|
---|
| 834 | 'location' => 'query',
|
---|
| 835 | 'type' => 'string',
|
---|
| 836 | ],
|
---|
| 837 | 'pageSize' => [
|
---|
| 838 | 'location' => 'query',
|
---|
| 839 | 'type' => 'integer',
|
---|
| 840 | ],
|
---|
| 841 | 'pageToken' => [
|
---|
| 842 | 'location' => 'query',
|
---|
| 843 | 'type' => 'string',
|
---|
| 844 | ],
|
---|
| 845 | 'readTime' => [
|
---|
| 846 | 'location' => 'query',
|
---|
| 847 | 'type' => 'string',
|
---|
| 848 | ],
|
---|
| 849 | ],
|
---|
| 850 | ],'patch' => [
|
---|
| 851 | 'path' => 'v1/{+name}',
|
---|
| 852 | 'httpMethod' => 'PATCH',
|
---|
| 853 | 'parameters' => [
|
---|
| 854 | 'name' => [
|
---|
| 855 | 'location' => 'path',
|
---|
| 856 | 'type' => 'string',
|
---|
| 857 | 'required' => true,
|
---|
| 858 | ],
|
---|
| 859 | 'updateMask' => [
|
---|
| 860 | 'location' => 'query',
|
---|
| 861 | 'type' => 'string',
|
---|
| 862 | ],
|
---|
| 863 | ],
|
---|
| 864 | ],'setMute' => [
|
---|
| 865 | 'path' => 'v1/{+name}:setMute',
|
---|
| 866 | 'httpMethod' => 'POST',
|
---|
| 867 | 'parameters' => [
|
---|
| 868 | 'name' => [
|
---|
| 869 | 'location' => 'path',
|
---|
| 870 | 'type' => 'string',
|
---|
| 871 | 'required' => true,
|
---|
| 872 | ],
|
---|
| 873 | ],
|
---|
| 874 | ],'setState' => [
|
---|
| 875 | 'path' => 'v1/{+name}:setState',
|
---|
| 876 | 'httpMethod' => 'POST',
|
---|
| 877 | 'parameters' => [
|
---|
| 878 | 'name' => [
|
---|
| 879 | 'location' => 'path',
|
---|
| 880 | 'type' => 'string',
|
---|
| 881 | 'required' => true,
|
---|
| 882 | ],
|
---|
| 883 | ],
|
---|
| 884 | ],'updateSecurityMarks' => [
|
---|
| 885 | 'path' => 'v1/{+name}',
|
---|
| 886 | 'httpMethod' => 'PATCH',
|
---|
| 887 | 'parameters' => [
|
---|
| 888 | 'name' => [
|
---|
| 889 | 'location' => 'path',
|
---|
| 890 | 'type' => 'string',
|
---|
| 891 | 'required' => true,
|
---|
| 892 | ],
|
---|
| 893 | 'startTime' => [
|
---|
| 894 | 'location' => 'query',
|
---|
| 895 | 'type' => 'string',
|
---|
| 896 | ],
|
---|
| 897 | 'updateMask' => [
|
---|
| 898 | 'location' => 'query',
|
---|
| 899 | 'type' => 'string',
|
---|
| 900 | ],
|
---|
| 901 | ],
|
---|
| 902 | ],
|
---|
| 903 | ]
|
---|
| 904 | ]
|
---|
| 905 | );
|
---|
| 906 | $this->folders_sources_findings_externalSystems = new SecurityCommandCenter\Resource\FoldersSourcesFindingsExternalSystems(
|
---|
| 907 | $this,
|
---|
| 908 | $this->serviceName,
|
---|
| 909 | 'externalSystems',
|
---|
| 910 | [
|
---|
| 911 | 'methods' => [
|
---|
| 912 | 'patch' => [
|
---|
| 913 | 'path' => 'v1/{+name}',
|
---|
| 914 | 'httpMethod' => 'PATCH',
|
---|
| 915 | 'parameters' => [
|
---|
| 916 | 'name' => [
|
---|
| 917 | 'location' => 'path',
|
---|
| 918 | 'type' => 'string',
|
---|
| 919 | 'required' => true,
|
---|
| 920 | ],
|
---|
| 921 | 'updateMask' => [
|
---|
| 922 | 'location' => 'query',
|
---|
| 923 | 'type' => 'string',
|
---|
| 924 | ],
|
---|
| 925 | ],
|
---|
| 926 | ],
|
---|
| 927 | ]
|
---|
| 928 | ]
|
---|
| 929 | );
|
---|
| 930 | $this->organizations = new SecurityCommandCenter\Resource\Organizations(
|
---|
| 931 | $this,
|
---|
| 932 | $this->serviceName,
|
---|
| 933 | 'organizations',
|
---|
| 934 | [
|
---|
| 935 | 'methods' => [
|
---|
| 936 | 'getOrganizationSettings' => [
|
---|
| 937 | 'path' => 'v1/{+name}',
|
---|
| 938 | 'httpMethod' => 'GET',
|
---|
| 939 | 'parameters' => [
|
---|
| 940 | 'name' => [
|
---|
| 941 | 'location' => 'path',
|
---|
| 942 | 'type' => 'string',
|
---|
| 943 | 'required' => true,
|
---|
| 944 | ],
|
---|
| 945 | ],
|
---|
| 946 | ],'updateOrganizationSettings' => [
|
---|
| 947 | 'path' => 'v1/{+name}',
|
---|
| 948 | 'httpMethod' => 'PATCH',
|
---|
| 949 | 'parameters' => [
|
---|
| 950 | 'name' => [
|
---|
| 951 | 'location' => 'path',
|
---|
| 952 | 'type' => 'string',
|
---|
| 953 | 'required' => true,
|
---|
| 954 | ],
|
---|
| 955 | 'updateMask' => [
|
---|
| 956 | 'location' => 'query',
|
---|
| 957 | 'type' => 'string',
|
---|
| 958 | ],
|
---|
| 959 | ],
|
---|
| 960 | ],
|
---|
| 961 | ]
|
---|
| 962 | ]
|
---|
| 963 | );
|
---|
| 964 | $this->organizations_assets = new SecurityCommandCenter\Resource\OrganizationsAssets(
|
---|
| 965 | $this,
|
---|
| 966 | $this->serviceName,
|
---|
| 967 | 'assets',
|
---|
| 968 | [
|
---|
| 969 | 'methods' => [
|
---|
| 970 | 'group' => [
|
---|
| 971 | 'path' => 'v1/{+parent}/assets:group',
|
---|
| 972 | 'httpMethod' => 'POST',
|
---|
| 973 | 'parameters' => [
|
---|
| 974 | 'parent' => [
|
---|
| 975 | 'location' => 'path',
|
---|
| 976 | 'type' => 'string',
|
---|
| 977 | 'required' => true,
|
---|
| 978 | ],
|
---|
| 979 | ],
|
---|
| 980 | ],'list' => [
|
---|
| 981 | 'path' => 'v1/{+parent}/assets',
|
---|
| 982 | 'httpMethod' => 'GET',
|
---|
| 983 | 'parameters' => [
|
---|
| 984 | 'parent' => [
|
---|
| 985 | 'location' => 'path',
|
---|
| 986 | 'type' => 'string',
|
---|
| 987 | 'required' => true,
|
---|
| 988 | ],
|
---|
| 989 | 'compareDuration' => [
|
---|
| 990 | 'location' => 'query',
|
---|
| 991 | 'type' => 'string',
|
---|
| 992 | ],
|
---|
| 993 | 'fieldMask' => [
|
---|
| 994 | 'location' => 'query',
|
---|
| 995 | 'type' => 'string',
|
---|
| 996 | ],
|
---|
| 997 | 'filter' => [
|
---|
| 998 | 'location' => 'query',
|
---|
| 999 | 'type' => 'string',
|
---|
| 1000 | ],
|
---|
| 1001 | 'orderBy' => [
|
---|
| 1002 | 'location' => 'query',
|
---|
| 1003 | 'type' => 'string',
|
---|
| 1004 | ],
|
---|
| 1005 | 'pageSize' => [
|
---|
| 1006 | 'location' => 'query',
|
---|
| 1007 | 'type' => 'integer',
|
---|
| 1008 | ],
|
---|
| 1009 | 'pageToken' => [
|
---|
| 1010 | 'location' => 'query',
|
---|
| 1011 | 'type' => 'string',
|
---|
| 1012 | ],
|
---|
| 1013 | 'readTime' => [
|
---|
| 1014 | 'location' => 'query',
|
---|
| 1015 | 'type' => 'string',
|
---|
| 1016 | ],
|
---|
| 1017 | ],
|
---|
| 1018 | ],'runDiscovery' => [
|
---|
| 1019 | 'path' => 'v1/{+parent}/assets:runDiscovery',
|
---|
| 1020 | 'httpMethod' => 'POST',
|
---|
| 1021 | 'parameters' => [
|
---|
| 1022 | 'parent' => [
|
---|
| 1023 | 'location' => 'path',
|
---|
| 1024 | 'type' => 'string',
|
---|
| 1025 | 'required' => true,
|
---|
| 1026 | ],
|
---|
| 1027 | ],
|
---|
| 1028 | ],'updateSecurityMarks' => [
|
---|
| 1029 | 'path' => 'v1/{+name}',
|
---|
| 1030 | 'httpMethod' => 'PATCH',
|
---|
| 1031 | 'parameters' => [
|
---|
| 1032 | 'name' => [
|
---|
| 1033 | 'location' => 'path',
|
---|
| 1034 | 'type' => 'string',
|
---|
| 1035 | 'required' => true,
|
---|
| 1036 | ],
|
---|
| 1037 | 'startTime' => [
|
---|
| 1038 | 'location' => 'query',
|
---|
| 1039 | 'type' => 'string',
|
---|
| 1040 | ],
|
---|
| 1041 | 'updateMask' => [
|
---|
| 1042 | 'location' => 'query',
|
---|
| 1043 | 'type' => 'string',
|
---|
| 1044 | ],
|
---|
| 1045 | ],
|
---|
| 1046 | ],
|
---|
| 1047 | ]
|
---|
| 1048 | ]
|
---|
| 1049 | );
|
---|
| 1050 | $this->organizations_bigQueryExports = new SecurityCommandCenter\Resource\OrganizationsBigQueryExports(
|
---|
| 1051 | $this,
|
---|
| 1052 | $this->serviceName,
|
---|
| 1053 | 'bigQueryExports',
|
---|
| 1054 | [
|
---|
| 1055 | 'methods' => [
|
---|
| 1056 | 'create' => [
|
---|
| 1057 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 1058 | 'httpMethod' => 'POST',
|
---|
| 1059 | 'parameters' => [
|
---|
| 1060 | 'parent' => [
|
---|
| 1061 | 'location' => 'path',
|
---|
| 1062 | 'type' => 'string',
|
---|
| 1063 | 'required' => true,
|
---|
| 1064 | ],
|
---|
| 1065 | 'bigQueryExportId' => [
|
---|
| 1066 | 'location' => 'query',
|
---|
| 1067 | 'type' => 'string',
|
---|
| 1068 | ],
|
---|
| 1069 | ],
|
---|
| 1070 | ],'delete' => [
|
---|
| 1071 | 'path' => 'v1/{+name}',
|
---|
| 1072 | 'httpMethod' => 'DELETE',
|
---|
| 1073 | 'parameters' => [
|
---|
| 1074 | 'name' => [
|
---|
| 1075 | 'location' => 'path',
|
---|
| 1076 | 'type' => 'string',
|
---|
| 1077 | 'required' => true,
|
---|
| 1078 | ],
|
---|
| 1079 | ],
|
---|
| 1080 | ],'get' => [
|
---|
| 1081 | 'path' => 'v1/{+name}',
|
---|
| 1082 | 'httpMethod' => 'GET',
|
---|
| 1083 | 'parameters' => [
|
---|
| 1084 | 'name' => [
|
---|
| 1085 | 'location' => 'path',
|
---|
| 1086 | 'type' => 'string',
|
---|
| 1087 | 'required' => true,
|
---|
| 1088 | ],
|
---|
| 1089 | ],
|
---|
| 1090 | ],'list' => [
|
---|
| 1091 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 1092 | 'httpMethod' => 'GET',
|
---|
| 1093 | 'parameters' => [
|
---|
| 1094 | 'parent' => [
|
---|
| 1095 | 'location' => 'path',
|
---|
| 1096 | 'type' => 'string',
|
---|
| 1097 | 'required' => true,
|
---|
| 1098 | ],
|
---|
| 1099 | 'pageSize' => [
|
---|
| 1100 | 'location' => 'query',
|
---|
| 1101 | 'type' => 'integer',
|
---|
| 1102 | ],
|
---|
| 1103 | 'pageToken' => [
|
---|
| 1104 | 'location' => 'query',
|
---|
| 1105 | 'type' => 'string',
|
---|
| 1106 | ],
|
---|
| 1107 | ],
|
---|
| 1108 | ],'patch' => [
|
---|
| 1109 | 'path' => 'v1/{+name}',
|
---|
| 1110 | 'httpMethod' => 'PATCH',
|
---|
| 1111 | 'parameters' => [
|
---|
| 1112 | 'name' => [
|
---|
| 1113 | 'location' => 'path',
|
---|
| 1114 | 'type' => 'string',
|
---|
| 1115 | 'required' => true,
|
---|
| 1116 | ],
|
---|
| 1117 | 'updateMask' => [
|
---|
| 1118 | 'location' => 'query',
|
---|
| 1119 | 'type' => 'string',
|
---|
| 1120 | ],
|
---|
| 1121 | ],
|
---|
| 1122 | ],
|
---|
| 1123 | ]
|
---|
| 1124 | ]
|
---|
| 1125 | );
|
---|
| 1126 | $this->organizations_eventThreatDetectionSettings = new SecurityCommandCenter\Resource\OrganizationsEventThreatDetectionSettings(
|
---|
| 1127 | $this,
|
---|
| 1128 | $this->serviceName,
|
---|
| 1129 | 'eventThreatDetectionSettings',
|
---|
| 1130 | [
|
---|
| 1131 | 'methods' => [
|
---|
| 1132 | 'validateCustomModule' => [
|
---|
| 1133 | 'path' => 'v1/{+parent}:validateCustomModule',
|
---|
| 1134 | 'httpMethod' => 'POST',
|
---|
| 1135 | 'parameters' => [
|
---|
| 1136 | 'parent' => [
|
---|
| 1137 | 'location' => 'path',
|
---|
| 1138 | 'type' => 'string',
|
---|
| 1139 | 'required' => true,
|
---|
| 1140 | ],
|
---|
| 1141 | ],
|
---|
| 1142 | ],
|
---|
| 1143 | ]
|
---|
| 1144 | ]
|
---|
| 1145 | );
|
---|
| 1146 | $this->organizations_eventThreatDetectionSettings_customModules = new SecurityCommandCenter\Resource\OrganizationsEventThreatDetectionSettingsCustomModules(
|
---|
| 1147 | $this,
|
---|
| 1148 | $this->serviceName,
|
---|
| 1149 | 'customModules',
|
---|
| 1150 | [
|
---|
| 1151 | 'methods' => [
|
---|
| 1152 | 'create' => [
|
---|
| 1153 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 1154 | 'httpMethod' => 'POST',
|
---|
| 1155 | 'parameters' => [
|
---|
| 1156 | 'parent' => [
|
---|
| 1157 | 'location' => 'path',
|
---|
| 1158 | 'type' => 'string',
|
---|
| 1159 | 'required' => true,
|
---|
| 1160 | ],
|
---|
| 1161 | ],
|
---|
| 1162 | ],'delete' => [
|
---|
| 1163 | 'path' => 'v1/{+name}',
|
---|
| 1164 | 'httpMethod' => 'DELETE',
|
---|
| 1165 | 'parameters' => [
|
---|
| 1166 | 'name' => [
|
---|
| 1167 | 'location' => 'path',
|
---|
| 1168 | 'type' => 'string',
|
---|
| 1169 | 'required' => true,
|
---|
| 1170 | ],
|
---|
| 1171 | ],
|
---|
| 1172 | ],'get' => [
|
---|
| 1173 | 'path' => 'v1/{+name}',
|
---|
| 1174 | 'httpMethod' => 'GET',
|
---|
| 1175 | 'parameters' => [
|
---|
| 1176 | 'name' => [
|
---|
| 1177 | 'location' => 'path',
|
---|
| 1178 | 'type' => 'string',
|
---|
| 1179 | 'required' => true,
|
---|
| 1180 | ],
|
---|
| 1181 | ],
|
---|
| 1182 | ],'list' => [
|
---|
| 1183 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 1184 | 'httpMethod' => 'GET',
|
---|
| 1185 | 'parameters' => [
|
---|
| 1186 | 'parent' => [
|
---|
| 1187 | 'location' => 'path',
|
---|
| 1188 | 'type' => 'string',
|
---|
| 1189 | 'required' => true,
|
---|
| 1190 | ],
|
---|
| 1191 | 'pageSize' => [
|
---|
| 1192 | 'location' => 'query',
|
---|
| 1193 | 'type' => 'integer',
|
---|
| 1194 | ],
|
---|
| 1195 | 'pageToken' => [
|
---|
| 1196 | 'location' => 'query',
|
---|
| 1197 | 'type' => 'string',
|
---|
| 1198 | ],
|
---|
| 1199 | ],
|
---|
| 1200 | ],'listDescendant' => [
|
---|
| 1201 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 1202 | 'httpMethod' => 'GET',
|
---|
| 1203 | 'parameters' => [
|
---|
| 1204 | 'parent' => [
|
---|
| 1205 | 'location' => 'path',
|
---|
| 1206 | 'type' => 'string',
|
---|
| 1207 | 'required' => true,
|
---|
| 1208 | ],
|
---|
| 1209 | 'pageSize' => [
|
---|
| 1210 | 'location' => 'query',
|
---|
| 1211 | 'type' => 'integer',
|
---|
| 1212 | ],
|
---|
| 1213 | 'pageToken' => [
|
---|
| 1214 | 'location' => 'query',
|
---|
| 1215 | 'type' => 'string',
|
---|
| 1216 | ],
|
---|
| 1217 | ],
|
---|
| 1218 | ],'patch' => [
|
---|
| 1219 | 'path' => 'v1/{+name}',
|
---|
| 1220 | 'httpMethod' => 'PATCH',
|
---|
| 1221 | 'parameters' => [
|
---|
| 1222 | 'name' => [
|
---|
| 1223 | 'location' => 'path',
|
---|
| 1224 | 'type' => 'string',
|
---|
| 1225 | 'required' => true,
|
---|
| 1226 | ],
|
---|
| 1227 | 'updateMask' => [
|
---|
| 1228 | 'location' => 'query',
|
---|
| 1229 | 'type' => 'string',
|
---|
| 1230 | ],
|
---|
| 1231 | ],
|
---|
| 1232 | ],
|
---|
| 1233 | ]
|
---|
| 1234 | ]
|
---|
| 1235 | );
|
---|
| 1236 | $this->organizations_eventThreatDetectionSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\OrganizationsEventThreatDetectionSettingsEffectiveCustomModules(
|
---|
| 1237 | $this,
|
---|
| 1238 | $this->serviceName,
|
---|
| 1239 | 'effectiveCustomModules',
|
---|
| 1240 | [
|
---|
| 1241 | 'methods' => [
|
---|
| 1242 | 'get' => [
|
---|
| 1243 | 'path' => 'v1/{+name}',
|
---|
| 1244 | 'httpMethod' => 'GET',
|
---|
| 1245 | 'parameters' => [
|
---|
| 1246 | 'name' => [
|
---|
| 1247 | 'location' => 'path',
|
---|
| 1248 | 'type' => 'string',
|
---|
| 1249 | 'required' => true,
|
---|
| 1250 | ],
|
---|
| 1251 | ],
|
---|
| 1252 | ],'list' => [
|
---|
| 1253 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 1254 | 'httpMethod' => 'GET',
|
---|
| 1255 | 'parameters' => [
|
---|
| 1256 | 'parent' => [
|
---|
| 1257 | 'location' => 'path',
|
---|
| 1258 | 'type' => 'string',
|
---|
| 1259 | 'required' => true,
|
---|
| 1260 | ],
|
---|
| 1261 | 'pageSize' => [
|
---|
| 1262 | 'location' => 'query',
|
---|
| 1263 | 'type' => 'integer',
|
---|
| 1264 | ],
|
---|
| 1265 | 'pageToken' => [
|
---|
| 1266 | 'location' => 'query',
|
---|
| 1267 | 'type' => 'string',
|
---|
| 1268 | ],
|
---|
| 1269 | ],
|
---|
| 1270 | ],
|
---|
| 1271 | ]
|
---|
| 1272 | ]
|
---|
| 1273 | );
|
---|
| 1274 | $this->organizations_findings = new SecurityCommandCenter\Resource\OrganizationsFindings(
|
---|
| 1275 | $this,
|
---|
| 1276 | $this->serviceName,
|
---|
| 1277 | 'findings',
|
---|
| 1278 | [
|
---|
| 1279 | 'methods' => [
|
---|
| 1280 | 'bulkMute' => [
|
---|
| 1281 | 'path' => 'v1/{+parent}/findings:bulkMute',
|
---|
| 1282 | 'httpMethod' => 'POST',
|
---|
| 1283 | 'parameters' => [
|
---|
| 1284 | 'parent' => [
|
---|
| 1285 | 'location' => 'path',
|
---|
| 1286 | 'type' => 'string',
|
---|
| 1287 | 'required' => true,
|
---|
| 1288 | ],
|
---|
| 1289 | ],
|
---|
| 1290 | ],
|
---|
| 1291 | ]
|
---|
| 1292 | ]
|
---|
| 1293 | );
|
---|
| 1294 | $this->organizations_locations_muteConfigs = new SecurityCommandCenter\Resource\OrganizationsLocationsMuteConfigs(
|
---|
| 1295 | $this,
|
---|
| 1296 | $this->serviceName,
|
---|
| 1297 | 'muteConfigs',
|
---|
| 1298 | [
|
---|
| 1299 | 'methods' => [
|
---|
| 1300 | 'delete' => [
|
---|
| 1301 | 'path' => 'v1/{+name}',
|
---|
| 1302 | 'httpMethod' => 'DELETE',
|
---|
| 1303 | 'parameters' => [
|
---|
| 1304 | 'name' => [
|
---|
| 1305 | 'location' => 'path',
|
---|
| 1306 | 'type' => 'string',
|
---|
| 1307 | 'required' => true,
|
---|
| 1308 | ],
|
---|
| 1309 | ],
|
---|
| 1310 | ],'get' => [
|
---|
| 1311 | 'path' => 'v1/{+name}',
|
---|
| 1312 | 'httpMethod' => 'GET',
|
---|
| 1313 | 'parameters' => [
|
---|
| 1314 | 'name' => [
|
---|
| 1315 | 'location' => 'path',
|
---|
| 1316 | 'type' => 'string',
|
---|
| 1317 | 'required' => true,
|
---|
| 1318 | ],
|
---|
| 1319 | ],
|
---|
| 1320 | ],'patch' => [
|
---|
| 1321 | 'path' => 'v1/{+name}',
|
---|
| 1322 | 'httpMethod' => 'PATCH',
|
---|
| 1323 | 'parameters' => [
|
---|
| 1324 | 'name' => [
|
---|
| 1325 | 'location' => 'path',
|
---|
| 1326 | 'type' => 'string',
|
---|
| 1327 | 'required' => true,
|
---|
| 1328 | ],
|
---|
| 1329 | 'updateMask' => [
|
---|
| 1330 | 'location' => 'query',
|
---|
| 1331 | 'type' => 'string',
|
---|
| 1332 | ],
|
---|
| 1333 | ],
|
---|
| 1334 | ],
|
---|
| 1335 | ]
|
---|
| 1336 | ]
|
---|
| 1337 | );
|
---|
| 1338 | $this->organizations_muteConfigs = new SecurityCommandCenter\Resource\OrganizationsMuteConfigs(
|
---|
| 1339 | $this,
|
---|
| 1340 | $this->serviceName,
|
---|
| 1341 | 'muteConfigs',
|
---|
| 1342 | [
|
---|
| 1343 | 'methods' => [
|
---|
| 1344 | 'create' => [
|
---|
| 1345 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 1346 | 'httpMethod' => 'POST',
|
---|
| 1347 | 'parameters' => [
|
---|
| 1348 | 'parent' => [
|
---|
| 1349 | 'location' => 'path',
|
---|
| 1350 | 'type' => 'string',
|
---|
| 1351 | 'required' => true,
|
---|
| 1352 | ],
|
---|
| 1353 | 'muteConfigId' => [
|
---|
| 1354 | 'location' => 'query',
|
---|
| 1355 | 'type' => 'string',
|
---|
| 1356 | ],
|
---|
| 1357 | ],
|
---|
| 1358 | ],'delete' => [
|
---|
| 1359 | 'path' => 'v1/{+name}',
|
---|
| 1360 | 'httpMethod' => 'DELETE',
|
---|
| 1361 | 'parameters' => [
|
---|
| 1362 | 'name' => [
|
---|
| 1363 | 'location' => 'path',
|
---|
| 1364 | 'type' => 'string',
|
---|
| 1365 | 'required' => true,
|
---|
| 1366 | ],
|
---|
| 1367 | ],
|
---|
| 1368 | ],'get' => [
|
---|
| 1369 | 'path' => 'v1/{+name}',
|
---|
| 1370 | 'httpMethod' => 'GET',
|
---|
| 1371 | 'parameters' => [
|
---|
| 1372 | 'name' => [
|
---|
| 1373 | 'location' => 'path',
|
---|
| 1374 | 'type' => 'string',
|
---|
| 1375 | 'required' => true,
|
---|
| 1376 | ],
|
---|
| 1377 | ],
|
---|
| 1378 | ],'list' => [
|
---|
| 1379 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 1380 | 'httpMethod' => 'GET',
|
---|
| 1381 | 'parameters' => [
|
---|
| 1382 | 'parent' => [
|
---|
| 1383 | 'location' => 'path',
|
---|
| 1384 | 'type' => 'string',
|
---|
| 1385 | 'required' => true,
|
---|
| 1386 | ],
|
---|
| 1387 | 'pageSize' => [
|
---|
| 1388 | 'location' => 'query',
|
---|
| 1389 | 'type' => 'integer',
|
---|
| 1390 | ],
|
---|
| 1391 | 'pageToken' => [
|
---|
| 1392 | 'location' => 'query',
|
---|
| 1393 | 'type' => 'string',
|
---|
| 1394 | ],
|
---|
| 1395 | ],
|
---|
| 1396 | ],'patch' => [
|
---|
| 1397 | 'path' => 'v1/{+name}',
|
---|
| 1398 | 'httpMethod' => 'PATCH',
|
---|
| 1399 | 'parameters' => [
|
---|
| 1400 | 'name' => [
|
---|
| 1401 | 'location' => 'path',
|
---|
| 1402 | 'type' => 'string',
|
---|
| 1403 | 'required' => true,
|
---|
| 1404 | ],
|
---|
| 1405 | 'updateMask' => [
|
---|
| 1406 | 'location' => 'query',
|
---|
| 1407 | 'type' => 'string',
|
---|
| 1408 | ],
|
---|
| 1409 | ],
|
---|
| 1410 | ],
|
---|
| 1411 | ]
|
---|
| 1412 | ]
|
---|
| 1413 | );
|
---|
| 1414 | $this->organizations_notificationConfigs = new SecurityCommandCenter\Resource\OrganizationsNotificationConfigs(
|
---|
| 1415 | $this,
|
---|
| 1416 | $this->serviceName,
|
---|
| 1417 | 'notificationConfigs',
|
---|
| 1418 | [
|
---|
| 1419 | 'methods' => [
|
---|
| 1420 | 'create' => [
|
---|
| 1421 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 1422 | 'httpMethod' => 'POST',
|
---|
| 1423 | 'parameters' => [
|
---|
| 1424 | 'parent' => [
|
---|
| 1425 | 'location' => 'path',
|
---|
| 1426 | 'type' => 'string',
|
---|
| 1427 | 'required' => true,
|
---|
| 1428 | ],
|
---|
| 1429 | 'configId' => [
|
---|
| 1430 | 'location' => 'query',
|
---|
| 1431 | 'type' => 'string',
|
---|
| 1432 | ],
|
---|
| 1433 | ],
|
---|
| 1434 | ],'delete' => [
|
---|
| 1435 | 'path' => 'v1/{+name}',
|
---|
| 1436 | 'httpMethod' => 'DELETE',
|
---|
| 1437 | 'parameters' => [
|
---|
| 1438 | 'name' => [
|
---|
| 1439 | 'location' => 'path',
|
---|
| 1440 | 'type' => 'string',
|
---|
| 1441 | 'required' => true,
|
---|
| 1442 | ],
|
---|
| 1443 | ],
|
---|
| 1444 | ],'get' => [
|
---|
| 1445 | 'path' => 'v1/{+name}',
|
---|
| 1446 | 'httpMethod' => 'GET',
|
---|
| 1447 | 'parameters' => [
|
---|
| 1448 | 'name' => [
|
---|
| 1449 | 'location' => 'path',
|
---|
| 1450 | 'type' => 'string',
|
---|
| 1451 | 'required' => true,
|
---|
| 1452 | ],
|
---|
| 1453 | ],
|
---|
| 1454 | ],'list' => [
|
---|
| 1455 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 1456 | 'httpMethod' => 'GET',
|
---|
| 1457 | 'parameters' => [
|
---|
| 1458 | 'parent' => [
|
---|
| 1459 | 'location' => 'path',
|
---|
| 1460 | 'type' => 'string',
|
---|
| 1461 | 'required' => true,
|
---|
| 1462 | ],
|
---|
| 1463 | 'pageSize' => [
|
---|
| 1464 | 'location' => 'query',
|
---|
| 1465 | 'type' => 'integer',
|
---|
| 1466 | ],
|
---|
| 1467 | 'pageToken' => [
|
---|
| 1468 | 'location' => 'query',
|
---|
| 1469 | 'type' => 'string',
|
---|
| 1470 | ],
|
---|
| 1471 | ],
|
---|
| 1472 | ],'patch' => [
|
---|
| 1473 | 'path' => 'v1/{+name}',
|
---|
| 1474 | 'httpMethod' => 'PATCH',
|
---|
| 1475 | 'parameters' => [
|
---|
| 1476 | 'name' => [
|
---|
| 1477 | 'location' => 'path',
|
---|
| 1478 | 'type' => 'string',
|
---|
| 1479 | 'required' => true,
|
---|
| 1480 | ],
|
---|
| 1481 | 'updateMask' => [
|
---|
| 1482 | 'location' => 'query',
|
---|
| 1483 | 'type' => 'string',
|
---|
| 1484 | ],
|
---|
| 1485 | ],
|
---|
| 1486 | ],
|
---|
| 1487 | ]
|
---|
| 1488 | ]
|
---|
| 1489 | );
|
---|
| 1490 | $this->organizations_operations = new SecurityCommandCenter\Resource\OrganizationsOperations(
|
---|
| 1491 | $this,
|
---|
| 1492 | $this->serviceName,
|
---|
| 1493 | 'operations',
|
---|
| 1494 | [
|
---|
| 1495 | 'methods' => [
|
---|
| 1496 | 'cancel' => [
|
---|
| 1497 | 'path' => 'v1/{+name}:cancel',
|
---|
| 1498 | 'httpMethod' => 'POST',
|
---|
| 1499 | 'parameters' => [
|
---|
| 1500 | 'name' => [
|
---|
| 1501 | 'location' => 'path',
|
---|
| 1502 | 'type' => 'string',
|
---|
| 1503 | 'required' => true,
|
---|
| 1504 | ],
|
---|
| 1505 | ],
|
---|
| 1506 | ],'delete' => [
|
---|
| 1507 | 'path' => 'v1/{+name}',
|
---|
| 1508 | 'httpMethod' => 'DELETE',
|
---|
| 1509 | 'parameters' => [
|
---|
| 1510 | 'name' => [
|
---|
| 1511 | 'location' => 'path',
|
---|
| 1512 | 'type' => 'string',
|
---|
| 1513 | 'required' => true,
|
---|
| 1514 | ],
|
---|
| 1515 | ],
|
---|
| 1516 | ],'get' => [
|
---|
| 1517 | 'path' => 'v1/{+name}',
|
---|
| 1518 | 'httpMethod' => 'GET',
|
---|
| 1519 | 'parameters' => [
|
---|
| 1520 | 'name' => [
|
---|
| 1521 | 'location' => 'path',
|
---|
| 1522 | 'type' => 'string',
|
---|
| 1523 | 'required' => true,
|
---|
| 1524 | ],
|
---|
| 1525 | ],
|
---|
| 1526 | ],'list' => [
|
---|
| 1527 | 'path' => 'v1/{+name}',
|
---|
| 1528 | 'httpMethod' => 'GET',
|
---|
| 1529 | 'parameters' => [
|
---|
| 1530 | 'name' => [
|
---|
| 1531 | 'location' => 'path',
|
---|
| 1532 | 'type' => 'string',
|
---|
| 1533 | 'required' => true,
|
---|
| 1534 | ],
|
---|
| 1535 | 'filter' => [
|
---|
| 1536 | 'location' => 'query',
|
---|
| 1537 | 'type' => 'string',
|
---|
| 1538 | ],
|
---|
| 1539 | 'pageSize' => [
|
---|
| 1540 | 'location' => 'query',
|
---|
| 1541 | 'type' => 'integer',
|
---|
| 1542 | ],
|
---|
| 1543 | 'pageToken' => [
|
---|
| 1544 | 'location' => 'query',
|
---|
| 1545 | 'type' => 'string',
|
---|
| 1546 | ],
|
---|
| 1547 | ],
|
---|
| 1548 | ],
|
---|
| 1549 | ]
|
---|
| 1550 | ]
|
---|
| 1551 | );
|
---|
| 1552 | $this->organizations_resourceValueConfigs = new SecurityCommandCenter\Resource\OrganizationsResourceValueConfigs(
|
---|
| 1553 | $this,
|
---|
| 1554 | $this->serviceName,
|
---|
| 1555 | 'resourceValueConfigs',
|
---|
| 1556 | [
|
---|
| 1557 | 'methods' => [
|
---|
| 1558 | 'batchCreate' => [
|
---|
| 1559 | 'path' => 'v1/{+parent}/resourceValueConfigs:batchCreate',
|
---|
| 1560 | 'httpMethod' => 'POST',
|
---|
| 1561 | 'parameters' => [
|
---|
| 1562 | 'parent' => [
|
---|
| 1563 | 'location' => 'path',
|
---|
| 1564 | 'type' => 'string',
|
---|
| 1565 | 'required' => true,
|
---|
| 1566 | ],
|
---|
| 1567 | ],
|
---|
| 1568 | ],'delete' => [
|
---|
| 1569 | 'path' => 'v1/{+name}',
|
---|
| 1570 | 'httpMethod' => 'DELETE',
|
---|
| 1571 | 'parameters' => [
|
---|
| 1572 | 'name' => [
|
---|
| 1573 | 'location' => 'path',
|
---|
| 1574 | 'type' => 'string',
|
---|
| 1575 | 'required' => true,
|
---|
| 1576 | ],
|
---|
| 1577 | ],
|
---|
| 1578 | ],'get' => [
|
---|
| 1579 | 'path' => 'v1/{+name}',
|
---|
| 1580 | 'httpMethod' => 'GET',
|
---|
| 1581 | 'parameters' => [
|
---|
| 1582 | 'name' => [
|
---|
| 1583 | 'location' => 'path',
|
---|
| 1584 | 'type' => 'string',
|
---|
| 1585 | 'required' => true,
|
---|
| 1586 | ],
|
---|
| 1587 | ],
|
---|
| 1588 | ],'list' => [
|
---|
| 1589 | 'path' => 'v1/{+parent}/resourceValueConfigs',
|
---|
| 1590 | 'httpMethod' => 'GET',
|
---|
| 1591 | 'parameters' => [
|
---|
| 1592 | 'parent' => [
|
---|
| 1593 | 'location' => 'path',
|
---|
| 1594 | 'type' => 'string',
|
---|
| 1595 | 'required' => true,
|
---|
| 1596 | ],
|
---|
| 1597 | 'pageSize' => [
|
---|
| 1598 | 'location' => 'query',
|
---|
| 1599 | 'type' => 'integer',
|
---|
| 1600 | ],
|
---|
| 1601 | 'pageToken' => [
|
---|
| 1602 | 'location' => 'query',
|
---|
| 1603 | 'type' => 'string',
|
---|
| 1604 | ],
|
---|
| 1605 | ],
|
---|
| 1606 | ],'patch' => [
|
---|
| 1607 | 'path' => 'v1/{+name}',
|
---|
| 1608 | 'httpMethod' => 'PATCH',
|
---|
| 1609 | 'parameters' => [
|
---|
| 1610 | 'name' => [
|
---|
| 1611 | 'location' => 'path',
|
---|
| 1612 | 'type' => 'string',
|
---|
| 1613 | 'required' => true,
|
---|
| 1614 | ],
|
---|
| 1615 | 'updateMask' => [
|
---|
| 1616 | 'location' => 'query',
|
---|
| 1617 | 'type' => 'string',
|
---|
| 1618 | ],
|
---|
| 1619 | ],
|
---|
| 1620 | ],
|
---|
| 1621 | ]
|
---|
| 1622 | ]
|
---|
| 1623 | );
|
---|
| 1624 | $this->organizations_securityHealthAnalyticsSettings_customModules = new SecurityCommandCenter\Resource\OrganizationsSecurityHealthAnalyticsSettingsCustomModules(
|
---|
| 1625 | $this,
|
---|
| 1626 | $this->serviceName,
|
---|
| 1627 | 'customModules',
|
---|
| 1628 | [
|
---|
| 1629 | 'methods' => [
|
---|
| 1630 | 'create' => [
|
---|
| 1631 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 1632 | 'httpMethod' => 'POST',
|
---|
| 1633 | 'parameters' => [
|
---|
| 1634 | 'parent' => [
|
---|
| 1635 | 'location' => 'path',
|
---|
| 1636 | 'type' => 'string',
|
---|
| 1637 | 'required' => true,
|
---|
| 1638 | ],
|
---|
| 1639 | ],
|
---|
| 1640 | ],'delete' => [
|
---|
| 1641 | 'path' => 'v1/{+name}',
|
---|
| 1642 | 'httpMethod' => 'DELETE',
|
---|
| 1643 | 'parameters' => [
|
---|
| 1644 | 'name' => [
|
---|
| 1645 | 'location' => 'path',
|
---|
| 1646 | 'type' => 'string',
|
---|
| 1647 | 'required' => true,
|
---|
| 1648 | ],
|
---|
| 1649 | ],
|
---|
| 1650 | ],'get' => [
|
---|
| 1651 | 'path' => 'v1/{+name}',
|
---|
| 1652 | 'httpMethod' => 'GET',
|
---|
| 1653 | 'parameters' => [
|
---|
| 1654 | 'name' => [
|
---|
| 1655 | 'location' => 'path',
|
---|
| 1656 | 'type' => 'string',
|
---|
| 1657 | 'required' => true,
|
---|
| 1658 | ],
|
---|
| 1659 | ],
|
---|
| 1660 | ],'list' => [
|
---|
| 1661 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 1662 | 'httpMethod' => 'GET',
|
---|
| 1663 | 'parameters' => [
|
---|
| 1664 | 'parent' => [
|
---|
| 1665 | 'location' => 'path',
|
---|
| 1666 | 'type' => 'string',
|
---|
| 1667 | 'required' => true,
|
---|
| 1668 | ],
|
---|
| 1669 | 'pageSize' => [
|
---|
| 1670 | 'location' => 'query',
|
---|
| 1671 | 'type' => 'integer',
|
---|
| 1672 | ],
|
---|
| 1673 | 'pageToken' => [
|
---|
| 1674 | 'location' => 'query',
|
---|
| 1675 | 'type' => 'string',
|
---|
| 1676 | ],
|
---|
| 1677 | ],
|
---|
| 1678 | ],'listDescendant' => [
|
---|
| 1679 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 1680 | 'httpMethod' => 'GET',
|
---|
| 1681 | 'parameters' => [
|
---|
| 1682 | 'parent' => [
|
---|
| 1683 | 'location' => 'path',
|
---|
| 1684 | 'type' => 'string',
|
---|
| 1685 | 'required' => true,
|
---|
| 1686 | ],
|
---|
| 1687 | 'pageSize' => [
|
---|
| 1688 | 'location' => 'query',
|
---|
| 1689 | 'type' => 'integer',
|
---|
| 1690 | ],
|
---|
| 1691 | 'pageToken' => [
|
---|
| 1692 | 'location' => 'query',
|
---|
| 1693 | 'type' => 'string',
|
---|
| 1694 | ],
|
---|
| 1695 | ],
|
---|
| 1696 | ],'patch' => [
|
---|
| 1697 | 'path' => 'v1/{+name}',
|
---|
| 1698 | 'httpMethod' => 'PATCH',
|
---|
| 1699 | 'parameters' => [
|
---|
| 1700 | 'name' => [
|
---|
| 1701 | 'location' => 'path',
|
---|
| 1702 | 'type' => 'string',
|
---|
| 1703 | 'required' => true,
|
---|
| 1704 | ],
|
---|
| 1705 | 'updateMask' => [
|
---|
| 1706 | 'location' => 'query',
|
---|
| 1707 | 'type' => 'string',
|
---|
| 1708 | ],
|
---|
| 1709 | ],
|
---|
| 1710 | ],'simulate' => [
|
---|
| 1711 | 'path' => 'v1/{+parent}/customModules:simulate',
|
---|
| 1712 | 'httpMethod' => 'POST',
|
---|
| 1713 | 'parameters' => [
|
---|
| 1714 | 'parent' => [
|
---|
| 1715 | 'location' => 'path',
|
---|
| 1716 | 'type' => 'string',
|
---|
| 1717 | 'required' => true,
|
---|
| 1718 | ],
|
---|
| 1719 | ],
|
---|
| 1720 | ],
|
---|
| 1721 | ]
|
---|
| 1722 | ]
|
---|
| 1723 | );
|
---|
| 1724 | $this->organizations_securityHealthAnalyticsSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\OrganizationsSecurityHealthAnalyticsSettingsEffectiveCustomModules(
|
---|
| 1725 | $this,
|
---|
| 1726 | $this->serviceName,
|
---|
| 1727 | 'effectiveCustomModules',
|
---|
| 1728 | [
|
---|
| 1729 | 'methods' => [
|
---|
| 1730 | 'get' => [
|
---|
| 1731 | 'path' => 'v1/{+name}',
|
---|
| 1732 | 'httpMethod' => 'GET',
|
---|
| 1733 | 'parameters' => [
|
---|
| 1734 | 'name' => [
|
---|
| 1735 | 'location' => 'path',
|
---|
| 1736 | 'type' => 'string',
|
---|
| 1737 | 'required' => true,
|
---|
| 1738 | ],
|
---|
| 1739 | ],
|
---|
| 1740 | ],'list' => [
|
---|
| 1741 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 1742 | 'httpMethod' => 'GET',
|
---|
| 1743 | 'parameters' => [
|
---|
| 1744 | 'parent' => [
|
---|
| 1745 | 'location' => 'path',
|
---|
| 1746 | 'type' => 'string',
|
---|
| 1747 | 'required' => true,
|
---|
| 1748 | ],
|
---|
| 1749 | 'pageSize' => [
|
---|
| 1750 | 'location' => 'query',
|
---|
| 1751 | 'type' => 'integer',
|
---|
| 1752 | ],
|
---|
| 1753 | 'pageToken' => [
|
---|
| 1754 | 'location' => 'query',
|
---|
| 1755 | 'type' => 'string',
|
---|
| 1756 | ],
|
---|
| 1757 | ],
|
---|
| 1758 | ],
|
---|
| 1759 | ]
|
---|
| 1760 | ]
|
---|
| 1761 | );
|
---|
| 1762 | $this->organizations_simulations = new SecurityCommandCenter\Resource\OrganizationsSimulations(
|
---|
| 1763 | $this,
|
---|
| 1764 | $this->serviceName,
|
---|
| 1765 | 'simulations',
|
---|
| 1766 | [
|
---|
| 1767 | 'methods' => [
|
---|
| 1768 | 'get' => [
|
---|
| 1769 | 'path' => 'v1/{+name}',
|
---|
| 1770 | 'httpMethod' => 'GET',
|
---|
| 1771 | 'parameters' => [
|
---|
| 1772 | 'name' => [
|
---|
| 1773 | 'location' => 'path',
|
---|
| 1774 | 'type' => 'string',
|
---|
| 1775 | 'required' => true,
|
---|
| 1776 | ],
|
---|
| 1777 | ],
|
---|
| 1778 | ],
|
---|
| 1779 | ]
|
---|
| 1780 | ]
|
---|
| 1781 | );
|
---|
| 1782 | $this->organizations_simulations_attackExposureResults_attackPaths = new SecurityCommandCenter\Resource\OrganizationsSimulationsAttackExposureResultsAttackPaths(
|
---|
| 1783 | $this,
|
---|
| 1784 | $this->serviceName,
|
---|
| 1785 | 'attackPaths',
|
---|
| 1786 | [
|
---|
| 1787 | 'methods' => [
|
---|
| 1788 | 'list' => [
|
---|
| 1789 | 'path' => 'v1/{+parent}/attackPaths',
|
---|
| 1790 | 'httpMethod' => 'GET',
|
---|
| 1791 | 'parameters' => [
|
---|
| 1792 | 'parent' => [
|
---|
| 1793 | 'location' => 'path',
|
---|
| 1794 | 'type' => 'string',
|
---|
| 1795 | 'required' => true,
|
---|
| 1796 | ],
|
---|
| 1797 | 'filter' => [
|
---|
| 1798 | 'location' => 'query',
|
---|
| 1799 | 'type' => 'string',
|
---|
| 1800 | ],
|
---|
| 1801 | 'pageSize' => [
|
---|
| 1802 | 'location' => 'query',
|
---|
| 1803 | 'type' => 'integer',
|
---|
| 1804 | ],
|
---|
| 1805 | 'pageToken' => [
|
---|
| 1806 | 'location' => 'query',
|
---|
| 1807 | 'type' => 'string',
|
---|
| 1808 | ],
|
---|
| 1809 | ],
|
---|
| 1810 | ],
|
---|
| 1811 | ]
|
---|
| 1812 | ]
|
---|
| 1813 | );
|
---|
| 1814 | $this->organizations_simulations_attackExposureResults_valuedResources = new SecurityCommandCenter\Resource\OrganizationsSimulationsAttackExposureResultsValuedResources(
|
---|
| 1815 | $this,
|
---|
| 1816 | $this->serviceName,
|
---|
| 1817 | 'valuedResources',
|
---|
| 1818 | [
|
---|
| 1819 | 'methods' => [
|
---|
| 1820 | 'list' => [
|
---|
| 1821 | 'path' => 'v1/{+parent}/valuedResources',
|
---|
| 1822 | 'httpMethod' => 'GET',
|
---|
| 1823 | 'parameters' => [
|
---|
| 1824 | 'parent' => [
|
---|
| 1825 | 'location' => 'path',
|
---|
| 1826 | 'type' => 'string',
|
---|
| 1827 | 'required' => true,
|
---|
| 1828 | ],
|
---|
| 1829 | 'filter' => [
|
---|
| 1830 | 'location' => 'query',
|
---|
| 1831 | 'type' => 'string',
|
---|
| 1832 | ],
|
---|
| 1833 | 'orderBy' => [
|
---|
| 1834 | 'location' => 'query',
|
---|
| 1835 | 'type' => 'string',
|
---|
| 1836 | ],
|
---|
| 1837 | 'pageSize' => [
|
---|
| 1838 | 'location' => 'query',
|
---|
| 1839 | 'type' => 'integer',
|
---|
| 1840 | ],
|
---|
| 1841 | 'pageToken' => [
|
---|
| 1842 | 'location' => 'query',
|
---|
| 1843 | 'type' => 'string',
|
---|
| 1844 | ],
|
---|
| 1845 | ],
|
---|
| 1846 | ],
|
---|
| 1847 | ]
|
---|
| 1848 | ]
|
---|
| 1849 | );
|
---|
| 1850 | $this->organizations_simulations_attackPaths = new SecurityCommandCenter\Resource\OrganizationsSimulationsAttackPaths(
|
---|
| 1851 | $this,
|
---|
| 1852 | $this->serviceName,
|
---|
| 1853 | 'attackPaths',
|
---|
| 1854 | [
|
---|
| 1855 | 'methods' => [
|
---|
| 1856 | 'list' => [
|
---|
| 1857 | 'path' => 'v1/{+parent}/attackPaths',
|
---|
| 1858 | 'httpMethod' => 'GET',
|
---|
| 1859 | 'parameters' => [
|
---|
| 1860 | 'parent' => [
|
---|
| 1861 | 'location' => 'path',
|
---|
| 1862 | 'type' => 'string',
|
---|
| 1863 | 'required' => true,
|
---|
| 1864 | ],
|
---|
| 1865 | 'filter' => [
|
---|
| 1866 | 'location' => 'query',
|
---|
| 1867 | 'type' => 'string',
|
---|
| 1868 | ],
|
---|
| 1869 | 'pageSize' => [
|
---|
| 1870 | 'location' => 'query',
|
---|
| 1871 | 'type' => 'integer',
|
---|
| 1872 | ],
|
---|
| 1873 | 'pageToken' => [
|
---|
| 1874 | 'location' => 'query',
|
---|
| 1875 | 'type' => 'string',
|
---|
| 1876 | ],
|
---|
| 1877 | ],
|
---|
| 1878 | ],
|
---|
| 1879 | ]
|
---|
| 1880 | ]
|
---|
| 1881 | );
|
---|
| 1882 | $this->organizations_simulations_valuedResources = new SecurityCommandCenter\Resource\OrganizationsSimulationsValuedResources(
|
---|
| 1883 | $this,
|
---|
| 1884 | $this->serviceName,
|
---|
| 1885 | 'valuedResources',
|
---|
| 1886 | [
|
---|
| 1887 | 'methods' => [
|
---|
| 1888 | 'get' => [
|
---|
| 1889 | 'path' => 'v1/{+name}',
|
---|
| 1890 | 'httpMethod' => 'GET',
|
---|
| 1891 | 'parameters' => [
|
---|
| 1892 | 'name' => [
|
---|
| 1893 | 'location' => 'path',
|
---|
| 1894 | 'type' => 'string',
|
---|
| 1895 | 'required' => true,
|
---|
| 1896 | ],
|
---|
| 1897 | ],
|
---|
| 1898 | ],'list' => [
|
---|
| 1899 | 'path' => 'v1/{+parent}/valuedResources',
|
---|
| 1900 | 'httpMethod' => 'GET',
|
---|
| 1901 | 'parameters' => [
|
---|
| 1902 | 'parent' => [
|
---|
| 1903 | 'location' => 'path',
|
---|
| 1904 | 'type' => 'string',
|
---|
| 1905 | 'required' => true,
|
---|
| 1906 | ],
|
---|
| 1907 | 'filter' => [
|
---|
| 1908 | 'location' => 'query',
|
---|
| 1909 | 'type' => 'string',
|
---|
| 1910 | ],
|
---|
| 1911 | 'orderBy' => [
|
---|
| 1912 | 'location' => 'query',
|
---|
| 1913 | 'type' => 'string',
|
---|
| 1914 | ],
|
---|
| 1915 | 'pageSize' => [
|
---|
| 1916 | 'location' => 'query',
|
---|
| 1917 | 'type' => 'integer',
|
---|
| 1918 | ],
|
---|
| 1919 | 'pageToken' => [
|
---|
| 1920 | 'location' => 'query',
|
---|
| 1921 | 'type' => 'string',
|
---|
| 1922 | ],
|
---|
| 1923 | ],
|
---|
| 1924 | ],
|
---|
| 1925 | ]
|
---|
| 1926 | ]
|
---|
| 1927 | );
|
---|
| 1928 | $this->organizations_simulations_valuedResources_attackPaths = new SecurityCommandCenter\Resource\OrganizationsSimulationsValuedResourcesAttackPaths(
|
---|
| 1929 | $this,
|
---|
| 1930 | $this->serviceName,
|
---|
| 1931 | 'attackPaths',
|
---|
| 1932 | [
|
---|
| 1933 | 'methods' => [
|
---|
| 1934 | 'list' => [
|
---|
| 1935 | 'path' => 'v1/{+parent}/attackPaths',
|
---|
| 1936 | 'httpMethod' => 'GET',
|
---|
| 1937 | 'parameters' => [
|
---|
| 1938 | 'parent' => [
|
---|
| 1939 | 'location' => 'path',
|
---|
| 1940 | 'type' => 'string',
|
---|
| 1941 | 'required' => true,
|
---|
| 1942 | ],
|
---|
| 1943 | 'filter' => [
|
---|
| 1944 | 'location' => 'query',
|
---|
| 1945 | 'type' => 'string',
|
---|
| 1946 | ],
|
---|
| 1947 | 'pageSize' => [
|
---|
| 1948 | 'location' => 'query',
|
---|
| 1949 | 'type' => 'integer',
|
---|
| 1950 | ],
|
---|
| 1951 | 'pageToken' => [
|
---|
| 1952 | 'location' => 'query',
|
---|
| 1953 | 'type' => 'string',
|
---|
| 1954 | ],
|
---|
| 1955 | ],
|
---|
| 1956 | ],
|
---|
| 1957 | ]
|
---|
| 1958 | ]
|
---|
| 1959 | );
|
---|
| 1960 | $this->organizations_sources = new SecurityCommandCenter\Resource\OrganizationsSources(
|
---|
| 1961 | $this,
|
---|
| 1962 | $this->serviceName,
|
---|
| 1963 | 'sources',
|
---|
| 1964 | [
|
---|
| 1965 | 'methods' => [
|
---|
| 1966 | 'create' => [
|
---|
| 1967 | 'path' => 'v1/{+parent}/sources',
|
---|
| 1968 | 'httpMethod' => 'POST',
|
---|
| 1969 | 'parameters' => [
|
---|
| 1970 | 'parent' => [
|
---|
| 1971 | 'location' => 'path',
|
---|
| 1972 | 'type' => 'string',
|
---|
| 1973 | 'required' => true,
|
---|
| 1974 | ],
|
---|
| 1975 | ],
|
---|
| 1976 | ],'get' => [
|
---|
| 1977 | 'path' => 'v1/{+name}',
|
---|
| 1978 | 'httpMethod' => 'GET',
|
---|
| 1979 | 'parameters' => [
|
---|
| 1980 | 'name' => [
|
---|
| 1981 | 'location' => 'path',
|
---|
| 1982 | 'type' => 'string',
|
---|
| 1983 | 'required' => true,
|
---|
| 1984 | ],
|
---|
| 1985 | ],
|
---|
| 1986 | ],'getIamPolicy' => [
|
---|
| 1987 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 1988 | 'httpMethod' => 'POST',
|
---|
| 1989 | 'parameters' => [
|
---|
| 1990 | 'resource' => [
|
---|
| 1991 | 'location' => 'path',
|
---|
| 1992 | 'type' => 'string',
|
---|
| 1993 | 'required' => true,
|
---|
| 1994 | ],
|
---|
| 1995 | ],
|
---|
| 1996 | ],'list' => [
|
---|
| 1997 | 'path' => 'v1/{+parent}/sources',
|
---|
| 1998 | 'httpMethod' => 'GET',
|
---|
| 1999 | 'parameters' => [
|
---|
| 2000 | 'parent' => [
|
---|
| 2001 | 'location' => 'path',
|
---|
| 2002 | 'type' => 'string',
|
---|
| 2003 | 'required' => true,
|
---|
| 2004 | ],
|
---|
| 2005 | 'pageSize' => [
|
---|
| 2006 | 'location' => 'query',
|
---|
| 2007 | 'type' => 'integer',
|
---|
| 2008 | ],
|
---|
| 2009 | 'pageToken' => [
|
---|
| 2010 | 'location' => 'query',
|
---|
| 2011 | 'type' => 'string',
|
---|
| 2012 | ],
|
---|
| 2013 | ],
|
---|
| 2014 | ],'patch' => [
|
---|
| 2015 | 'path' => 'v1/{+name}',
|
---|
| 2016 | 'httpMethod' => 'PATCH',
|
---|
| 2017 | 'parameters' => [
|
---|
| 2018 | 'name' => [
|
---|
| 2019 | 'location' => 'path',
|
---|
| 2020 | 'type' => 'string',
|
---|
| 2021 | 'required' => true,
|
---|
| 2022 | ],
|
---|
| 2023 | 'updateMask' => [
|
---|
| 2024 | 'location' => 'query',
|
---|
| 2025 | 'type' => 'string',
|
---|
| 2026 | ],
|
---|
| 2027 | ],
|
---|
| 2028 | ],'setIamPolicy' => [
|
---|
| 2029 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 2030 | 'httpMethod' => 'POST',
|
---|
| 2031 | 'parameters' => [
|
---|
| 2032 | 'resource' => [
|
---|
| 2033 | 'location' => 'path',
|
---|
| 2034 | 'type' => 'string',
|
---|
| 2035 | 'required' => true,
|
---|
| 2036 | ],
|
---|
| 2037 | ],
|
---|
| 2038 | ],'testIamPermissions' => [
|
---|
| 2039 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 2040 | 'httpMethod' => 'POST',
|
---|
| 2041 | 'parameters' => [
|
---|
| 2042 | 'resource' => [
|
---|
| 2043 | 'location' => 'path',
|
---|
| 2044 | 'type' => 'string',
|
---|
| 2045 | 'required' => true,
|
---|
| 2046 | ],
|
---|
| 2047 | ],
|
---|
| 2048 | ],
|
---|
| 2049 | ]
|
---|
| 2050 | ]
|
---|
| 2051 | );
|
---|
| 2052 | $this->organizations_sources_findings = new SecurityCommandCenter\Resource\OrganizationsSourcesFindings(
|
---|
| 2053 | $this,
|
---|
| 2054 | $this->serviceName,
|
---|
| 2055 | 'findings',
|
---|
| 2056 | [
|
---|
| 2057 | 'methods' => [
|
---|
| 2058 | 'create' => [
|
---|
| 2059 | 'path' => 'v1/{+parent}/findings',
|
---|
| 2060 | 'httpMethod' => 'POST',
|
---|
| 2061 | 'parameters' => [
|
---|
| 2062 | 'parent' => [
|
---|
| 2063 | 'location' => 'path',
|
---|
| 2064 | 'type' => 'string',
|
---|
| 2065 | 'required' => true,
|
---|
| 2066 | ],
|
---|
| 2067 | 'findingId' => [
|
---|
| 2068 | 'location' => 'query',
|
---|
| 2069 | 'type' => 'string',
|
---|
| 2070 | ],
|
---|
| 2071 | ],
|
---|
| 2072 | ],'group' => [
|
---|
| 2073 | 'path' => 'v1/{+parent}/findings:group',
|
---|
| 2074 | 'httpMethod' => 'POST',
|
---|
| 2075 | 'parameters' => [
|
---|
| 2076 | 'parent' => [
|
---|
| 2077 | 'location' => 'path',
|
---|
| 2078 | 'type' => 'string',
|
---|
| 2079 | 'required' => true,
|
---|
| 2080 | ],
|
---|
| 2081 | ],
|
---|
| 2082 | ],'list' => [
|
---|
| 2083 | 'path' => 'v1/{+parent}/findings',
|
---|
| 2084 | 'httpMethod' => 'GET',
|
---|
| 2085 | 'parameters' => [
|
---|
| 2086 | 'parent' => [
|
---|
| 2087 | 'location' => 'path',
|
---|
| 2088 | 'type' => 'string',
|
---|
| 2089 | 'required' => true,
|
---|
| 2090 | ],
|
---|
| 2091 | 'compareDuration' => [
|
---|
| 2092 | 'location' => 'query',
|
---|
| 2093 | 'type' => 'string',
|
---|
| 2094 | ],
|
---|
| 2095 | 'fieldMask' => [
|
---|
| 2096 | 'location' => 'query',
|
---|
| 2097 | 'type' => 'string',
|
---|
| 2098 | ],
|
---|
| 2099 | 'filter' => [
|
---|
| 2100 | 'location' => 'query',
|
---|
| 2101 | 'type' => 'string',
|
---|
| 2102 | ],
|
---|
| 2103 | 'orderBy' => [
|
---|
| 2104 | 'location' => 'query',
|
---|
| 2105 | 'type' => 'string',
|
---|
| 2106 | ],
|
---|
| 2107 | 'pageSize' => [
|
---|
| 2108 | 'location' => 'query',
|
---|
| 2109 | 'type' => 'integer',
|
---|
| 2110 | ],
|
---|
| 2111 | 'pageToken' => [
|
---|
| 2112 | 'location' => 'query',
|
---|
| 2113 | 'type' => 'string',
|
---|
| 2114 | ],
|
---|
| 2115 | 'readTime' => [
|
---|
| 2116 | 'location' => 'query',
|
---|
| 2117 | 'type' => 'string',
|
---|
| 2118 | ],
|
---|
| 2119 | ],
|
---|
| 2120 | ],'patch' => [
|
---|
| 2121 | 'path' => 'v1/{+name}',
|
---|
| 2122 | 'httpMethod' => 'PATCH',
|
---|
| 2123 | 'parameters' => [
|
---|
| 2124 | 'name' => [
|
---|
| 2125 | 'location' => 'path',
|
---|
| 2126 | 'type' => 'string',
|
---|
| 2127 | 'required' => true,
|
---|
| 2128 | ],
|
---|
| 2129 | 'updateMask' => [
|
---|
| 2130 | 'location' => 'query',
|
---|
| 2131 | 'type' => 'string',
|
---|
| 2132 | ],
|
---|
| 2133 | ],
|
---|
| 2134 | ],'setMute' => [
|
---|
| 2135 | 'path' => 'v1/{+name}:setMute',
|
---|
| 2136 | 'httpMethod' => 'POST',
|
---|
| 2137 | 'parameters' => [
|
---|
| 2138 | 'name' => [
|
---|
| 2139 | 'location' => 'path',
|
---|
| 2140 | 'type' => 'string',
|
---|
| 2141 | 'required' => true,
|
---|
| 2142 | ],
|
---|
| 2143 | ],
|
---|
| 2144 | ],'setState' => [
|
---|
| 2145 | 'path' => 'v1/{+name}:setState',
|
---|
| 2146 | 'httpMethod' => 'POST',
|
---|
| 2147 | 'parameters' => [
|
---|
| 2148 | 'name' => [
|
---|
| 2149 | 'location' => 'path',
|
---|
| 2150 | 'type' => 'string',
|
---|
| 2151 | 'required' => true,
|
---|
| 2152 | ],
|
---|
| 2153 | ],
|
---|
| 2154 | ],'updateSecurityMarks' => [
|
---|
| 2155 | 'path' => 'v1/{+name}',
|
---|
| 2156 | 'httpMethod' => 'PATCH',
|
---|
| 2157 | 'parameters' => [
|
---|
| 2158 | 'name' => [
|
---|
| 2159 | 'location' => 'path',
|
---|
| 2160 | 'type' => 'string',
|
---|
| 2161 | 'required' => true,
|
---|
| 2162 | ],
|
---|
| 2163 | 'startTime' => [
|
---|
| 2164 | 'location' => 'query',
|
---|
| 2165 | 'type' => 'string',
|
---|
| 2166 | ],
|
---|
| 2167 | 'updateMask' => [
|
---|
| 2168 | 'location' => 'query',
|
---|
| 2169 | 'type' => 'string',
|
---|
| 2170 | ],
|
---|
| 2171 | ],
|
---|
| 2172 | ],
|
---|
| 2173 | ]
|
---|
| 2174 | ]
|
---|
| 2175 | );
|
---|
| 2176 | $this->organizations_sources_findings_externalSystems = new SecurityCommandCenter\Resource\OrganizationsSourcesFindingsExternalSystems(
|
---|
| 2177 | $this,
|
---|
| 2178 | $this->serviceName,
|
---|
| 2179 | 'externalSystems',
|
---|
| 2180 | [
|
---|
| 2181 | 'methods' => [
|
---|
| 2182 | 'patch' => [
|
---|
| 2183 | 'path' => 'v1/{+name}',
|
---|
| 2184 | 'httpMethod' => 'PATCH',
|
---|
| 2185 | 'parameters' => [
|
---|
| 2186 | 'name' => [
|
---|
| 2187 | 'location' => 'path',
|
---|
| 2188 | 'type' => 'string',
|
---|
| 2189 | 'required' => true,
|
---|
| 2190 | ],
|
---|
| 2191 | 'updateMask' => [
|
---|
| 2192 | 'location' => 'query',
|
---|
| 2193 | 'type' => 'string',
|
---|
| 2194 | ],
|
---|
| 2195 | ],
|
---|
| 2196 | ],
|
---|
| 2197 | ]
|
---|
| 2198 | ]
|
---|
| 2199 | );
|
---|
| 2200 | $this->organizations_valuedResources = new SecurityCommandCenter\Resource\OrganizationsValuedResources(
|
---|
| 2201 | $this,
|
---|
| 2202 | $this->serviceName,
|
---|
| 2203 | 'valuedResources',
|
---|
| 2204 | [
|
---|
| 2205 | 'methods' => [
|
---|
| 2206 | 'list' => [
|
---|
| 2207 | 'path' => 'v1/{+parent}/valuedResources',
|
---|
| 2208 | 'httpMethod' => 'GET',
|
---|
| 2209 | 'parameters' => [
|
---|
| 2210 | 'parent' => [
|
---|
| 2211 | 'location' => 'path',
|
---|
| 2212 | 'type' => 'string',
|
---|
| 2213 | 'required' => true,
|
---|
| 2214 | ],
|
---|
| 2215 | 'filter' => [
|
---|
| 2216 | 'location' => 'query',
|
---|
| 2217 | 'type' => 'string',
|
---|
| 2218 | ],
|
---|
| 2219 | 'orderBy' => [
|
---|
| 2220 | 'location' => 'query',
|
---|
| 2221 | 'type' => 'string',
|
---|
| 2222 | ],
|
---|
| 2223 | 'pageSize' => [
|
---|
| 2224 | 'location' => 'query',
|
---|
| 2225 | 'type' => 'integer',
|
---|
| 2226 | ],
|
---|
| 2227 | 'pageToken' => [
|
---|
| 2228 | 'location' => 'query',
|
---|
| 2229 | 'type' => 'string',
|
---|
| 2230 | ],
|
---|
| 2231 | ],
|
---|
| 2232 | ],
|
---|
| 2233 | ]
|
---|
| 2234 | ]
|
---|
| 2235 | );
|
---|
| 2236 | $this->projects_assets = new SecurityCommandCenter\Resource\ProjectsAssets(
|
---|
| 2237 | $this,
|
---|
| 2238 | $this->serviceName,
|
---|
| 2239 | 'assets',
|
---|
| 2240 | [
|
---|
| 2241 | 'methods' => [
|
---|
| 2242 | 'group' => [
|
---|
| 2243 | 'path' => 'v1/{+parent}/assets:group',
|
---|
| 2244 | 'httpMethod' => 'POST',
|
---|
| 2245 | 'parameters' => [
|
---|
| 2246 | 'parent' => [
|
---|
| 2247 | 'location' => 'path',
|
---|
| 2248 | 'type' => 'string',
|
---|
| 2249 | 'required' => true,
|
---|
| 2250 | ],
|
---|
| 2251 | ],
|
---|
| 2252 | ],'list' => [
|
---|
| 2253 | 'path' => 'v1/{+parent}/assets',
|
---|
| 2254 | 'httpMethod' => 'GET',
|
---|
| 2255 | 'parameters' => [
|
---|
| 2256 | 'parent' => [
|
---|
| 2257 | 'location' => 'path',
|
---|
| 2258 | 'type' => 'string',
|
---|
| 2259 | 'required' => true,
|
---|
| 2260 | ],
|
---|
| 2261 | 'compareDuration' => [
|
---|
| 2262 | 'location' => 'query',
|
---|
| 2263 | 'type' => 'string',
|
---|
| 2264 | ],
|
---|
| 2265 | 'fieldMask' => [
|
---|
| 2266 | 'location' => 'query',
|
---|
| 2267 | 'type' => 'string',
|
---|
| 2268 | ],
|
---|
| 2269 | 'filter' => [
|
---|
| 2270 | 'location' => 'query',
|
---|
| 2271 | 'type' => 'string',
|
---|
| 2272 | ],
|
---|
| 2273 | 'orderBy' => [
|
---|
| 2274 | 'location' => 'query',
|
---|
| 2275 | 'type' => 'string',
|
---|
| 2276 | ],
|
---|
| 2277 | 'pageSize' => [
|
---|
| 2278 | 'location' => 'query',
|
---|
| 2279 | 'type' => 'integer',
|
---|
| 2280 | ],
|
---|
| 2281 | 'pageToken' => [
|
---|
| 2282 | 'location' => 'query',
|
---|
| 2283 | 'type' => 'string',
|
---|
| 2284 | ],
|
---|
| 2285 | 'readTime' => [
|
---|
| 2286 | 'location' => 'query',
|
---|
| 2287 | 'type' => 'string',
|
---|
| 2288 | ],
|
---|
| 2289 | ],
|
---|
| 2290 | ],'updateSecurityMarks' => [
|
---|
| 2291 | 'path' => 'v1/{+name}',
|
---|
| 2292 | 'httpMethod' => 'PATCH',
|
---|
| 2293 | 'parameters' => [
|
---|
| 2294 | 'name' => [
|
---|
| 2295 | 'location' => 'path',
|
---|
| 2296 | 'type' => 'string',
|
---|
| 2297 | 'required' => true,
|
---|
| 2298 | ],
|
---|
| 2299 | 'startTime' => [
|
---|
| 2300 | 'location' => 'query',
|
---|
| 2301 | 'type' => 'string',
|
---|
| 2302 | ],
|
---|
| 2303 | 'updateMask' => [
|
---|
| 2304 | 'location' => 'query',
|
---|
| 2305 | 'type' => 'string',
|
---|
| 2306 | ],
|
---|
| 2307 | ],
|
---|
| 2308 | ],
|
---|
| 2309 | ]
|
---|
| 2310 | ]
|
---|
| 2311 | );
|
---|
| 2312 | $this->projects_bigQueryExports = new SecurityCommandCenter\Resource\ProjectsBigQueryExports(
|
---|
| 2313 | $this,
|
---|
| 2314 | $this->serviceName,
|
---|
| 2315 | 'bigQueryExports',
|
---|
| 2316 | [
|
---|
| 2317 | 'methods' => [
|
---|
| 2318 | 'create' => [
|
---|
| 2319 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 2320 | 'httpMethod' => 'POST',
|
---|
| 2321 | 'parameters' => [
|
---|
| 2322 | 'parent' => [
|
---|
| 2323 | 'location' => 'path',
|
---|
| 2324 | 'type' => 'string',
|
---|
| 2325 | 'required' => true,
|
---|
| 2326 | ],
|
---|
| 2327 | 'bigQueryExportId' => [
|
---|
| 2328 | 'location' => 'query',
|
---|
| 2329 | 'type' => 'string',
|
---|
| 2330 | ],
|
---|
| 2331 | ],
|
---|
| 2332 | ],'delete' => [
|
---|
| 2333 | 'path' => 'v1/{+name}',
|
---|
| 2334 | 'httpMethod' => 'DELETE',
|
---|
| 2335 | 'parameters' => [
|
---|
| 2336 | 'name' => [
|
---|
| 2337 | 'location' => 'path',
|
---|
| 2338 | 'type' => 'string',
|
---|
| 2339 | 'required' => true,
|
---|
| 2340 | ],
|
---|
| 2341 | ],
|
---|
| 2342 | ],'get' => [
|
---|
| 2343 | 'path' => 'v1/{+name}',
|
---|
| 2344 | 'httpMethod' => 'GET',
|
---|
| 2345 | 'parameters' => [
|
---|
| 2346 | 'name' => [
|
---|
| 2347 | 'location' => 'path',
|
---|
| 2348 | 'type' => 'string',
|
---|
| 2349 | 'required' => true,
|
---|
| 2350 | ],
|
---|
| 2351 | ],
|
---|
| 2352 | ],'list' => [
|
---|
| 2353 | 'path' => 'v1/{+parent}/bigQueryExports',
|
---|
| 2354 | 'httpMethod' => 'GET',
|
---|
| 2355 | 'parameters' => [
|
---|
| 2356 | 'parent' => [
|
---|
| 2357 | 'location' => 'path',
|
---|
| 2358 | 'type' => 'string',
|
---|
| 2359 | 'required' => true,
|
---|
| 2360 | ],
|
---|
| 2361 | 'pageSize' => [
|
---|
| 2362 | 'location' => 'query',
|
---|
| 2363 | 'type' => 'integer',
|
---|
| 2364 | ],
|
---|
| 2365 | 'pageToken' => [
|
---|
| 2366 | 'location' => 'query',
|
---|
| 2367 | 'type' => 'string',
|
---|
| 2368 | ],
|
---|
| 2369 | ],
|
---|
| 2370 | ],'patch' => [
|
---|
| 2371 | 'path' => 'v1/{+name}',
|
---|
| 2372 | 'httpMethod' => 'PATCH',
|
---|
| 2373 | 'parameters' => [
|
---|
| 2374 | 'name' => [
|
---|
| 2375 | 'location' => 'path',
|
---|
| 2376 | 'type' => 'string',
|
---|
| 2377 | 'required' => true,
|
---|
| 2378 | ],
|
---|
| 2379 | 'updateMask' => [
|
---|
| 2380 | 'location' => 'query',
|
---|
| 2381 | 'type' => 'string',
|
---|
| 2382 | ],
|
---|
| 2383 | ],
|
---|
| 2384 | ],
|
---|
| 2385 | ]
|
---|
| 2386 | ]
|
---|
| 2387 | );
|
---|
| 2388 | $this->projects_eventThreatDetectionSettings = new SecurityCommandCenter\Resource\ProjectsEventThreatDetectionSettings(
|
---|
| 2389 | $this,
|
---|
| 2390 | $this->serviceName,
|
---|
| 2391 | 'eventThreatDetectionSettings',
|
---|
| 2392 | [
|
---|
| 2393 | 'methods' => [
|
---|
| 2394 | 'validateCustomModule' => [
|
---|
| 2395 | 'path' => 'v1/{+parent}:validateCustomModule',
|
---|
| 2396 | 'httpMethod' => 'POST',
|
---|
| 2397 | 'parameters' => [
|
---|
| 2398 | 'parent' => [
|
---|
| 2399 | 'location' => 'path',
|
---|
| 2400 | 'type' => 'string',
|
---|
| 2401 | 'required' => true,
|
---|
| 2402 | ],
|
---|
| 2403 | ],
|
---|
| 2404 | ],
|
---|
| 2405 | ]
|
---|
| 2406 | ]
|
---|
| 2407 | );
|
---|
| 2408 | $this->projects_eventThreatDetectionSettings_customModules = new SecurityCommandCenter\Resource\ProjectsEventThreatDetectionSettingsCustomModules(
|
---|
| 2409 | $this,
|
---|
| 2410 | $this->serviceName,
|
---|
| 2411 | 'customModules',
|
---|
| 2412 | [
|
---|
| 2413 | 'methods' => [
|
---|
| 2414 | 'create' => [
|
---|
| 2415 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 2416 | 'httpMethod' => 'POST',
|
---|
| 2417 | 'parameters' => [
|
---|
| 2418 | 'parent' => [
|
---|
| 2419 | 'location' => 'path',
|
---|
| 2420 | 'type' => 'string',
|
---|
| 2421 | 'required' => true,
|
---|
| 2422 | ],
|
---|
| 2423 | ],
|
---|
| 2424 | ],'delete' => [
|
---|
| 2425 | 'path' => 'v1/{+name}',
|
---|
| 2426 | 'httpMethod' => 'DELETE',
|
---|
| 2427 | 'parameters' => [
|
---|
| 2428 | 'name' => [
|
---|
| 2429 | 'location' => 'path',
|
---|
| 2430 | 'type' => 'string',
|
---|
| 2431 | 'required' => true,
|
---|
| 2432 | ],
|
---|
| 2433 | ],
|
---|
| 2434 | ],'get' => [
|
---|
| 2435 | 'path' => 'v1/{+name}',
|
---|
| 2436 | 'httpMethod' => 'GET',
|
---|
| 2437 | 'parameters' => [
|
---|
| 2438 | 'name' => [
|
---|
| 2439 | 'location' => 'path',
|
---|
| 2440 | 'type' => 'string',
|
---|
| 2441 | 'required' => true,
|
---|
| 2442 | ],
|
---|
| 2443 | ],
|
---|
| 2444 | ],'list' => [
|
---|
| 2445 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 2446 | 'httpMethod' => 'GET',
|
---|
| 2447 | 'parameters' => [
|
---|
| 2448 | 'parent' => [
|
---|
| 2449 | 'location' => 'path',
|
---|
| 2450 | 'type' => 'string',
|
---|
| 2451 | 'required' => true,
|
---|
| 2452 | ],
|
---|
| 2453 | 'pageSize' => [
|
---|
| 2454 | 'location' => 'query',
|
---|
| 2455 | 'type' => 'integer',
|
---|
| 2456 | ],
|
---|
| 2457 | 'pageToken' => [
|
---|
| 2458 | 'location' => 'query',
|
---|
| 2459 | 'type' => 'string',
|
---|
| 2460 | ],
|
---|
| 2461 | ],
|
---|
| 2462 | ],'listDescendant' => [
|
---|
| 2463 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 2464 | 'httpMethod' => 'GET',
|
---|
| 2465 | 'parameters' => [
|
---|
| 2466 | 'parent' => [
|
---|
| 2467 | 'location' => 'path',
|
---|
| 2468 | 'type' => 'string',
|
---|
| 2469 | 'required' => true,
|
---|
| 2470 | ],
|
---|
| 2471 | 'pageSize' => [
|
---|
| 2472 | 'location' => 'query',
|
---|
| 2473 | 'type' => 'integer',
|
---|
| 2474 | ],
|
---|
| 2475 | 'pageToken' => [
|
---|
| 2476 | 'location' => 'query',
|
---|
| 2477 | 'type' => 'string',
|
---|
| 2478 | ],
|
---|
| 2479 | ],
|
---|
| 2480 | ],'patch' => [
|
---|
| 2481 | 'path' => 'v1/{+name}',
|
---|
| 2482 | 'httpMethod' => 'PATCH',
|
---|
| 2483 | 'parameters' => [
|
---|
| 2484 | 'name' => [
|
---|
| 2485 | 'location' => 'path',
|
---|
| 2486 | 'type' => 'string',
|
---|
| 2487 | 'required' => true,
|
---|
| 2488 | ],
|
---|
| 2489 | 'updateMask' => [
|
---|
| 2490 | 'location' => 'query',
|
---|
| 2491 | 'type' => 'string',
|
---|
| 2492 | ],
|
---|
| 2493 | ],
|
---|
| 2494 | ],
|
---|
| 2495 | ]
|
---|
| 2496 | ]
|
---|
| 2497 | );
|
---|
| 2498 | $this->projects_eventThreatDetectionSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\ProjectsEventThreatDetectionSettingsEffectiveCustomModules(
|
---|
| 2499 | $this,
|
---|
| 2500 | $this->serviceName,
|
---|
| 2501 | 'effectiveCustomModules',
|
---|
| 2502 | [
|
---|
| 2503 | 'methods' => [
|
---|
| 2504 | 'get' => [
|
---|
| 2505 | 'path' => 'v1/{+name}',
|
---|
| 2506 | 'httpMethod' => 'GET',
|
---|
| 2507 | 'parameters' => [
|
---|
| 2508 | 'name' => [
|
---|
| 2509 | 'location' => 'path',
|
---|
| 2510 | 'type' => 'string',
|
---|
| 2511 | 'required' => true,
|
---|
| 2512 | ],
|
---|
| 2513 | ],
|
---|
| 2514 | ],'list' => [
|
---|
| 2515 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 2516 | 'httpMethod' => 'GET',
|
---|
| 2517 | 'parameters' => [
|
---|
| 2518 | 'parent' => [
|
---|
| 2519 | 'location' => 'path',
|
---|
| 2520 | 'type' => 'string',
|
---|
| 2521 | 'required' => true,
|
---|
| 2522 | ],
|
---|
| 2523 | 'pageSize' => [
|
---|
| 2524 | 'location' => 'query',
|
---|
| 2525 | 'type' => 'integer',
|
---|
| 2526 | ],
|
---|
| 2527 | 'pageToken' => [
|
---|
| 2528 | 'location' => 'query',
|
---|
| 2529 | 'type' => 'string',
|
---|
| 2530 | ],
|
---|
| 2531 | ],
|
---|
| 2532 | ],
|
---|
| 2533 | ]
|
---|
| 2534 | ]
|
---|
| 2535 | );
|
---|
| 2536 | $this->projects_findings = new SecurityCommandCenter\Resource\ProjectsFindings(
|
---|
| 2537 | $this,
|
---|
| 2538 | $this->serviceName,
|
---|
| 2539 | 'findings',
|
---|
| 2540 | [
|
---|
| 2541 | 'methods' => [
|
---|
| 2542 | 'bulkMute' => [
|
---|
| 2543 | 'path' => 'v1/{+parent}/findings:bulkMute',
|
---|
| 2544 | 'httpMethod' => 'POST',
|
---|
| 2545 | 'parameters' => [
|
---|
| 2546 | 'parent' => [
|
---|
| 2547 | 'location' => 'path',
|
---|
| 2548 | 'type' => 'string',
|
---|
| 2549 | 'required' => true,
|
---|
| 2550 | ],
|
---|
| 2551 | ],
|
---|
| 2552 | ],
|
---|
| 2553 | ]
|
---|
| 2554 | ]
|
---|
| 2555 | );
|
---|
| 2556 | $this->projects_locations_muteConfigs = new SecurityCommandCenter\Resource\ProjectsLocationsMuteConfigs(
|
---|
| 2557 | $this,
|
---|
| 2558 | $this->serviceName,
|
---|
| 2559 | 'muteConfigs',
|
---|
| 2560 | [
|
---|
| 2561 | 'methods' => [
|
---|
| 2562 | 'delete' => [
|
---|
| 2563 | 'path' => 'v1/{+name}',
|
---|
| 2564 | 'httpMethod' => 'DELETE',
|
---|
| 2565 | 'parameters' => [
|
---|
| 2566 | 'name' => [
|
---|
| 2567 | 'location' => 'path',
|
---|
| 2568 | 'type' => 'string',
|
---|
| 2569 | 'required' => true,
|
---|
| 2570 | ],
|
---|
| 2571 | ],
|
---|
| 2572 | ],'get' => [
|
---|
| 2573 | 'path' => 'v1/{+name}',
|
---|
| 2574 | 'httpMethod' => 'GET',
|
---|
| 2575 | 'parameters' => [
|
---|
| 2576 | 'name' => [
|
---|
| 2577 | 'location' => 'path',
|
---|
| 2578 | 'type' => 'string',
|
---|
| 2579 | 'required' => true,
|
---|
| 2580 | ],
|
---|
| 2581 | ],
|
---|
| 2582 | ],'patch' => [
|
---|
| 2583 | 'path' => 'v1/{+name}',
|
---|
| 2584 | 'httpMethod' => 'PATCH',
|
---|
| 2585 | 'parameters' => [
|
---|
| 2586 | 'name' => [
|
---|
| 2587 | 'location' => 'path',
|
---|
| 2588 | 'type' => 'string',
|
---|
| 2589 | 'required' => true,
|
---|
| 2590 | ],
|
---|
| 2591 | 'updateMask' => [
|
---|
| 2592 | 'location' => 'query',
|
---|
| 2593 | 'type' => 'string',
|
---|
| 2594 | ],
|
---|
| 2595 | ],
|
---|
| 2596 | ],
|
---|
| 2597 | ]
|
---|
| 2598 | ]
|
---|
| 2599 | );
|
---|
| 2600 | $this->projects_muteConfigs = new SecurityCommandCenter\Resource\ProjectsMuteConfigs(
|
---|
| 2601 | $this,
|
---|
| 2602 | $this->serviceName,
|
---|
| 2603 | 'muteConfigs',
|
---|
| 2604 | [
|
---|
| 2605 | 'methods' => [
|
---|
| 2606 | 'create' => [
|
---|
| 2607 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 2608 | 'httpMethod' => 'POST',
|
---|
| 2609 | 'parameters' => [
|
---|
| 2610 | 'parent' => [
|
---|
| 2611 | 'location' => 'path',
|
---|
| 2612 | 'type' => 'string',
|
---|
| 2613 | 'required' => true,
|
---|
| 2614 | ],
|
---|
| 2615 | 'muteConfigId' => [
|
---|
| 2616 | 'location' => 'query',
|
---|
| 2617 | 'type' => 'string',
|
---|
| 2618 | ],
|
---|
| 2619 | ],
|
---|
| 2620 | ],'delete' => [
|
---|
| 2621 | 'path' => 'v1/{+name}',
|
---|
| 2622 | 'httpMethod' => 'DELETE',
|
---|
| 2623 | 'parameters' => [
|
---|
| 2624 | 'name' => [
|
---|
| 2625 | 'location' => 'path',
|
---|
| 2626 | 'type' => 'string',
|
---|
| 2627 | 'required' => true,
|
---|
| 2628 | ],
|
---|
| 2629 | ],
|
---|
| 2630 | ],'get' => [
|
---|
| 2631 | 'path' => 'v1/{+name}',
|
---|
| 2632 | 'httpMethod' => 'GET',
|
---|
| 2633 | 'parameters' => [
|
---|
| 2634 | 'name' => [
|
---|
| 2635 | 'location' => 'path',
|
---|
| 2636 | 'type' => 'string',
|
---|
| 2637 | 'required' => true,
|
---|
| 2638 | ],
|
---|
| 2639 | ],
|
---|
| 2640 | ],'list' => [
|
---|
| 2641 | 'path' => 'v1/{+parent}/muteConfigs',
|
---|
| 2642 | 'httpMethod' => 'GET',
|
---|
| 2643 | 'parameters' => [
|
---|
| 2644 | 'parent' => [
|
---|
| 2645 | 'location' => 'path',
|
---|
| 2646 | 'type' => 'string',
|
---|
| 2647 | 'required' => true,
|
---|
| 2648 | ],
|
---|
| 2649 | 'pageSize' => [
|
---|
| 2650 | 'location' => 'query',
|
---|
| 2651 | 'type' => 'integer',
|
---|
| 2652 | ],
|
---|
| 2653 | 'pageToken' => [
|
---|
| 2654 | 'location' => 'query',
|
---|
| 2655 | 'type' => 'string',
|
---|
| 2656 | ],
|
---|
| 2657 | ],
|
---|
| 2658 | ],'patch' => [
|
---|
| 2659 | 'path' => 'v1/{+name}',
|
---|
| 2660 | 'httpMethod' => 'PATCH',
|
---|
| 2661 | 'parameters' => [
|
---|
| 2662 | 'name' => [
|
---|
| 2663 | 'location' => 'path',
|
---|
| 2664 | 'type' => 'string',
|
---|
| 2665 | 'required' => true,
|
---|
| 2666 | ],
|
---|
| 2667 | 'updateMask' => [
|
---|
| 2668 | 'location' => 'query',
|
---|
| 2669 | 'type' => 'string',
|
---|
| 2670 | ],
|
---|
| 2671 | ],
|
---|
| 2672 | ],
|
---|
| 2673 | ]
|
---|
| 2674 | ]
|
---|
| 2675 | );
|
---|
| 2676 | $this->projects_notificationConfigs = new SecurityCommandCenter\Resource\ProjectsNotificationConfigs(
|
---|
| 2677 | $this,
|
---|
| 2678 | $this->serviceName,
|
---|
| 2679 | 'notificationConfigs',
|
---|
| 2680 | [
|
---|
| 2681 | 'methods' => [
|
---|
| 2682 | 'create' => [
|
---|
| 2683 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 2684 | 'httpMethod' => 'POST',
|
---|
| 2685 | 'parameters' => [
|
---|
| 2686 | 'parent' => [
|
---|
| 2687 | 'location' => 'path',
|
---|
| 2688 | 'type' => 'string',
|
---|
| 2689 | 'required' => true,
|
---|
| 2690 | ],
|
---|
| 2691 | 'configId' => [
|
---|
| 2692 | 'location' => 'query',
|
---|
| 2693 | 'type' => 'string',
|
---|
| 2694 | ],
|
---|
| 2695 | ],
|
---|
| 2696 | ],'delete' => [
|
---|
| 2697 | 'path' => 'v1/{+name}',
|
---|
| 2698 | 'httpMethod' => 'DELETE',
|
---|
| 2699 | 'parameters' => [
|
---|
| 2700 | 'name' => [
|
---|
| 2701 | 'location' => 'path',
|
---|
| 2702 | 'type' => 'string',
|
---|
| 2703 | 'required' => true,
|
---|
| 2704 | ],
|
---|
| 2705 | ],
|
---|
| 2706 | ],'get' => [
|
---|
| 2707 | 'path' => 'v1/{+name}',
|
---|
| 2708 | 'httpMethod' => 'GET',
|
---|
| 2709 | 'parameters' => [
|
---|
| 2710 | 'name' => [
|
---|
| 2711 | 'location' => 'path',
|
---|
| 2712 | 'type' => 'string',
|
---|
| 2713 | 'required' => true,
|
---|
| 2714 | ],
|
---|
| 2715 | ],
|
---|
| 2716 | ],'list' => [
|
---|
| 2717 | 'path' => 'v1/{+parent}/notificationConfigs',
|
---|
| 2718 | 'httpMethod' => 'GET',
|
---|
| 2719 | 'parameters' => [
|
---|
| 2720 | 'parent' => [
|
---|
| 2721 | 'location' => 'path',
|
---|
| 2722 | 'type' => 'string',
|
---|
| 2723 | 'required' => true,
|
---|
| 2724 | ],
|
---|
| 2725 | 'pageSize' => [
|
---|
| 2726 | 'location' => 'query',
|
---|
| 2727 | 'type' => 'integer',
|
---|
| 2728 | ],
|
---|
| 2729 | 'pageToken' => [
|
---|
| 2730 | 'location' => 'query',
|
---|
| 2731 | 'type' => 'string',
|
---|
| 2732 | ],
|
---|
| 2733 | ],
|
---|
| 2734 | ],'patch' => [
|
---|
| 2735 | 'path' => 'v1/{+name}',
|
---|
| 2736 | 'httpMethod' => 'PATCH',
|
---|
| 2737 | 'parameters' => [
|
---|
| 2738 | 'name' => [
|
---|
| 2739 | 'location' => 'path',
|
---|
| 2740 | 'type' => 'string',
|
---|
| 2741 | 'required' => true,
|
---|
| 2742 | ],
|
---|
| 2743 | 'updateMask' => [
|
---|
| 2744 | 'location' => 'query',
|
---|
| 2745 | 'type' => 'string',
|
---|
| 2746 | ],
|
---|
| 2747 | ],
|
---|
| 2748 | ],
|
---|
| 2749 | ]
|
---|
| 2750 | ]
|
---|
| 2751 | );
|
---|
| 2752 | $this->projects_securityHealthAnalyticsSettings_customModules = new SecurityCommandCenter\Resource\ProjectsSecurityHealthAnalyticsSettingsCustomModules(
|
---|
| 2753 | $this,
|
---|
| 2754 | $this->serviceName,
|
---|
| 2755 | 'customModules',
|
---|
| 2756 | [
|
---|
| 2757 | 'methods' => [
|
---|
| 2758 | 'create' => [
|
---|
| 2759 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 2760 | 'httpMethod' => 'POST',
|
---|
| 2761 | 'parameters' => [
|
---|
| 2762 | 'parent' => [
|
---|
| 2763 | 'location' => 'path',
|
---|
| 2764 | 'type' => 'string',
|
---|
| 2765 | 'required' => true,
|
---|
| 2766 | ],
|
---|
| 2767 | ],
|
---|
| 2768 | ],'delete' => [
|
---|
| 2769 | 'path' => 'v1/{+name}',
|
---|
| 2770 | 'httpMethod' => 'DELETE',
|
---|
| 2771 | 'parameters' => [
|
---|
| 2772 | 'name' => [
|
---|
| 2773 | 'location' => 'path',
|
---|
| 2774 | 'type' => 'string',
|
---|
| 2775 | 'required' => true,
|
---|
| 2776 | ],
|
---|
| 2777 | ],
|
---|
| 2778 | ],'get' => [
|
---|
| 2779 | 'path' => 'v1/{+name}',
|
---|
| 2780 | 'httpMethod' => 'GET',
|
---|
| 2781 | 'parameters' => [
|
---|
| 2782 | 'name' => [
|
---|
| 2783 | 'location' => 'path',
|
---|
| 2784 | 'type' => 'string',
|
---|
| 2785 | 'required' => true,
|
---|
| 2786 | ],
|
---|
| 2787 | ],
|
---|
| 2788 | ],'list' => [
|
---|
| 2789 | 'path' => 'v1/{+parent}/customModules',
|
---|
| 2790 | 'httpMethod' => 'GET',
|
---|
| 2791 | 'parameters' => [
|
---|
| 2792 | 'parent' => [
|
---|
| 2793 | 'location' => 'path',
|
---|
| 2794 | 'type' => 'string',
|
---|
| 2795 | 'required' => true,
|
---|
| 2796 | ],
|
---|
| 2797 | 'pageSize' => [
|
---|
| 2798 | 'location' => 'query',
|
---|
| 2799 | 'type' => 'integer',
|
---|
| 2800 | ],
|
---|
| 2801 | 'pageToken' => [
|
---|
| 2802 | 'location' => 'query',
|
---|
| 2803 | 'type' => 'string',
|
---|
| 2804 | ],
|
---|
| 2805 | ],
|
---|
| 2806 | ],'listDescendant' => [
|
---|
| 2807 | 'path' => 'v1/{+parent}/customModules:listDescendant',
|
---|
| 2808 | 'httpMethod' => 'GET',
|
---|
| 2809 | 'parameters' => [
|
---|
| 2810 | 'parent' => [
|
---|
| 2811 | 'location' => 'path',
|
---|
| 2812 | 'type' => 'string',
|
---|
| 2813 | 'required' => true,
|
---|
| 2814 | ],
|
---|
| 2815 | 'pageSize' => [
|
---|
| 2816 | 'location' => 'query',
|
---|
| 2817 | 'type' => 'integer',
|
---|
| 2818 | ],
|
---|
| 2819 | 'pageToken' => [
|
---|
| 2820 | 'location' => 'query',
|
---|
| 2821 | 'type' => 'string',
|
---|
| 2822 | ],
|
---|
| 2823 | ],
|
---|
| 2824 | ],'patch' => [
|
---|
| 2825 | 'path' => 'v1/{+name}',
|
---|
| 2826 | 'httpMethod' => 'PATCH',
|
---|
| 2827 | 'parameters' => [
|
---|
| 2828 | 'name' => [
|
---|
| 2829 | 'location' => 'path',
|
---|
| 2830 | 'type' => 'string',
|
---|
| 2831 | 'required' => true,
|
---|
| 2832 | ],
|
---|
| 2833 | 'updateMask' => [
|
---|
| 2834 | 'location' => 'query',
|
---|
| 2835 | 'type' => 'string',
|
---|
| 2836 | ],
|
---|
| 2837 | ],
|
---|
| 2838 | ],'simulate' => [
|
---|
| 2839 | 'path' => 'v1/{+parent}/customModules:simulate',
|
---|
| 2840 | 'httpMethod' => 'POST',
|
---|
| 2841 | 'parameters' => [
|
---|
| 2842 | 'parent' => [
|
---|
| 2843 | 'location' => 'path',
|
---|
| 2844 | 'type' => 'string',
|
---|
| 2845 | 'required' => true,
|
---|
| 2846 | ],
|
---|
| 2847 | ],
|
---|
| 2848 | ],
|
---|
| 2849 | ]
|
---|
| 2850 | ]
|
---|
| 2851 | );
|
---|
| 2852 | $this->projects_securityHealthAnalyticsSettings_effectiveCustomModules = new SecurityCommandCenter\Resource\ProjectsSecurityHealthAnalyticsSettingsEffectiveCustomModules(
|
---|
| 2853 | $this,
|
---|
| 2854 | $this->serviceName,
|
---|
| 2855 | 'effectiveCustomModules',
|
---|
| 2856 | [
|
---|
| 2857 | 'methods' => [
|
---|
| 2858 | 'get' => [
|
---|
| 2859 | 'path' => 'v1/{+name}',
|
---|
| 2860 | 'httpMethod' => 'GET',
|
---|
| 2861 | 'parameters' => [
|
---|
| 2862 | 'name' => [
|
---|
| 2863 | 'location' => 'path',
|
---|
| 2864 | 'type' => 'string',
|
---|
| 2865 | 'required' => true,
|
---|
| 2866 | ],
|
---|
| 2867 | ],
|
---|
| 2868 | ],'list' => [
|
---|
| 2869 | 'path' => 'v1/{+parent}/effectiveCustomModules',
|
---|
| 2870 | 'httpMethod' => 'GET',
|
---|
| 2871 | 'parameters' => [
|
---|
| 2872 | 'parent' => [
|
---|
| 2873 | 'location' => 'path',
|
---|
| 2874 | 'type' => 'string',
|
---|
| 2875 | 'required' => true,
|
---|
| 2876 | ],
|
---|
| 2877 | 'pageSize' => [
|
---|
| 2878 | 'location' => 'query',
|
---|
| 2879 | 'type' => 'integer',
|
---|
| 2880 | ],
|
---|
| 2881 | 'pageToken' => [
|
---|
| 2882 | 'location' => 'query',
|
---|
| 2883 | 'type' => 'string',
|
---|
| 2884 | ],
|
---|
| 2885 | ],
|
---|
| 2886 | ],
|
---|
| 2887 | ]
|
---|
| 2888 | ]
|
---|
| 2889 | );
|
---|
| 2890 | $this->projects_sources = new SecurityCommandCenter\Resource\ProjectsSources(
|
---|
| 2891 | $this,
|
---|
| 2892 | $this->serviceName,
|
---|
| 2893 | 'sources',
|
---|
| 2894 | [
|
---|
| 2895 | 'methods' => [
|
---|
| 2896 | 'list' => [
|
---|
| 2897 | 'path' => 'v1/{+parent}/sources',
|
---|
| 2898 | 'httpMethod' => 'GET',
|
---|
| 2899 | 'parameters' => [
|
---|
| 2900 | 'parent' => [
|
---|
| 2901 | 'location' => 'path',
|
---|
| 2902 | 'type' => 'string',
|
---|
| 2903 | 'required' => true,
|
---|
| 2904 | ],
|
---|
| 2905 | 'pageSize' => [
|
---|
| 2906 | 'location' => 'query',
|
---|
| 2907 | 'type' => 'integer',
|
---|
| 2908 | ],
|
---|
| 2909 | 'pageToken' => [
|
---|
| 2910 | 'location' => 'query',
|
---|
| 2911 | 'type' => 'string',
|
---|
| 2912 | ],
|
---|
| 2913 | ],
|
---|
| 2914 | ],
|
---|
| 2915 | ]
|
---|
| 2916 | ]
|
---|
| 2917 | );
|
---|
| 2918 | $this->projects_sources_findings = new SecurityCommandCenter\Resource\ProjectsSourcesFindings(
|
---|
| 2919 | $this,
|
---|
| 2920 | $this->serviceName,
|
---|
| 2921 | 'findings',
|
---|
| 2922 | [
|
---|
| 2923 | 'methods' => [
|
---|
| 2924 | 'group' => [
|
---|
| 2925 | 'path' => 'v1/{+parent}/findings:group',
|
---|
| 2926 | 'httpMethod' => 'POST',
|
---|
| 2927 | 'parameters' => [
|
---|
| 2928 | 'parent' => [
|
---|
| 2929 | 'location' => 'path',
|
---|
| 2930 | 'type' => 'string',
|
---|
| 2931 | 'required' => true,
|
---|
| 2932 | ],
|
---|
| 2933 | ],
|
---|
| 2934 | ],'list' => [
|
---|
| 2935 | 'path' => 'v1/{+parent}/findings',
|
---|
| 2936 | 'httpMethod' => 'GET',
|
---|
| 2937 | 'parameters' => [
|
---|
| 2938 | 'parent' => [
|
---|
| 2939 | 'location' => 'path',
|
---|
| 2940 | 'type' => 'string',
|
---|
| 2941 | 'required' => true,
|
---|
| 2942 | ],
|
---|
| 2943 | 'compareDuration' => [
|
---|
| 2944 | 'location' => 'query',
|
---|
| 2945 | 'type' => 'string',
|
---|
| 2946 | ],
|
---|
| 2947 | 'fieldMask' => [
|
---|
| 2948 | 'location' => 'query',
|
---|
| 2949 | 'type' => 'string',
|
---|
| 2950 | ],
|
---|
| 2951 | 'filter' => [
|
---|
| 2952 | 'location' => 'query',
|
---|
| 2953 | 'type' => 'string',
|
---|
| 2954 | ],
|
---|
| 2955 | 'orderBy' => [
|
---|
| 2956 | 'location' => 'query',
|
---|
| 2957 | 'type' => 'string',
|
---|
| 2958 | ],
|
---|
| 2959 | 'pageSize' => [
|
---|
| 2960 | 'location' => 'query',
|
---|
| 2961 | 'type' => 'integer',
|
---|
| 2962 | ],
|
---|
| 2963 | 'pageToken' => [
|
---|
| 2964 | 'location' => 'query',
|
---|
| 2965 | 'type' => 'string',
|
---|
| 2966 | ],
|
---|
| 2967 | 'readTime' => [
|
---|
| 2968 | 'location' => 'query',
|
---|
| 2969 | 'type' => 'string',
|
---|
| 2970 | ],
|
---|
| 2971 | ],
|
---|
| 2972 | ],'patch' => [
|
---|
| 2973 | 'path' => 'v1/{+name}',
|
---|
| 2974 | 'httpMethod' => 'PATCH',
|
---|
| 2975 | 'parameters' => [
|
---|
| 2976 | 'name' => [
|
---|
| 2977 | 'location' => 'path',
|
---|
| 2978 | 'type' => 'string',
|
---|
| 2979 | 'required' => true,
|
---|
| 2980 | ],
|
---|
| 2981 | 'updateMask' => [
|
---|
| 2982 | 'location' => 'query',
|
---|
| 2983 | 'type' => 'string',
|
---|
| 2984 | ],
|
---|
| 2985 | ],
|
---|
| 2986 | ],'setMute' => [
|
---|
| 2987 | 'path' => 'v1/{+name}:setMute',
|
---|
| 2988 | 'httpMethod' => 'POST',
|
---|
| 2989 | 'parameters' => [
|
---|
| 2990 | 'name' => [
|
---|
| 2991 | 'location' => 'path',
|
---|
| 2992 | 'type' => 'string',
|
---|
| 2993 | 'required' => true,
|
---|
| 2994 | ],
|
---|
| 2995 | ],
|
---|
| 2996 | ],'setState' => [
|
---|
| 2997 | 'path' => 'v1/{+name}:setState',
|
---|
| 2998 | 'httpMethod' => 'POST',
|
---|
| 2999 | 'parameters' => [
|
---|
| 3000 | 'name' => [
|
---|
| 3001 | 'location' => 'path',
|
---|
| 3002 | 'type' => 'string',
|
---|
| 3003 | 'required' => true,
|
---|
| 3004 | ],
|
---|
| 3005 | ],
|
---|
| 3006 | ],'updateSecurityMarks' => [
|
---|
| 3007 | 'path' => 'v1/{+name}',
|
---|
| 3008 | 'httpMethod' => 'PATCH',
|
---|
| 3009 | 'parameters' => [
|
---|
| 3010 | 'name' => [
|
---|
| 3011 | 'location' => 'path',
|
---|
| 3012 | 'type' => 'string',
|
---|
| 3013 | 'required' => true,
|
---|
| 3014 | ],
|
---|
| 3015 | 'startTime' => [
|
---|
| 3016 | 'location' => 'query',
|
---|
| 3017 | 'type' => 'string',
|
---|
| 3018 | ],
|
---|
| 3019 | 'updateMask' => [
|
---|
| 3020 | 'location' => 'query',
|
---|
| 3021 | 'type' => 'string',
|
---|
| 3022 | ],
|
---|
| 3023 | ],
|
---|
| 3024 | ],
|
---|
| 3025 | ]
|
---|
| 3026 | ]
|
---|
| 3027 | );
|
---|
| 3028 | $this->projects_sources_findings_externalSystems = new SecurityCommandCenter\Resource\ProjectsSourcesFindingsExternalSystems(
|
---|
| 3029 | $this,
|
---|
| 3030 | $this->serviceName,
|
---|
| 3031 | 'externalSystems',
|
---|
| 3032 | [
|
---|
| 3033 | 'methods' => [
|
---|
| 3034 | 'patch' => [
|
---|
| 3035 | 'path' => 'v1/{+name}',
|
---|
| 3036 | 'httpMethod' => 'PATCH',
|
---|
| 3037 | 'parameters' => [
|
---|
| 3038 | 'name' => [
|
---|
| 3039 | 'location' => 'path',
|
---|
| 3040 | 'type' => 'string',
|
---|
| 3041 | 'required' => true,
|
---|
| 3042 | ],
|
---|
| 3043 | 'updateMask' => [
|
---|
| 3044 | 'location' => 'query',
|
---|
| 3045 | 'type' => 'string',
|
---|
| 3046 | ],
|
---|
| 3047 | ],
|
---|
| 3048 | ],
|
---|
| 3049 | ]
|
---|
| 3050 | ]
|
---|
| 3051 | );
|
---|
| 3052 | }
|
---|
| 3053 | }
|
---|
| 3054 |
|
---|
| 3055 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 3056 | class_alias(SecurityCommandCenter::class, 'Google_Service_SecurityCommandCenter');
|
---|