NetworkServices.php 51 KB

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