Integrations.php 75 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357
  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 Integrations (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/application-integration" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class Integrations 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 $callback;
  38. public $connectorPlatformRegions;
  39. public $projects;
  40. public $projects_locations;
  41. public $projects_locations_appsScriptProjects;
  42. public $projects_locations_authConfigs;
  43. public $projects_locations_certificates;
  44. public $projects_locations_clients;
  45. public $projects_locations_cloudFunctions;
  46. public $projects_locations_connections;
  47. public $projects_locations_connections_runtimeActionSchemas;
  48. public $projects_locations_connections_runtimeEntitySchemas;
  49. public $projects_locations_integrations;
  50. public $projects_locations_integrations_executions;
  51. public $projects_locations_integrations_executions_suspensions;
  52. public $projects_locations_integrations_versions;
  53. public $projects_locations_integrations_versions_testCases;
  54. public $projects_locations_products_authConfigs;
  55. public $projects_locations_products_certificates;
  56. public $projects_locations_products_cloudFunctions;
  57. public $projects_locations_products_integrations;
  58. public $projects_locations_products_integrations_executions;
  59. public $projects_locations_products_integrations_executions_suspensions;
  60. public $projects_locations_products_integrations_versions;
  61. public $projects_locations_products_sfdcInstances;
  62. public $projects_locations_products_sfdcInstances_sfdcChannels;
  63. public $projects_locations_sfdcInstances;
  64. public $projects_locations_sfdcInstances_sfdcChannels;
  65. public $projects_locations_templates;
  66. public $rootUrlTemplate;
  67. /**
  68. * Constructs the internal representation of the Integrations service.
  69. *
  70. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  71. * config array to pass to a new Client instance.
  72. * @param string $rootUrl The root URL used for requests to the service.
  73. */
  74. public function __construct($clientOrConfig = [], $rootUrl = null)
  75. {
  76. parent::__construct($clientOrConfig);
  77. $this->rootUrl = $rootUrl ?: 'https://integrations.googleapis.com/';
  78. $this->rootUrlTemplate = $rootUrl ?: 'https://integrations.UNIVERSE_DOMAIN/';
  79. $this->servicePath = '';
  80. $this->batchPath = 'batch';
  81. $this->version = 'v1';
  82. $this->serviceName = 'integrations';
  83. $this->callback = new Integrations\Resource\Callback(
  84. $this,
  85. $this->serviceName,
  86. 'callback',
  87. [
  88. 'methods' => [
  89. 'generateToken' => [
  90. 'path' => 'v1/callback:generateToken',
  91. 'httpMethod' => 'GET',
  92. 'parameters' => [
  93. 'code' => [
  94. 'location' => 'query',
  95. 'type' => 'string',
  96. ],
  97. 'gcpProjectId' => [
  98. 'location' => 'query',
  99. 'type' => 'string',
  100. ],
  101. 'product' => [
  102. 'location' => 'query',
  103. 'type' => 'string',
  104. ],
  105. 'redirectUri' => [
  106. 'location' => 'query',
  107. 'type' => 'string',
  108. ],
  109. 'state' => [
  110. 'location' => 'query',
  111. 'type' => 'string',
  112. ],
  113. ],
  114. ],
  115. ]
  116. ]
  117. );
  118. $this->connectorPlatformRegions = new Integrations\Resource\ConnectorPlatformRegions(
  119. $this,
  120. $this->serviceName,
  121. 'connectorPlatformRegions',
  122. [
  123. 'methods' => [
  124. 'enumerate' => [
  125. 'path' => 'v1/connectorPlatformRegions:enumerate',
  126. 'httpMethod' => 'GET',
  127. 'parameters' => [],
  128. ],
  129. ]
  130. ]
  131. );
  132. $this->projects = new Integrations\Resource\Projects(
  133. $this,
  134. $this->serviceName,
  135. 'projects',
  136. [
  137. 'methods' => [
  138. 'getClientmetadata' => [
  139. 'path' => 'v1/{+parent}/clientmetadata',
  140. 'httpMethod' => 'GET',
  141. 'parameters' => [
  142. 'parent' => [
  143. 'location' => 'path',
  144. 'type' => 'string',
  145. 'required' => true,
  146. ],
  147. ],
  148. ],
  149. ]
  150. ]
  151. );
  152. $this->projects_locations = new Integrations\Resource\ProjectsLocations(
  153. $this,
  154. $this->serviceName,
  155. 'locations',
  156. [
  157. 'methods' => [
  158. 'generateOpenApiSpec' => [
  159. 'path' => 'v1/{+name}:generateOpenApiSpec',
  160. 'httpMethod' => 'POST',
  161. 'parameters' => [
  162. 'name' => [
  163. 'location' => 'path',
  164. 'type' => 'string',
  165. 'required' => true,
  166. ],
  167. ],
  168. ],'getClients' => [
  169. 'path' => 'v1/{+parent}/clients',
  170. 'httpMethod' => 'GET',
  171. 'parameters' => [
  172. 'parent' => [
  173. 'location' => 'path',
  174. 'type' => 'string',
  175. 'required' => true,
  176. ],
  177. ],
  178. ],
  179. ]
  180. ]
  181. );
  182. $this->projects_locations_appsScriptProjects = new Integrations\Resource\ProjectsLocationsAppsScriptProjects(
  183. $this,
  184. $this->serviceName,
  185. 'appsScriptProjects',
  186. [
  187. 'methods' => [
  188. 'create' => [
  189. 'path' => 'v1/{+parent}/appsScriptProjects',
  190. 'httpMethod' => 'POST',
  191. 'parameters' => [
  192. 'parent' => [
  193. 'location' => 'path',
  194. 'type' => 'string',
  195. 'required' => true,
  196. ],
  197. ],
  198. ],'link' => [
  199. 'path' => 'v1/{+parent}/appsScriptProjects:link',
  200. 'httpMethod' => 'POST',
  201. 'parameters' => [
  202. 'parent' => [
  203. 'location' => 'path',
  204. 'type' => 'string',
  205. 'required' => true,
  206. ],
  207. ],
  208. ],
  209. ]
  210. ]
  211. );
  212. $this->projects_locations_authConfigs = new Integrations\Resource\ProjectsLocationsAuthConfigs(
  213. $this,
  214. $this->serviceName,
  215. 'authConfigs',
  216. [
  217. 'methods' => [
  218. 'create' => [
  219. 'path' => 'v1/{+parent}/authConfigs',
  220. 'httpMethod' => 'POST',
  221. 'parameters' => [
  222. 'parent' => [
  223. 'location' => 'path',
  224. 'type' => 'string',
  225. 'required' => true,
  226. ],
  227. 'clientCertificate.encryptedPrivateKey' => [
  228. 'location' => 'query',
  229. 'type' => 'string',
  230. ],
  231. 'clientCertificate.passphrase' => [
  232. 'location' => 'query',
  233. 'type' => 'string',
  234. ],
  235. 'clientCertificate.sslCertificate' => [
  236. 'location' => 'query',
  237. 'type' => 'string',
  238. ],
  239. ],
  240. ],'delete' => [
  241. 'path' => 'v1/{+name}',
  242. 'httpMethod' => 'DELETE',
  243. 'parameters' => [
  244. 'name' => [
  245. 'location' => 'path',
  246. 'type' => 'string',
  247. 'required' => true,
  248. ],
  249. ],
  250. ],'get' => [
  251. 'path' => 'v1/{+name}',
  252. 'httpMethod' => 'GET',
  253. 'parameters' => [
  254. 'name' => [
  255. 'location' => 'path',
  256. 'type' => 'string',
  257. 'required' => true,
  258. ],
  259. ],
  260. ],'list' => [
  261. 'path' => 'v1/{+parent}/authConfigs',
  262. 'httpMethod' => 'GET',
  263. 'parameters' => [
  264. 'parent' => [
  265. 'location' => 'path',
  266. 'type' => 'string',
  267. 'required' => true,
  268. ],
  269. 'filter' => [
  270. 'location' => 'query',
  271. 'type' => 'string',
  272. ],
  273. 'pageSize' => [
  274. 'location' => 'query',
  275. 'type' => 'integer',
  276. ],
  277. 'pageToken' => [
  278. 'location' => 'query',
  279. 'type' => 'string',
  280. ],
  281. 'readMask' => [
  282. 'location' => 'query',
  283. 'type' => 'string',
  284. ],
  285. ],
  286. ],'patch' => [
  287. 'path' => 'v1/{+name}',
  288. 'httpMethod' => 'PATCH',
  289. 'parameters' => [
  290. 'name' => [
  291. 'location' => 'path',
  292. 'type' => 'string',
  293. 'required' => true,
  294. ],
  295. 'clientCertificate.encryptedPrivateKey' => [
  296. 'location' => 'query',
  297. 'type' => 'string',
  298. ],
  299. 'clientCertificate.passphrase' => [
  300. 'location' => 'query',
  301. 'type' => 'string',
  302. ],
  303. 'clientCertificate.sslCertificate' => [
  304. 'location' => 'query',
  305. 'type' => 'string',
  306. ],
  307. 'updateMask' => [
  308. 'location' => 'query',
  309. 'type' => 'string',
  310. ],
  311. ],
  312. ],
  313. ]
  314. ]
  315. );
  316. $this->projects_locations_certificates = new Integrations\Resource\ProjectsLocationsCertificates(
  317. $this,
  318. $this->serviceName,
  319. 'certificates',
  320. [
  321. 'methods' => [
  322. 'create' => [
  323. 'path' => 'v1/{+parent}/certificates',
  324. 'httpMethod' => 'POST',
  325. 'parameters' => [
  326. 'parent' => [
  327. 'location' => 'path',
  328. 'type' => 'string',
  329. 'required' => true,
  330. ],
  331. ],
  332. ],'delete' => [
  333. 'path' => 'v1/{+name}',
  334. 'httpMethod' => 'DELETE',
  335. 'parameters' => [
  336. 'name' => [
  337. 'location' => 'path',
  338. 'type' => 'string',
  339. 'required' => true,
  340. ],
  341. ],
  342. ],'get' => [
  343. 'path' => 'v1/{+name}',
  344. 'httpMethod' => 'GET',
  345. 'parameters' => [
  346. 'name' => [
  347. 'location' => 'path',
  348. 'type' => 'string',
  349. 'required' => true,
  350. ],
  351. ],
  352. ],'list' => [
  353. 'path' => 'v1/{+parent}/certificates',
  354. 'httpMethod' => 'GET',
  355. 'parameters' => [
  356. 'parent' => [
  357. 'location' => 'path',
  358. 'type' => 'string',
  359. 'required' => true,
  360. ],
  361. 'filter' => [
  362. 'location' => 'query',
  363. 'type' => 'string',
  364. ],
  365. 'pageSize' => [
  366. 'location' => 'query',
  367. 'type' => 'integer',
  368. ],
  369. 'pageToken' => [
  370. 'location' => 'query',
  371. 'type' => 'string',
  372. ],
  373. 'readMask' => [
  374. 'location' => 'query',
  375. 'type' => 'string',
  376. ],
  377. ],
  378. ],'patch' => [
  379. 'path' => 'v1/{+name}',
  380. 'httpMethod' => 'PATCH',
  381. 'parameters' => [
  382. 'name' => [
  383. 'location' => 'path',
  384. 'type' => 'string',
  385. 'required' => true,
  386. ],
  387. 'updateMask' => [
  388. 'location' => 'query',
  389. 'type' => 'string',
  390. ],
  391. ],
  392. ],
  393. ]
  394. ]
  395. );
  396. $this->projects_locations_clients = new Integrations\Resource\ProjectsLocationsClients(
  397. $this,
  398. $this->serviceName,
  399. 'clients',
  400. [
  401. 'methods' => [
  402. 'changeConfig' => [
  403. 'path' => 'v1/{+parent}/clients:changeConfig',
  404. 'httpMethod' => 'POST',
  405. 'parameters' => [
  406. 'parent' => [
  407. 'location' => 'path',
  408. 'type' => 'string',
  409. 'required' => true,
  410. ],
  411. ],
  412. ],'deprovision' => [
  413. 'path' => 'v1/{+parent}/clients:deprovision',
  414. 'httpMethod' => 'POST',
  415. 'parameters' => [
  416. 'parent' => [
  417. 'location' => 'path',
  418. 'type' => 'string',
  419. 'required' => true,
  420. ],
  421. ],
  422. ],'provision' => [
  423. 'path' => 'v1/{+parent}/clients:provision',
  424. 'httpMethod' => 'POST',
  425. 'parameters' => [
  426. 'parent' => [
  427. 'location' => 'path',
  428. 'type' => 'string',
  429. 'required' => true,
  430. ],
  431. ],
  432. ],'provisionClientPostProcessor' => [
  433. 'path' => 'v1/{+parent}/clients:provisionClientPostProcessor',
  434. 'httpMethod' => 'POST',
  435. 'parameters' => [
  436. 'parent' => [
  437. 'location' => 'path',
  438. 'type' => 'string',
  439. 'required' => true,
  440. ],
  441. ],
  442. ],'replace' => [
  443. 'path' => 'v1/{+parent}/clients:replace',
  444. 'httpMethod' => 'POST',
  445. 'parameters' => [
  446. 'parent' => [
  447. 'location' => 'path',
  448. 'type' => 'string',
  449. 'required' => true,
  450. ],
  451. ],
  452. ],'switch' => [
  453. 'path' => 'v1/{+parent}/clients:switch',
  454. 'httpMethod' => 'POST',
  455. 'parameters' => [
  456. 'parent' => [
  457. 'location' => 'path',
  458. 'type' => 'string',
  459. 'required' => true,
  460. ],
  461. ],
  462. ],'switchVariableMasking' => [
  463. 'path' => 'v1/{+parent}/clients:switchVariableMasking',
  464. 'httpMethod' => 'POST',
  465. 'parameters' => [
  466. 'parent' => [
  467. 'location' => 'path',
  468. 'type' => 'string',
  469. 'required' => true,
  470. ],
  471. ],
  472. ],'toggleHttp' => [
  473. 'path' => 'v1/{+parent}/clients:toggleHttp',
  474. 'httpMethod' => 'POST',
  475. 'parameters' => [
  476. 'parent' => [
  477. 'location' => 'path',
  478. 'type' => 'string',
  479. 'required' => true,
  480. ],
  481. ],
  482. ],
  483. ]
  484. ]
  485. );
  486. $this->projects_locations_cloudFunctions = new Integrations\Resource\ProjectsLocationsCloudFunctions(
  487. $this,
  488. $this->serviceName,
  489. 'cloudFunctions',
  490. [
  491. 'methods' => [
  492. 'create' => [
  493. 'path' => 'v1/{+parent}/cloudFunctions',
  494. 'httpMethod' => 'POST',
  495. 'parameters' => [
  496. 'parent' => [
  497. 'location' => 'path',
  498. 'type' => 'string',
  499. 'required' => true,
  500. ],
  501. ],
  502. ],
  503. ]
  504. ]
  505. );
  506. $this->projects_locations_connections = new Integrations\Resource\ProjectsLocationsConnections(
  507. $this,
  508. $this->serviceName,
  509. 'connections',
  510. [
  511. 'methods' => [
  512. 'getConnectionSchemaMetadata' => [
  513. 'path' => 'v1/{+name}',
  514. 'httpMethod' => 'GET',
  515. 'parameters' => [
  516. 'name' => [
  517. 'location' => 'path',
  518. 'type' => 'string',
  519. 'required' => true,
  520. ],
  521. ],
  522. ],'list' => [
  523. 'path' => 'v1/{+parent}/connections',
  524. 'httpMethod' => 'GET',
  525. 'parameters' => [
  526. 'parent' => [
  527. 'location' => 'path',
  528. 'type' => 'string',
  529. 'required' => true,
  530. ],
  531. 'filter' => [
  532. 'location' => 'query',
  533. 'type' => 'string',
  534. ],
  535. 'orderBy' => [
  536. 'location' => 'query',
  537. 'type' => 'string',
  538. ],
  539. 'pageSize' => [
  540. 'location' => 'query',
  541. 'type' => 'integer',
  542. ],
  543. 'pageToken' => [
  544. 'location' => 'query',
  545. 'type' => 'string',
  546. ],
  547. ],
  548. ],
  549. ]
  550. ]
  551. );
  552. $this->projects_locations_connections_runtimeActionSchemas = new Integrations\Resource\ProjectsLocationsConnectionsRuntimeActionSchemas(
  553. $this,
  554. $this->serviceName,
  555. 'runtimeActionSchemas',
  556. [
  557. 'methods' => [
  558. 'list' => [
  559. 'path' => 'v1/{+parent}/runtimeActionSchemas',
  560. 'httpMethod' => 'GET',
  561. 'parameters' => [
  562. 'parent' => [
  563. 'location' => 'path',
  564. 'type' => 'string',
  565. 'required' => true,
  566. ],
  567. 'filter' => [
  568. 'location' => 'query',
  569. 'type' => 'string',
  570. ],
  571. 'pageSize' => [
  572. 'location' => 'query',
  573. 'type' => 'integer',
  574. ],
  575. 'pageToken' => [
  576. 'location' => 'query',
  577. 'type' => 'string',
  578. ],
  579. ],
  580. ],
  581. ]
  582. ]
  583. );
  584. $this->projects_locations_connections_runtimeEntitySchemas = new Integrations\Resource\ProjectsLocationsConnectionsRuntimeEntitySchemas(
  585. $this,
  586. $this->serviceName,
  587. 'runtimeEntitySchemas',
  588. [
  589. 'methods' => [
  590. 'list' => [
  591. 'path' => 'v1/{+parent}/runtimeEntitySchemas',
  592. 'httpMethod' => 'GET',
  593. 'parameters' => [
  594. 'parent' => [
  595. 'location' => 'path',
  596. 'type' => 'string',
  597. 'required' => true,
  598. ],
  599. 'filter' => [
  600. 'location' => 'query',
  601. 'type' => 'string',
  602. ],
  603. 'pageSize' => [
  604. 'location' => 'query',
  605. 'type' => 'integer',
  606. ],
  607. 'pageToken' => [
  608. 'location' => 'query',
  609. 'type' => 'string',
  610. ],
  611. ],
  612. ],
  613. ]
  614. ]
  615. );
  616. $this->projects_locations_integrations = new Integrations\Resource\ProjectsLocationsIntegrations(
  617. $this,
  618. $this->serviceName,
  619. 'integrations',
  620. [
  621. 'methods' => [
  622. 'delete' => [
  623. 'path' => 'v1/{+name}',
  624. 'httpMethod' => 'DELETE',
  625. 'parameters' => [
  626. 'name' => [
  627. 'location' => 'path',
  628. 'type' => 'string',
  629. 'required' => true,
  630. ],
  631. ],
  632. ],'execute' => [
  633. 'path' => 'v1/{+name}:execute',
  634. 'httpMethod' => 'POST',
  635. 'parameters' => [
  636. 'name' => [
  637. 'location' => 'path',
  638. 'type' => 'string',
  639. 'required' => true,
  640. ],
  641. ],
  642. ],'executeEvent' => [
  643. 'path' => 'v1/{+name}:executeEvent',
  644. 'httpMethod' => 'POST',
  645. 'parameters' => [
  646. 'name' => [
  647. 'location' => 'path',
  648. 'type' => 'string',
  649. 'required' => true,
  650. ],
  651. 'triggerId' => [
  652. 'location' => 'query',
  653. 'type' => 'string',
  654. ],
  655. ],
  656. ],'list' => [
  657. 'path' => 'v1/{+parent}/integrations',
  658. 'httpMethod' => 'GET',
  659. 'parameters' => [
  660. 'parent' => [
  661. 'location' => 'path',
  662. 'type' => 'string',
  663. 'required' => true,
  664. ],
  665. 'filter' => [
  666. 'location' => 'query',
  667. 'type' => 'string',
  668. ],
  669. 'orderBy' => [
  670. 'location' => 'query',
  671. 'type' => 'string',
  672. ],
  673. 'pageSize' => [
  674. 'location' => 'query',
  675. 'type' => 'integer',
  676. ],
  677. 'pageToken' => [
  678. 'location' => 'query',
  679. 'type' => 'string',
  680. ],
  681. ],
  682. ],'schedule' => [
  683. 'path' => 'v1/{+name}:schedule',
  684. 'httpMethod' => 'POST',
  685. 'parameters' => [
  686. 'name' => [
  687. 'location' => 'path',
  688. 'type' => 'string',
  689. 'required' => true,
  690. ],
  691. ],
  692. ],'search' => [
  693. 'path' => 'v1/{+parent}/integrations:search',
  694. 'httpMethod' => 'GET',
  695. 'parameters' => [
  696. 'parent' => [
  697. 'location' => 'path',
  698. 'type' => 'string',
  699. 'required' => true,
  700. ],
  701. 'enableNaturalLanguageQueryUnderstanding' => [
  702. 'location' => 'query',
  703. 'type' => 'boolean',
  704. ],
  705. 'filter' => [
  706. 'location' => 'query',
  707. 'type' => 'string',
  708. ],
  709. 'pageSize' => [
  710. 'location' => 'query',
  711. 'type' => 'integer',
  712. ],
  713. 'pageToken' => [
  714. 'location' => 'query',
  715. 'type' => 'string',
  716. ],
  717. 'query' => [
  718. 'location' => 'query',
  719. 'type' => 'string',
  720. ],
  721. ],
  722. ],'test' => [
  723. 'path' => 'v1/{+name}:test',
  724. 'httpMethod' => 'POST',
  725. 'parameters' => [
  726. 'name' => [
  727. 'location' => 'path',
  728. 'type' => 'string',
  729. 'required' => true,
  730. ],
  731. ],
  732. ],
  733. ]
  734. ]
  735. );
  736. $this->projects_locations_integrations_executions = new Integrations\Resource\ProjectsLocationsIntegrationsExecutions(
  737. $this,
  738. $this->serviceName,
  739. 'executions',
  740. [
  741. 'methods' => [
  742. 'cancel' => [
  743. 'path' => 'v1/{+name}:cancel',
  744. 'httpMethod' => 'POST',
  745. 'parameters' => [
  746. 'name' => [
  747. 'location' => 'path',
  748. 'type' => 'string',
  749. 'required' => true,
  750. ],
  751. ],
  752. ],'download' => [
  753. 'path' => 'v1/{+name}:download',
  754. 'httpMethod' => 'GET',
  755. 'parameters' => [
  756. 'name' => [
  757. 'location' => 'path',
  758. 'type' => 'string',
  759. 'required' => true,
  760. ],
  761. ],
  762. ],'get' => [
  763. 'path' => 'v1/{+name}',
  764. 'httpMethod' => 'GET',
  765. 'parameters' => [
  766. 'name' => [
  767. 'location' => 'path',
  768. 'type' => 'string',
  769. 'required' => true,
  770. ],
  771. ],
  772. ],'list' => [
  773. 'path' => 'v1/{+parent}/executions',
  774. 'httpMethod' => 'GET',
  775. 'parameters' => [
  776. 'parent' => [
  777. 'location' => 'path',
  778. 'type' => 'string',
  779. 'required' => true,
  780. ],
  781. 'filter' => [
  782. 'location' => 'query',
  783. 'type' => 'string',
  784. ],
  785. 'filterParams.customFilter' => [
  786. 'location' => 'query',
  787. 'type' => 'string',
  788. ],
  789. 'filterParams.endTime' => [
  790. 'location' => 'query',
  791. 'type' => 'string',
  792. ],
  793. 'filterParams.eventStatuses' => [
  794. 'location' => 'query',
  795. 'type' => 'string',
  796. 'repeated' => true,
  797. ],
  798. 'filterParams.executionId' => [
  799. 'location' => 'query',
  800. 'type' => 'string',
  801. ],
  802. 'filterParams.parameterKey' => [
  803. 'location' => 'query',
  804. 'type' => 'string',
  805. ],
  806. 'filterParams.parameterPairKey' => [
  807. 'location' => 'query',
  808. 'type' => 'string',
  809. ],
  810. 'filterParams.parameterPairValue' => [
  811. 'location' => 'query',
  812. 'type' => 'string',
  813. ],
  814. 'filterParams.parameterType' => [
  815. 'location' => 'query',
  816. 'type' => 'string',
  817. ],
  818. 'filterParams.parameterValue' => [
  819. 'location' => 'query',
  820. 'type' => 'string',
  821. ],
  822. 'filterParams.startTime' => [
  823. 'location' => 'query',
  824. 'type' => 'string',
  825. ],
  826. 'filterParams.taskStatuses' => [
  827. 'location' => 'query',
  828. 'type' => 'string',
  829. 'repeated' => true,
  830. ],
  831. 'filterParams.workflowName' => [
  832. 'location' => 'query',
  833. 'type' => 'string',
  834. ],
  835. 'orderBy' => [
  836. 'location' => 'query',
  837. 'type' => 'string',
  838. ],
  839. 'pageSize' => [
  840. 'location' => 'query',
  841. 'type' => 'integer',
  842. ],
  843. 'pageToken' => [
  844. 'location' => 'query',
  845. 'type' => 'string',
  846. ],
  847. 'readMask' => [
  848. 'location' => 'query',
  849. 'type' => 'string',
  850. ],
  851. 'refreshAcl' => [
  852. 'location' => 'query',
  853. 'type' => 'boolean',
  854. ],
  855. 'snapshotMetadataWithoutParams' => [
  856. 'location' => 'query',
  857. 'type' => 'boolean',
  858. ],
  859. 'truncateParams' => [
  860. 'location' => 'query',
  861. 'type' => 'boolean',
  862. ],
  863. ],
  864. ],'replay' => [
  865. 'path' => 'v1/{+name}:replay',
  866. 'httpMethod' => 'POST',
  867. 'parameters' => [
  868. 'name' => [
  869. 'location' => 'path',
  870. 'type' => 'string',
  871. 'required' => true,
  872. ],
  873. ],
  874. ],
  875. ]
  876. ]
  877. );
  878. $this->projects_locations_integrations_executions_suspensions = new Integrations\Resource\ProjectsLocationsIntegrationsExecutionsSuspensions(
  879. $this,
  880. $this->serviceName,
  881. 'suspensions',
  882. [
  883. 'methods' => [
  884. 'lift' => [
  885. 'path' => 'v1/{+name}:lift',
  886. 'httpMethod' => 'POST',
  887. 'parameters' => [
  888. 'name' => [
  889. 'location' => 'path',
  890. 'type' => 'string',
  891. 'required' => true,
  892. ],
  893. ],
  894. ],'list' => [
  895. 'path' => 'v1/{+parent}/suspensions',
  896. 'httpMethod' => 'GET',
  897. 'parameters' => [
  898. 'parent' => [
  899. 'location' => 'path',
  900. 'type' => 'string',
  901. 'required' => true,
  902. ],
  903. 'filter' => [
  904. 'location' => 'query',
  905. 'type' => 'string',
  906. ],
  907. 'orderBy' => [
  908. 'location' => 'query',
  909. 'type' => 'string',
  910. ],
  911. 'pageSize' => [
  912. 'location' => 'query',
  913. 'type' => 'integer',
  914. ],
  915. 'pageToken' => [
  916. 'location' => 'query',
  917. 'type' => 'string',
  918. ],
  919. ],
  920. ],'resolve' => [
  921. 'path' => 'v1/{+name}:resolve',
  922. 'httpMethod' => 'POST',
  923. 'parameters' => [
  924. 'name' => [
  925. 'location' => 'path',
  926. 'type' => 'string',
  927. 'required' => true,
  928. ],
  929. ],
  930. ],
  931. ]
  932. ]
  933. );
  934. $this->projects_locations_integrations_versions = new Integrations\Resource\ProjectsLocationsIntegrationsVersions(
  935. $this,
  936. $this->serviceName,
  937. 'versions',
  938. [
  939. 'methods' => [
  940. 'create' => [
  941. 'path' => 'v1/{+parent}/versions',
  942. 'httpMethod' => 'POST',
  943. 'parameters' => [
  944. 'parent' => [
  945. 'location' => 'path',
  946. 'type' => 'string',
  947. 'required' => true,
  948. ],
  949. 'createSampleIntegrations' => [
  950. 'location' => 'query',
  951. 'type' => 'boolean',
  952. ],
  953. 'newIntegration' => [
  954. 'location' => 'query',
  955. 'type' => 'boolean',
  956. ],
  957. ],
  958. ],'delete' => [
  959. 'path' => 'v1/{+name}',
  960. 'httpMethod' => 'DELETE',
  961. 'parameters' => [
  962. 'name' => [
  963. 'location' => 'path',
  964. 'type' => 'string',
  965. 'required' => true,
  966. ],
  967. ],
  968. ],'download' => [
  969. 'path' => 'v1/{+name}:download',
  970. 'httpMethod' => 'GET',
  971. 'parameters' => [
  972. 'name' => [
  973. 'location' => 'path',
  974. 'type' => 'string',
  975. 'required' => true,
  976. ],
  977. 'fileFormat' => [
  978. 'location' => 'query',
  979. 'type' => 'string',
  980. ],
  981. 'files' => [
  982. 'location' => 'query',
  983. 'type' => 'string',
  984. 'repeated' => true,
  985. ],
  986. ],
  987. ],'downloadJsonPackage' => [
  988. 'path' => 'v1/{+name}:downloadJsonPackage',
  989. 'httpMethod' => 'GET',
  990. 'parameters' => [
  991. 'name' => [
  992. 'location' => 'path',
  993. 'type' => 'string',
  994. 'required' => true,
  995. ],
  996. 'files' => [
  997. 'location' => 'query',
  998. 'type' => 'string',
  999. 'repeated' => true,
  1000. ],
  1001. ],
  1002. ],'get' => [
  1003. 'path' => 'v1/{+name}',
  1004. 'httpMethod' => 'GET',
  1005. 'parameters' => [
  1006. 'name' => [
  1007. 'location' => 'path',
  1008. 'type' => 'string',
  1009. 'required' => true,
  1010. ],
  1011. ],
  1012. ],'list' => [
  1013. 'path' => 'v1/{+parent}/versions',
  1014. 'httpMethod' => 'GET',
  1015. 'parameters' => [
  1016. 'parent' => [
  1017. 'location' => 'path',
  1018. 'type' => 'string',
  1019. 'required' => true,
  1020. ],
  1021. 'fieldMask' => [
  1022. 'location' => 'query',
  1023. 'type' => 'string',
  1024. ],
  1025. 'filter' => [
  1026. 'location' => 'query',
  1027. 'type' => 'string',
  1028. ],
  1029. 'orderBy' => [
  1030. 'location' => 'query',
  1031. 'type' => 'string',
  1032. ],
  1033. 'pageSize' => [
  1034. 'location' => 'query',
  1035. 'type' => 'integer',
  1036. ],
  1037. 'pageToken' => [
  1038. 'location' => 'query',
  1039. 'type' => 'string',
  1040. ],
  1041. ],
  1042. ],'patch' => [
  1043. 'path' => 'v1/{+name}',
  1044. 'httpMethod' => 'PATCH',
  1045. 'parameters' => [
  1046. 'name' => [
  1047. 'location' => 'path',
  1048. 'type' => 'string',
  1049. 'required' => true,
  1050. ],
  1051. 'updateMask' => [
  1052. 'location' => 'query',
  1053. 'type' => 'string',
  1054. ],
  1055. ],
  1056. ],'publish' => [
  1057. 'path' => 'v1/{+name}:publish',
  1058. 'httpMethod' => 'POST',
  1059. 'parameters' => [
  1060. 'name' => [
  1061. 'location' => 'path',
  1062. 'type' => 'string',
  1063. 'required' => true,
  1064. ],
  1065. ],
  1066. ],'test' => [
  1067. 'path' => 'v1/{+name}:test',
  1068. 'httpMethod' => 'POST',
  1069. 'parameters' => [
  1070. 'name' => [
  1071. 'location' => 'path',
  1072. 'type' => 'string',
  1073. 'required' => true,
  1074. ],
  1075. ],
  1076. ],'unpublish' => [
  1077. 'path' => 'v1/{+name}:unpublish',
  1078. 'httpMethod' => 'POST',
  1079. 'parameters' => [
  1080. 'name' => [
  1081. 'location' => 'path',
  1082. 'type' => 'string',
  1083. 'required' => true,
  1084. ],
  1085. ],
  1086. ],'upload' => [
  1087. 'path' => 'v1/{+parent}/versions:upload',
  1088. 'httpMethod' => 'POST',
  1089. 'parameters' => [
  1090. 'parent' => [
  1091. 'location' => 'path',
  1092. 'type' => 'string',
  1093. 'required' => true,
  1094. ],
  1095. ],
  1096. ],
  1097. ]
  1098. ]
  1099. );
  1100. $this->projects_locations_integrations_versions_testCases = new Integrations\Resource\ProjectsLocationsIntegrationsVersionsTestCases(
  1101. $this,
  1102. $this->serviceName,
  1103. 'testCases',
  1104. [
  1105. 'methods' => [
  1106. 'create' => [
  1107. 'path' => 'v1/{+parent}/testCases',
  1108. 'httpMethod' => 'POST',
  1109. 'parameters' => [
  1110. 'parent' => [
  1111. 'location' => 'path',
  1112. 'type' => 'string',
  1113. 'required' => true,
  1114. ],
  1115. 'testCaseId' => [
  1116. 'location' => 'query',
  1117. 'type' => 'string',
  1118. ],
  1119. ],
  1120. ],'delete' => [
  1121. 'path' => 'v1/{+name}',
  1122. 'httpMethod' => 'DELETE',
  1123. 'parameters' => [
  1124. 'name' => [
  1125. 'location' => 'path',
  1126. 'type' => 'string',
  1127. 'required' => true,
  1128. ],
  1129. ],
  1130. ],'download' => [
  1131. 'path' => 'v1/{+name}:download',
  1132. 'httpMethod' => 'GET',
  1133. 'parameters' => [
  1134. 'name' => [
  1135. 'location' => 'path',
  1136. 'type' => 'string',
  1137. 'required' => true,
  1138. ],
  1139. 'fileFormat' => [
  1140. 'location' => 'query',
  1141. 'type' => 'string',
  1142. ],
  1143. ],
  1144. ],'execute' => [
  1145. 'path' => 'v1/{+parent}/testCases:execute',
  1146. 'httpMethod' => 'POST',
  1147. 'parameters' => [
  1148. 'parent' => [
  1149. 'location' => 'path',
  1150. 'type' => 'string',
  1151. 'required' => true,
  1152. ],
  1153. ],
  1154. ],'executeTest' => [
  1155. 'path' => 'v1/{+testCaseName}:executeTest',
  1156. 'httpMethod' => 'POST',
  1157. 'parameters' => [
  1158. 'testCaseName' => [
  1159. 'location' => 'path',
  1160. 'type' => 'string',
  1161. 'required' => true,
  1162. ],
  1163. ],
  1164. ],'get' => [
  1165. 'path' => 'v1/{+name}',
  1166. 'httpMethod' => 'GET',
  1167. 'parameters' => [
  1168. 'name' => [
  1169. 'location' => 'path',
  1170. 'type' => 'string',
  1171. 'required' => true,
  1172. ],
  1173. ],
  1174. ],'list' => [
  1175. 'path' => 'v1/{+parent}/testCases',
  1176. 'httpMethod' => 'GET',
  1177. 'parameters' => [
  1178. 'parent' => [
  1179. 'location' => 'path',
  1180. 'type' => 'string',
  1181. 'required' => true,
  1182. ],
  1183. 'filter' => [
  1184. 'location' => 'query',
  1185. 'type' => 'string',
  1186. ],
  1187. 'orderBy' => [
  1188. 'location' => 'query',
  1189. 'type' => 'string',
  1190. ],
  1191. 'pageSize' => [
  1192. 'location' => 'query',
  1193. 'type' => 'integer',
  1194. ],
  1195. 'pageToken' => [
  1196. 'location' => 'query',
  1197. 'type' => 'string',
  1198. ],
  1199. 'readMask' => [
  1200. 'location' => 'query',
  1201. 'type' => 'string',
  1202. ],
  1203. ],
  1204. ],'patch' => [
  1205. 'path' => 'v1/{+name}',
  1206. 'httpMethod' => 'PATCH',
  1207. 'parameters' => [
  1208. 'name' => [
  1209. 'location' => 'path',
  1210. 'type' => 'string',
  1211. 'required' => true,
  1212. ],
  1213. 'updateMask' => [
  1214. 'location' => 'query',
  1215. 'type' => 'string',
  1216. ],
  1217. ],
  1218. ],'takeoverEditLock' => [
  1219. 'path' => 'v1/{+name}:takeoverEditLock',
  1220. 'httpMethod' => 'POST',
  1221. 'parameters' => [
  1222. 'name' => [
  1223. 'location' => 'path',
  1224. 'type' => 'string',
  1225. 'required' => true,
  1226. ],
  1227. ],
  1228. ],'upload' => [
  1229. 'path' => 'v1/{+parent}/testCases:upload',
  1230. 'httpMethod' => 'POST',
  1231. 'parameters' => [
  1232. 'parent' => [
  1233. 'location' => 'path',
  1234. 'type' => 'string',
  1235. 'required' => true,
  1236. ],
  1237. ],
  1238. ],
  1239. ]
  1240. ]
  1241. );
  1242. $this->projects_locations_products_authConfigs = new Integrations\Resource\ProjectsLocationsProductsAuthConfigs(
  1243. $this,
  1244. $this->serviceName,
  1245. 'authConfigs',
  1246. [
  1247. 'methods' => [
  1248. 'create' => [
  1249. 'path' => 'v1/{+parent}/authConfigs',
  1250. 'httpMethod' => 'POST',
  1251. 'parameters' => [
  1252. 'parent' => [
  1253. 'location' => 'path',
  1254. 'type' => 'string',
  1255. 'required' => true,
  1256. ],
  1257. 'clientCertificate.encryptedPrivateKey' => [
  1258. 'location' => 'query',
  1259. 'type' => 'string',
  1260. ],
  1261. 'clientCertificate.passphrase' => [
  1262. 'location' => 'query',
  1263. 'type' => 'string',
  1264. ],
  1265. 'clientCertificate.sslCertificate' => [
  1266. 'location' => 'query',
  1267. 'type' => 'string',
  1268. ],
  1269. ],
  1270. ],'delete' => [
  1271. 'path' => 'v1/{+name}',
  1272. 'httpMethod' => 'DELETE',
  1273. 'parameters' => [
  1274. 'name' => [
  1275. 'location' => 'path',
  1276. 'type' => 'string',
  1277. 'required' => true,
  1278. ],
  1279. ],
  1280. ],'get' => [
  1281. 'path' => 'v1/{+name}',
  1282. 'httpMethod' => 'GET',
  1283. 'parameters' => [
  1284. 'name' => [
  1285. 'location' => 'path',
  1286. 'type' => 'string',
  1287. 'required' => true,
  1288. ],
  1289. ],
  1290. ],'list' => [
  1291. 'path' => 'v1/{+parent}/authConfigs',
  1292. 'httpMethod' => 'GET',
  1293. 'parameters' => [
  1294. 'parent' => [
  1295. 'location' => 'path',
  1296. 'type' => 'string',
  1297. 'required' => true,
  1298. ],
  1299. 'filter' => [
  1300. 'location' => 'query',
  1301. 'type' => 'string',
  1302. ],
  1303. 'pageSize' => [
  1304. 'location' => 'query',
  1305. 'type' => 'integer',
  1306. ],
  1307. 'pageToken' => [
  1308. 'location' => 'query',
  1309. 'type' => 'string',
  1310. ],
  1311. 'readMask' => [
  1312. 'location' => 'query',
  1313. 'type' => 'string',
  1314. ],
  1315. ],
  1316. ],'patch' => [
  1317. 'path' => 'v1/{+name}',
  1318. 'httpMethod' => 'PATCH',
  1319. 'parameters' => [
  1320. 'name' => [
  1321. 'location' => 'path',
  1322. 'type' => 'string',
  1323. 'required' => true,
  1324. ],
  1325. 'clientCertificate.encryptedPrivateKey' => [
  1326. 'location' => 'query',
  1327. 'type' => 'string',
  1328. ],
  1329. 'clientCertificate.passphrase' => [
  1330. 'location' => 'query',
  1331. 'type' => 'string',
  1332. ],
  1333. 'clientCertificate.sslCertificate' => [
  1334. 'location' => 'query',
  1335. 'type' => 'string',
  1336. ],
  1337. 'updateMask' => [
  1338. 'location' => 'query',
  1339. 'type' => 'string',
  1340. ],
  1341. ],
  1342. ],
  1343. ]
  1344. ]
  1345. );
  1346. $this->projects_locations_products_certificates = new Integrations\Resource\ProjectsLocationsProductsCertificates(
  1347. $this,
  1348. $this->serviceName,
  1349. 'certificates',
  1350. [
  1351. 'methods' => [
  1352. 'create' => [
  1353. 'path' => 'v1/{+parent}/certificates',
  1354. 'httpMethod' => 'POST',
  1355. 'parameters' => [
  1356. 'parent' => [
  1357. 'location' => 'path',
  1358. 'type' => 'string',
  1359. 'required' => true,
  1360. ],
  1361. ],
  1362. ],'delete' => [
  1363. 'path' => 'v1/{+name}',
  1364. 'httpMethod' => 'DELETE',
  1365. 'parameters' => [
  1366. 'name' => [
  1367. 'location' => 'path',
  1368. 'type' => 'string',
  1369. 'required' => true,
  1370. ],
  1371. ],
  1372. ],'get' => [
  1373. 'path' => 'v1/{+name}',
  1374. 'httpMethod' => 'GET',
  1375. 'parameters' => [
  1376. 'name' => [
  1377. 'location' => 'path',
  1378. 'type' => 'string',
  1379. 'required' => true,
  1380. ],
  1381. ],
  1382. ],'list' => [
  1383. 'path' => 'v1/{+parent}/certificates',
  1384. 'httpMethod' => 'GET',
  1385. 'parameters' => [
  1386. 'parent' => [
  1387. 'location' => 'path',
  1388. 'type' => 'string',
  1389. 'required' => true,
  1390. ],
  1391. 'filter' => [
  1392. 'location' => 'query',
  1393. 'type' => 'string',
  1394. ],
  1395. 'pageSize' => [
  1396. 'location' => 'query',
  1397. 'type' => 'integer',
  1398. ],
  1399. 'pageToken' => [
  1400. 'location' => 'query',
  1401. 'type' => 'string',
  1402. ],
  1403. 'readMask' => [
  1404. 'location' => 'query',
  1405. 'type' => 'string',
  1406. ],
  1407. ],
  1408. ],'patch' => [
  1409. 'path' => 'v1/{+name}',
  1410. 'httpMethod' => 'PATCH',
  1411. 'parameters' => [
  1412. 'name' => [
  1413. 'location' => 'path',
  1414. 'type' => 'string',
  1415. 'required' => true,
  1416. ],
  1417. 'updateMask' => [
  1418. 'location' => 'query',
  1419. 'type' => 'string',
  1420. ],
  1421. ],
  1422. ],
  1423. ]
  1424. ]
  1425. );
  1426. $this->projects_locations_products_cloudFunctions = new Integrations\Resource\ProjectsLocationsProductsCloudFunctions(
  1427. $this,
  1428. $this->serviceName,
  1429. 'cloudFunctions',
  1430. [
  1431. 'methods' => [
  1432. 'create' => [
  1433. 'path' => 'v1/{+parent}/cloudFunctions',
  1434. 'httpMethod' => 'POST',
  1435. 'parameters' => [
  1436. 'parent' => [
  1437. 'location' => 'path',
  1438. 'type' => 'string',
  1439. 'required' => true,
  1440. ],
  1441. ],
  1442. ],
  1443. ]
  1444. ]
  1445. );
  1446. $this->projects_locations_products_integrations = new Integrations\Resource\ProjectsLocationsProductsIntegrations(
  1447. $this,
  1448. $this->serviceName,
  1449. 'integrations',
  1450. [
  1451. 'methods' => [
  1452. 'execute' => [
  1453. 'path' => 'v1/{+name}:execute',
  1454. 'httpMethod' => 'POST',
  1455. 'parameters' => [
  1456. 'name' => [
  1457. 'location' => 'path',
  1458. 'type' => 'string',
  1459. 'required' => true,
  1460. ],
  1461. ],
  1462. ],'list' => [
  1463. 'path' => 'v1/{+parent}/integrations',
  1464. 'httpMethod' => 'GET',
  1465. 'parameters' => [
  1466. 'parent' => [
  1467. 'location' => 'path',
  1468. 'type' => 'string',
  1469. 'required' => true,
  1470. ],
  1471. 'filter' => [
  1472. 'location' => 'query',
  1473. 'type' => 'string',
  1474. ],
  1475. 'orderBy' => [
  1476. 'location' => 'query',
  1477. 'type' => 'string',
  1478. ],
  1479. 'pageSize' => [
  1480. 'location' => 'query',
  1481. 'type' => 'integer',
  1482. ],
  1483. 'pageToken' => [
  1484. 'location' => 'query',
  1485. 'type' => 'string',
  1486. ],
  1487. ],
  1488. ],'schedule' => [
  1489. 'path' => 'v1/{+name}:schedule',
  1490. 'httpMethod' => 'POST',
  1491. 'parameters' => [
  1492. 'name' => [
  1493. 'location' => 'path',
  1494. 'type' => 'string',
  1495. 'required' => true,
  1496. ],
  1497. ],
  1498. ],'test' => [
  1499. 'path' => 'v1/{+name}:test',
  1500. 'httpMethod' => 'POST',
  1501. 'parameters' => [
  1502. 'name' => [
  1503. 'location' => 'path',
  1504. 'type' => 'string',
  1505. 'required' => true,
  1506. ],
  1507. ],
  1508. ],
  1509. ]
  1510. ]
  1511. );
  1512. $this->projects_locations_products_integrations_executions = new Integrations\Resource\ProjectsLocationsProductsIntegrationsExecutions(
  1513. $this,
  1514. $this->serviceName,
  1515. 'executions',
  1516. [
  1517. 'methods' => [
  1518. 'download' => [
  1519. 'path' => 'v1/{+name}:download',
  1520. 'httpMethod' => 'GET',
  1521. 'parameters' => [
  1522. 'name' => [
  1523. 'location' => 'path',
  1524. 'type' => 'string',
  1525. 'required' => true,
  1526. ],
  1527. ],
  1528. ],'get' => [
  1529. 'path' => 'v1/{+name}',
  1530. 'httpMethod' => 'GET',
  1531. 'parameters' => [
  1532. 'name' => [
  1533. 'location' => 'path',
  1534. 'type' => 'string',
  1535. 'required' => true,
  1536. ],
  1537. ],
  1538. ],'list' => [
  1539. 'path' => 'v1/{+parent}/executions',
  1540. 'httpMethod' => 'GET',
  1541. 'parameters' => [
  1542. 'parent' => [
  1543. 'location' => 'path',
  1544. 'type' => 'string',
  1545. 'required' => true,
  1546. ],
  1547. 'filter' => [
  1548. 'location' => 'query',
  1549. 'type' => 'string',
  1550. ],
  1551. 'filterParams.customFilter' => [
  1552. 'location' => 'query',
  1553. 'type' => 'string',
  1554. ],
  1555. 'filterParams.endTime' => [
  1556. 'location' => 'query',
  1557. 'type' => 'string',
  1558. ],
  1559. 'filterParams.eventStatuses' => [
  1560. 'location' => 'query',
  1561. 'type' => 'string',
  1562. 'repeated' => true,
  1563. ],
  1564. 'filterParams.executionId' => [
  1565. 'location' => 'query',
  1566. 'type' => 'string',
  1567. ],
  1568. 'filterParams.parameterKey' => [
  1569. 'location' => 'query',
  1570. 'type' => 'string',
  1571. ],
  1572. 'filterParams.parameterPairKey' => [
  1573. 'location' => 'query',
  1574. 'type' => 'string',
  1575. ],
  1576. 'filterParams.parameterPairValue' => [
  1577. 'location' => 'query',
  1578. 'type' => 'string',
  1579. ],
  1580. 'filterParams.parameterType' => [
  1581. 'location' => 'query',
  1582. 'type' => 'string',
  1583. ],
  1584. 'filterParams.parameterValue' => [
  1585. 'location' => 'query',
  1586. 'type' => 'string',
  1587. ],
  1588. 'filterParams.startTime' => [
  1589. 'location' => 'query',
  1590. 'type' => 'string',
  1591. ],
  1592. 'filterParams.taskStatuses' => [
  1593. 'location' => 'query',
  1594. 'type' => 'string',
  1595. 'repeated' => true,
  1596. ],
  1597. 'filterParams.workflowName' => [
  1598. 'location' => 'query',
  1599. 'type' => 'string',
  1600. ],
  1601. 'orderBy' => [
  1602. 'location' => 'query',
  1603. 'type' => 'string',
  1604. ],
  1605. 'pageSize' => [
  1606. 'location' => 'query',
  1607. 'type' => 'integer',
  1608. ],
  1609. 'pageToken' => [
  1610. 'location' => 'query',
  1611. 'type' => 'string',
  1612. ],
  1613. 'readMask' => [
  1614. 'location' => 'query',
  1615. 'type' => 'string',
  1616. ],
  1617. 'refreshAcl' => [
  1618. 'location' => 'query',
  1619. 'type' => 'boolean',
  1620. ],
  1621. 'snapshotMetadataWithoutParams' => [
  1622. 'location' => 'query',
  1623. 'type' => 'boolean',
  1624. ],
  1625. 'truncateParams' => [
  1626. 'location' => 'query',
  1627. 'type' => 'boolean',
  1628. ],
  1629. ],
  1630. ],
  1631. ]
  1632. ]
  1633. );
  1634. $this->projects_locations_products_integrations_executions_suspensions = new Integrations\Resource\ProjectsLocationsProductsIntegrationsExecutionsSuspensions(
  1635. $this,
  1636. $this->serviceName,
  1637. 'suspensions',
  1638. [
  1639. 'methods' => [
  1640. 'lift' => [
  1641. 'path' => 'v1/{+name}:lift',
  1642. 'httpMethod' => 'POST',
  1643. 'parameters' => [
  1644. 'name' => [
  1645. 'location' => 'path',
  1646. 'type' => 'string',
  1647. 'required' => true,
  1648. ],
  1649. ],
  1650. ],'list' => [
  1651. 'path' => 'v1/{+parent}/suspensions',
  1652. 'httpMethod' => 'GET',
  1653. 'parameters' => [
  1654. 'parent' => [
  1655. 'location' => 'path',
  1656. 'type' => 'string',
  1657. 'required' => true,
  1658. ],
  1659. 'filter' => [
  1660. 'location' => 'query',
  1661. 'type' => 'string',
  1662. ],
  1663. 'orderBy' => [
  1664. 'location' => 'query',
  1665. 'type' => 'string',
  1666. ],
  1667. 'pageSize' => [
  1668. 'location' => 'query',
  1669. 'type' => 'integer',
  1670. ],
  1671. 'pageToken' => [
  1672. 'location' => 'query',
  1673. 'type' => 'string',
  1674. ],
  1675. ],
  1676. ],'resolve' => [
  1677. 'path' => 'v1/{+name}:resolve',
  1678. 'httpMethod' => 'POST',
  1679. 'parameters' => [
  1680. 'name' => [
  1681. 'location' => 'path',
  1682. 'type' => 'string',
  1683. 'required' => true,
  1684. ],
  1685. ],
  1686. ],
  1687. ]
  1688. ]
  1689. );
  1690. $this->projects_locations_products_integrations_versions = new Integrations\Resource\ProjectsLocationsProductsIntegrationsVersions(
  1691. $this,
  1692. $this->serviceName,
  1693. 'versions',
  1694. [
  1695. 'methods' => [
  1696. 'create' => [
  1697. 'path' => 'v1/{+parent}/versions',
  1698. 'httpMethod' => 'POST',
  1699. 'parameters' => [
  1700. 'parent' => [
  1701. 'location' => 'path',
  1702. 'type' => 'string',
  1703. 'required' => true,
  1704. ],
  1705. 'createSampleIntegrations' => [
  1706. 'location' => 'query',
  1707. 'type' => 'boolean',
  1708. ],
  1709. 'newIntegration' => [
  1710. 'location' => 'query',
  1711. 'type' => 'boolean',
  1712. ],
  1713. ],
  1714. ],'delete' => [
  1715. 'path' => 'v1/{+name}',
  1716. 'httpMethod' => 'DELETE',
  1717. 'parameters' => [
  1718. 'name' => [
  1719. 'location' => 'path',
  1720. 'type' => 'string',
  1721. 'required' => true,
  1722. ],
  1723. ],
  1724. ],'download' => [
  1725. 'path' => 'v1/{+name}:download',
  1726. 'httpMethod' => 'GET',
  1727. 'parameters' => [
  1728. 'name' => [
  1729. 'location' => 'path',
  1730. 'type' => 'string',
  1731. 'required' => true,
  1732. ],
  1733. 'fileFormat' => [
  1734. 'location' => 'query',
  1735. 'type' => 'string',
  1736. ],
  1737. 'files' => [
  1738. 'location' => 'query',
  1739. 'type' => 'string',
  1740. 'repeated' => true,
  1741. ],
  1742. ],
  1743. ],'get' => [
  1744. 'path' => 'v1/{+name}',
  1745. 'httpMethod' => 'GET',
  1746. 'parameters' => [
  1747. 'name' => [
  1748. 'location' => 'path',
  1749. 'type' => 'string',
  1750. 'required' => true,
  1751. ],
  1752. ],
  1753. ],'list' => [
  1754. 'path' => 'v1/{+parent}/versions',
  1755. 'httpMethod' => 'GET',
  1756. 'parameters' => [
  1757. 'parent' => [
  1758. 'location' => 'path',
  1759. 'type' => 'string',
  1760. 'required' => true,
  1761. ],
  1762. 'fieldMask' => [
  1763. 'location' => 'query',
  1764. 'type' => 'string',
  1765. ],
  1766. 'filter' => [
  1767. 'location' => 'query',
  1768. 'type' => 'string',
  1769. ],
  1770. 'orderBy' => [
  1771. 'location' => 'query',
  1772. 'type' => 'string',
  1773. ],
  1774. 'pageSize' => [
  1775. 'location' => 'query',
  1776. 'type' => 'integer',
  1777. ],
  1778. 'pageToken' => [
  1779. 'location' => 'query',
  1780. 'type' => 'string',
  1781. ],
  1782. ],
  1783. ],'patch' => [
  1784. 'path' => 'v1/{+name}',
  1785. 'httpMethod' => 'PATCH',
  1786. 'parameters' => [
  1787. 'name' => [
  1788. 'location' => 'path',
  1789. 'type' => 'string',
  1790. 'required' => true,
  1791. ],
  1792. 'updateMask' => [
  1793. 'location' => 'query',
  1794. 'type' => 'string',
  1795. ],
  1796. ],
  1797. ],'publish' => [
  1798. 'path' => 'v1/{+name}:publish',
  1799. 'httpMethod' => 'POST',
  1800. 'parameters' => [
  1801. 'name' => [
  1802. 'location' => 'path',
  1803. 'type' => 'string',
  1804. 'required' => true,
  1805. ],
  1806. ],
  1807. ],'takeoverEditLock' => [
  1808. 'path' => 'v1/{+integrationVersion}:takeoverEditLock',
  1809. 'httpMethod' => 'POST',
  1810. 'parameters' => [
  1811. 'integrationVersion' => [
  1812. 'location' => 'path',
  1813. 'type' => 'string',
  1814. 'required' => true,
  1815. ],
  1816. ],
  1817. ],'unpublish' => [
  1818. 'path' => 'v1/{+name}:unpublish',
  1819. 'httpMethod' => 'POST',
  1820. 'parameters' => [
  1821. 'name' => [
  1822. 'location' => 'path',
  1823. 'type' => 'string',
  1824. 'required' => true,
  1825. ],
  1826. ],
  1827. ],'upload' => [
  1828. 'path' => 'v1/{+parent}/versions:upload',
  1829. 'httpMethod' => 'POST',
  1830. 'parameters' => [
  1831. 'parent' => [
  1832. 'location' => 'path',
  1833. 'type' => 'string',
  1834. 'required' => true,
  1835. ],
  1836. ],
  1837. ],
  1838. ]
  1839. ]
  1840. );
  1841. $this->projects_locations_products_sfdcInstances = new Integrations\Resource\ProjectsLocationsProductsSfdcInstances(
  1842. $this,
  1843. $this->serviceName,
  1844. 'sfdcInstances',
  1845. [
  1846. 'methods' => [
  1847. 'create' => [
  1848. 'path' => 'v1/{+parent}/sfdcInstances',
  1849. 'httpMethod' => 'POST',
  1850. 'parameters' => [
  1851. 'parent' => [
  1852. 'location' => 'path',
  1853. 'type' => 'string',
  1854. 'required' => true,
  1855. ],
  1856. ],
  1857. ],'delete' => [
  1858. 'path' => 'v1/{+name}',
  1859. 'httpMethod' => 'DELETE',
  1860. 'parameters' => [
  1861. 'name' => [
  1862. 'location' => 'path',
  1863. 'type' => 'string',
  1864. 'required' => true,
  1865. ],
  1866. ],
  1867. ],'get' => [
  1868. 'path' => 'v1/{+name}',
  1869. 'httpMethod' => 'GET',
  1870. 'parameters' => [
  1871. 'name' => [
  1872. 'location' => 'path',
  1873. 'type' => 'string',
  1874. 'required' => true,
  1875. ],
  1876. ],
  1877. ],'list' => [
  1878. 'path' => 'v1/{+parent}/sfdcInstances',
  1879. 'httpMethod' => 'GET',
  1880. 'parameters' => [
  1881. 'parent' => [
  1882. 'location' => 'path',
  1883. 'type' => 'string',
  1884. 'required' => true,
  1885. ],
  1886. 'filter' => [
  1887. 'location' => 'query',
  1888. 'type' => 'string',
  1889. ],
  1890. 'pageSize' => [
  1891. 'location' => 'query',
  1892. 'type' => 'integer',
  1893. ],
  1894. 'pageToken' => [
  1895. 'location' => 'query',
  1896. 'type' => 'string',
  1897. ],
  1898. 'readMask' => [
  1899. 'location' => 'query',
  1900. 'type' => 'string',
  1901. ],
  1902. ],
  1903. ],'patch' => [
  1904. 'path' => 'v1/{+name}',
  1905. 'httpMethod' => 'PATCH',
  1906. 'parameters' => [
  1907. 'name' => [
  1908. 'location' => 'path',
  1909. 'type' => 'string',
  1910. 'required' => true,
  1911. ],
  1912. 'updateMask' => [
  1913. 'location' => 'query',
  1914. 'type' => 'string',
  1915. ],
  1916. ],
  1917. ],
  1918. ]
  1919. ]
  1920. );
  1921. $this->projects_locations_products_sfdcInstances_sfdcChannels = new Integrations\Resource\ProjectsLocationsProductsSfdcInstancesSfdcChannels(
  1922. $this,
  1923. $this->serviceName,
  1924. 'sfdcChannels',
  1925. [
  1926. 'methods' => [
  1927. 'create' => [
  1928. 'path' => 'v1/{+parent}/sfdcChannels',
  1929. 'httpMethod' => 'POST',
  1930. 'parameters' => [
  1931. 'parent' => [
  1932. 'location' => 'path',
  1933. 'type' => 'string',
  1934. 'required' => true,
  1935. ],
  1936. ],
  1937. ],'delete' => [
  1938. 'path' => 'v1/{+name}',
  1939. 'httpMethod' => 'DELETE',
  1940. 'parameters' => [
  1941. 'name' => [
  1942. 'location' => 'path',
  1943. 'type' => 'string',
  1944. 'required' => true,
  1945. ],
  1946. ],
  1947. ],'get' => [
  1948. 'path' => 'v1/{+name}',
  1949. 'httpMethod' => 'GET',
  1950. 'parameters' => [
  1951. 'name' => [
  1952. 'location' => 'path',
  1953. 'type' => 'string',
  1954. 'required' => true,
  1955. ],
  1956. ],
  1957. ],'list' => [
  1958. 'path' => 'v1/{+parent}/sfdcChannels',
  1959. 'httpMethod' => 'GET',
  1960. 'parameters' => [
  1961. 'parent' => [
  1962. 'location' => 'path',
  1963. 'type' => 'string',
  1964. 'required' => true,
  1965. ],
  1966. 'filter' => [
  1967. 'location' => 'query',
  1968. 'type' => 'string',
  1969. ],
  1970. 'pageSize' => [
  1971. 'location' => 'query',
  1972. 'type' => 'integer',
  1973. ],
  1974. 'pageToken' => [
  1975. 'location' => 'query',
  1976. 'type' => 'string',
  1977. ],
  1978. 'readMask' => [
  1979. 'location' => 'query',
  1980. 'type' => 'string',
  1981. ],
  1982. ],
  1983. ],'patch' => [
  1984. 'path' => 'v1/{+name}',
  1985. 'httpMethod' => 'PATCH',
  1986. 'parameters' => [
  1987. 'name' => [
  1988. 'location' => 'path',
  1989. 'type' => 'string',
  1990. 'required' => true,
  1991. ],
  1992. 'updateMask' => [
  1993. 'location' => 'query',
  1994. 'type' => 'string',
  1995. ],
  1996. ],
  1997. ],
  1998. ]
  1999. ]
  2000. );
  2001. $this->projects_locations_sfdcInstances = new Integrations\Resource\ProjectsLocationsSfdcInstances(
  2002. $this,
  2003. $this->serviceName,
  2004. 'sfdcInstances',
  2005. [
  2006. 'methods' => [
  2007. 'create' => [
  2008. 'path' => 'v1/{+parent}/sfdcInstances',
  2009. 'httpMethod' => 'POST',
  2010. 'parameters' => [
  2011. 'parent' => [
  2012. 'location' => 'path',
  2013. 'type' => 'string',
  2014. 'required' => true,
  2015. ],
  2016. ],
  2017. ],'delete' => [
  2018. 'path' => 'v1/{+name}',
  2019. 'httpMethod' => 'DELETE',
  2020. 'parameters' => [
  2021. 'name' => [
  2022. 'location' => 'path',
  2023. 'type' => 'string',
  2024. 'required' => true,
  2025. ],
  2026. ],
  2027. ],'get' => [
  2028. 'path' => 'v1/{+name}',
  2029. 'httpMethod' => 'GET',
  2030. 'parameters' => [
  2031. 'name' => [
  2032. 'location' => 'path',
  2033. 'type' => 'string',
  2034. 'required' => true,
  2035. ],
  2036. ],
  2037. ],'list' => [
  2038. 'path' => 'v1/{+parent}/sfdcInstances',
  2039. 'httpMethod' => 'GET',
  2040. 'parameters' => [
  2041. 'parent' => [
  2042. 'location' => 'path',
  2043. 'type' => 'string',
  2044. 'required' => true,
  2045. ],
  2046. 'filter' => [
  2047. 'location' => 'query',
  2048. 'type' => 'string',
  2049. ],
  2050. 'pageSize' => [
  2051. 'location' => 'query',
  2052. 'type' => 'integer',
  2053. ],
  2054. 'pageToken' => [
  2055. 'location' => 'query',
  2056. 'type' => 'string',
  2057. ],
  2058. 'readMask' => [
  2059. 'location' => 'query',
  2060. 'type' => 'string',
  2061. ],
  2062. ],
  2063. ],'patch' => [
  2064. 'path' => 'v1/{+name}',
  2065. 'httpMethod' => 'PATCH',
  2066. 'parameters' => [
  2067. 'name' => [
  2068. 'location' => 'path',
  2069. 'type' => 'string',
  2070. 'required' => true,
  2071. ],
  2072. 'updateMask' => [
  2073. 'location' => 'query',
  2074. 'type' => 'string',
  2075. ],
  2076. ],
  2077. ],
  2078. ]
  2079. ]
  2080. );
  2081. $this->projects_locations_sfdcInstances_sfdcChannels = new Integrations\Resource\ProjectsLocationsSfdcInstancesSfdcChannels(
  2082. $this,
  2083. $this->serviceName,
  2084. 'sfdcChannels',
  2085. [
  2086. 'methods' => [
  2087. 'create' => [
  2088. 'path' => 'v1/{+parent}/sfdcChannels',
  2089. 'httpMethod' => 'POST',
  2090. 'parameters' => [
  2091. 'parent' => [
  2092. 'location' => 'path',
  2093. 'type' => 'string',
  2094. 'required' => true,
  2095. ],
  2096. ],
  2097. ],'delete' => [
  2098. 'path' => 'v1/{+name}',
  2099. 'httpMethod' => 'DELETE',
  2100. 'parameters' => [
  2101. 'name' => [
  2102. 'location' => 'path',
  2103. 'type' => 'string',
  2104. 'required' => true,
  2105. ],
  2106. ],
  2107. ],'get' => [
  2108. 'path' => 'v1/{+name}',
  2109. 'httpMethod' => 'GET',
  2110. 'parameters' => [
  2111. 'name' => [
  2112. 'location' => 'path',
  2113. 'type' => 'string',
  2114. 'required' => true,
  2115. ],
  2116. ],
  2117. ],'list' => [
  2118. 'path' => 'v1/{+parent}/sfdcChannels',
  2119. 'httpMethod' => 'GET',
  2120. 'parameters' => [
  2121. 'parent' => [
  2122. 'location' => 'path',
  2123. 'type' => 'string',
  2124. 'required' => true,
  2125. ],
  2126. 'filter' => [
  2127. 'location' => 'query',
  2128. 'type' => 'string',
  2129. ],
  2130. 'pageSize' => [
  2131. 'location' => 'query',
  2132. 'type' => 'integer',
  2133. ],
  2134. 'pageToken' => [
  2135. 'location' => 'query',
  2136. 'type' => 'string',
  2137. ],
  2138. 'readMask' => [
  2139. 'location' => 'query',
  2140. 'type' => 'string',
  2141. ],
  2142. ],
  2143. ],'patch' => [
  2144. 'path' => 'v1/{+name}',
  2145. 'httpMethod' => 'PATCH',
  2146. 'parameters' => [
  2147. 'name' => [
  2148. 'location' => 'path',
  2149. 'type' => 'string',
  2150. 'required' => true,
  2151. ],
  2152. 'updateMask' => [
  2153. 'location' => 'query',
  2154. 'type' => 'string',
  2155. ],
  2156. ],
  2157. ],
  2158. ]
  2159. ]
  2160. );
  2161. $this->projects_locations_templates = new Integrations\Resource\ProjectsLocationsTemplates(
  2162. $this,
  2163. $this->serviceName,
  2164. 'templates',
  2165. [
  2166. 'methods' => [
  2167. 'create' => [
  2168. 'path' => 'v1/{+parent}/templates',
  2169. 'httpMethod' => 'POST',
  2170. 'parameters' => [
  2171. 'parent' => [
  2172. 'location' => 'path',
  2173. 'type' => 'string',
  2174. 'required' => true,
  2175. ],
  2176. ],
  2177. ],'delete' => [
  2178. 'path' => 'v1/{+name}',
  2179. 'httpMethod' => 'DELETE',
  2180. 'parameters' => [
  2181. 'name' => [
  2182. 'location' => 'path',
  2183. 'type' => 'string',
  2184. 'required' => true,
  2185. ],
  2186. ],
  2187. ],'download' => [
  2188. 'path' => 'v1/{+name}:download',
  2189. 'httpMethod' => 'GET',
  2190. 'parameters' => [
  2191. 'name' => [
  2192. 'location' => 'path',
  2193. 'type' => 'string',
  2194. 'required' => true,
  2195. ],
  2196. 'fileFormat' => [
  2197. 'location' => 'query',
  2198. 'type' => 'string',
  2199. ],
  2200. ],
  2201. ],'get' => [
  2202. 'path' => 'v1/{+name}',
  2203. 'httpMethod' => 'GET',
  2204. 'parameters' => [
  2205. 'name' => [
  2206. 'location' => 'path',
  2207. 'type' => 'string',
  2208. 'required' => true,
  2209. ],
  2210. ],
  2211. ],'import' => [
  2212. 'path' => 'v1/{+name}:import',
  2213. 'httpMethod' => 'POST',
  2214. 'parameters' => [
  2215. 'name' => [
  2216. 'location' => 'path',
  2217. 'type' => 'string',
  2218. 'required' => true,
  2219. ],
  2220. ],
  2221. ],'list' => [
  2222. 'path' => 'v1/{+parent}/templates',
  2223. 'httpMethod' => 'GET',
  2224. 'parameters' => [
  2225. 'parent' => [
  2226. 'location' => 'path',
  2227. 'type' => 'string',
  2228. 'required' => true,
  2229. ],
  2230. 'filter' => [
  2231. 'location' => 'query',
  2232. 'type' => 'string',
  2233. ],
  2234. 'orderBy' => [
  2235. 'location' => 'query',
  2236. 'type' => 'string',
  2237. ],
  2238. 'pageSize' => [
  2239. 'location' => 'query',
  2240. 'type' => 'integer',
  2241. ],
  2242. 'pageToken' => [
  2243. 'location' => 'query',
  2244. 'type' => 'string',
  2245. ],
  2246. 'readMask' => [
  2247. 'location' => 'query',
  2248. 'type' => 'string',
  2249. ],
  2250. ],
  2251. ],'patch' => [
  2252. 'path' => 'v1/{+name}',
  2253. 'httpMethod' => 'PATCH',
  2254. 'parameters' => [
  2255. 'name' => [
  2256. 'location' => 'path',
  2257. 'type' => 'string',
  2258. 'required' => true,
  2259. ],
  2260. 'updateMask' => [
  2261. 'location' => 'query',
  2262. 'type' => 'string',
  2263. ],
  2264. ],
  2265. ],'search' => [
  2266. 'path' => 'v1/{+parent}/templates:search',
  2267. 'httpMethod' => 'GET',
  2268. 'parameters' => [
  2269. 'parent' => [
  2270. 'location' => 'path',
  2271. 'type' => 'string',
  2272. 'required' => true,
  2273. ],
  2274. 'enableNaturalLanguageQueryUnderstanding' => [
  2275. 'location' => 'query',
  2276. 'type' => 'boolean',
  2277. ],
  2278. 'filter' => [
  2279. 'location' => 'query',
  2280. 'type' => 'string',
  2281. ],
  2282. 'orderBy' => [
  2283. 'location' => 'query',
  2284. 'type' => 'string',
  2285. ],
  2286. 'pageSize' => [
  2287. 'location' => 'query',
  2288. 'type' => 'integer',
  2289. ],
  2290. 'pageToken' => [
  2291. 'location' => 'query',
  2292. 'type' => 'string',
  2293. ],
  2294. 'query' => [
  2295. 'location' => 'query',
  2296. 'type' => 'string',
  2297. ],
  2298. 'readMask' => [
  2299. 'location' => 'query',
  2300. 'type' => 'string',
  2301. ],
  2302. ],
  2303. ],'share' => [
  2304. 'path' => 'v1/{+name}:share',
  2305. 'httpMethod' => 'POST',
  2306. 'parameters' => [
  2307. 'name' => [
  2308. 'location' => 'path',
  2309. 'type' => 'string',
  2310. 'required' => true,
  2311. ],
  2312. ],
  2313. ],'unshare' => [
  2314. 'path' => 'v1/{+name}:unshare',
  2315. 'httpMethod' => 'POST',
  2316. 'parameters' => [
  2317. 'name' => [
  2318. 'location' => 'path',
  2319. 'type' => 'string',
  2320. 'required' => true,
  2321. ],
  2322. ],
  2323. ],'upload' => [
  2324. 'path' => 'v1/{+parent}/templates:upload',
  2325. 'httpMethod' => 'POST',
  2326. 'parameters' => [
  2327. 'parent' => [
  2328. 'location' => 'path',
  2329. 'type' => 'string',
  2330. 'required' => true,
  2331. ],
  2332. ],
  2333. ],'use' => [
  2334. 'path' => 'v1/{+name}:use',
  2335. 'httpMethod' => 'POST',
  2336. 'parameters' => [
  2337. 'name' => [
  2338. 'location' => 'path',
  2339. 'type' => 'string',
  2340. 'required' => true,
  2341. ],
  2342. ],
  2343. ],
  2344. ]
  2345. ]
  2346. );
  2347. }
  2348. }
  2349. // Adding a class alias for backwards compatibility with the previous class name.
  2350. class_alias(Integrations::class, 'Google_Service_Integrations');