Networkconnectivity.php 61 KB

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