[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 NetworkSecurity (v1).
|
---|
| 24 | *
|
---|
| 25 | * <p>
|
---|
| 26 | </p>
|
---|
| 27 | *
|
---|
| 28 | * <p>
|
---|
| 29 | * For more information about this service, see the API
|
---|
| 30 | * <a href="https://cloud.google.com/networking" target="_blank">Documentation</a>
|
---|
| 31 | * </p>
|
---|
| 32 | *
|
---|
| 33 | * @author Google, Inc.
|
---|
| 34 | */
|
---|
| 35 | class NetworkSecurity extends \Google\Service
|
---|
| 36 | {
|
---|
| 37 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
| 38 | const CLOUD_PLATFORM =
|
---|
| 39 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
| 40 |
|
---|
| 41 | public $organizations_locations_addressGroups;
|
---|
| 42 | public $organizations_locations_firewallEndpoints;
|
---|
| 43 | public $organizations_locations_operations;
|
---|
| 44 | public $organizations_locations_securityProfileGroups;
|
---|
| 45 | public $organizations_locations_securityProfiles;
|
---|
| 46 | public $projects_locations;
|
---|
| 47 | public $projects_locations_addressGroups;
|
---|
| 48 | public $projects_locations_authorizationPolicies;
|
---|
| 49 | public $projects_locations_authzPolicies;
|
---|
| 50 | public $projects_locations_clientTlsPolicies;
|
---|
| 51 | public $projects_locations_firewallEndpointAssociations;
|
---|
| 52 | public $projects_locations_gatewaySecurityPolicies;
|
---|
| 53 | public $projects_locations_gatewaySecurityPolicies_rules;
|
---|
| 54 | public $projects_locations_operations;
|
---|
| 55 | public $projects_locations_serverTlsPolicies;
|
---|
| 56 | public $projects_locations_tlsInspectionPolicies;
|
---|
| 57 | public $projects_locations_urlLists;
|
---|
| 58 | public $rootUrlTemplate;
|
---|
| 59 |
|
---|
| 60 | /**
|
---|
| 61 | * Constructs the internal representation of the NetworkSecurity service.
|
---|
| 62 | *
|
---|
| 63 | * @param Client|array $clientOrConfig The client used to deliver requests, or a
|
---|
| 64 | * config array to pass to a new Client instance.
|
---|
| 65 | * @param string $rootUrl The root URL used for requests to the service.
|
---|
| 66 | */
|
---|
| 67 | public function __construct($clientOrConfig = [], $rootUrl = null)
|
---|
| 68 | {
|
---|
| 69 | parent::__construct($clientOrConfig);
|
---|
| 70 | $this->rootUrl = $rootUrl ?: 'https://networksecurity.googleapis.com/';
|
---|
| 71 | $this->rootUrlTemplate = $rootUrl ?: 'https://networksecurity.UNIVERSE_DOMAIN/';
|
---|
| 72 | $this->servicePath = '';
|
---|
| 73 | $this->batchPath = 'batch';
|
---|
| 74 | $this->version = 'v1';
|
---|
| 75 | $this->serviceName = 'networksecurity';
|
---|
| 76 |
|
---|
| 77 | $this->organizations_locations_addressGroups = new NetworkSecurity\Resource\OrganizationsLocationsAddressGroups(
|
---|
| 78 | $this,
|
---|
| 79 | $this->serviceName,
|
---|
| 80 | 'addressGroups',
|
---|
| 81 | [
|
---|
| 82 | 'methods' => [
|
---|
| 83 | 'addItems' => [
|
---|
| 84 | 'path' => 'v1/{+addressGroup}:addItems',
|
---|
| 85 | 'httpMethod' => 'POST',
|
---|
| 86 | 'parameters' => [
|
---|
| 87 | 'addressGroup' => [
|
---|
| 88 | 'location' => 'path',
|
---|
| 89 | 'type' => 'string',
|
---|
| 90 | 'required' => true,
|
---|
| 91 | ],
|
---|
| 92 | ],
|
---|
| 93 | ],'cloneItems' => [
|
---|
| 94 | 'path' => 'v1/{+addressGroup}:cloneItems',
|
---|
| 95 | 'httpMethod' => 'POST',
|
---|
| 96 | 'parameters' => [
|
---|
| 97 | 'addressGroup' => [
|
---|
| 98 | 'location' => 'path',
|
---|
| 99 | 'type' => 'string',
|
---|
| 100 | 'required' => true,
|
---|
| 101 | ],
|
---|
| 102 | ],
|
---|
| 103 | ],'create' => [
|
---|
| 104 | 'path' => 'v1/{+parent}/addressGroups',
|
---|
| 105 | 'httpMethod' => 'POST',
|
---|
| 106 | 'parameters' => [
|
---|
| 107 | 'parent' => [
|
---|
| 108 | 'location' => 'path',
|
---|
| 109 | 'type' => 'string',
|
---|
| 110 | 'required' => true,
|
---|
| 111 | ],
|
---|
| 112 | 'addressGroupId' => [
|
---|
| 113 | 'location' => 'query',
|
---|
| 114 | 'type' => 'string',
|
---|
| 115 | ],
|
---|
| 116 | 'requestId' => [
|
---|
| 117 | 'location' => 'query',
|
---|
| 118 | 'type' => 'string',
|
---|
| 119 | ],
|
---|
| 120 | ],
|
---|
| 121 | ],'delete' => [
|
---|
| 122 | 'path' => 'v1/{+name}',
|
---|
| 123 | 'httpMethod' => 'DELETE',
|
---|
| 124 | 'parameters' => [
|
---|
| 125 | 'name' => [
|
---|
| 126 | 'location' => 'path',
|
---|
| 127 | 'type' => 'string',
|
---|
| 128 | 'required' => true,
|
---|
| 129 | ],
|
---|
| 130 | 'requestId' => [
|
---|
| 131 | 'location' => 'query',
|
---|
| 132 | 'type' => 'string',
|
---|
| 133 | ],
|
---|
| 134 | ],
|
---|
| 135 | ],'get' => [
|
---|
| 136 | 'path' => 'v1/{+name}',
|
---|
| 137 | 'httpMethod' => 'GET',
|
---|
| 138 | 'parameters' => [
|
---|
| 139 | 'name' => [
|
---|
| 140 | 'location' => 'path',
|
---|
| 141 | 'type' => 'string',
|
---|
| 142 | 'required' => true,
|
---|
| 143 | ],
|
---|
| 144 | ],
|
---|
| 145 | ],'list' => [
|
---|
| 146 | 'path' => 'v1/{+parent}/addressGroups',
|
---|
| 147 | 'httpMethod' => 'GET',
|
---|
| 148 | 'parameters' => [
|
---|
| 149 | 'parent' => [
|
---|
| 150 | 'location' => 'path',
|
---|
| 151 | 'type' => 'string',
|
---|
| 152 | 'required' => true,
|
---|
| 153 | ],
|
---|
| 154 | 'pageSize' => [
|
---|
| 155 | 'location' => 'query',
|
---|
| 156 | 'type' => 'integer',
|
---|
| 157 | ],
|
---|
| 158 | 'pageToken' => [
|
---|
| 159 | 'location' => 'query',
|
---|
| 160 | 'type' => 'string',
|
---|
| 161 | ],
|
---|
| 162 | ],
|
---|
| 163 | ],'listReferences' => [
|
---|
| 164 | 'path' => 'v1/{+addressGroup}:listReferences',
|
---|
| 165 | 'httpMethod' => 'GET',
|
---|
| 166 | 'parameters' => [
|
---|
| 167 | 'addressGroup' => [
|
---|
| 168 | 'location' => 'path',
|
---|
| 169 | 'type' => 'string',
|
---|
| 170 | 'required' => true,
|
---|
| 171 | ],
|
---|
| 172 | 'pageSize' => [
|
---|
| 173 | 'location' => 'query',
|
---|
| 174 | 'type' => 'integer',
|
---|
| 175 | ],
|
---|
| 176 | 'pageToken' => [
|
---|
| 177 | 'location' => 'query',
|
---|
| 178 | 'type' => 'string',
|
---|
| 179 | ],
|
---|
| 180 | ],
|
---|
| 181 | ],'patch' => [
|
---|
| 182 | 'path' => 'v1/{+name}',
|
---|
| 183 | 'httpMethod' => 'PATCH',
|
---|
| 184 | 'parameters' => [
|
---|
| 185 | 'name' => [
|
---|
| 186 | 'location' => 'path',
|
---|
| 187 | 'type' => 'string',
|
---|
| 188 | 'required' => true,
|
---|
| 189 | ],
|
---|
| 190 | 'requestId' => [
|
---|
| 191 | 'location' => 'query',
|
---|
| 192 | 'type' => 'string',
|
---|
| 193 | ],
|
---|
| 194 | 'updateMask' => [
|
---|
| 195 | 'location' => 'query',
|
---|
| 196 | 'type' => 'string',
|
---|
| 197 | ],
|
---|
| 198 | ],
|
---|
| 199 | ],'removeItems' => [
|
---|
| 200 | 'path' => 'v1/{+addressGroup}:removeItems',
|
---|
| 201 | 'httpMethod' => 'POST',
|
---|
| 202 | 'parameters' => [
|
---|
| 203 | 'addressGroup' => [
|
---|
| 204 | 'location' => 'path',
|
---|
| 205 | 'type' => 'string',
|
---|
| 206 | 'required' => true,
|
---|
| 207 | ],
|
---|
| 208 | ],
|
---|
| 209 | ],
|
---|
| 210 | ]
|
---|
| 211 | ]
|
---|
| 212 | );
|
---|
| 213 | $this->organizations_locations_firewallEndpoints = new NetworkSecurity\Resource\OrganizationsLocationsFirewallEndpoints(
|
---|
| 214 | $this,
|
---|
| 215 | $this->serviceName,
|
---|
| 216 | 'firewallEndpoints',
|
---|
| 217 | [
|
---|
| 218 | 'methods' => [
|
---|
| 219 | 'create' => [
|
---|
| 220 | 'path' => 'v1/{+parent}/firewallEndpoints',
|
---|
| 221 | 'httpMethod' => 'POST',
|
---|
| 222 | 'parameters' => [
|
---|
| 223 | 'parent' => [
|
---|
| 224 | 'location' => 'path',
|
---|
| 225 | 'type' => 'string',
|
---|
| 226 | 'required' => true,
|
---|
| 227 | ],
|
---|
| 228 | 'firewallEndpointId' => [
|
---|
| 229 | 'location' => 'query',
|
---|
| 230 | 'type' => 'string',
|
---|
| 231 | ],
|
---|
| 232 | 'requestId' => [
|
---|
| 233 | 'location' => 'query',
|
---|
| 234 | 'type' => 'string',
|
---|
| 235 | ],
|
---|
| 236 | ],
|
---|
| 237 | ],'delete' => [
|
---|
| 238 | 'path' => 'v1/{+name}',
|
---|
| 239 | 'httpMethod' => 'DELETE',
|
---|
| 240 | 'parameters' => [
|
---|
| 241 | 'name' => [
|
---|
| 242 | 'location' => 'path',
|
---|
| 243 | 'type' => 'string',
|
---|
| 244 | 'required' => true,
|
---|
| 245 | ],
|
---|
| 246 | 'requestId' => [
|
---|
| 247 | 'location' => 'query',
|
---|
| 248 | 'type' => 'string',
|
---|
| 249 | ],
|
---|
| 250 | ],
|
---|
| 251 | ],'get' => [
|
---|
| 252 | 'path' => 'v1/{+name}',
|
---|
| 253 | 'httpMethod' => 'GET',
|
---|
| 254 | 'parameters' => [
|
---|
| 255 | 'name' => [
|
---|
| 256 | 'location' => 'path',
|
---|
| 257 | 'type' => 'string',
|
---|
| 258 | 'required' => true,
|
---|
| 259 | ],
|
---|
| 260 | ],
|
---|
| 261 | ],'list' => [
|
---|
| 262 | 'path' => 'v1/{+parent}/firewallEndpoints',
|
---|
| 263 | 'httpMethod' => 'GET',
|
---|
| 264 | 'parameters' => [
|
---|
| 265 | 'parent' => [
|
---|
| 266 | 'location' => 'path',
|
---|
| 267 | 'type' => 'string',
|
---|
| 268 | 'required' => true,
|
---|
| 269 | ],
|
---|
| 270 | 'filter' => [
|
---|
| 271 | 'location' => 'query',
|
---|
| 272 | 'type' => 'string',
|
---|
| 273 | ],
|
---|
| 274 | 'orderBy' => [
|
---|
| 275 | 'location' => 'query',
|
---|
| 276 | 'type' => 'string',
|
---|
| 277 | ],
|
---|
| 278 | 'pageSize' => [
|
---|
| 279 | 'location' => 'query',
|
---|
| 280 | 'type' => 'integer',
|
---|
| 281 | ],
|
---|
| 282 | 'pageToken' => [
|
---|
| 283 | 'location' => 'query',
|
---|
| 284 | 'type' => 'string',
|
---|
| 285 | ],
|
---|
| 286 | ],
|
---|
| 287 | ],'patch' => [
|
---|
| 288 | 'path' => 'v1/{+name}',
|
---|
| 289 | 'httpMethod' => 'PATCH',
|
---|
| 290 | 'parameters' => [
|
---|
| 291 | 'name' => [
|
---|
| 292 | 'location' => 'path',
|
---|
| 293 | 'type' => 'string',
|
---|
| 294 | 'required' => true,
|
---|
| 295 | ],
|
---|
| 296 | 'requestId' => [
|
---|
| 297 | 'location' => 'query',
|
---|
| 298 | 'type' => 'string',
|
---|
| 299 | ],
|
---|
| 300 | 'updateMask' => [
|
---|
| 301 | 'location' => 'query',
|
---|
| 302 | 'type' => 'string',
|
---|
| 303 | ],
|
---|
| 304 | ],
|
---|
| 305 | ],
|
---|
| 306 | ]
|
---|
| 307 | ]
|
---|
| 308 | );
|
---|
| 309 | $this->organizations_locations_operations = new NetworkSecurity\Resource\OrganizationsLocationsOperations(
|
---|
| 310 | $this,
|
---|
| 311 | $this->serviceName,
|
---|
| 312 | 'operations',
|
---|
| 313 | [
|
---|
| 314 | 'methods' => [
|
---|
| 315 | 'cancel' => [
|
---|
| 316 | 'path' => 'v1/{+name}:cancel',
|
---|
| 317 | 'httpMethod' => 'POST',
|
---|
| 318 | 'parameters' => [
|
---|
| 319 | 'name' => [
|
---|
| 320 | 'location' => 'path',
|
---|
| 321 | 'type' => 'string',
|
---|
| 322 | 'required' => true,
|
---|
| 323 | ],
|
---|
| 324 | ],
|
---|
| 325 | ],'delete' => [
|
---|
| 326 | 'path' => 'v1/{+name}',
|
---|
| 327 | 'httpMethod' => 'DELETE',
|
---|
| 328 | 'parameters' => [
|
---|
| 329 | 'name' => [
|
---|
| 330 | 'location' => 'path',
|
---|
| 331 | 'type' => 'string',
|
---|
| 332 | 'required' => true,
|
---|
| 333 | ],
|
---|
| 334 | ],
|
---|
| 335 | ],'get' => [
|
---|
| 336 | 'path' => 'v1/{+name}',
|
---|
| 337 | 'httpMethod' => 'GET',
|
---|
| 338 | 'parameters' => [
|
---|
| 339 | 'name' => [
|
---|
| 340 | 'location' => 'path',
|
---|
| 341 | 'type' => 'string',
|
---|
| 342 | 'required' => true,
|
---|
| 343 | ],
|
---|
| 344 | ],
|
---|
| 345 | ],'list' => [
|
---|
| 346 | 'path' => 'v1/{+name}/operations',
|
---|
| 347 | 'httpMethod' => 'GET',
|
---|
| 348 | 'parameters' => [
|
---|
| 349 | 'name' => [
|
---|
| 350 | 'location' => 'path',
|
---|
| 351 | 'type' => 'string',
|
---|
| 352 | 'required' => true,
|
---|
| 353 | ],
|
---|
| 354 | 'filter' => [
|
---|
| 355 | 'location' => 'query',
|
---|
| 356 | 'type' => 'string',
|
---|
| 357 | ],
|
---|
| 358 | 'pageSize' => [
|
---|
| 359 | 'location' => 'query',
|
---|
| 360 | 'type' => 'integer',
|
---|
| 361 | ],
|
---|
| 362 | 'pageToken' => [
|
---|
| 363 | 'location' => 'query',
|
---|
| 364 | 'type' => 'string',
|
---|
| 365 | ],
|
---|
| 366 | ],
|
---|
| 367 | ],
|
---|
| 368 | ]
|
---|
| 369 | ]
|
---|
| 370 | );
|
---|
| 371 | $this->organizations_locations_securityProfileGroups = new NetworkSecurity\Resource\OrganizationsLocationsSecurityProfileGroups(
|
---|
| 372 | $this,
|
---|
| 373 | $this->serviceName,
|
---|
| 374 | 'securityProfileGroups',
|
---|
| 375 | [
|
---|
| 376 | 'methods' => [
|
---|
| 377 | 'create' => [
|
---|
| 378 | 'path' => 'v1/{+parent}/securityProfileGroups',
|
---|
| 379 | 'httpMethod' => 'POST',
|
---|
| 380 | 'parameters' => [
|
---|
| 381 | 'parent' => [
|
---|
| 382 | 'location' => 'path',
|
---|
| 383 | 'type' => 'string',
|
---|
| 384 | 'required' => true,
|
---|
| 385 | ],
|
---|
| 386 | 'securityProfileGroupId' => [
|
---|
| 387 | 'location' => 'query',
|
---|
| 388 | 'type' => 'string',
|
---|
| 389 | ],
|
---|
| 390 | ],
|
---|
| 391 | ],'delete' => [
|
---|
| 392 | 'path' => 'v1/{+name}',
|
---|
| 393 | 'httpMethod' => 'DELETE',
|
---|
| 394 | 'parameters' => [
|
---|
| 395 | 'name' => [
|
---|
| 396 | 'location' => 'path',
|
---|
| 397 | 'type' => 'string',
|
---|
| 398 | 'required' => true,
|
---|
| 399 | ],
|
---|
| 400 | 'etag' => [
|
---|
| 401 | 'location' => 'query',
|
---|
| 402 | 'type' => 'string',
|
---|
| 403 | ],
|
---|
| 404 | ],
|
---|
| 405 | ],'get' => [
|
---|
| 406 | 'path' => 'v1/{+name}',
|
---|
| 407 | 'httpMethod' => 'GET',
|
---|
| 408 | 'parameters' => [
|
---|
| 409 | 'name' => [
|
---|
| 410 | 'location' => 'path',
|
---|
| 411 | 'type' => 'string',
|
---|
| 412 | 'required' => true,
|
---|
| 413 | ],
|
---|
| 414 | ],
|
---|
| 415 | ],'list' => [
|
---|
| 416 | 'path' => 'v1/{+parent}/securityProfileGroups',
|
---|
| 417 | 'httpMethod' => 'GET',
|
---|
| 418 | 'parameters' => [
|
---|
| 419 | 'parent' => [
|
---|
| 420 | 'location' => 'path',
|
---|
| 421 | 'type' => 'string',
|
---|
| 422 | 'required' => true,
|
---|
| 423 | ],
|
---|
| 424 | 'pageSize' => [
|
---|
| 425 | 'location' => 'query',
|
---|
| 426 | 'type' => 'integer',
|
---|
| 427 | ],
|
---|
| 428 | 'pageToken' => [
|
---|
| 429 | 'location' => 'query',
|
---|
| 430 | 'type' => 'string',
|
---|
| 431 | ],
|
---|
| 432 | ],
|
---|
| 433 | ],'patch' => [
|
---|
| 434 | 'path' => 'v1/{+name}',
|
---|
| 435 | 'httpMethod' => 'PATCH',
|
---|
| 436 | 'parameters' => [
|
---|
| 437 | 'name' => [
|
---|
| 438 | 'location' => 'path',
|
---|
| 439 | 'type' => 'string',
|
---|
| 440 | 'required' => true,
|
---|
| 441 | ],
|
---|
| 442 | 'updateMask' => [
|
---|
| 443 | 'location' => 'query',
|
---|
| 444 | 'type' => 'string',
|
---|
| 445 | ],
|
---|
| 446 | ],
|
---|
| 447 | ],
|
---|
| 448 | ]
|
---|
| 449 | ]
|
---|
| 450 | );
|
---|
| 451 | $this->organizations_locations_securityProfiles = new NetworkSecurity\Resource\OrganizationsLocationsSecurityProfiles(
|
---|
| 452 | $this,
|
---|
| 453 | $this->serviceName,
|
---|
| 454 | 'securityProfiles',
|
---|
| 455 | [
|
---|
| 456 | 'methods' => [
|
---|
| 457 | 'create' => [
|
---|
| 458 | 'path' => 'v1/{+parent}/securityProfiles',
|
---|
| 459 | 'httpMethod' => 'POST',
|
---|
| 460 | 'parameters' => [
|
---|
| 461 | 'parent' => [
|
---|
| 462 | 'location' => 'path',
|
---|
| 463 | 'type' => 'string',
|
---|
| 464 | 'required' => true,
|
---|
| 465 | ],
|
---|
| 466 | 'securityProfileId' => [
|
---|
| 467 | 'location' => 'query',
|
---|
| 468 | 'type' => 'string',
|
---|
| 469 | ],
|
---|
| 470 | ],
|
---|
| 471 | ],'delete' => [
|
---|
| 472 | 'path' => 'v1/{+name}',
|
---|
| 473 | 'httpMethod' => 'DELETE',
|
---|
| 474 | 'parameters' => [
|
---|
| 475 | 'name' => [
|
---|
| 476 | 'location' => 'path',
|
---|
| 477 | 'type' => 'string',
|
---|
| 478 | 'required' => true,
|
---|
| 479 | ],
|
---|
| 480 | 'etag' => [
|
---|
| 481 | 'location' => 'query',
|
---|
| 482 | 'type' => 'string',
|
---|
| 483 | ],
|
---|
| 484 | ],
|
---|
| 485 | ],'get' => [
|
---|
| 486 | 'path' => 'v1/{+name}',
|
---|
| 487 | 'httpMethod' => 'GET',
|
---|
| 488 | 'parameters' => [
|
---|
| 489 | 'name' => [
|
---|
| 490 | 'location' => 'path',
|
---|
| 491 | 'type' => 'string',
|
---|
| 492 | 'required' => true,
|
---|
| 493 | ],
|
---|
| 494 | ],
|
---|
| 495 | ],'list' => [
|
---|
| 496 | 'path' => 'v1/{+parent}/securityProfiles',
|
---|
| 497 | 'httpMethod' => 'GET',
|
---|
| 498 | 'parameters' => [
|
---|
| 499 | 'parent' => [
|
---|
| 500 | 'location' => 'path',
|
---|
| 501 | 'type' => 'string',
|
---|
| 502 | 'required' => true,
|
---|
| 503 | ],
|
---|
| 504 | 'pageSize' => [
|
---|
| 505 | 'location' => 'query',
|
---|
| 506 | 'type' => 'integer',
|
---|
| 507 | ],
|
---|
| 508 | 'pageToken' => [
|
---|
| 509 | 'location' => 'query',
|
---|
| 510 | 'type' => 'string',
|
---|
| 511 | ],
|
---|
| 512 | ],
|
---|
| 513 | ],'patch' => [
|
---|
| 514 | 'path' => 'v1/{+name}',
|
---|
| 515 | 'httpMethod' => 'PATCH',
|
---|
| 516 | 'parameters' => [
|
---|
| 517 | 'name' => [
|
---|
| 518 | 'location' => 'path',
|
---|
| 519 | 'type' => 'string',
|
---|
| 520 | 'required' => true,
|
---|
| 521 | ],
|
---|
| 522 | 'updateMask' => [
|
---|
| 523 | 'location' => 'query',
|
---|
| 524 | 'type' => 'string',
|
---|
| 525 | ],
|
---|
| 526 | ],
|
---|
| 527 | ],
|
---|
| 528 | ]
|
---|
| 529 | ]
|
---|
| 530 | );
|
---|
| 531 | $this->projects_locations = new NetworkSecurity\Resource\ProjectsLocations(
|
---|
| 532 | $this,
|
---|
| 533 | $this->serviceName,
|
---|
| 534 | 'locations',
|
---|
| 535 | [
|
---|
| 536 | 'methods' => [
|
---|
| 537 | 'get' => [
|
---|
| 538 | 'path' => 'v1/{+name}',
|
---|
| 539 | 'httpMethod' => 'GET',
|
---|
| 540 | 'parameters' => [
|
---|
| 541 | 'name' => [
|
---|
| 542 | 'location' => 'path',
|
---|
| 543 | 'type' => 'string',
|
---|
| 544 | 'required' => true,
|
---|
| 545 | ],
|
---|
| 546 | ],
|
---|
| 547 | ],'list' => [
|
---|
| 548 | 'path' => 'v1/{+name}/locations',
|
---|
| 549 | 'httpMethod' => 'GET',
|
---|
| 550 | 'parameters' => [
|
---|
| 551 | 'name' => [
|
---|
| 552 | 'location' => 'path',
|
---|
| 553 | 'type' => 'string',
|
---|
| 554 | 'required' => true,
|
---|
| 555 | ],
|
---|
| 556 | 'filter' => [
|
---|
| 557 | 'location' => 'query',
|
---|
| 558 | 'type' => 'string',
|
---|
| 559 | ],
|
---|
| 560 | 'pageSize' => [
|
---|
| 561 | 'location' => 'query',
|
---|
| 562 | 'type' => 'integer',
|
---|
| 563 | ],
|
---|
| 564 | 'pageToken' => [
|
---|
| 565 | 'location' => 'query',
|
---|
| 566 | 'type' => 'string',
|
---|
| 567 | ],
|
---|
| 568 | ],
|
---|
| 569 | ],
|
---|
| 570 | ]
|
---|
| 571 | ]
|
---|
| 572 | );
|
---|
| 573 | $this->projects_locations_addressGroups = new NetworkSecurity\Resource\ProjectsLocationsAddressGroups(
|
---|
| 574 | $this,
|
---|
| 575 | $this->serviceName,
|
---|
| 576 | 'addressGroups',
|
---|
| 577 | [
|
---|
| 578 | 'methods' => [
|
---|
| 579 | 'addItems' => [
|
---|
| 580 | 'path' => 'v1/{+addressGroup}:addItems',
|
---|
| 581 | 'httpMethod' => 'POST',
|
---|
| 582 | 'parameters' => [
|
---|
| 583 | 'addressGroup' => [
|
---|
| 584 | 'location' => 'path',
|
---|
| 585 | 'type' => 'string',
|
---|
| 586 | 'required' => true,
|
---|
| 587 | ],
|
---|
| 588 | ],
|
---|
| 589 | ],'cloneItems' => [
|
---|
| 590 | 'path' => 'v1/{+addressGroup}:cloneItems',
|
---|
| 591 | 'httpMethod' => 'POST',
|
---|
| 592 | 'parameters' => [
|
---|
| 593 | 'addressGroup' => [
|
---|
| 594 | 'location' => 'path',
|
---|
| 595 | 'type' => 'string',
|
---|
| 596 | 'required' => true,
|
---|
| 597 | ],
|
---|
| 598 | ],
|
---|
| 599 | ],'create' => [
|
---|
| 600 | 'path' => 'v1/{+parent}/addressGroups',
|
---|
| 601 | 'httpMethod' => 'POST',
|
---|
| 602 | 'parameters' => [
|
---|
| 603 | 'parent' => [
|
---|
| 604 | 'location' => 'path',
|
---|
| 605 | 'type' => 'string',
|
---|
| 606 | 'required' => true,
|
---|
| 607 | ],
|
---|
| 608 | 'addressGroupId' => [
|
---|
| 609 | 'location' => 'query',
|
---|
| 610 | 'type' => 'string',
|
---|
| 611 | ],
|
---|
| 612 | 'requestId' => [
|
---|
| 613 | 'location' => 'query',
|
---|
| 614 | 'type' => 'string',
|
---|
| 615 | ],
|
---|
| 616 | ],
|
---|
| 617 | ],'delete' => [
|
---|
| 618 | 'path' => 'v1/{+name}',
|
---|
| 619 | 'httpMethod' => 'DELETE',
|
---|
| 620 | 'parameters' => [
|
---|
| 621 | 'name' => [
|
---|
| 622 | 'location' => 'path',
|
---|
| 623 | 'type' => 'string',
|
---|
| 624 | 'required' => true,
|
---|
| 625 | ],
|
---|
| 626 | 'requestId' => [
|
---|
| 627 | 'location' => 'query',
|
---|
| 628 | 'type' => 'string',
|
---|
| 629 | ],
|
---|
| 630 | ],
|
---|
| 631 | ],'get' => [
|
---|
| 632 | 'path' => 'v1/{+name}',
|
---|
| 633 | 'httpMethod' => 'GET',
|
---|
| 634 | 'parameters' => [
|
---|
| 635 | 'name' => [
|
---|
| 636 | 'location' => 'path',
|
---|
| 637 | 'type' => 'string',
|
---|
| 638 | 'required' => true,
|
---|
| 639 | ],
|
---|
| 640 | ],
|
---|
| 641 | ],'getIamPolicy' => [
|
---|
| 642 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 643 | 'httpMethod' => 'GET',
|
---|
| 644 | 'parameters' => [
|
---|
| 645 | 'resource' => [
|
---|
| 646 | 'location' => 'path',
|
---|
| 647 | 'type' => 'string',
|
---|
| 648 | 'required' => true,
|
---|
| 649 | ],
|
---|
| 650 | 'options.requestedPolicyVersion' => [
|
---|
| 651 | 'location' => 'query',
|
---|
| 652 | 'type' => 'integer',
|
---|
| 653 | ],
|
---|
| 654 | ],
|
---|
| 655 | ],'list' => [
|
---|
| 656 | 'path' => 'v1/{+parent}/addressGroups',
|
---|
| 657 | 'httpMethod' => 'GET',
|
---|
| 658 | 'parameters' => [
|
---|
| 659 | 'parent' => [
|
---|
| 660 | 'location' => 'path',
|
---|
| 661 | 'type' => 'string',
|
---|
| 662 | 'required' => true,
|
---|
| 663 | ],
|
---|
| 664 | 'pageSize' => [
|
---|
| 665 | 'location' => 'query',
|
---|
| 666 | 'type' => 'integer',
|
---|
| 667 | ],
|
---|
| 668 | 'pageToken' => [
|
---|
| 669 | 'location' => 'query',
|
---|
| 670 | 'type' => 'string',
|
---|
| 671 | ],
|
---|
| 672 | ],
|
---|
| 673 | ],'listReferences' => [
|
---|
| 674 | 'path' => 'v1/{+addressGroup}:listReferences',
|
---|
| 675 | 'httpMethod' => 'GET',
|
---|
| 676 | 'parameters' => [
|
---|
| 677 | 'addressGroup' => [
|
---|
| 678 | 'location' => 'path',
|
---|
| 679 | 'type' => 'string',
|
---|
| 680 | 'required' => true,
|
---|
| 681 | ],
|
---|
| 682 | 'pageSize' => [
|
---|
| 683 | 'location' => 'query',
|
---|
| 684 | 'type' => 'integer',
|
---|
| 685 | ],
|
---|
| 686 | 'pageToken' => [
|
---|
| 687 | 'location' => 'query',
|
---|
| 688 | 'type' => 'string',
|
---|
| 689 | ],
|
---|
| 690 | ],
|
---|
| 691 | ],'patch' => [
|
---|
| 692 | 'path' => 'v1/{+name}',
|
---|
| 693 | 'httpMethod' => 'PATCH',
|
---|
| 694 | 'parameters' => [
|
---|
| 695 | 'name' => [
|
---|
| 696 | 'location' => 'path',
|
---|
| 697 | 'type' => 'string',
|
---|
| 698 | 'required' => true,
|
---|
| 699 | ],
|
---|
| 700 | 'requestId' => [
|
---|
| 701 | 'location' => 'query',
|
---|
| 702 | 'type' => 'string',
|
---|
| 703 | ],
|
---|
| 704 | 'updateMask' => [
|
---|
| 705 | 'location' => 'query',
|
---|
| 706 | 'type' => 'string',
|
---|
| 707 | ],
|
---|
| 708 | ],
|
---|
| 709 | ],'removeItems' => [
|
---|
| 710 | 'path' => 'v1/{+addressGroup}:removeItems',
|
---|
| 711 | 'httpMethod' => 'POST',
|
---|
| 712 | 'parameters' => [
|
---|
| 713 | 'addressGroup' => [
|
---|
| 714 | 'location' => 'path',
|
---|
| 715 | 'type' => 'string',
|
---|
| 716 | 'required' => true,
|
---|
| 717 | ],
|
---|
| 718 | ],
|
---|
| 719 | ],'setIamPolicy' => [
|
---|
| 720 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 721 | 'httpMethod' => 'POST',
|
---|
| 722 | 'parameters' => [
|
---|
| 723 | 'resource' => [
|
---|
| 724 | 'location' => 'path',
|
---|
| 725 | 'type' => 'string',
|
---|
| 726 | 'required' => true,
|
---|
| 727 | ],
|
---|
| 728 | ],
|
---|
| 729 | ],'testIamPermissions' => [
|
---|
| 730 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 731 | 'httpMethod' => 'POST',
|
---|
| 732 | 'parameters' => [
|
---|
| 733 | 'resource' => [
|
---|
| 734 | 'location' => 'path',
|
---|
| 735 | 'type' => 'string',
|
---|
| 736 | 'required' => true,
|
---|
| 737 | ],
|
---|
| 738 | ],
|
---|
| 739 | ],
|
---|
| 740 | ]
|
---|
| 741 | ]
|
---|
| 742 | );
|
---|
| 743 | $this->projects_locations_authorizationPolicies = new NetworkSecurity\Resource\ProjectsLocationsAuthorizationPolicies(
|
---|
| 744 | $this,
|
---|
| 745 | $this->serviceName,
|
---|
| 746 | 'authorizationPolicies',
|
---|
| 747 | [
|
---|
| 748 | 'methods' => [
|
---|
| 749 | 'create' => [
|
---|
| 750 | 'path' => 'v1/{+parent}/authorizationPolicies',
|
---|
| 751 | 'httpMethod' => 'POST',
|
---|
| 752 | 'parameters' => [
|
---|
| 753 | 'parent' => [
|
---|
| 754 | 'location' => 'path',
|
---|
| 755 | 'type' => 'string',
|
---|
| 756 | 'required' => true,
|
---|
| 757 | ],
|
---|
| 758 | 'authorizationPolicyId' => [
|
---|
| 759 | 'location' => 'query',
|
---|
| 760 | 'type' => 'string',
|
---|
| 761 | ],
|
---|
| 762 | ],
|
---|
| 763 | ],'delete' => [
|
---|
| 764 | 'path' => 'v1/{+name}',
|
---|
| 765 | 'httpMethod' => 'DELETE',
|
---|
| 766 | 'parameters' => [
|
---|
| 767 | 'name' => [
|
---|
| 768 | 'location' => 'path',
|
---|
| 769 | 'type' => 'string',
|
---|
| 770 | 'required' => true,
|
---|
| 771 | ],
|
---|
| 772 | ],
|
---|
| 773 | ],'get' => [
|
---|
| 774 | 'path' => 'v1/{+name}',
|
---|
| 775 | 'httpMethod' => 'GET',
|
---|
| 776 | 'parameters' => [
|
---|
| 777 | 'name' => [
|
---|
| 778 | 'location' => 'path',
|
---|
| 779 | 'type' => 'string',
|
---|
| 780 | 'required' => true,
|
---|
| 781 | ],
|
---|
| 782 | ],
|
---|
| 783 | ],'getIamPolicy' => [
|
---|
| 784 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 785 | 'httpMethod' => 'GET',
|
---|
| 786 | 'parameters' => [
|
---|
| 787 | 'resource' => [
|
---|
| 788 | 'location' => 'path',
|
---|
| 789 | 'type' => 'string',
|
---|
| 790 | 'required' => true,
|
---|
| 791 | ],
|
---|
| 792 | 'options.requestedPolicyVersion' => [
|
---|
| 793 | 'location' => 'query',
|
---|
| 794 | 'type' => 'integer',
|
---|
| 795 | ],
|
---|
| 796 | ],
|
---|
| 797 | ],'list' => [
|
---|
| 798 | 'path' => 'v1/{+parent}/authorizationPolicies',
|
---|
| 799 | 'httpMethod' => 'GET',
|
---|
| 800 | 'parameters' => [
|
---|
| 801 | 'parent' => [
|
---|
| 802 | 'location' => 'path',
|
---|
| 803 | 'type' => 'string',
|
---|
| 804 | 'required' => true,
|
---|
| 805 | ],
|
---|
| 806 | 'pageSize' => [
|
---|
| 807 | 'location' => 'query',
|
---|
| 808 | 'type' => 'integer',
|
---|
| 809 | ],
|
---|
| 810 | 'pageToken' => [
|
---|
| 811 | 'location' => 'query',
|
---|
| 812 | 'type' => 'string',
|
---|
| 813 | ],
|
---|
| 814 | ],
|
---|
| 815 | ],'patch' => [
|
---|
| 816 | 'path' => 'v1/{+name}',
|
---|
| 817 | 'httpMethod' => 'PATCH',
|
---|
| 818 | 'parameters' => [
|
---|
| 819 | 'name' => [
|
---|
| 820 | 'location' => 'path',
|
---|
| 821 | 'type' => 'string',
|
---|
| 822 | 'required' => true,
|
---|
| 823 | ],
|
---|
| 824 | 'updateMask' => [
|
---|
| 825 | 'location' => 'query',
|
---|
| 826 | 'type' => 'string',
|
---|
| 827 | ],
|
---|
| 828 | ],
|
---|
| 829 | ],'setIamPolicy' => [
|
---|
| 830 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 831 | 'httpMethod' => 'POST',
|
---|
| 832 | 'parameters' => [
|
---|
| 833 | 'resource' => [
|
---|
| 834 | 'location' => 'path',
|
---|
| 835 | 'type' => 'string',
|
---|
| 836 | 'required' => true,
|
---|
| 837 | ],
|
---|
| 838 | ],
|
---|
| 839 | ],'testIamPermissions' => [
|
---|
| 840 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 841 | 'httpMethod' => 'POST',
|
---|
| 842 | 'parameters' => [
|
---|
| 843 | 'resource' => [
|
---|
| 844 | 'location' => 'path',
|
---|
| 845 | 'type' => 'string',
|
---|
| 846 | 'required' => true,
|
---|
| 847 | ],
|
---|
| 848 | ],
|
---|
| 849 | ],
|
---|
| 850 | ]
|
---|
| 851 | ]
|
---|
| 852 | );
|
---|
| 853 | $this->projects_locations_authzPolicies = new NetworkSecurity\Resource\ProjectsLocationsAuthzPolicies(
|
---|
| 854 | $this,
|
---|
| 855 | $this->serviceName,
|
---|
| 856 | 'authzPolicies',
|
---|
| 857 | [
|
---|
| 858 | 'methods' => [
|
---|
| 859 | 'create' => [
|
---|
| 860 | 'path' => 'v1/{+parent}/authzPolicies',
|
---|
| 861 | 'httpMethod' => 'POST',
|
---|
| 862 | 'parameters' => [
|
---|
| 863 | 'parent' => [
|
---|
| 864 | 'location' => 'path',
|
---|
| 865 | 'type' => 'string',
|
---|
| 866 | 'required' => true,
|
---|
| 867 | ],
|
---|
| 868 | 'authzPolicyId' => [
|
---|
| 869 | 'location' => 'query',
|
---|
| 870 | 'type' => 'string',
|
---|
| 871 | ],
|
---|
| 872 | 'requestId' => [
|
---|
| 873 | 'location' => 'query',
|
---|
| 874 | 'type' => 'string',
|
---|
| 875 | ],
|
---|
| 876 | ],
|
---|
| 877 | ],'delete' => [
|
---|
| 878 | 'path' => 'v1/{+name}',
|
---|
| 879 | 'httpMethod' => 'DELETE',
|
---|
| 880 | 'parameters' => [
|
---|
| 881 | 'name' => [
|
---|
| 882 | 'location' => 'path',
|
---|
| 883 | 'type' => 'string',
|
---|
| 884 | 'required' => true,
|
---|
| 885 | ],
|
---|
| 886 | 'requestId' => [
|
---|
| 887 | 'location' => 'query',
|
---|
| 888 | 'type' => 'string',
|
---|
| 889 | ],
|
---|
| 890 | ],
|
---|
| 891 | ],'get' => [
|
---|
| 892 | 'path' => 'v1/{+name}',
|
---|
| 893 | 'httpMethod' => 'GET',
|
---|
| 894 | 'parameters' => [
|
---|
| 895 | 'name' => [
|
---|
| 896 | 'location' => 'path',
|
---|
| 897 | 'type' => 'string',
|
---|
| 898 | 'required' => true,
|
---|
| 899 | ],
|
---|
| 900 | ],
|
---|
| 901 | ],'getIamPolicy' => [
|
---|
| 902 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 903 | 'httpMethod' => 'GET',
|
---|
| 904 | 'parameters' => [
|
---|
| 905 | 'resource' => [
|
---|
| 906 | 'location' => 'path',
|
---|
| 907 | 'type' => 'string',
|
---|
| 908 | 'required' => true,
|
---|
| 909 | ],
|
---|
| 910 | 'options.requestedPolicyVersion' => [
|
---|
| 911 | 'location' => 'query',
|
---|
| 912 | 'type' => 'integer',
|
---|
| 913 | ],
|
---|
| 914 | ],
|
---|
| 915 | ],'list' => [
|
---|
| 916 | 'path' => 'v1/{+parent}/authzPolicies',
|
---|
| 917 | 'httpMethod' => 'GET',
|
---|
| 918 | 'parameters' => [
|
---|
| 919 | 'parent' => [
|
---|
| 920 | 'location' => 'path',
|
---|
| 921 | 'type' => 'string',
|
---|
| 922 | 'required' => true,
|
---|
| 923 | ],
|
---|
| 924 | 'filter' => [
|
---|
| 925 | 'location' => 'query',
|
---|
| 926 | 'type' => 'string',
|
---|
| 927 | ],
|
---|
| 928 | 'orderBy' => [
|
---|
| 929 | 'location' => 'query',
|
---|
| 930 | 'type' => 'string',
|
---|
| 931 | ],
|
---|
| 932 | 'pageSize' => [
|
---|
| 933 | 'location' => 'query',
|
---|
| 934 | 'type' => 'integer',
|
---|
| 935 | ],
|
---|
| 936 | 'pageToken' => [
|
---|
| 937 | 'location' => 'query',
|
---|
| 938 | 'type' => 'string',
|
---|
| 939 | ],
|
---|
| 940 | ],
|
---|
| 941 | ],'patch' => [
|
---|
| 942 | 'path' => 'v1/{+name}',
|
---|
| 943 | 'httpMethod' => 'PATCH',
|
---|
| 944 | 'parameters' => [
|
---|
| 945 | 'name' => [
|
---|
| 946 | 'location' => 'path',
|
---|
| 947 | 'type' => 'string',
|
---|
| 948 | 'required' => true,
|
---|
| 949 | ],
|
---|
| 950 | 'requestId' => [
|
---|
| 951 | 'location' => 'query',
|
---|
| 952 | 'type' => 'string',
|
---|
| 953 | ],
|
---|
| 954 | 'updateMask' => [
|
---|
| 955 | 'location' => 'query',
|
---|
| 956 | 'type' => 'string',
|
---|
| 957 | ],
|
---|
| 958 | ],
|
---|
| 959 | ],'setIamPolicy' => [
|
---|
| 960 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 961 | 'httpMethod' => 'POST',
|
---|
| 962 | 'parameters' => [
|
---|
| 963 | 'resource' => [
|
---|
| 964 | 'location' => 'path',
|
---|
| 965 | 'type' => 'string',
|
---|
| 966 | 'required' => true,
|
---|
| 967 | ],
|
---|
| 968 | ],
|
---|
| 969 | ],'testIamPermissions' => [
|
---|
| 970 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 971 | 'httpMethod' => 'POST',
|
---|
| 972 | 'parameters' => [
|
---|
| 973 | 'resource' => [
|
---|
| 974 | 'location' => 'path',
|
---|
| 975 | 'type' => 'string',
|
---|
| 976 | 'required' => true,
|
---|
| 977 | ],
|
---|
| 978 | ],
|
---|
| 979 | ],
|
---|
| 980 | ]
|
---|
| 981 | ]
|
---|
| 982 | );
|
---|
| 983 | $this->projects_locations_clientTlsPolicies = new NetworkSecurity\Resource\ProjectsLocationsClientTlsPolicies(
|
---|
| 984 | $this,
|
---|
| 985 | $this->serviceName,
|
---|
| 986 | 'clientTlsPolicies',
|
---|
| 987 | [
|
---|
| 988 | 'methods' => [
|
---|
| 989 | 'create' => [
|
---|
| 990 | 'path' => 'v1/{+parent}/clientTlsPolicies',
|
---|
| 991 | 'httpMethod' => 'POST',
|
---|
| 992 | 'parameters' => [
|
---|
| 993 | 'parent' => [
|
---|
| 994 | 'location' => 'path',
|
---|
| 995 | 'type' => 'string',
|
---|
| 996 | 'required' => true,
|
---|
| 997 | ],
|
---|
| 998 | 'clientTlsPolicyId' => [
|
---|
| 999 | 'location' => 'query',
|
---|
| 1000 | 'type' => 'string',
|
---|
| 1001 | ],
|
---|
| 1002 | ],
|
---|
| 1003 | ],'delete' => [
|
---|
| 1004 | 'path' => 'v1/{+name}',
|
---|
| 1005 | 'httpMethod' => 'DELETE',
|
---|
| 1006 | 'parameters' => [
|
---|
| 1007 | 'name' => [
|
---|
| 1008 | 'location' => 'path',
|
---|
| 1009 | 'type' => 'string',
|
---|
| 1010 | 'required' => true,
|
---|
| 1011 | ],
|
---|
| 1012 | ],
|
---|
| 1013 | ],'get' => [
|
---|
| 1014 | 'path' => 'v1/{+name}',
|
---|
| 1015 | 'httpMethod' => 'GET',
|
---|
| 1016 | 'parameters' => [
|
---|
| 1017 | 'name' => [
|
---|
| 1018 | 'location' => 'path',
|
---|
| 1019 | 'type' => 'string',
|
---|
| 1020 | 'required' => true,
|
---|
| 1021 | ],
|
---|
| 1022 | ],
|
---|
| 1023 | ],'getIamPolicy' => [
|
---|
| 1024 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 1025 | 'httpMethod' => 'GET',
|
---|
| 1026 | 'parameters' => [
|
---|
| 1027 | 'resource' => [
|
---|
| 1028 | 'location' => 'path',
|
---|
| 1029 | 'type' => 'string',
|
---|
| 1030 | 'required' => true,
|
---|
| 1031 | ],
|
---|
| 1032 | 'options.requestedPolicyVersion' => [
|
---|
| 1033 | 'location' => 'query',
|
---|
| 1034 | 'type' => 'integer',
|
---|
| 1035 | ],
|
---|
| 1036 | ],
|
---|
| 1037 | ],'list' => [
|
---|
| 1038 | 'path' => 'v1/{+parent}/clientTlsPolicies',
|
---|
| 1039 | 'httpMethod' => 'GET',
|
---|
| 1040 | 'parameters' => [
|
---|
| 1041 | 'parent' => [
|
---|
| 1042 | 'location' => 'path',
|
---|
| 1043 | 'type' => 'string',
|
---|
| 1044 | 'required' => true,
|
---|
| 1045 | ],
|
---|
| 1046 | 'pageSize' => [
|
---|
| 1047 | 'location' => 'query',
|
---|
| 1048 | 'type' => 'integer',
|
---|
| 1049 | ],
|
---|
| 1050 | 'pageToken' => [
|
---|
| 1051 | 'location' => 'query',
|
---|
| 1052 | 'type' => 'string',
|
---|
| 1053 | ],
|
---|
| 1054 | ],
|
---|
| 1055 | ],'patch' => [
|
---|
| 1056 | 'path' => 'v1/{+name}',
|
---|
| 1057 | 'httpMethod' => 'PATCH',
|
---|
| 1058 | 'parameters' => [
|
---|
| 1059 | 'name' => [
|
---|
| 1060 | 'location' => 'path',
|
---|
| 1061 | 'type' => 'string',
|
---|
| 1062 | 'required' => true,
|
---|
| 1063 | ],
|
---|
| 1064 | 'updateMask' => [
|
---|
| 1065 | 'location' => 'query',
|
---|
| 1066 | 'type' => 'string',
|
---|
| 1067 | ],
|
---|
| 1068 | ],
|
---|
| 1069 | ],'setIamPolicy' => [
|
---|
| 1070 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 1071 | 'httpMethod' => 'POST',
|
---|
| 1072 | 'parameters' => [
|
---|
| 1073 | 'resource' => [
|
---|
| 1074 | 'location' => 'path',
|
---|
| 1075 | 'type' => 'string',
|
---|
| 1076 | 'required' => true,
|
---|
| 1077 | ],
|
---|
| 1078 | ],
|
---|
| 1079 | ],'testIamPermissions' => [
|
---|
| 1080 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 1081 | 'httpMethod' => 'POST',
|
---|
| 1082 | 'parameters' => [
|
---|
| 1083 | 'resource' => [
|
---|
| 1084 | 'location' => 'path',
|
---|
| 1085 | 'type' => 'string',
|
---|
| 1086 | 'required' => true,
|
---|
| 1087 | ],
|
---|
| 1088 | ],
|
---|
| 1089 | ],
|
---|
| 1090 | ]
|
---|
| 1091 | ]
|
---|
| 1092 | );
|
---|
| 1093 | $this->projects_locations_firewallEndpointAssociations = new NetworkSecurity\Resource\ProjectsLocationsFirewallEndpointAssociations(
|
---|
| 1094 | $this,
|
---|
| 1095 | $this->serviceName,
|
---|
| 1096 | 'firewallEndpointAssociations',
|
---|
| 1097 | [
|
---|
| 1098 | 'methods' => [
|
---|
| 1099 | 'create' => [
|
---|
| 1100 | 'path' => 'v1/{+parent}/firewallEndpointAssociations',
|
---|
| 1101 | 'httpMethod' => 'POST',
|
---|
| 1102 | 'parameters' => [
|
---|
| 1103 | 'parent' => [
|
---|
| 1104 | 'location' => 'path',
|
---|
| 1105 | 'type' => 'string',
|
---|
| 1106 | 'required' => true,
|
---|
| 1107 | ],
|
---|
| 1108 | 'firewallEndpointAssociationId' => [
|
---|
| 1109 | 'location' => 'query',
|
---|
| 1110 | 'type' => 'string',
|
---|
| 1111 | ],
|
---|
| 1112 | 'requestId' => [
|
---|
| 1113 | 'location' => 'query',
|
---|
| 1114 | 'type' => 'string',
|
---|
| 1115 | ],
|
---|
| 1116 | ],
|
---|
| 1117 | ],'delete' => [
|
---|
| 1118 | 'path' => 'v1/{+name}',
|
---|
| 1119 | 'httpMethod' => 'DELETE',
|
---|
| 1120 | 'parameters' => [
|
---|
| 1121 | 'name' => [
|
---|
| 1122 | 'location' => 'path',
|
---|
| 1123 | 'type' => 'string',
|
---|
| 1124 | 'required' => true,
|
---|
| 1125 | ],
|
---|
| 1126 | 'requestId' => [
|
---|
| 1127 | 'location' => 'query',
|
---|
| 1128 | 'type' => 'string',
|
---|
| 1129 | ],
|
---|
| 1130 | ],
|
---|
| 1131 | ],'get' => [
|
---|
| 1132 | 'path' => 'v1/{+name}',
|
---|
| 1133 | 'httpMethod' => 'GET',
|
---|
| 1134 | 'parameters' => [
|
---|
| 1135 | 'name' => [
|
---|
| 1136 | 'location' => 'path',
|
---|
| 1137 | 'type' => 'string',
|
---|
| 1138 | 'required' => true,
|
---|
| 1139 | ],
|
---|
| 1140 | ],
|
---|
| 1141 | ],'list' => [
|
---|
| 1142 | 'path' => 'v1/{+parent}/firewallEndpointAssociations',
|
---|
| 1143 | 'httpMethod' => 'GET',
|
---|
| 1144 | 'parameters' => [
|
---|
| 1145 | 'parent' => [
|
---|
| 1146 | 'location' => 'path',
|
---|
| 1147 | 'type' => 'string',
|
---|
| 1148 | 'required' => true,
|
---|
| 1149 | ],
|
---|
| 1150 | 'filter' => [
|
---|
| 1151 | 'location' => 'query',
|
---|
| 1152 | 'type' => 'string',
|
---|
| 1153 | ],
|
---|
| 1154 | 'orderBy' => [
|
---|
| 1155 | 'location' => 'query',
|
---|
| 1156 | 'type' => 'string',
|
---|
| 1157 | ],
|
---|
| 1158 | 'pageSize' => [
|
---|
| 1159 | 'location' => 'query',
|
---|
| 1160 | 'type' => 'integer',
|
---|
| 1161 | ],
|
---|
| 1162 | 'pageToken' => [
|
---|
| 1163 | 'location' => 'query',
|
---|
| 1164 | 'type' => 'string',
|
---|
| 1165 | ],
|
---|
| 1166 | ],
|
---|
| 1167 | ],'patch' => [
|
---|
| 1168 | 'path' => 'v1/{+name}',
|
---|
| 1169 | 'httpMethod' => 'PATCH',
|
---|
| 1170 | 'parameters' => [
|
---|
| 1171 | 'name' => [
|
---|
| 1172 | 'location' => 'path',
|
---|
| 1173 | 'type' => 'string',
|
---|
| 1174 | 'required' => true,
|
---|
| 1175 | ],
|
---|
| 1176 | 'requestId' => [
|
---|
| 1177 | 'location' => 'query',
|
---|
| 1178 | 'type' => 'string',
|
---|
| 1179 | ],
|
---|
| 1180 | 'updateMask' => [
|
---|
| 1181 | 'location' => 'query',
|
---|
| 1182 | 'type' => 'string',
|
---|
| 1183 | ],
|
---|
| 1184 | ],
|
---|
| 1185 | ],
|
---|
| 1186 | ]
|
---|
| 1187 | ]
|
---|
| 1188 | );
|
---|
| 1189 | $this->projects_locations_gatewaySecurityPolicies = new NetworkSecurity\Resource\ProjectsLocationsGatewaySecurityPolicies(
|
---|
| 1190 | $this,
|
---|
| 1191 | $this->serviceName,
|
---|
| 1192 | 'gatewaySecurityPolicies',
|
---|
| 1193 | [
|
---|
| 1194 | 'methods' => [
|
---|
| 1195 | 'create' => [
|
---|
| 1196 | 'path' => 'v1/{+parent}/gatewaySecurityPolicies',
|
---|
| 1197 | 'httpMethod' => 'POST',
|
---|
| 1198 | 'parameters' => [
|
---|
| 1199 | 'parent' => [
|
---|
| 1200 | 'location' => 'path',
|
---|
| 1201 | 'type' => 'string',
|
---|
| 1202 | 'required' => true,
|
---|
| 1203 | ],
|
---|
| 1204 | 'gatewaySecurityPolicyId' => [
|
---|
| 1205 | 'location' => 'query',
|
---|
| 1206 | 'type' => 'string',
|
---|
| 1207 | ],
|
---|
| 1208 | ],
|
---|
| 1209 | ],'delete' => [
|
---|
| 1210 | 'path' => 'v1/{+name}',
|
---|
| 1211 | 'httpMethod' => 'DELETE',
|
---|
| 1212 | 'parameters' => [
|
---|
| 1213 | 'name' => [
|
---|
| 1214 | 'location' => 'path',
|
---|
| 1215 | 'type' => 'string',
|
---|
| 1216 | 'required' => true,
|
---|
| 1217 | ],
|
---|
| 1218 | ],
|
---|
| 1219 | ],'get' => [
|
---|
| 1220 | 'path' => 'v1/{+name}',
|
---|
| 1221 | 'httpMethod' => 'GET',
|
---|
| 1222 | 'parameters' => [
|
---|
| 1223 | 'name' => [
|
---|
| 1224 | 'location' => 'path',
|
---|
| 1225 | 'type' => 'string',
|
---|
| 1226 | 'required' => true,
|
---|
| 1227 | ],
|
---|
| 1228 | ],
|
---|
| 1229 | ],'list' => [
|
---|
| 1230 | 'path' => 'v1/{+parent}/gatewaySecurityPolicies',
|
---|
| 1231 | 'httpMethod' => 'GET',
|
---|
| 1232 | 'parameters' => [
|
---|
| 1233 | 'parent' => [
|
---|
| 1234 | 'location' => 'path',
|
---|
| 1235 | 'type' => 'string',
|
---|
| 1236 | 'required' => true,
|
---|
| 1237 | ],
|
---|
| 1238 | 'pageSize' => [
|
---|
| 1239 | 'location' => 'query',
|
---|
| 1240 | 'type' => 'integer',
|
---|
| 1241 | ],
|
---|
| 1242 | 'pageToken' => [
|
---|
| 1243 | 'location' => 'query',
|
---|
| 1244 | 'type' => 'string',
|
---|
| 1245 | ],
|
---|
| 1246 | ],
|
---|
| 1247 | ],'patch' => [
|
---|
| 1248 | 'path' => 'v1/{+name}',
|
---|
| 1249 | 'httpMethod' => 'PATCH',
|
---|
| 1250 | 'parameters' => [
|
---|
| 1251 | 'name' => [
|
---|
| 1252 | 'location' => 'path',
|
---|
| 1253 | 'type' => 'string',
|
---|
| 1254 | 'required' => true,
|
---|
| 1255 | ],
|
---|
| 1256 | 'updateMask' => [
|
---|
| 1257 | 'location' => 'query',
|
---|
| 1258 | 'type' => 'string',
|
---|
| 1259 | ],
|
---|
| 1260 | ],
|
---|
| 1261 | ],
|
---|
| 1262 | ]
|
---|
| 1263 | ]
|
---|
| 1264 | );
|
---|
| 1265 | $this->projects_locations_gatewaySecurityPolicies_rules = new NetworkSecurity\Resource\ProjectsLocationsGatewaySecurityPoliciesRules(
|
---|
| 1266 | $this,
|
---|
| 1267 | $this->serviceName,
|
---|
| 1268 | 'rules',
|
---|
| 1269 | [
|
---|
| 1270 | 'methods' => [
|
---|
| 1271 | 'create' => [
|
---|
| 1272 | 'path' => 'v1/{+parent}/rules',
|
---|
| 1273 | 'httpMethod' => 'POST',
|
---|
| 1274 | 'parameters' => [
|
---|
| 1275 | 'parent' => [
|
---|
| 1276 | 'location' => 'path',
|
---|
| 1277 | 'type' => 'string',
|
---|
| 1278 | 'required' => true,
|
---|
| 1279 | ],
|
---|
| 1280 | 'gatewaySecurityPolicyRuleId' => [
|
---|
| 1281 | 'location' => 'query',
|
---|
| 1282 | 'type' => 'string',
|
---|
| 1283 | ],
|
---|
| 1284 | ],
|
---|
| 1285 | ],'delete' => [
|
---|
| 1286 | 'path' => 'v1/{+name}',
|
---|
| 1287 | 'httpMethod' => 'DELETE',
|
---|
| 1288 | 'parameters' => [
|
---|
| 1289 | 'name' => [
|
---|
| 1290 | 'location' => 'path',
|
---|
| 1291 | 'type' => 'string',
|
---|
| 1292 | 'required' => true,
|
---|
| 1293 | ],
|
---|
| 1294 | ],
|
---|
| 1295 | ],'get' => [
|
---|
| 1296 | 'path' => 'v1/{+name}',
|
---|
| 1297 | 'httpMethod' => 'GET',
|
---|
| 1298 | 'parameters' => [
|
---|
| 1299 | 'name' => [
|
---|
| 1300 | 'location' => 'path',
|
---|
| 1301 | 'type' => 'string',
|
---|
| 1302 | 'required' => true,
|
---|
| 1303 | ],
|
---|
| 1304 | ],
|
---|
| 1305 | ],'list' => [
|
---|
| 1306 | 'path' => 'v1/{+parent}/rules',
|
---|
| 1307 | 'httpMethod' => 'GET',
|
---|
| 1308 | 'parameters' => [
|
---|
| 1309 | 'parent' => [
|
---|
| 1310 | 'location' => 'path',
|
---|
| 1311 | 'type' => 'string',
|
---|
| 1312 | 'required' => true,
|
---|
| 1313 | ],
|
---|
| 1314 | 'pageSize' => [
|
---|
| 1315 | 'location' => 'query',
|
---|
| 1316 | 'type' => 'integer',
|
---|
| 1317 | ],
|
---|
| 1318 | 'pageToken' => [
|
---|
| 1319 | 'location' => 'query',
|
---|
| 1320 | 'type' => 'string',
|
---|
| 1321 | ],
|
---|
| 1322 | ],
|
---|
| 1323 | ],'patch' => [
|
---|
| 1324 | 'path' => 'v1/{+name}',
|
---|
| 1325 | 'httpMethod' => 'PATCH',
|
---|
| 1326 | 'parameters' => [
|
---|
| 1327 | 'name' => [
|
---|
| 1328 | 'location' => 'path',
|
---|
| 1329 | 'type' => 'string',
|
---|
| 1330 | 'required' => true,
|
---|
| 1331 | ],
|
---|
| 1332 | 'updateMask' => [
|
---|
| 1333 | 'location' => 'query',
|
---|
| 1334 | 'type' => 'string',
|
---|
| 1335 | ],
|
---|
| 1336 | ],
|
---|
| 1337 | ],
|
---|
| 1338 | ]
|
---|
| 1339 | ]
|
---|
| 1340 | );
|
---|
| 1341 | $this->projects_locations_operations = new NetworkSecurity\Resource\ProjectsLocationsOperations(
|
---|
| 1342 | $this,
|
---|
| 1343 | $this->serviceName,
|
---|
| 1344 | 'operations',
|
---|
| 1345 | [
|
---|
| 1346 | 'methods' => [
|
---|
| 1347 | 'cancel' => [
|
---|
| 1348 | 'path' => 'v1/{+name}:cancel',
|
---|
| 1349 | 'httpMethod' => 'POST',
|
---|
| 1350 | 'parameters' => [
|
---|
| 1351 | 'name' => [
|
---|
| 1352 | 'location' => 'path',
|
---|
| 1353 | 'type' => 'string',
|
---|
| 1354 | 'required' => true,
|
---|
| 1355 | ],
|
---|
| 1356 | ],
|
---|
| 1357 | ],'delete' => [
|
---|
| 1358 | 'path' => 'v1/{+name}',
|
---|
| 1359 | 'httpMethod' => 'DELETE',
|
---|
| 1360 | 'parameters' => [
|
---|
| 1361 | 'name' => [
|
---|
| 1362 | 'location' => 'path',
|
---|
| 1363 | 'type' => 'string',
|
---|
| 1364 | 'required' => true,
|
---|
| 1365 | ],
|
---|
| 1366 | ],
|
---|
| 1367 | ],'get' => [
|
---|
| 1368 | 'path' => 'v1/{+name}',
|
---|
| 1369 | 'httpMethod' => 'GET',
|
---|
| 1370 | 'parameters' => [
|
---|
| 1371 | 'name' => [
|
---|
| 1372 | 'location' => 'path',
|
---|
| 1373 | 'type' => 'string',
|
---|
| 1374 | 'required' => true,
|
---|
| 1375 | ],
|
---|
| 1376 | ],
|
---|
| 1377 | ],'list' => [
|
---|
| 1378 | 'path' => 'v1/{+name}/operations',
|
---|
| 1379 | 'httpMethod' => 'GET',
|
---|
| 1380 | 'parameters' => [
|
---|
| 1381 | 'name' => [
|
---|
| 1382 | 'location' => 'path',
|
---|
| 1383 | 'type' => 'string',
|
---|
| 1384 | 'required' => true,
|
---|
| 1385 | ],
|
---|
| 1386 | 'filter' => [
|
---|
| 1387 | 'location' => 'query',
|
---|
| 1388 | 'type' => 'string',
|
---|
| 1389 | ],
|
---|
| 1390 | 'pageSize' => [
|
---|
| 1391 | 'location' => 'query',
|
---|
| 1392 | 'type' => 'integer',
|
---|
| 1393 | ],
|
---|
| 1394 | 'pageToken' => [
|
---|
| 1395 | 'location' => 'query',
|
---|
| 1396 | 'type' => 'string',
|
---|
| 1397 | ],
|
---|
| 1398 | ],
|
---|
| 1399 | ],
|
---|
| 1400 | ]
|
---|
| 1401 | ]
|
---|
| 1402 | );
|
---|
| 1403 | $this->projects_locations_serverTlsPolicies = new NetworkSecurity\Resource\ProjectsLocationsServerTlsPolicies(
|
---|
| 1404 | $this,
|
---|
| 1405 | $this->serviceName,
|
---|
| 1406 | 'serverTlsPolicies',
|
---|
| 1407 | [
|
---|
| 1408 | 'methods' => [
|
---|
| 1409 | 'create' => [
|
---|
| 1410 | 'path' => 'v1/{+parent}/serverTlsPolicies',
|
---|
| 1411 | 'httpMethod' => 'POST',
|
---|
| 1412 | 'parameters' => [
|
---|
| 1413 | 'parent' => [
|
---|
| 1414 | 'location' => 'path',
|
---|
| 1415 | 'type' => 'string',
|
---|
| 1416 | 'required' => true,
|
---|
| 1417 | ],
|
---|
| 1418 | 'serverTlsPolicyId' => [
|
---|
| 1419 | 'location' => 'query',
|
---|
| 1420 | 'type' => 'string',
|
---|
| 1421 | ],
|
---|
| 1422 | ],
|
---|
| 1423 | ],'delete' => [
|
---|
| 1424 | 'path' => 'v1/{+name}',
|
---|
| 1425 | 'httpMethod' => 'DELETE',
|
---|
| 1426 | 'parameters' => [
|
---|
| 1427 | 'name' => [
|
---|
| 1428 | 'location' => 'path',
|
---|
| 1429 | 'type' => 'string',
|
---|
| 1430 | 'required' => true,
|
---|
| 1431 | ],
|
---|
| 1432 | ],
|
---|
| 1433 | ],'get' => [
|
---|
| 1434 | 'path' => 'v1/{+name}',
|
---|
| 1435 | 'httpMethod' => 'GET',
|
---|
| 1436 | 'parameters' => [
|
---|
| 1437 | 'name' => [
|
---|
| 1438 | 'location' => 'path',
|
---|
| 1439 | 'type' => 'string',
|
---|
| 1440 | 'required' => true,
|
---|
| 1441 | ],
|
---|
| 1442 | ],
|
---|
| 1443 | ],'getIamPolicy' => [
|
---|
| 1444 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
| 1445 | 'httpMethod' => 'GET',
|
---|
| 1446 | 'parameters' => [
|
---|
| 1447 | 'resource' => [
|
---|
| 1448 | 'location' => 'path',
|
---|
| 1449 | 'type' => 'string',
|
---|
| 1450 | 'required' => true,
|
---|
| 1451 | ],
|
---|
| 1452 | 'options.requestedPolicyVersion' => [
|
---|
| 1453 | 'location' => 'query',
|
---|
| 1454 | 'type' => 'integer',
|
---|
| 1455 | ],
|
---|
| 1456 | ],
|
---|
| 1457 | ],'list' => [
|
---|
| 1458 | 'path' => 'v1/{+parent}/serverTlsPolicies',
|
---|
| 1459 | 'httpMethod' => 'GET',
|
---|
| 1460 | 'parameters' => [
|
---|
| 1461 | 'parent' => [
|
---|
| 1462 | 'location' => 'path',
|
---|
| 1463 | 'type' => 'string',
|
---|
| 1464 | 'required' => true,
|
---|
| 1465 | ],
|
---|
| 1466 | 'pageSize' => [
|
---|
| 1467 | 'location' => 'query',
|
---|
| 1468 | 'type' => 'integer',
|
---|
| 1469 | ],
|
---|
| 1470 | 'pageToken' => [
|
---|
| 1471 | 'location' => 'query',
|
---|
| 1472 | 'type' => 'string',
|
---|
| 1473 | ],
|
---|
| 1474 | ],
|
---|
| 1475 | ],'patch' => [
|
---|
| 1476 | 'path' => 'v1/{+name}',
|
---|
| 1477 | 'httpMethod' => 'PATCH',
|
---|
| 1478 | 'parameters' => [
|
---|
| 1479 | 'name' => [
|
---|
| 1480 | 'location' => 'path',
|
---|
| 1481 | 'type' => 'string',
|
---|
| 1482 | 'required' => true,
|
---|
| 1483 | ],
|
---|
| 1484 | 'updateMask' => [
|
---|
| 1485 | 'location' => 'query',
|
---|
| 1486 | 'type' => 'string',
|
---|
| 1487 | ],
|
---|
| 1488 | ],
|
---|
| 1489 | ],'setIamPolicy' => [
|
---|
| 1490 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
| 1491 | 'httpMethod' => 'POST',
|
---|
| 1492 | 'parameters' => [
|
---|
| 1493 | 'resource' => [
|
---|
| 1494 | 'location' => 'path',
|
---|
| 1495 | 'type' => 'string',
|
---|
| 1496 | 'required' => true,
|
---|
| 1497 | ],
|
---|
| 1498 | ],
|
---|
| 1499 | ],'testIamPermissions' => [
|
---|
| 1500 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
| 1501 | 'httpMethod' => 'POST',
|
---|
| 1502 | 'parameters' => [
|
---|
| 1503 | 'resource' => [
|
---|
| 1504 | 'location' => 'path',
|
---|
| 1505 | 'type' => 'string',
|
---|
| 1506 | 'required' => true,
|
---|
| 1507 | ],
|
---|
| 1508 | ],
|
---|
| 1509 | ],
|
---|
| 1510 | ]
|
---|
| 1511 | ]
|
---|
| 1512 | );
|
---|
| 1513 | $this->projects_locations_tlsInspectionPolicies = new NetworkSecurity\Resource\ProjectsLocationsTlsInspectionPolicies(
|
---|
| 1514 | $this,
|
---|
| 1515 | $this->serviceName,
|
---|
| 1516 | 'tlsInspectionPolicies',
|
---|
| 1517 | [
|
---|
| 1518 | 'methods' => [
|
---|
| 1519 | 'create' => [
|
---|
| 1520 | 'path' => 'v1/{+parent}/tlsInspectionPolicies',
|
---|
| 1521 | 'httpMethod' => 'POST',
|
---|
| 1522 | 'parameters' => [
|
---|
| 1523 | 'parent' => [
|
---|
| 1524 | 'location' => 'path',
|
---|
| 1525 | 'type' => 'string',
|
---|
| 1526 | 'required' => true,
|
---|
| 1527 | ],
|
---|
| 1528 | 'tlsInspectionPolicyId' => [
|
---|
| 1529 | 'location' => 'query',
|
---|
| 1530 | 'type' => 'string',
|
---|
| 1531 | ],
|
---|
| 1532 | ],
|
---|
| 1533 | ],'delete' => [
|
---|
| 1534 | 'path' => 'v1/{+name}',
|
---|
| 1535 | 'httpMethod' => 'DELETE',
|
---|
| 1536 | 'parameters' => [
|
---|
| 1537 | 'name' => [
|
---|
| 1538 | 'location' => 'path',
|
---|
| 1539 | 'type' => 'string',
|
---|
| 1540 | 'required' => true,
|
---|
| 1541 | ],
|
---|
| 1542 | 'force' => [
|
---|
| 1543 | 'location' => 'query',
|
---|
| 1544 | 'type' => 'boolean',
|
---|
| 1545 | ],
|
---|
| 1546 | ],
|
---|
| 1547 | ],'get' => [
|
---|
| 1548 | 'path' => 'v1/{+name}',
|
---|
| 1549 | 'httpMethod' => 'GET',
|
---|
| 1550 | 'parameters' => [
|
---|
| 1551 | 'name' => [
|
---|
| 1552 | 'location' => 'path',
|
---|
| 1553 | 'type' => 'string',
|
---|
| 1554 | 'required' => true,
|
---|
| 1555 | ],
|
---|
| 1556 | ],
|
---|
| 1557 | ],'list' => [
|
---|
| 1558 | 'path' => 'v1/{+parent}/tlsInspectionPolicies',
|
---|
| 1559 | 'httpMethod' => 'GET',
|
---|
| 1560 | 'parameters' => [
|
---|
| 1561 | 'parent' => [
|
---|
| 1562 | 'location' => 'path',
|
---|
| 1563 | 'type' => 'string',
|
---|
| 1564 | 'required' => true,
|
---|
| 1565 | ],
|
---|
| 1566 | 'pageSize' => [
|
---|
| 1567 | 'location' => 'query',
|
---|
| 1568 | 'type' => 'integer',
|
---|
| 1569 | ],
|
---|
| 1570 | 'pageToken' => [
|
---|
| 1571 | 'location' => 'query',
|
---|
| 1572 | 'type' => 'string',
|
---|
| 1573 | ],
|
---|
| 1574 | ],
|
---|
| 1575 | ],'patch' => [
|
---|
| 1576 | 'path' => 'v1/{+name}',
|
---|
| 1577 | 'httpMethod' => 'PATCH',
|
---|
| 1578 | 'parameters' => [
|
---|
| 1579 | 'name' => [
|
---|
| 1580 | 'location' => 'path',
|
---|
| 1581 | 'type' => 'string',
|
---|
| 1582 | 'required' => true,
|
---|
| 1583 | ],
|
---|
| 1584 | 'updateMask' => [
|
---|
| 1585 | 'location' => 'query',
|
---|
| 1586 | 'type' => 'string',
|
---|
| 1587 | ],
|
---|
| 1588 | ],
|
---|
| 1589 | ],
|
---|
| 1590 | ]
|
---|
| 1591 | ]
|
---|
| 1592 | );
|
---|
| 1593 | $this->projects_locations_urlLists = new NetworkSecurity\Resource\ProjectsLocationsUrlLists(
|
---|
| 1594 | $this,
|
---|
| 1595 | $this->serviceName,
|
---|
| 1596 | 'urlLists',
|
---|
| 1597 | [
|
---|
| 1598 | 'methods' => [
|
---|
| 1599 | 'create' => [
|
---|
| 1600 | 'path' => 'v1/{+parent}/urlLists',
|
---|
| 1601 | 'httpMethod' => 'POST',
|
---|
| 1602 | 'parameters' => [
|
---|
| 1603 | 'parent' => [
|
---|
| 1604 | 'location' => 'path',
|
---|
| 1605 | 'type' => 'string',
|
---|
| 1606 | 'required' => true,
|
---|
| 1607 | ],
|
---|
| 1608 | 'urlListId' => [
|
---|
| 1609 | 'location' => 'query',
|
---|
| 1610 | 'type' => 'string',
|
---|
| 1611 | ],
|
---|
| 1612 | ],
|
---|
| 1613 | ],'delete' => [
|
---|
| 1614 | 'path' => 'v1/{+name}',
|
---|
| 1615 | 'httpMethod' => 'DELETE',
|
---|
| 1616 | 'parameters' => [
|
---|
| 1617 | 'name' => [
|
---|
| 1618 | 'location' => 'path',
|
---|
| 1619 | 'type' => 'string',
|
---|
| 1620 | 'required' => true,
|
---|
| 1621 | ],
|
---|
| 1622 | ],
|
---|
| 1623 | ],'get' => [
|
---|
| 1624 | 'path' => 'v1/{+name}',
|
---|
| 1625 | 'httpMethod' => 'GET',
|
---|
| 1626 | 'parameters' => [
|
---|
| 1627 | 'name' => [
|
---|
| 1628 | 'location' => 'path',
|
---|
| 1629 | 'type' => 'string',
|
---|
| 1630 | 'required' => true,
|
---|
| 1631 | ],
|
---|
| 1632 | ],
|
---|
| 1633 | ],'list' => [
|
---|
| 1634 | 'path' => 'v1/{+parent}/urlLists',
|
---|
| 1635 | 'httpMethod' => 'GET',
|
---|
| 1636 | 'parameters' => [
|
---|
| 1637 | 'parent' => [
|
---|
| 1638 | 'location' => 'path',
|
---|
| 1639 | 'type' => 'string',
|
---|
| 1640 | 'required' => true,
|
---|
| 1641 | ],
|
---|
| 1642 | 'pageSize' => [
|
---|
| 1643 | 'location' => 'query',
|
---|
| 1644 | 'type' => 'integer',
|
---|
| 1645 | ],
|
---|
| 1646 | 'pageToken' => [
|
---|
| 1647 | 'location' => 'query',
|
---|
| 1648 | 'type' => 'string',
|
---|
| 1649 | ],
|
---|
| 1650 | ],
|
---|
| 1651 | ],'patch' => [
|
---|
| 1652 | 'path' => 'v1/{+name}',
|
---|
| 1653 | 'httpMethod' => 'PATCH',
|
---|
| 1654 | 'parameters' => [
|
---|
| 1655 | 'name' => [
|
---|
| 1656 | 'location' => 'path',
|
---|
| 1657 | 'type' => 'string',
|
---|
| 1658 | 'required' => true,
|
---|
| 1659 | ],
|
---|
| 1660 | 'updateMask' => [
|
---|
| 1661 | 'location' => 'query',
|
---|
| 1662 | 'type' => 'string',
|
---|
| 1663 | ],
|
---|
| 1664 | ],
|
---|
| 1665 | ],
|
---|
| 1666 | ]
|
---|
| 1667 | ]
|
---|
| 1668 | );
|
---|
| 1669 | }
|
---|
| 1670 | }
|
---|
| 1671 |
|
---|
| 1672 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 1673 | class_alias(NetworkSecurity::class, 'Google_Service_NetworkSecurity');
|
---|