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 BeyondCorp (v1).
|
---|
24 | *
|
---|
25 | * <p>
|
---|
26 | * Beyondcorp Enterprise provides identity and context aware access controls for
|
---|
27 | * enterprise resources and enables zero-trust access. Using the Beyondcorp
|
---|
28 | * Enterprise APIs, enterprises can set up multi-cloud and on-prem connectivity
|
---|
29 | * solutions.</p>
|
---|
30 | *
|
---|
31 | * <p>
|
---|
32 | * For more information about this service, see the API
|
---|
33 | * <a href="https://cloud.google.com/" target="_blank">Documentation</a>
|
---|
34 | * </p>
|
---|
35 | *
|
---|
36 | * @author Google, Inc.
|
---|
37 | */
|
---|
38 | class BeyondCorp extends \Google\Service
|
---|
39 | {
|
---|
40 | /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
|
---|
41 | const CLOUD_PLATFORM =
|
---|
42 | "https://www.googleapis.com/auth/cloud-platform";
|
---|
43 |
|
---|
44 | public $organizations_locations_global_partnerTenants;
|
---|
45 | public $organizations_locations_global_partnerTenants_browserDlpRules;
|
---|
46 | public $organizations_locations_global_partnerTenants_proxyConfigs;
|
---|
47 | public $organizations_locations_operations;
|
---|
48 | public $projects_locations;
|
---|
49 | public $projects_locations_appConnections;
|
---|
50 | public $projects_locations_appConnectors;
|
---|
51 | public $projects_locations_appGateways;
|
---|
52 | public $projects_locations_clientConnectorServices;
|
---|
53 | public $projects_locations_clientGateways;
|
---|
54 | public $projects_locations_global_securityGateways_applications;
|
---|
55 | public $projects_locations_operations;
|
---|
56 | public $projects_locations_securityGateways;
|
---|
57 | public $projects_locations_securityGateways_applications;
|
---|
58 | public $rootUrlTemplate;
|
---|
59 |
|
---|
60 | /**
|
---|
61 | * Constructs the internal representation of the BeyondCorp 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://beyondcorp.googleapis.com/';
|
---|
71 | $this->rootUrlTemplate = $rootUrl ?: 'https://beyondcorp.UNIVERSE_DOMAIN/';
|
---|
72 | $this->servicePath = '';
|
---|
73 | $this->batchPath = 'batch';
|
---|
74 | $this->version = 'v1';
|
---|
75 | $this->serviceName = 'beyondcorp';
|
---|
76 |
|
---|
77 | $this->organizations_locations_global_partnerTenants = new BeyondCorp\Resource\OrganizationsLocationsBeyondcorpGlobalPartnerTenants(
|
---|
78 | $this,
|
---|
79 | $this->serviceName,
|
---|
80 | 'partnerTenants',
|
---|
81 | [
|
---|
82 | 'methods' => [
|
---|
83 | 'getIamPolicy' => [
|
---|
84 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
85 | 'httpMethod' => 'GET',
|
---|
86 | 'parameters' => [
|
---|
87 | 'resource' => [
|
---|
88 | 'location' => 'path',
|
---|
89 | 'type' => 'string',
|
---|
90 | 'required' => true,
|
---|
91 | ],
|
---|
92 | 'options.requestedPolicyVersion' => [
|
---|
93 | 'location' => 'query',
|
---|
94 | 'type' => 'integer',
|
---|
95 | ],
|
---|
96 | ],
|
---|
97 | ],'setIamPolicy' => [
|
---|
98 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
99 | 'httpMethod' => 'POST',
|
---|
100 | 'parameters' => [
|
---|
101 | 'resource' => [
|
---|
102 | 'location' => 'path',
|
---|
103 | 'type' => 'string',
|
---|
104 | 'required' => true,
|
---|
105 | ],
|
---|
106 | ],
|
---|
107 | ],'testIamPermissions' => [
|
---|
108 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
109 | 'httpMethod' => 'POST',
|
---|
110 | 'parameters' => [
|
---|
111 | 'resource' => [
|
---|
112 | 'location' => 'path',
|
---|
113 | 'type' => 'string',
|
---|
114 | 'required' => true,
|
---|
115 | ],
|
---|
116 | ],
|
---|
117 | ],
|
---|
118 | ]
|
---|
119 | ]
|
---|
120 | );
|
---|
121 | $this->organizations_locations_global_partnerTenants_browserDlpRules = new BeyondCorp\Resource\OrganizationsLocationsBeyondcorpGlobalPartnerTenantsBrowserDlpRules(
|
---|
122 | $this,
|
---|
123 | $this->serviceName,
|
---|
124 | 'browserDlpRules',
|
---|
125 | [
|
---|
126 | 'methods' => [
|
---|
127 | 'getIamPolicy' => [
|
---|
128 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
129 | 'httpMethod' => 'GET',
|
---|
130 | 'parameters' => [
|
---|
131 | 'resource' => [
|
---|
132 | 'location' => 'path',
|
---|
133 | 'type' => 'string',
|
---|
134 | 'required' => true,
|
---|
135 | ],
|
---|
136 | 'options.requestedPolicyVersion' => [
|
---|
137 | 'location' => 'query',
|
---|
138 | 'type' => 'integer',
|
---|
139 | ],
|
---|
140 | ],
|
---|
141 | ],'setIamPolicy' => [
|
---|
142 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
143 | 'httpMethod' => 'POST',
|
---|
144 | 'parameters' => [
|
---|
145 | 'resource' => [
|
---|
146 | 'location' => 'path',
|
---|
147 | 'type' => 'string',
|
---|
148 | 'required' => true,
|
---|
149 | ],
|
---|
150 | ],
|
---|
151 | ],'testIamPermissions' => [
|
---|
152 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
153 | 'httpMethod' => 'POST',
|
---|
154 | 'parameters' => [
|
---|
155 | 'resource' => [
|
---|
156 | 'location' => 'path',
|
---|
157 | 'type' => 'string',
|
---|
158 | 'required' => true,
|
---|
159 | ],
|
---|
160 | ],
|
---|
161 | ],
|
---|
162 | ]
|
---|
163 | ]
|
---|
164 | );
|
---|
165 | $this->organizations_locations_global_partnerTenants_proxyConfigs = new BeyondCorp\Resource\OrganizationsLocationsBeyondcorpGlobalPartnerTenantsProxyConfigs(
|
---|
166 | $this,
|
---|
167 | $this->serviceName,
|
---|
168 | 'proxyConfigs',
|
---|
169 | [
|
---|
170 | 'methods' => [
|
---|
171 | 'getIamPolicy' => [
|
---|
172 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
173 | 'httpMethod' => 'GET',
|
---|
174 | 'parameters' => [
|
---|
175 | 'resource' => [
|
---|
176 | 'location' => 'path',
|
---|
177 | 'type' => 'string',
|
---|
178 | 'required' => true,
|
---|
179 | ],
|
---|
180 | 'options.requestedPolicyVersion' => [
|
---|
181 | 'location' => 'query',
|
---|
182 | 'type' => 'integer',
|
---|
183 | ],
|
---|
184 | ],
|
---|
185 | ],'setIamPolicy' => [
|
---|
186 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
187 | 'httpMethod' => 'POST',
|
---|
188 | 'parameters' => [
|
---|
189 | 'resource' => [
|
---|
190 | 'location' => 'path',
|
---|
191 | 'type' => 'string',
|
---|
192 | 'required' => true,
|
---|
193 | ],
|
---|
194 | ],
|
---|
195 | ],'testIamPermissions' => [
|
---|
196 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
197 | 'httpMethod' => 'POST',
|
---|
198 | 'parameters' => [
|
---|
199 | 'resource' => [
|
---|
200 | 'location' => 'path',
|
---|
201 | 'type' => 'string',
|
---|
202 | 'required' => true,
|
---|
203 | ],
|
---|
204 | ],
|
---|
205 | ],
|
---|
206 | ]
|
---|
207 | ]
|
---|
208 | );
|
---|
209 | $this->organizations_locations_operations = new BeyondCorp\Resource\OrganizationsLocationsOperations(
|
---|
210 | $this,
|
---|
211 | $this->serviceName,
|
---|
212 | 'operations',
|
---|
213 | [
|
---|
214 | 'methods' => [
|
---|
215 | 'cancel' => [
|
---|
216 | 'path' => 'v1/{+name}:cancel',
|
---|
217 | 'httpMethod' => 'POST',
|
---|
218 | 'parameters' => [
|
---|
219 | 'name' => [
|
---|
220 | 'location' => 'path',
|
---|
221 | 'type' => 'string',
|
---|
222 | 'required' => true,
|
---|
223 | ],
|
---|
224 | ],
|
---|
225 | ],'delete' => [
|
---|
226 | 'path' => 'v1/{+name}',
|
---|
227 | 'httpMethod' => 'DELETE',
|
---|
228 | 'parameters' => [
|
---|
229 | 'name' => [
|
---|
230 | 'location' => 'path',
|
---|
231 | 'type' => 'string',
|
---|
232 | 'required' => true,
|
---|
233 | ],
|
---|
234 | ],
|
---|
235 | ],'get' => [
|
---|
236 | 'path' => 'v1/{+name}',
|
---|
237 | 'httpMethod' => 'GET',
|
---|
238 | 'parameters' => [
|
---|
239 | 'name' => [
|
---|
240 | 'location' => 'path',
|
---|
241 | 'type' => 'string',
|
---|
242 | 'required' => true,
|
---|
243 | ],
|
---|
244 | ],
|
---|
245 | ],'list' => [
|
---|
246 | 'path' => 'v1/{+name}/operations',
|
---|
247 | 'httpMethod' => 'GET',
|
---|
248 | 'parameters' => [
|
---|
249 | 'name' => [
|
---|
250 | 'location' => 'path',
|
---|
251 | 'type' => 'string',
|
---|
252 | 'required' => true,
|
---|
253 | ],
|
---|
254 | 'filter' => [
|
---|
255 | 'location' => 'query',
|
---|
256 | 'type' => 'string',
|
---|
257 | ],
|
---|
258 | 'pageSize' => [
|
---|
259 | 'location' => 'query',
|
---|
260 | 'type' => 'integer',
|
---|
261 | ],
|
---|
262 | 'pageToken' => [
|
---|
263 | 'location' => 'query',
|
---|
264 | 'type' => 'string',
|
---|
265 | ],
|
---|
266 | ],
|
---|
267 | ],
|
---|
268 | ]
|
---|
269 | ]
|
---|
270 | );
|
---|
271 | $this->projects_locations = new BeyondCorp\Resource\ProjectsLocations(
|
---|
272 | $this,
|
---|
273 | $this->serviceName,
|
---|
274 | 'locations',
|
---|
275 | [
|
---|
276 | 'methods' => [
|
---|
277 | 'get' => [
|
---|
278 | 'path' => 'v1/{+name}',
|
---|
279 | 'httpMethod' => 'GET',
|
---|
280 | 'parameters' => [
|
---|
281 | 'name' => [
|
---|
282 | 'location' => 'path',
|
---|
283 | 'type' => 'string',
|
---|
284 | 'required' => true,
|
---|
285 | ],
|
---|
286 | ],
|
---|
287 | ],'list' => [
|
---|
288 | 'path' => 'v1/{+name}/locations',
|
---|
289 | 'httpMethod' => 'GET',
|
---|
290 | 'parameters' => [
|
---|
291 | 'name' => [
|
---|
292 | 'location' => 'path',
|
---|
293 | 'type' => 'string',
|
---|
294 | 'required' => true,
|
---|
295 | ],
|
---|
296 | 'filter' => [
|
---|
297 | 'location' => 'query',
|
---|
298 | 'type' => 'string',
|
---|
299 | ],
|
---|
300 | 'pageSize' => [
|
---|
301 | 'location' => 'query',
|
---|
302 | 'type' => 'integer',
|
---|
303 | ],
|
---|
304 | 'pageToken' => [
|
---|
305 | 'location' => 'query',
|
---|
306 | 'type' => 'string',
|
---|
307 | ],
|
---|
308 | ],
|
---|
309 | ],
|
---|
310 | ]
|
---|
311 | ]
|
---|
312 | );
|
---|
313 | $this->projects_locations_appConnections = new BeyondCorp\Resource\ProjectsLocationsAppConnections(
|
---|
314 | $this,
|
---|
315 | $this->serviceName,
|
---|
316 | 'appConnections',
|
---|
317 | [
|
---|
318 | 'methods' => [
|
---|
319 | 'create' => [
|
---|
320 | 'path' => 'v1/{+parent}/appConnections',
|
---|
321 | 'httpMethod' => 'POST',
|
---|
322 | 'parameters' => [
|
---|
323 | 'parent' => [
|
---|
324 | 'location' => 'path',
|
---|
325 | 'type' => 'string',
|
---|
326 | 'required' => true,
|
---|
327 | ],
|
---|
328 | 'appConnectionId' => [
|
---|
329 | 'location' => 'query',
|
---|
330 | 'type' => 'string',
|
---|
331 | ],
|
---|
332 | 'requestId' => [
|
---|
333 | 'location' => 'query',
|
---|
334 | 'type' => 'string',
|
---|
335 | ],
|
---|
336 | 'validateOnly' => [
|
---|
337 | 'location' => 'query',
|
---|
338 | 'type' => 'boolean',
|
---|
339 | ],
|
---|
340 | ],
|
---|
341 | ],'delete' => [
|
---|
342 | 'path' => 'v1/{+name}',
|
---|
343 | 'httpMethod' => 'DELETE',
|
---|
344 | 'parameters' => [
|
---|
345 | 'name' => [
|
---|
346 | 'location' => 'path',
|
---|
347 | 'type' => 'string',
|
---|
348 | 'required' => true,
|
---|
349 | ],
|
---|
350 | 'requestId' => [
|
---|
351 | 'location' => 'query',
|
---|
352 | 'type' => 'string',
|
---|
353 | ],
|
---|
354 | 'validateOnly' => [
|
---|
355 | 'location' => 'query',
|
---|
356 | 'type' => 'boolean',
|
---|
357 | ],
|
---|
358 | ],
|
---|
359 | ],'get' => [
|
---|
360 | 'path' => 'v1/{+name}',
|
---|
361 | 'httpMethod' => 'GET',
|
---|
362 | 'parameters' => [
|
---|
363 | 'name' => [
|
---|
364 | 'location' => 'path',
|
---|
365 | 'type' => 'string',
|
---|
366 | 'required' => true,
|
---|
367 | ],
|
---|
368 | ],
|
---|
369 | ],'getIamPolicy' => [
|
---|
370 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
371 | 'httpMethod' => 'GET',
|
---|
372 | 'parameters' => [
|
---|
373 | 'resource' => [
|
---|
374 | 'location' => 'path',
|
---|
375 | 'type' => 'string',
|
---|
376 | 'required' => true,
|
---|
377 | ],
|
---|
378 | 'options.requestedPolicyVersion' => [
|
---|
379 | 'location' => 'query',
|
---|
380 | 'type' => 'integer',
|
---|
381 | ],
|
---|
382 | ],
|
---|
383 | ],'list' => [
|
---|
384 | 'path' => 'v1/{+parent}/appConnections',
|
---|
385 | 'httpMethod' => 'GET',
|
---|
386 | 'parameters' => [
|
---|
387 | 'parent' => [
|
---|
388 | 'location' => 'path',
|
---|
389 | 'type' => 'string',
|
---|
390 | 'required' => true,
|
---|
391 | ],
|
---|
392 | 'filter' => [
|
---|
393 | 'location' => 'query',
|
---|
394 | 'type' => 'string',
|
---|
395 | ],
|
---|
396 | 'orderBy' => [
|
---|
397 | 'location' => 'query',
|
---|
398 | 'type' => 'string',
|
---|
399 | ],
|
---|
400 | 'pageSize' => [
|
---|
401 | 'location' => 'query',
|
---|
402 | 'type' => 'integer',
|
---|
403 | ],
|
---|
404 | 'pageToken' => [
|
---|
405 | 'location' => 'query',
|
---|
406 | 'type' => 'string',
|
---|
407 | ],
|
---|
408 | ],
|
---|
409 | ],'patch' => [
|
---|
410 | 'path' => 'v1/{+name}',
|
---|
411 | 'httpMethod' => 'PATCH',
|
---|
412 | 'parameters' => [
|
---|
413 | 'name' => [
|
---|
414 | 'location' => 'path',
|
---|
415 | 'type' => 'string',
|
---|
416 | 'required' => true,
|
---|
417 | ],
|
---|
418 | 'allowMissing' => [
|
---|
419 | 'location' => 'query',
|
---|
420 | 'type' => 'boolean',
|
---|
421 | ],
|
---|
422 | 'requestId' => [
|
---|
423 | 'location' => 'query',
|
---|
424 | 'type' => 'string',
|
---|
425 | ],
|
---|
426 | 'updateMask' => [
|
---|
427 | 'location' => 'query',
|
---|
428 | 'type' => 'string',
|
---|
429 | ],
|
---|
430 | 'validateOnly' => [
|
---|
431 | 'location' => 'query',
|
---|
432 | 'type' => 'boolean',
|
---|
433 | ],
|
---|
434 | ],
|
---|
435 | ],'resolve' => [
|
---|
436 | 'path' => 'v1/{+parent}/appConnections:resolve',
|
---|
437 | 'httpMethod' => 'GET',
|
---|
438 | 'parameters' => [
|
---|
439 | 'parent' => [
|
---|
440 | 'location' => 'path',
|
---|
441 | 'type' => 'string',
|
---|
442 | 'required' => true,
|
---|
443 | ],
|
---|
444 | 'appConnectorId' => [
|
---|
445 | 'location' => 'query',
|
---|
446 | 'type' => 'string',
|
---|
447 | ],
|
---|
448 | 'pageSize' => [
|
---|
449 | 'location' => 'query',
|
---|
450 | 'type' => 'integer',
|
---|
451 | ],
|
---|
452 | 'pageToken' => [
|
---|
453 | 'location' => 'query',
|
---|
454 | 'type' => 'string',
|
---|
455 | ],
|
---|
456 | ],
|
---|
457 | ],'setIamPolicy' => [
|
---|
458 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
459 | 'httpMethod' => 'POST',
|
---|
460 | 'parameters' => [
|
---|
461 | 'resource' => [
|
---|
462 | 'location' => 'path',
|
---|
463 | 'type' => 'string',
|
---|
464 | 'required' => true,
|
---|
465 | ],
|
---|
466 | ],
|
---|
467 | ],'testIamPermissions' => [
|
---|
468 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
469 | 'httpMethod' => 'POST',
|
---|
470 | 'parameters' => [
|
---|
471 | 'resource' => [
|
---|
472 | 'location' => 'path',
|
---|
473 | 'type' => 'string',
|
---|
474 | 'required' => true,
|
---|
475 | ],
|
---|
476 | ],
|
---|
477 | ],
|
---|
478 | ]
|
---|
479 | ]
|
---|
480 | );
|
---|
481 | $this->projects_locations_appConnectors = new BeyondCorp\Resource\ProjectsLocationsAppConnectors(
|
---|
482 | $this,
|
---|
483 | $this->serviceName,
|
---|
484 | 'appConnectors',
|
---|
485 | [
|
---|
486 | 'methods' => [
|
---|
487 | 'create' => [
|
---|
488 | 'path' => 'v1/{+parent}/appConnectors',
|
---|
489 | 'httpMethod' => 'POST',
|
---|
490 | 'parameters' => [
|
---|
491 | 'parent' => [
|
---|
492 | 'location' => 'path',
|
---|
493 | 'type' => 'string',
|
---|
494 | 'required' => true,
|
---|
495 | ],
|
---|
496 | 'appConnectorId' => [
|
---|
497 | 'location' => 'query',
|
---|
498 | 'type' => 'string',
|
---|
499 | ],
|
---|
500 | 'requestId' => [
|
---|
501 | 'location' => 'query',
|
---|
502 | 'type' => 'string',
|
---|
503 | ],
|
---|
504 | 'validateOnly' => [
|
---|
505 | 'location' => 'query',
|
---|
506 | 'type' => 'boolean',
|
---|
507 | ],
|
---|
508 | ],
|
---|
509 | ],'delete' => [
|
---|
510 | 'path' => 'v1/{+name}',
|
---|
511 | 'httpMethod' => 'DELETE',
|
---|
512 | 'parameters' => [
|
---|
513 | 'name' => [
|
---|
514 | 'location' => 'path',
|
---|
515 | 'type' => 'string',
|
---|
516 | 'required' => true,
|
---|
517 | ],
|
---|
518 | 'requestId' => [
|
---|
519 | 'location' => 'query',
|
---|
520 | 'type' => 'string',
|
---|
521 | ],
|
---|
522 | 'validateOnly' => [
|
---|
523 | 'location' => 'query',
|
---|
524 | 'type' => 'boolean',
|
---|
525 | ],
|
---|
526 | ],
|
---|
527 | ],'get' => [
|
---|
528 | 'path' => 'v1/{+name}',
|
---|
529 | 'httpMethod' => 'GET',
|
---|
530 | 'parameters' => [
|
---|
531 | 'name' => [
|
---|
532 | 'location' => 'path',
|
---|
533 | 'type' => 'string',
|
---|
534 | 'required' => true,
|
---|
535 | ],
|
---|
536 | ],
|
---|
537 | ],'getIamPolicy' => [
|
---|
538 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
539 | 'httpMethod' => 'GET',
|
---|
540 | 'parameters' => [
|
---|
541 | 'resource' => [
|
---|
542 | 'location' => 'path',
|
---|
543 | 'type' => 'string',
|
---|
544 | 'required' => true,
|
---|
545 | ],
|
---|
546 | 'options.requestedPolicyVersion' => [
|
---|
547 | 'location' => 'query',
|
---|
548 | 'type' => 'integer',
|
---|
549 | ],
|
---|
550 | ],
|
---|
551 | ],'list' => [
|
---|
552 | 'path' => 'v1/{+parent}/appConnectors',
|
---|
553 | 'httpMethod' => 'GET',
|
---|
554 | 'parameters' => [
|
---|
555 | 'parent' => [
|
---|
556 | 'location' => 'path',
|
---|
557 | 'type' => 'string',
|
---|
558 | 'required' => true,
|
---|
559 | ],
|
---|
560 | 'filter' => [
|
---|
561 | 'location' => 'query',
|
---|
562 | 'type' => 'string',
|
---|
563 | ],
|
---|
564 | 'orderBy' => [
|
---|
565 | 'location' => 'query',
|
---|
566 | 'type' => 'string',
|
---|
567 | ],
|
---|
568 | 'pageSize' => [
|
---|
569 | 'location' => 'query',
|
---|
570 | 'type' => 'integer',
|
---|
571 | ],
|
---|
572 | 'pageToken' => [
|
---|
573 | 'location' => 'query',
|
---|
574 | 'type' => 'string',
|
---|
575 | ],
|
---|
576 | ],
|
---|
577 | ],'patch' => [
|
---|
578 | 'path' => 'v1/{+name}',
|
---|
579 | 'httpMethod' => 'PATCH',
|
---|
580 | 'parameters' => [
|
---|
581 | 'name' => [
|
---|
582 | 'location' => 'path',
|
---|
583 | 'type' => 'string',
|
---|
584 | 'required' => true,
|
---|
585 | ],
|
---|
586 | 'requestId' => [
|
---|
587 | 'location' => 'query',
|
---|
588 | 'type' => 'string',
|
---|
589 | ],
|
---|
590 | 'updateMask' => [
|
---|
591 | 'location' => 'query',
|
---|
592 | 'type' => 'string',
|
---|
593 | ],
|
---|
594 | 'validateOnly' => [
|
---|
595 | 'location' => 'query',
|
---|
596 | 'type' => 'boolean',
|
---|
597 | ],
|
---|
598 | ],
|
---|
599 | ],'reportStatus' => [
|
---|
600 | 'path' => 'v1/{+appConnector}:reportStatus',
|
---|
601 | 'httpMethod' => 'POST',
|
---|
602 | 'parameters' => [
|
---|
603 | 'appConnector' => [
|
---|
604 | 'location' => 'path',
|
---|
605 | 'type' => 'string',
|
---|
606 | 'required' => true,
|
---|
607 | ],
|
---|
608 | ],
|
---|
609 | ],'resolveInstanceConfig' => [
|
---|
610 | 'path' => 'v1/{+appConnector}:resolveInstanceConfig',
|
---|
611 | 'httpMethod' => 'GET',
|
---|
612 | 'parameters' => [
|
---|
613 | 'appConnector' => [
|
---|
614 | 'location' => 'path',
|
---|
615 | 'type' => 'string',
|
---|
616 | 'required' => true,
|
---|
617 | ],
|
---|
618 | ],
|
---|
619 | ],'setIamPolicy' => [
|
---|
620 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
621 | 'httpMethod' => 'POST',
|
---|
622 | 'parameters' => [
|
---|
623 | 'resource' => [
|
---|
624 | 'location' => 'path',
|
---|
625 | 'type' => 'string',
|
---|
626 | 'required' => true,
|
---|
627 | ],
|
---|
628 | ],
|
---|
629 | ],'testIamPermissions' => [
|
---|
630 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
631 | 'httpMethod' => 'POST',
|
---|
632 | 'parameters' => [
|
---|
633 | 'resource' => [
|
---|
634 | 'location' => 'path',
|
---|
635 | 'type' => 'string',
|
---|
636 | 'required' => true,
|
---|
637 | ],
|
---|
638 | ],
|
---|
639 | ],
|
---|
640 | ]
|
---|
641 | ]
|
---|
642 | );
|
---|
643 | $this->projects_locations_appGateways = new BeyondCorp\Resource\ProjectsLocationsAppGateways(
|
---|
644 | $this,
|
---|
645 | $this->serviceName,
|
---|
646 | 'appGateways',
|
---|
647 | [
|
---|
648 | 'methods' => [
|
---|
649 | 'create' => [
|
---|
650 | 'path' => 'v1/{+parent}/appGateways',
|
---|
651 | 'httpMethod' => 'POST',
|
---|
652 | 'parameters' => [
|
---|
653 | 'parent' => [
|
---|
654 | 'location' => 'path',
|
---|
655 | 'type' => 'string',
|
---|
656 | 'required' => true,
|
---|
657 | ],
|
---|
658 | 'appGatewayId' => [
|
---|
659 | 'location' => 'query',
|
---|
660 | 'type' => 'string',
|
---|
661 | ],
|
---|
662 | 'requestId' => [
|
---|
663 | 'location' => 'query',
|
---|
664 | 'type' => 'string',
|
---|
665 | ],
|
---|
666 | 'validateOnly' => [
|
---|
667 | 'location' => 'query',
|
---|
668 | 'type' => 'boolean',
|
---|
669 | ],
|
---|
670 | ],
|
---|
671 | ],'delete' => [
|
---|
672 | 'path' => 'v1/{+name}',
|
---|
673 | 'httpMethod' => 'DELETE',
|
---|
674 | 'parameters' => [
|
---|
675 | 'name' => [
|
---|
676 | 'location' => 'path',
|
---|
677 | 'type' => 'string',
|
---|
678 | 'required' => true,
|
---|
679 | ],
|
---|
680 | 'requestId' => [
|
---|
681 | 'location' => 'query',
|
---|
682 | 'type' => 'string',
|
---|
683 | ],
|
---|
684 | 'validateOnly' => [
|
---|
685 | 'location' => 'query',
|
---|
686 | 'type' => 'boolean',
|
---|
687 | ],
|
---|
688 | ],
|
---|
689 | ],'get' => [
|
---|
690 | 'path' => 'v1/{+name}',
|
---|
691 | 'httpMethod' => 'GET',
|
---|
692 | 'parameters' => [
|
---|
693 | 'name' => [
|
---|
694 | 'location' => 'path',
|
---|
695 | 'type' => 'string',
|
---|
696 | 'required' => true,
|
---|
697 | ],
|
---|
698 | ],
|
---|
699 | ],'getIamPolicy' => [
|
---|
700 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
701 | 'httpMethod' => 'GET',
|
---|
702 | 'parameters' => [
|
---|
703 | 'resource' => [
|
---|
704 | 'location' => 'path',
|
---|
705 | 'type' => 'string',
|
---|
706 | 'required' => true,
|
---|
707 | ],
|
---|
708 | 'options.requestedPolicyVersion' => [
|
---|
709 | 'location' => 'query',
|
---|
710 | 'type' => 'integer',
|
---|
711 | ],
|
---|
712 | ],
|
---|
713 | ],'list' => [
|
---|
714 | 'path' => 'v1/{+parent}/appGateways',
|
---|
715 | 'httpMethod' => 'GET',
|
---|
716 | 'parameters' => [
|
---|
717 | 'parent' => [
|
---|
718 | 'location' => 'path',
|
---|
719 | 'type' => 'string',
|
---|
720 | 'required' => true,
|
---|
721 | ],
|
---|
722 | 'filter' => [
|
---|
723 | 'location' => 'query',
|
---|
724 | 'type' => 'string',
|
---|
725 | ],
|
---|
726 | 'orderBy' => [
|
---|
727 | 'location' => 'query',
|
---|
728 | 'type' => 'string',
|
---|
729 | ],
|
---|
730 | 'pageSize' => [
|
---|
731 | 'location' => 'query',
|
---|
732 | 'type' => 'integer',
|
---|
733 | ],
|
---|
734 | 'pageToken' => [
|
---|
735 | 'location' => 'query',
|
---|
736 | 'type' => 'string',
|
---|
737 | ],
|
---|
738 | ],
|
---|
739 | ],'setIamPolicy' => [
|
---|
740 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
741 | 'httpMethod' => 'POST',
|
---|
742 | 'parameters' => [
|
---|
743 | 'resource' => [
|
---|
744 | 'location' => 'path',
|
---|
745 | 'type' => 'string',
|
---|
746 | 'required' => true,
|
---|
747 | ],
|
---|
748 | ],
|
---|
749 | ],'shouldThrottle' => [
|
---|
750 | 'path' => 'v1/{+name}:shouldThrottle',
|
---|
751 | 'httpMethod' => 'GET',
|
---|
752 | 'parameters' => [
|
---|
753 | 'name' => [
|
---|
754 | 'location' => 'path',
|
---|
755 | 'type' => 'string',
|
---|
756 | 'required' => true,
|
---|
757 | ],
|
---|
758 | 'port' => [
|
---|
759 | 'location' => 'query',
|
---|
760 | 'type' => 'integer',
|
---|
761 | ],
|
---|
762 | 'requestedAmount' => [
|
---|
763 | 'location' => 'query',
|
---|
764 | 'type' => 'string',
|
---|
765 | ],
|
---|
766 | ],
|
---|
767 | ],'testIamPermissions' => [
|
---|
768 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
769 | 'httpMethod' => 'POST',
|
---|
770 | 'parameters' => [
|
---|
771 | 'resource' => [
|
---|
772 | 'location' => 'path',
|
---|
773 | 'type' => 'string',
|
---|
774 | 'required' => true,
|
---|
775 | ],
|
---|
776 | ],
|
---|
777 | ],
|
---|
778 | ]
|
---|
779 | ]
|
---|
780 | );
|
---|
781 | $this->projects_locations_clientConnectorServices = new BeyondCorp\Resource\ProjectsLocationsClientConnectorServices(
|
---|
782 | $this,
|
---|
783 | $this->serviceName,
|
---|
784 | 'clientConnectorServices',
|
---|
785 | [
|
---|
786 | 'methods' => [
|
---|
787 | 'getIamPolicy' => [
|
---|
788 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
789 | 'httpMethod' => 'GET',
|
---|
790 | 'parameters' => [
|
---|
791 | 'resource' => [
|
---|
792 | 'location' => 'path',
|
---|
793 | 'type' => 'string',
|
---|
794 | 'required' => true,
|
---|
795 | ],
|
---|
796 | 'options.requestedPolicyVersion' => [
|
---|
797 | 'location' => 'query',
|
---|
798 | 'type' => 'integer',
|
---|
799 | ],
|
---|
800 | ],
|
---|
801 | ],'setIamPolicy' => [
|
---|
802 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
803 | 'httpMethod' => 'POST',
|
---|
804 | 'parameters' => [
|
---|
805 | 'resource' => [
|
---|
806 | 'location' => 'path',
|
---|
807 | 'type' => 'string',
|
---|
808 | 'required' => true,
|
---|
809 | ],
|
---|
810 | ],
|
---|
811 | ],'testIamPermissions' => [
|
---|
812 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
813 | 'httpMethod' => 'POST',
|
---|
814 | 'parameters' => [
|
---|
815 | 'resource' => [
|
---|
816 | 'location' => 'path',
|
---|
817 | 'type' => 'string',
|
---|
818 | 'required' => true,
|
---|
819 | ],
|
---|
820 | ],
|
---|
821 | ],
|
---|
822 | ]
|
---|
823 | ]
|
---|
824 | );
|
---|
825 | $this->projects_locations_clientGateways = new BeyondCorp\Resource\ProjectsLocationsClientGateways(
|
---|
826 | $this,
|
---|
827 | $this->serviceName,
|
---|
828 | 'clientGateways',
|
---|
829 | [
|
---|
830 | 'methods' => [
|
---|
831 | 'getIamPolicy' => [
|
---|
832 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
833 | 'httpMethod' => 'GET',
|
---|
834 | 'parameters' => [
|
---|
835 | 'resource' => [
|
---|
836 | 'location' => 'path',
|
---|
837 | 'type' => 'string',
|
---|
838 | 'required' => true,
|
---|
839 | ],
|
---|
840 | 'options.requestedPolicyVersion' => [
|
---|
841 | 'location' => 'query',
|
---|
842 | 'type' => 'integer',
|
---|
843 | ],
|
---|
844 | ],
|
---|
845 | ],'setIamPolicy' => [
|
---|
846 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
847 | 'httpMethod' => 'POST',
|
---|
848 | 'parameters' => [
|
---|
849 | 'resource' => [
|
---|
850 | 'location' => 'path',
|
---|
851 | 'type' => 'string',
|
---|
852 | 'required' => true,
|
---|
853 | ],
|
---|
854 | ],
|
---|
855 | ],'testIamPermissions' => [
|
---|
856 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
857 | 'httpMethod' => 'POST',
|
---|
858 | 'parameters' => [
|
---|
859 | 'resource' => [
|
---|
860 | 'location' => 'path',
|
---|
861 | 'type' => 'string',
|
---|
862 | 'required' => true,
|
---|
863 | ],
|
---|
864 | ],
|
---|
865 | ],
|
---|
866 | ]
|
---|
867 | ]
|
---|
868 | );
|
---|
869 | $this->projects_locations_global_securityGateways_applications = new BeyondCorp\Resource\ProjectsLocationsBeyondcorpGlobalSecurityGatewaysApplications(
|
---|
870 | $this,
|
---|
871 | $this->serviceName,
|
---|
872 | 'applications',
|
---|
873 | [
|
---|
874 | 'methods' => [
|
---|
875 | 'create' => [
|
---|
876 | 'path' => 'v1/{+parent}/applications',
|
---|
877 | 'httpMethod' => 'POST',
|
---|
878 | 'parameters' => [
|
---|
879 | 'parent' => [
|
---|
880 | 'location' => 'path',
|
---|
881 | 'type' => 'string',
|
---|
882 | 'required' => true,
|
---|
883 | ],
|
---|
884 | 'applicationId' => [
|
---|
885 | 'location' => 'query',
|
---|
886 | 'type' => 'string',
|
---|
887 | ],
|
---|
888 | 'requestId' => [
|
---|
889 | 'location' => 'query',
|
---|
890 | 'type' => 'string',
|
---|
891 | ],
|
---|
892 | ],
|
---|
893 | ],'patch' => [
|
---|
894 | 'path' => 'v1/{+name}',
|
---|
895 | 'httpMethod' => 'PATCH',
|
---|
896 | 'parameters' => [
|
---|
897 | 'name' => [
|
---|
898 | 'location' => 'path',
|
---|
899 | 'type' => 'string',
|
---|
900 | 'required' => true,
|
---|
901 | ],
|
---|
902 | 'requestId' => [
|
---|
903 | 'location' => 'query',
|
---|
904 | 'type' => 'string',
|
---|
905 | ],
|
---|
906 | 'updateMask' => [
|
---|
907 | 'location' => 'query',
|
---|
908 | 'type' => 'string',
|
---|
909 | ],
|
---|
910 | ],
|
---|
911 | ],'testIamPermissions' => [
|
---|
912 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
913 | 'httpMethod' => 'POST',
|
---|
914 | 'parameters' => [
|
---|
915 | 'resource' => [
|
---|
916 | 'location' => 'path',
|
---|
917 | 'type' => 'string',
|
---|
918 | 'required' => true,
|
---|
919 | ],
|
---|
920 | ],
|
---|
921 | ],
|
---|
922 | ]
|
---|
923 | ]
|
---|
924 | );
|
---|
925 | $this->projects_locations_operations = new BeyondCorp\Resource\ProjectsLocationsOperations(
|
---|
926 | $this,
|
---|
927 | $this->serviceName,
|
---|
928 | 'operations',
|
---|
929 | [
|
---|
930 | 'methods' => [
|
---|
931 | 'cancel' => [
|
---|
932 | 'path' => 'v1/{+name}:cancel',
|
---|
933 | 'httpMethod' => 'POST',
|
---|
934 | 'parameters' => [
|
---|
935 | 'name' => [
|
---|
936 | 'location' => 'path',
|
---|
937 | 'type' => 'string',
|
---|
938 | 'required' => true,
|
---|
939 | ],
|
---|
940 | ],
|
---|
941 | ],'delete' => [
|
---|
942 | 'path' => 'v1/{+name}',
|
---|
943 | 'httpMethod' => 'DELETE',
|
---|
944 | 'parameters' => [
|
---|
945 | 'name' => [
|
---|
946 | 'location' => 'path',
|
---|
947 | 'type' => 'string',
|
---|
948 | 'required' => true,
|
---|
949 | ],
|
---|
950 | ],
|
---|
951 | ],'get' => [
|
---|
952 | 'path' => 'v1/{+name}',
|
---|
953 | 'httpMethod' => 'GET',
|
---|
954 | 'parameters' => [
|
---|
955 | 'name' => [
|
---|
956 | 'location' => 'path',
|
---|
957 | 'type' => 'string',
|
---|
958 | 'required' => true,
|
---|
959 | ],
|
---|
960 | ],
|
---|
961 | ],'list' => [
|
---|
962 | 'path' => 'v1/{+name}/operations',
|
---|
963 | 'httpMethod' => 'GET',
|
---|
964 | 'parameters' => [
|
---|
965 | 'name' => [
|
---|
966 | 'location' => 'path',
|
---|
967 | 'type' => 'string',
|
---|
968 | 'required' => true,
|
---|
969 | ],
|
---|
970 | 'filter' => [
|
---|
971 | 'location' => 'query',
|
---|
972 | 'type' => 'string',
|
---|
973 | ],
|
---|
974 | 'pageSize' => [
|
---|
975 | 'location' => 'query',
|
---|
976 | 'type' => 'integer',
|
---|
977 | ],
|
---|
978 | 'pageToken' => [
|
---|
979 | 'location' => 'query',
|
---|
980 | 'type' => 'string',
|
---|
981 | ],
|
---|
982 | ],
|
---|
983 | ],
|
---|
984 | ]
|
---|
985 | ]
|
---|
986 | );
|
---|
987 | $this->projects_locations_securityGateways = new BeyondCorp\Resource\ProjectsLocationsSecurityGateways(
|
---|
988 | $this,
|
---|
989 | $this->serviceName,
|
---|
990 | 'securityGateways',
|
---|
991 | [
|
---|
992 | 'methods' => [
|
---|
993 | 'create' => [
|
---|
994 | 'path' => 'v1/{+parent}/securityGateways',
|
---|
995 | 'httpMethod' => 'POST',
|
---|
996 | 'parameters' => [
|
---|
997 | 'parent' => [
|
---|
998 | 'location' => 'path',
|
---|
999 | 'type' => 'string',
|
---|
1000 | 'required' => true,
|
---|
1001 | ],
|
---|
1002 | 'requestId' => [
|
---|
1003 | 'location' => 'query',
|
---|
1004 | 'type' => 'string',
|
---|
1005 | ],
|
---|
1006 | 'securityGatewayId' => [
|
---|
1007 | 'location' => 'query',
|
---|
1008 | 'type' => 'string',
|
---|
1009 | ],
|
---|
1010 | ],
|
---|
1011 | ],'delete' => [
|
---|
1012 | 'path' => 'v1/{+name}',
|
---|
1013 | 'httpMethod' => 'DELETE',
|
---|
1014 | 'parameters' => [
|
---|
1015 | 'name' => [
|
---|
1016 | 'location' => 'path',
|
---|
1017 | 'type' => 'string',
|
---|
1018 | 'required' => true,
|
---|
1019 | ],
|
---|
1020 | 'requestId' => [
|
---|
1021 | 'location' => 'query',
|
---|
1022 | 'type' => 'string',
|
---|
1023 | ],
|
---|
1024 | 'validateOnly' => [
|
---|
1025 | 'location' => 'query',
|
---|
1026 | 'type' => 'boolean',
|
---|
1027 | ],
|
---|
1028 | ],
|
---|
1029 | ],'get' => [
|
---|
1030 | 'path' => 'v1/{+name}',
|
---|
1031 | 'httpMethod' => 'GET',
|
---|
1032 | 'parameters' => [
|
---|
1033 | 'name' => [
|
---|
1034 | 'location' => 'path',
|
---|
1035 | 'type' => 'string',
|
---|
1036 | 'required' => true,
|
---|
1037 | ],
|
---|
1038 | ],
|
---|
1039 | ],'getIamPolicy' => [
|
---|
1040 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
1041 | 'httpMethod' => 'GET',
|
---|
1042 | 'parameters' => [
|
---|
1043 | 'resource' => [
|
---|
1044 | 'location' => 'path',
|
---|
1045 | 'type' => 'string',
|
---|
1046 | 'required' => true,
|
---|
1047 | ],
|
---|
1048 | 'options.requestedPolicyVersion' => [
|
---|
1049 | 'location' => 'query',
|
---|
1050 | 'type' => 'integer',
|
---|
1051 | ],
|
---|
1052 | ],
|
---|
1053 | ],'list' => [
|
---|
1054 | 'path' => 'v1/{+parent}/securityGateways',
|
---|
1055 | 'httpMethod' => 'GET',
|
---|
1056 | 'parameters' => [
|
---|
1057 | 'parent' => [
|
---|
1058 | 'location' => 'path',
|
---|
1059 | 'type' => 'string',
|
---|
1060 | 'required' => true,
|
---|
1061 | ],
|
---|
1062 | 'filter' => [
|
---|
1063 | 'location' => 'query',
|
---|
1064 | 'type' => 'string',
|
---|
1065 | ],
|
---|
1066 | 'orderBy' => [
|
---|
1067 | 'location' => 'query',
|
---|
1068 | 'type' => 'string',
|
---|
1069 | ],
|
---|
1070 | 'pageSize' => [
|
---|
1071 | 'location' => 'query',
|
---|
1072 | 'type' => 'integer',
|
---|
1073 | ],
|
---|
1074 | 'pageToken' => [
|
---|
1075 | 'location' => 'query',
|
---|
1076 | 'type' => 'string',
|
---|
1077 | ],
|
---|
1078 | ],
|
---|
1079 | ],'patch' => [
|
---|
1080 | 'path' => 'v1/{+name}',
|
---|
1081 | 'httpMethod' => 'PATCH',
|
---|
1082 | 'parameters' => [
|
---|
1083 | 'name' => [
|
---|
1084 | 'location' => 'path',
|
---|
1085 | 'type' => 'string',
|
---|
1086 | 'required' => true,
|
---|
1087 | ],
|
---|
1088 | 'requestId' => [
|
---|
1089 | 'location' => 'query',
|
---|
1090 | 'type' => 'string',
|
---|
1091 | ],
|
---|
1092 | 'updateMask' => [
|
---|
1093 | 'location' => 'query',
|
---|
1094 | 'type' => 'string',
|
---|
1095 | ],
|
---|
1096 | ],
|
---|
1097 | ],'setIamPolicy' => [
|
---|
1098 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
1099 | 'httpMethod' => 'POST',
|
---|
1100 | 'parameters' => [
|
---|
1101 | 'resource' => [
|
---|
1102 | 'location' => 'path',
|
---|
1103 | 'type' => 'string',
|
---|
1104 | 'required' => true,
|
---|
1105 | ],
|
---|
1106 | ],
|
---|
1107 | ],'testIamPermissions' => [
|
---|
1108 | 'path' => 'v1/{+resource}:testIamPermissions',
|
---|
1109 | 'httpMethod' => 'POST',
|
---|
1110 | 'parameters' => [
|
---|
1111 | 'resource' => [
|
---|
1112 | 'location' => 'path',
|
---|
1113 | 'type' => 'string',
|
---|
1114 | 'required' => true,
|
---|
1115 | ],
|
---|
1116 | ],
|
---|
1117 | ],
|
---|
1118 | ]
|
---|
1119 | ]
|
---|
1120 | );
|
---|
1121 | $this->projects_locations_securityGateways_applications = new BeyondCorp\Resource\ProjectsLocationsSecurityGatewaysApplications(
|
---|
1122 | $this,
|
---|
1123 | $this->serviceName,
|
---|
1124 | 'applications',
|
---|
1125 | [
|
---|
1126 | 'methods' => [
|
---|
1127 | 'delete' => [
|
---|
1128 | 'path' => 'v1/{+name}',
|
---|
1129 | 'httpMethod' => 'DELETE',
|
---|
1130 | 'parameters' => [
|
---|
1131 | 'name' => [
|
---|
1132 | 'location' => 'path',
|
---|
1133 | 'type' => 'string',
|
---|
1134 | 'required' => true,
|
---|
1135 | ],
|
---|
1136 | 'requestId' => [
|
---|
1137 | 'location' => 'query',
|
---|
1138 | 'type' => 'string',
|
---|
1139 | ],
|
---|
1140 | 'validateOnly' => [
|
---|
1141 | 'location' => 'query',
|
---|
1142 | 'type' => 'boolean',
|
---|
1143 | ],
|
---|
1144 | ],
|
---|
1145 | ],'get' => [
|
---|
1146 | 'path' => 'v1/{+name}',
|
---|
1147 | 'httpMethod' => 'GET',
|
---|
1148 | 'parameters' => [
|
---|
1149 | 'name' => [
|
---|
1150 | 'location' => 'path',
|
---|
1151 | 'type' => 'string',
|
---|
1152 | 'required' => true,
|
---|
1153 | ],
|
---|
1154 | ],
|
---|
1155 | ],'getIamPolicy' => [
|
---|
1156 | 'path' => 'v1/{+resource}:getIamPolicy',
|
---|
1157 | 'httpMethod' => 'GET',
|
---|
1158 | 'parameters' => [
|
---|
1159 | 'resource' => [
|
---|
1160 | 'location' => 'path',
|
---|
1161 | 'type' => 'string',
|
---|
1162 | 'required' => true,
|
---|
1163 | ],
|
---|
1164 | 'options.requestedPolicyVersion' => [
|
---|
1165 | 'location' => 'query',
|
---|
1166 | 'type' => 'integer',
|
---|
1167 | ],
|
---|
1168 | ],
|
---|
1169 | ],'list' => [
|
---|
1170 | 'path' => 'v1/{+parent}/applications',
|
---|
1171 | 'httpMethod' => 'GET',
|
---|
1172 | 'parameters' => [
|
---|
1173 | 'parent' => [
|
---|
1174 | 'location' => 'path',
|
---|
1175 | 'type' => 'string',
|
---|
1176 | 'required' => true,
|
---|
1177 | ],
|
---|
1178 | 'filter' => [
|
---|
1179 | 'location' => 'query',
|
---|
1180 | 'type' => 'string',
|
---|
1181 | ],
|
---|
1182 | 'orderBy' => [
|
---|
1183 | 'location' => 'query',
|
---|
1184 | 'type' => 'string',
|
---|
1185 | ],
|
---|
1186 | 'pageSize' => [
|
---|
1187 | 'location' => 'query',
|
---|
1188 | 'type' => 'integer',
|
---|
1189 | ],
|
---|
1190 | 'pageToken' => [
|
---|
1191 | 'location' => 'query',
|
---|
1192 | 'type' => 'string',
|
---|
1193 | ],
|
---|
1194 | ],
|
---|
1195 | ],'setIamPolicy' => [
|
---|
1196 | 'path' => 'v1/{+resource}:setIamPolicy',
|
---|
1197 | 'httpMethod' => 'POST',
|
---|
1198 | 'parameters' => [
|
---|
1199 | 'resource' => [
|
---|
1200 | 'location' => 'path',
|
---|
1201 | 'type' => 'string',
|
---|
1202 | 'required' => true,
|
---|
1203 | ],
|
---|
1204 | ],
|
---|
1205 | ],
|
---|
1206 | ]
|
---|
1207 | ]
|
---|
1208 | );
|
---|
1209 | }
|
---|
1210 | }
|
---|
1211 |
|
---|
1212 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
1213 | class_alias(BeyondCorp::class, 'Google_Service_BeyondCorp');
|
---|