CloudDataplex.php 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382
  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 CloudDataplex (v1).
  21. *
  22. * <p>
  23. * Dataplex API is used to manage the lifecycle of data lakes.</p>
  24. *
  25. * <p>
  26. * For more information about this service, see the API
  27. * <a href="https://cloud.google.com/dataplex/docs" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class CloudDataplex 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_lakes;
  39. public $projects_locations_lakes_actions;
  40. public $projects_locations_lakes_content;
  41. public $projects_locations_lakes_contentitems;
  42. public $projects_locations_lakes_environments;
  43. public $projects_locations_lakes_environments_sessions;
  44. public $projects_locations_lakes_tasks;
  45. public $projects_locations_lakes_tasks_jobs;
  46. public $projects_locations_lakes_zones;
  47. public $projects_locations_lakes_zones_actions;
  48. public $projects_locations_lakes_zones_assets;
  49. public $projects_locations_lakes_zones_assets_actions;
  50. public $projects_locations_lakes_zones_entities;
  51. public $projects_locations_lakes_zones_entities_partitions;
  52. public $projects_locations_operations;
  53. /**
  54. * Constructs the internal representation of the CloudDataplex service.
  55. *
  56. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  57. * config array to pass to a new Client instance.
  58. * @param string $rootUrl The root URL used for requests to the service.
  59. */
  60. public function __construct($clientOrConfig = [], $rootUrl = null)
  61. {
  62. parent::__construct($clientOrConfig);
  63. $this->rootUrl = $rootUrl ?: 'https://dataplex.googleapis.com/';
  64. $this->servicePath = '';
  65. $this->batchPath = 'batch';
  66. $this->version = 'v1';
  67. $this->serviceName = 'dataplex';
  68. $this->projects_locations = new CloudDataplex\Resource\ProjectsLocations(
  69. $this,
  70. $this->serviceName,
  71. 'locations',
  72. [
  73. 'methods' => [
  74. 'get' => [
  75. 'path' => 'v1/{+name}',
  76. 'httpMethod' => 'GET',
  77. 'parameters' => [
  78. 'name' => [
  79. 'location' => 'path',
  80. 'type' => 'string',
  81. 'required' => true,
  82. ],
  83. ],
  84. ],'list' => [
  85. 'path' => 'v1/{+name}/locations',
  86. 'httpMethod' => 'GET',
  87. 'parameters' => [
  88. 'name' => [
  89. 'location' => 'path',
  90. 'type' => 'string',
  91. 'required' => true,
  92. ],
  93. 'filter' => [
  94. 'location' => 'query',
  95. 'type' => 'string',
  96. ],
  97. 'pageSize' => [
  98. 'location' => 'query',
  99. 'type' => 'integer',
  100. ],
  101. 'pageToken' => [
  102. 'location' => 'query',
  103. 'type' => 'string',
  104. ],
  105. ],
  106. ],
  107. ]
  108. ]
  109. );
  110. $this->projects_locations_lakes = new CloudDataplex\Resource\ProjectsLocationsLakes(
  111. $this,
  112. $this->serviceName,
  113. 'lakes',
  114. [
  115. 'methods' => [
  116. 'create' => [
  117. 'path' => 'v1/{+parent}/lakes',
  118. 'httpMethod' => 'POST',
  119. 'parameters' => [
  120. 'parent' => [
  121. 'location' => 'path',
  122. 'type' => 'string',
  123. 'required' => true,
  124. ],
  125. 'lakeId' => [
  126. 'location' => 'query',
  127. 'type' => 'string',
  128. ],
  129. 'validateOnly' => [
  130. 'location' => 'query',
  131. 'type' => 'boolean',
  132. ],
  133. ],
  134. ],'delete' => [
  135. 'path' => 'v1/{+name}',
  136. 'httpMethod' => 'DELETE',
  137. 'parameters' => [
  138. 'name' => [
  139. 'location' => 'path',
  140. 'type' => 'string',
  141. 'required' => true,
  142. ],
  143. ],
  144. ],'get' => [
  145. 'path' => 'v1/{+name}',
  146. 'httpMethod' => 'GET',
  147. 'parameters' => [
  148. 'name' => [
  149. 'location' => 'path',
  150. 'type' => 'string',
  151. 'required' => true,
  152. ],
  153. ],
  154. ],'getIamPolicy' => [
  155. 'path' => 'v1/{+resource}:getIamPolicy',
  156. 'httpMethod' => 'GET',
  157. 'parameters' => [
  158. 'resource' => [
  159. 'location' => 'path',
  160. 'type' => 'string',
  161. 'required' => true,
  162. ],
  163. 'options.requestedPolicyVersion' => [
  164. 'location' => 'query',
  165. 'type' => 'integer',
  166. ],
  167. ],
  168. ],'list' => [
  169. 'path' => 'v1/{+parent}/lakes',
  170. 'httpMethod' => 'GET',
  171. 'parameters' => [
  172. 'parent' => [
  173. 'location' => 'path',
  174. 'type' => 'string',
  175. 'required' => true,
  176. ],
  177. 'filter' => [
  178. 'location' => 'query',
  179. 'type' => 'string',
  180. ],
  181. 'orderBy' => [
  182. 'location' => 'query',
  183. 'type' => 'string',
  184. ],
  185. 'pageSize' => [
  186. 'location' => 'query',
  187. 'type' => 'integer',
  188. ],
  189. 'pageToken' => [
  190. 'location' => 'query',
  191. 'type' => 'string',
  192. ],
  193. ],
  194. ],'patch' => [
  195. 'path' => 'v1/{+name}',
  196. 'httpMethod' => 'PATCH',
  197. 'parameters' => [
  198. 'name' => [
  199. 'location' => 'path',
  200. 'type' => 'string',
  201. 'required' => true,
  202. ],
  203. 'updateMask' => [
  204. 'location' => 'query',
  205. 'type' => 'string',
  206. ],
  207. 'validateOnly' => [
  208. 'location' => 'query',
  209. 'type' => 'boolean',
  210. ],
  211. ],
  212. ],'setIamPolicy' => [
  213. 'path' => 'v1/{+resource}:setIamPolicy',
  214. 'httpMethod' => 'POST',
  215. 'parameters' => [
  216. 'resource' => [
  217. 'location' => 'path',
  218. 'type' => 'string',
  219. 'required' => true,
  220. ],
  221. ],
  222. ],'testIamPermissions' => [
  223. 'path' => 'v1/{+resource}:testIamPermissions',
  224. 'httpMethod' => 'POST',
  225. 'parameters' => [
  226. 'resource' => [
  227. 'location' => 'path',
  228. 'type' => 'string',
  229. 'required' => true,
  230. ],
  231. ],
  232. ],
  233. ]
  234. ]
  235. );
  236. $this->projects_locations_lakes_actions = new CloudDataplex\Resource\ProjectsLocationsLakesActions(
  237. $this,
  238. $this->serviceName,
  239. 'actions',
  240. [
  241. 'methods' => [
  242. 'list' => [
  243. 'path' => 'v1/{+parent}/actions',
  244. 'httpMethod' => 'GET',
  245. 'parameters' => [
  246. 'parent' => [
  247. 'location' => 'path',
  248. 'type' => 'string',
  249. 'required' => true,
  250. ],
  251. 'pageSize' => [
  252. 'location' => 'query',
  253. 'type' => 'integer',
  254. ],
  255. 'pageToken' => [
  256. 'location' => 'query',
  257. 'type' => 'string',
  258. ],
  259. ],
  260. ],
  261. ]
  262. ]
  263. );
  264. $this->projects_locations_lakes_content = new CloudDataplex\Resource\ProjectsLocationsLakesContent(
  265. $this,
  266. $this->serviceName,
  267. 'content',
  268. [
  269. 'methods' => [
  270. 'create' => [
  271. 'path' => 'v1/{+parent}/content',
  272. 'httpMethod' => 'POST',
  273. 'parameters' => [
  274. 'parent' => [
  275. 'location' => 'path',
  276. 'type' => 'string',
  277. 'required' => true,
  278. ],
  279. 'validateOnly' => [
  280. 'location' => 'query',
  281. 'type' => 'boolean',
  282. ],
  283. ],
  284. ],'delete' => [
  285. 'path' => 'v1/{+name}',
  286. 'httpMethod' => 'DELETE',
  287. 'parameters' => [
  288. 'name' => [
  289. 'location' => 'path',
  290. 'type' => 'string',
  291. 'required' => true,
  292. ],
  293. ],
  294. ],'get' => [
  295. 'path' => 'v1/{+name}',
  296. 'httpMethod' => 'GET',
  297. 'parameters' => [
  298. 'name' => [
  299. 'location' => 'path',
  300. 'type' => 'string',
  301. 'required' => true,
  302. ],
  303. 'view' => [
  304. 'location' => 'query',
  305. 'type' => 'string',
  306. ],
  307. ],
  308. ],'getIamPolicy' => [
  309. 'path' => 'v1/{+resource}:getIamPolicy',
  310. 'httpMethod' => 'GET',
  311. 'parameters' => [
  312. 'resource' => [
  313. 'location' => 'path',
  314. 'type' => 'string',
  315. 'required' => true,
  316. ],
  317. 'options.requestedPolicyVersion' => [
  318. 'location' => 'query',
  319. 'type' => 'integer',
  320. ],
  321. ],
  322. ],'list' => [
  323. 'path' => 'v1/{+parent}/content',
  324. 'httpMethod' => 'GET',
  325. 'parameters' => [
  326. 'parent' => [
  327. 'location' => 'path',
  328. 'type' => 'string',
  329. 'required' => true,
  330. ],
  331. 'filter' => [
  332. 'location' => 'query',
  333. 'type' => 'string',
  334. ],
  335. 'pageSize' => [
  336. 'location' => 'query',
  337. 'type' => 'integer',
  338. ],
  339. 'pageToken' => [
  340. 'location' => 'query',
  341. 'type' => 'string',
  342. ],
  343. ],
  344. ],'patch' => [
  345. 'path' => 'v1/{+name}',
  346. 'httpMethod' => 'PATCH',
  347. 'parameters' => [
  348. 'name' => [
  349. 'location' => 'path',
  350. 'type' => 'string',
  351. 'required' => true,
  352. ],
  353. 'updateMask' => [
  354. 'location' => 'query',
  355. 'type' => 'string',
  356. ],
  357. 'validateOnly' => [
  358. 'location' => 'query',
  359. 'type' => 'boolean',
  360. ],
  361. ],
  362. ],'setIamPolicy' => [
  363. 'path' => 'v1/{+resource}:setIamPolicy',
  364. 'httpMethod' => 'POST',
  365. 'parameters' => [
  366. 'resource' => [
  367. 'location' => 'path',
  368. 'type' => 'string',
  369. 'required' => true,
  370. ],
  371. ],
  372. ],'testIamPermissions' => [
  373. 'path' => 'v1/{+resource}:testIamPermissions',
  374. 'httpMethod' => 'POST',
  375. 'parameters' => [
  376. 'resource' => [
  377. 'location' => 'path',
  378. 'type' => 'string',
  379. 'required' => true,
  380. ],
  381. ],
  382. ],
  383. ]
  384. ]
  385. );
  386. $this->projects_locations_lakes_contentitems = new CloudDataplex\Resource\ProjectsLocationsLakesContentitems(
  387. $this,
  388. $this->serviceName,
  389. 'contentitems',
  390. [
  391. 'methods' => [
  392. 'create' => [
  393. 'path' => 'v1/{+parent}/contentitems',
  394. 'httpMethod' => 'POST',
  395. 'parameters' => [
  396. 'parent' => [
  397. 'location' => 'path',
  398. 'type' => 'string',
  399. 'required' => true,
  400. ],
  401. 'validateOnly' => [
  402. 'location' => 'query',
  403. 'type' => 'boolean',
  404. ],
  405. ],
  406. ],'delete' => [
  407. 'path' => 'v1/{+name}',
  408. 'httpMethod' => 'DELETE',
  409. 'parameters' => [
  410. 'name' => [
  411. 'location' => 'path',
  412. 'type' => 'string',
  413. 'required' => true,
  414. ],
  415. ],
  416. ],'get' => [
  417. 'path' => 'v1/{+name}',
  418. 'httpMethod' => 'GET',
  419. 'parameters' => [
  420. 'name' => [
  421. 'location' => 'path',
  422. 'type' => 'string',
  423. 'required' => true,
  424. ],
  425. 'view' => [
  426. 'location' => 'query',
  427. 'type' => 'string',
  428. ],
  429. ],
  430. ],'getIamPolicy' => [
  431. 'path' => 'v1/{+resource}:getIamPolicy',
  432. 'httpMethod' => 'GET',
  433. 'parameters' => [
  434. 'resource' => [
  435. 'location' => 'path',
  436. 'type' => 'string',
  437. 'required' => true,
  438. ],
  439. 'options.requestedPolicyVersion' => [
  440. 'location' => 'query',
  441. 'type' => 'integer',
  442. ],
  443. ],
  444. ],'list' => [
  445. 'path' => 'v1/{+parent}/contentitems',
  446. 'httpMethod' => 'GET',
  447. 'parameters' => [
  448. 'parent' => [
  449. 'location' => 'path',
  450. 'type' => 'string',
  451. 'required' => true,
  452. ],
  453. 'filter' => [
  454. 'location' => 'query',
  455. 'type' => 'string',
  456. ],
  457. 'pageSize' => [
  458. 'location' => 'query',
  459. 'type' => 'integer',
  460. ],
  461. 'pageToken' => [
  462. 'location' => 'query',
  463. 'type' => 'string',
  464. ],
  465. ],
  466. ],'patch' => [
  467. 'path' => 'v1/{+name}',
  468. 'httpMethod' => 'PATCH',
  469. 'parameters' => [
  470. 'name' => [
  471. 'location' => 'path',
  472. 'type' => 'string',
  473. 'required' => true,
  474. ],
  475. 'updateMask' => [
  476. 'location' => 'query',
  477. 'type' => 'string',
  478. ],
  479. 'validateOnly' => [
  480. 'location' => 'query',
  481. 'type' => 'boolean',
  482. ],
  483. ],
  484. ],'setIamPolicy' => [
  485. 'path' => 'v1/{+resource}:setIamPolicy',
  486. 'httpMethod' => 'POST',
  487. 'parameters' => [
  488. 'resource' => [
  489. 'location' => 'path',
  490. 'type' => 'string',
  491. 'required' => true,
  492. ],
  493. ],
  494. ],'testIamPermissions' => [
  495. 'path' => 'v1/{+resource}:testIamPermissions',
  496. 'httpMethod' => 'POST',
  497. 'parameters' => [
  498. 'resource' => [
  499. 'location' => 'path',
  500. 'type' => 'string',
  501. 'required' => true,
  502. ],
  503. ],
  504. ],
  505. ]
  506. ]
  507. );
  508. $this->projects_locations_lakes_environments = new CloudDataplex\Resource\ProjectsLocationsLakesEnvironments(
  509. $this,
  510. $this->serviceName,
  511. 'environments',
  512. [
  513. 'methods' => [
  514. 'create' => [
  515. 'path' => 'v1/{+parent}/environments',
  516. 'httpMethod' => 'POST',
  517. 'parameters' => [
  518. 'parent' => [
  519. 'location' => 'path',
  520. 'type' => 'string',
  521. 'required' => true,
  522. ],
  523. 'environmentId' => [
  524. 'location' => 'query',
  525. 'type' => 'string',
  526. ],
  527. 'validateOnly' => [
  528. 'location' => 'query',
  529. 'type' => 'boolean',
  530. ],
  531. ],
  532. ],'delete' => [
  533. 'path' => 'v1/{+name}',
  534. 'httpMethod' => 'DELETE',
  535. 'parameters' => [
  536. 'name' => [
  537. 'location' => 'path',
  538. 'type' => 'string',
  539. 'required' => true,
  540. ],
  541. ],
  542. ],'get' => [
  543. 'path' => 'v1/{+name}',
  544. 'httpMethod' => 'GET',
  545. 'parameters' => [
  546. 'name' => [
  547. 'location' => 'path',
  548. 'type' => 'string',
  549. 'required' => true,
  550. ],
  551. ],
  552. ],'getIamPolicy' => [
  553. 'path' => 'v1/{+resource}:getIamPolicy',
  554. 'httpMethod' => 'GET',
  555. 'parameters' => [
  556. 'resource' => [
  557. 'location' => 'path',
  558. 'type' => 'string',
  559. 'required' => true,
  560. ],
  561. 'options.requestedPolicyVersion' => [
  562. 'location' => 'query',
  563. 'type' => 'integer',
  564. ],
  565. ],
  566. ],'list' => [
  567. 'path' => 'v1/{+parent}/environments',
  568. 'httpMethod' => 'GET',
  569. 'parameters' => [
  570. 'parent' => [
  571. 'location' => 'path',
  572. 'type' => 'string',
  573. 'required' => true,
  574. ],
  575. 'filter' => [
  576. 'location' => 'query',
  577. 'type' => 'string',
  578. ],
  579. 'orderBy' => [
  580. 'location' => 'query',
  581. 'type' => 'string',
  582. ],
  583. 'pageSize' => [
  584. 'location' => 'query',
  585. 'type' => 'integer',
  586. ],
  587. 'pageToken' => [
  588. 'location' => 'query',
  589. 'type' => 'string',
  590. ],
  591. ],
  592. ],'patch' => [
  593. 'path' => 'v1/{+name}',
  594. 'httpMethod' => 'PATCH',
  595. 'parameters' => [
  596. 'name' => [
  597. 'location' => 'path',
  598. 'type' => 'string',
  599. 'required' => true,
  600. ],
  601. 'updateMask' => [
  602. 'location' => 'query',
  603. 'type' => 'string',
  604. ],
  605. 'validateOnly' => [
  606. 'location' => 'query',
  607. 'type' => 'boolean',
  608. ],
  609. ],
  610. ],'setIamPolicy' => [
  611. 'path' => 'v1/{+resource}:setIamPolicy',
  612. 'httpMethod' => 'POST',
  613. 'parameters' => [
  614. 'resource' => [
  615. 'location' => 'path',
  616. 'type' => 'string',
  617. 'required' => true,
  618. ],
  619. ],
  620. ],'testIamPermissions' => [
  621. 'path' => 'v1/{+resource}:testIamPermissions',
  622. 'httpMethod' => 'POST',
  623. 'parameters' => [
  624. 'resource' => [
  625. 'location' => 'path',
  626. 'type' => 'string',
  627. 'required' => true,
  628. ],
  629. ],
  630. ],
  631. ]
  632. ]
  633. );
  634. $this->projects_locations_lakes_environments_sessions = new CloudDataplex\Resource\ProjectsLocationsLakesEnvironmentsSessions(
  635. $this,
  636. $this->serviceName,
  637. 'sessions',
  638. [
  639. 'methods' => [
  640. 'list' => [
  641. 'path' => 'v1/{+parent}/sessions',
  642. 'httpMethod' => 'GET',
  643. 'parameters' => [
  644. 'parent' => [
  645. 'location' => 'path',
  646. 'type' => 'string',
  647. 'required' => true,
  648. ],
  649. 'filter' => [
  650. 'location' => 'query',
  651. 'type' => 'string',
  652. ],
  653. 'pageSize' => [
  654. 'location' => 'query',
  655. 'type' => 'integer',
  656. ],
  657. 'pageToken' => [
  658. 'location' => 'query',
  659. 'type' => 'string',
  660. ],
  661. ],
  662. ],
  663. ]
  664. ]
  665. );
  666. $this->projects_locations_lakes_tasks = new CloudDataplex\Resource\ProjectsLocationsLakesTasks(
  667. $this,
  668. $this->serviceName,
  669. 'tasks',
  670. [
  671. 'methods' => [
  672. 'create' => [
  673. 'path' => 'v1/{+parent}/tasks',
  674. 'httpMethod' => 'POST',
  675. 'parameters' => [
  676. 'parent' => [
  677. 'location' => 'path',
  678. 'type' => 'string',
  679. 'required' => true,
  680. ],
  681. 'taskId' => [
  682. 'location' => 'query',
  683. 'type' => 'string',
  684. ],
  685. 'validateOnly' => [
  686. 'location' => 'query',
  687. 'type' => 'boolean',
  688. ],
  689. ],
  690. ],'delete' => [
  691. 'path' => 'v1/{+name}',
  692. 'httpMethod' => 'DELETE',
  693. 'parameters' => [
  694. 'name' => [
  695. 'location' => 'path',
  696. 'type' => 'string',
  697. 'required' => true,
  698. ],
  699. ],
  700. ],'get' => [
  701. 'path' => 'v1/{+name}',
  702. 'httpMethod' => 'GET',
  703. 'parameters' => [
  704. 'name' => [
  705. 'location' => 'path',
  706. 'type' => 'string',
  707. 'required' => true,
  708. ],
  709. ],
  710. ],'getIamPolicy' => [
  711. 'path' => 'v1/{+resource}:getIamPolicy',
  712. 'httpMethod' => 'GET',
  713. 'parameters' => [
  714. 'resource' => [
  715. 'location' => 'path',
  716. 'type' => 'string',
  717. 'required' => true,
  718. ],
  719. 'options.requestedPolicyVersion' => [
  720. 'location' => 'query',
  721. 'type' => 'integer',
  722. ],
  723. ],
  724. ],'list' => [
  725. 'path' => 'v1/{+parent}/tasks',
  726. 'httpMethod' => 'GET',
  727. 'parameters' => [
  728. 'parent' => [
  729. 'location' => 'path',
  730. 'type' => 'string',
  731. 'required' => true,
  732. ],
  733. 'filter' => [
  734. 'location' => 'query',
  735. 'type' => 'string',
  736. ],
  737. 'orderBy' => [
  738. 'location' => 'query',
  739. 'type' => 'string',
  740. ],
  741. 'pageSize' => [
  742. 'location' => 'query',
  743. 'type' => 'integer',
  744. ],
  745. 'pageToken' => [
  746. 'location' => 'query',
  747. 'type' => 'string',
  748. ],
  749. ],
  750. ],'patch' => [
  751. 'path' => 'v1/{+name}',
  752. 'httpMethod' => 'PATCH',
  753. 'parameters' => [
  754. 'name' => [
  755. 'location' => 'path',
  756. 'type' => 'string',
  757. 'required' => true,
  758. ],
  759. 'updateMask' => [
  760. 'location' => 'query',
  761. 'type' => 'string',
  762. ],
  763. 'validateOnly' => [
  764. 'location' => 'query',
  765. 'type' => 'boolean',
  766. ],
  767. ],
  768. ],'setIamPolicy' => [
  769. 'path' => 'v1/{+resource}:setIamPolicy',
  770. 'httpMethod' => 'POST',
  771. 'parameters' => [
  772. 'resource' => [
  773. 'location' => 'path',
  774. 'type' => 'string',
  775. 'required' => true,
  776. ],
  777. ],
  778. ],'testIamPermissions' => [
  779. 'path' => 'v1/{+resource}:testIamPermissions',
  780. 'httpMethod' => 'POST',
  781. 'parameters' => [
  782. 'resource' => [
  783. 'location' => 'path',
  784. 'type' => 'string',
  785. 'required' => true,
  786. ],
  787. ],
  788. ],
  789. ]
  790. ]
  791. );
  792. $this->projects_locations_lakes_tasks_jobs = new CloudDataplex\Resource\ProjectsLocationsLakesTasksJobs(
  793. $this,
  794. $this->serviceName,
  795. 'jobs',
  796. [
  797. 'methods' => [
  798. 'cancel' => [
  799. 'path' => 'v1/{+name}:cancel',
  800. 'httpMethod' => 'POST',
  801. 'parameters' => [
  802. 'name' => [
  803. 'location' => 'path',
  804. 'type' => 'string',
  805. 'required' => true,
  806. ],
  807. ],
  808. ],'get' => [
  809. 'path' => 'v1/{+name}',
  810. 'httpMethod' => 'GET',
  811. 'parameters' => [
  812. 'name' => [
  813. 'location' => 'path',
  814. 'type' => 'string',
  815. 'required' => true,
  816. ],
  817. ],
  818. ],'list' => [
  819. 'path' => 'v1/{+parent}/jobs',
  820. 'httpMethod' => 'GET',
  821. 'parameters' => [
  822. 'parent' => [
  823. 'location' => 'path',
  824. 'type' => 'string',
  825. 'required' => true,
  826. ],
  827. 'pageSize' => [
  828. 'location' => 'query',
  829. 'type' => 'integer',
  830. ],
  831. 'pageToken' => [
  832. 'location' => 'query',
  833. 'type' => 'string',
  834. ],
  835. ],
  836. ],
  837. ]
  838. ]
  839. );
  840. $this->projects_locations_lakes_zones = new CloudDataplex\Resource\ProjectsLocationsLakesZones(
  841. $this,
  842. $this->serviceName,
  843. 'zones',
  844. [
  845. 'methods' => [
  846. 'create' => [
  847. 'path' => 'v1/{+parent}/zones',
  848. 'httpMethod' => 'POST',
  849. 'parameters' => [
  850. 'parent' => [
  851. 'location' => 'path',
  852. 'type' => 'string',
  853. 'required' => true,
  854. ],
  855. 'validateOnly' => [
  856. 'location' => 'query',
  857. 'type' => 'boolean',
  858. ],
  859. 'zoneId' => [
  860. 'location' => 'query',
  861. 'type' => 'string',
  862. ],
  863. ],
  864. ],'delete' => [
  865. 'path' => 'v1/{+name}',
  866. 'httpMethod' => 'DELETE',
  867. 'parameters' => [
  868. 'name' => [
  869. 'location' => 'path',
  870. 'type' => 'string',
  871. 'required' => true,
  872. ],
  873. ],
  874. ],'get' => [
  875. 'path' => 'v1/{+name}',
  876. 'httpMethod' => 'GET',
  877. 'parameters' => [
  878. 'name' => [
  879. 'location' => 'path',
  880. 'type' => 'string',
  881. 'required' => true,
  882. ],
  883. ],
  884. ],'getIamPolicy' => [
  885. 'path' => 'v1/{+resource}:getIamPolicy',
  886. 'httpMethod' => 'GET',
  887. 'parameters' => [
  888. 'resource' => [
  889. 'location' => 'path',
  890. 'type' => 'string',
  891. 'required' => true,
  892. ],
  893. 'options.requestedPolicyVersion' => [
  894. 'location' => 'query',
  895. 'type' => 'integer',
  896. ],
  897. ],
  898. ],'list' => [
  899. 'path' => 'v1/{+parent}/zones',
  900. 'httpMethod' => 'GET',
  901. 'parameters' => [
  902. 'parent' => [
  903. 'location' => 'path',
  904. 'type' => 'string',
  905. 'required' => true,
  906. ],
  907. 'filter' => [
  908. 'location' => 'query',
  909. 'type' => 'string',
  910. ],
  911. 'orderBy' => [
  912. 'location' => 'query',
  913. 'type' => 'string',
  914. ],
  915. 'pageSize' => [
  916. 'location' => 'query',
  917. 'type' => 'integer',
  918. ],
  919. 'pageToken' => [
  920. 'location' => 'query',
  921. 'type' => 'string',
  922. ],
  923. ],
  924. ],'patch' => [
  925. 'path' => 'v1/{+name}',
  926. 'httpMethod' => 'PATCH',
  927. 'parameters' => [
  928. 'name' => [
  929. 'location' => 'path',
  930. 'type' => 'string',
  931. 'required' => true,
  932. ],
  933. 'updateMask' => [
  934. 'location' => 'query',
  935. 'type' => 'string',
  936. ],
  937. 'validateOnly' => [
  938. 'location' => 'query',
  939. 'type' => 'boolean',
  940. ],
  941. ],
  942. ],'setIamPolicy' => [
  943. 'path' => 'v1/{+resource}:setIamPolicy',
  944. 'httpMethod' => 'POST',
  945. 'parameters' => [
  946. 'resource' => [
  947. 'location' => 'path',
  948. 'type' => 'string',
  949. 'required' => true,
  950. ],
  951. ],
  952. ],'testIamPermissions' => [
  953. 'path' => 'v1/{+resource}:testIamPermissions',
  954. 'httpMethod' => 'POST',
  955. 'parameters' => [
  956. 'resource' => [
  957. 'location' => 'path',
  958. 'type' => 'string',
  959. 'required' => true,
  960. ],
  961. ],
  962. ],
  963. ]
  964. ]
  965. );
  966. $this->projects_locations_lakes_zones_actions = new CloudDataplex\Resource\ProjectsLocationsLakesZonesActions(
  967. $this,
  968. $this->serviceName,
  969. 'actions',
  970. [
  971. 'methods' => [
  972. 'list' => [
  973. 'path' => 'v1/{+parent}/actions',
  974. 'httpMethod' => 'GET',
  975. 'parameters' => [
  976. 'parent' => [
  977. 'location' => 'path',
  978. 'type' => 'string',
  979. 'required' => true,
  980. ],
  981. 'pageSize' => [
  982. 'location' => 'query',
  983. 'type' => 'integer',
  984. ],
  985. 'pageToken' => [
  986. 'location' => 'query',
  987. 'type' => 'string',
  988. ],
  989. ],
  990. ],
  991. ]
  992. ]
  993. );
  994. $this->projects_locations_lakes_zones_assets = new CloudDataplex\Resource\ProjectsLocationsLakesZonesAssets(
  995. $this,
  996. $this->serviceName,
  997. 'assets',
  998. [
  999. 'methods' => [
  1000. 'create' => [
  1001. 'path' => 'v1/{+parent}/assets',
  1002. 'httpMethod' => 'POST',
  1003. 'parameters' => [
  1004. 'parent' => [
  1005. 'location' => 'path',
  1006. 'type' => 'string',
  1007. 'required' => true,
  1008. ],
  1009. 'assetId' => [
  1010. 'location' => 'query',
  1011. 'type' => 'string',
  1012. ],
  1013. 'validateOnly' => [
  1014. 'location' => 'query',
  1015. 'type' => 'boolean',
  1016. ],
  1017. ],
  1018. ],'delete' => [
  1019. 'path' => 'v1/{+name}',
  1020. 'httpMethod' => 'DELETE',
  1021. 'parameters' => [
  1022. 'name' => [
  1023. 'location' => 'path',
  1024. 'type' => 'string',
  1025. 'required' => true,
  1026. ],
  1027. ],
  1028. ],'get' => [
  1029. 'path' => 'v1/{+name}',
  1030. 'httpMethod' => 'GET',
  1031. 'parameters' => [
  1032. 'name' => [
  1033. 'location' => 'path',
  1034. 'type' => 'string',
  1035. 'required' => true,
  1036. ],
  1037. ],
  1038. ],'getIamPolicy' => [
  1039. 'path' => 'v1/{+resource}:getIamPolicy',
  1040. 'httpMethod' => 'GET',
  1041. 'parameters' => [
  1042. 'resource' => [
  1043. 'location' => 'path',
  1044. 'type' => 'string',
  1045. 'required' => true,
  1046. ],
  1047. 'options.requestedPolicyVersion' => [
  1048. 'location' => 'query',
  1049. 'type' => 'integer',
  1050. ],
  1051. ],
  1052. ],'list' => [
  1053. 'path' => 'v1/{+parent}/assets',
  1054. 'httpMethod' => 'GET',
  1055. 'parameters' => [
  1056. 'parent' => [
  1057. 'location' => 'path',
  1058. 'type' => 'string',
  1059. 'required' => true,
  1060. ],
  1061. 'filter' => [
  1062. 'location' => 'query',
  1063. 'type' => 'string',
  1064. ],
  1065. 'orderBy' => [
  1066. 'location' => 'query',
  1067. 'type' => 'string',
  1068. ],
  1069. 'pageSize' => [
  1070. 'location' => 'query',
  1071. 'type' => 'integer',
  1072. ],
  1073. 'pageToken' => [
  1074. 'location' => 'query',
  1075. 'type' => 'string',
  1076. ],
  1077. ],
  1078. ],'patch' => [
  1079. 'path' => 'v1/{+name}',
  1080. 'httpMethod' => 'PATCH',
  1081. 'parameters' => [
  1082. 'name' => [
  1083. 'location' => 'path',
  1084. 'type' => 'string',
  1085. 'required' => true,
  1086. ],
  1087. 'updateMask' => [
  1088. 'location' => 'query',
  1089. 'type' => 'string',
  1090. ],
  1091. 'validateOnly' => [
  1092. 'location' => 'query',
  1093. 'type' => 'boolean',
  1094. ],
  1095. ],
  1096. ],'setIamPolicy' => [
  1097. 'path' => 'v1/{+resource}:setIamPolicy',
  1098. 'httpMethod' => 'POST',
  1099. 'parameters' => [
  1100. 'resource' => [
  1101. 'location' => 'path',
  1102. 'type' => 'string',
  1103. 'required' => true,
  1104. ],
  1105. ],
  1106. ],'testIamPermissions' => [
  1107. 'path' => 'v1/{+resource}:testIamPermissions',
  1108. 'httpMethod' => 'POST',
  1109. 'parameters' => [
  1110. 'resource' => [
  1111. 'location' => 'path',
  1112. 'type' => 'string',
  1113. 'required' => true,
  1114. ],
  1115. ],
  1116. ],
  1117. ]
  1118. ]
  1119. );
  1120. $this->projects_locations_lakes_zones_assets_actions = new CloudDataplex\Resource\ProjectsLocationsLakesZonesAssetsActions(
  1121. $this,
  1122. $this->serviceName,
  1123. 'actions',
  1124. [
  1125. 'methods' => [
  1126. 'list' => [
  1127. 'path' => 'v1/{+parent}/actions',
  1128. 'httpMethod' => 'GET',
  1129. 'parameters' => [
  1130. 'parent' => [
  1131. 'location' => 'path',
  1132. 'type' => 'string',
  1133. 'required' => true,
  1134. ],
  1135. 'pageSize' => [
  1136. 'location' => 'query',
  1137. 'type' => 'integer',
  1138. ],
  1139. 'pageToken' => [
  1140. 'location' => 'query',
  1141. 'type' => 'string',
  1142. ],
  1143. ],
  1144. ],
  1145. ]
  1146. ]
  1147. );
  1148. $this->projects_locations_lakes_zones_entities = new CloudDataplex\Resource\ProjectsLocationsLakesZonesEntities(
  1149. $this,
  1150. $this->serviceName,
  1151. 'entities',
  1152. [
  1153. 'methods' => [
  1154. 'create' => [
  1155. 'path' => 'v1/{+parent}/entities',
  1156. 'httpMethod' => 'POST',
  1157. 'parameters' => [
  1158. 'parent' => [
  1159. 'location' => 'path',
  1160. 'type' => 'string',
  1161. 'required' => true,
  1162. ],
  1163. 'validateOnly' => [
  1164. 'location' => 'query',
  1165. 'type' => 'boolean',
  1166. ],
  1167. ],
  1168. ],'delete' => [
  1169. 'path' => 'v1/{+name}',
  1170. 'httpMethod' => 'DELETE',
  1171. 'parameters' => [
  1172. 'name' => [
  1173. 'location' => 'path',
  1174. 'type' => 'string',
  1175. 'required' => true,
  1176. ],
  1177. 'etag' => [
  1178. 'location' => 'query',
  1179. 'type' => 'string',
  1180. ],
  1181. ],
  1182. ],'get' => [
  1183. 'path' => 'v1/{+name}',
  1184. 'httpMethod' => 'GET',
  1185. 'parameters' => [
  1186. 'name' => [
  1187. 'location' => 'path',
  1188. 'type' => 'string',
  1189. 'required' => true,
  1190. ],
  1191. 'view' => [
  1192. 'location' => 'query',
  1193. 'type' => 'string',
  1194. ],
  1195. ],
  1196. ],'list' => [
  1197. 'path' => 'v1/{+parent}/entities',
  1198. 'httpMethod' => 'GET',
  1199. 'parameters' => [
  1200. 'parent' => [
  1201. 'location' => 'path',
  1202. 'type' => 'string',
  1203. 'required' => true,
  1204. ],
  1205. 'filter' => [
  1206. 'location' => 'query',
  1207. 'type' => 'string',
  1208. ],
  1209. 'pageSize' => [
  1210. 'location' => 'query',
  1211. 'type' => 'integer',
  1212. ],
  1213. 'pageToken' => [
  1214. 'location' => 'query',
  1215. 'type' => 'string',
  1216. ],
  1217. 'view' => [
  1218. 'location' => 'query',
  1219. 'type' => 'string',
  1220. ],
  1221. ],
  1222. ],'update' => [
  1223. 'path' => 'v1/{+name}',
  1224. 'httpMethod' => 'PUT',
  1225. 'parameters' => [
  1226. 'name' => [
  1227. 'location' => 'path',
  1228. 'type' => 'string',
  1229. 'required' => true,
  1230. ],
  1231. 'validateOnly' => [
  1232. 'location' => 'query',
  1233. 'type' => 'boolean',
  1234. ],
  1235. ],
  1236. ],
  1237. ]
  1238. ]
  1239. );
  1240. $this->projects_locations_lakes_zones_entities_partitions = new CloudDataplex\Resource\ProjectsLocationsLakesZonesEntitiesPartitions(
  1241. $this,
  1242. $this->serviceName,
  1243. 'partitions',
  1244. [
  1245. 'methods' => [
  1246. 'create' => [
  1247. 'path' => 'v1/{+parent}/partitions',
  1248. 'httpMethod' => 'POST',
  1249. 'parameters' => [
  1250. 'parent' => [
  1251. 'location' => 'path',
  1252. 'type' => 'string',
  1253. 'required' => true,
  1254. ],
  1255. 'validateOnly' => [
  1256. 'location' => 'query',
  1257. 'type' => 'boolean',
  1258. ],
  1259. ],
  1260. ],'delete' => [
  1261. 'path' => 'v1/{+name}',
  1262. 'httpMethod' => 'DELETE',
  1263. 'parameters' => [
  1264. 'name' => [
  1265. 'location' => 'path',
  1266. 'type' => 'string',
  1267. 'required' => true,
  1268. ],
  1269. 'etag' => [
  1270. 'location' => 'query',
  1271. 'type' => 'string',
  1272. ],
  1273. ],
  1274. ],'get' => [
  1275. 'path' => 'v1/{+name}',
  1276. 'httpMethod' => 'GET',
  1277. 'parameters' => [
  1278. 'name' => [
  1279. 'location' => 'path',
  1280. 'type' => 'string',
  1281. 'required' => true,
  1282. ],
  1283. ],
  1284. ],'list' => [
  1285. 'path' => 'v1/{+parent}/partitions',
  1286. 'httpMethod' => 'GET',
  1287. 'parameters' => [
  1288. 'parent' => [
  1289. 'location' => 'path',
  1290. 'type' => 'string',
  1291. 'required' => true,
  1292. ],
  1293. 'filter' => [
  1294. 'location' => 'query',
  1295. 'type' => 'string',
  1296. ],
  1297. 'pageSize' => [
  1298. 'location' => 'query',
  1299. 'type' => 'integer',
  1300. ],
  1301. 'pageToken' => [
  1302. 'location' => 'query',
  1303. 'type' => 'string',
  1304. ],
  1305. ],
  1306. ],
  1307. ]
  1308. ]
  1309. );
  1310. $this->projects_locations_operations = new CloudDataplex\Resource\ProjectsLocationsOperations(
  1311. $this,
  1312. $this->serviceName,
  1313. 'operations',
  1314. [
  1315. 'methods' => [
  1316. 'cancel' => [
  1317. 'path' => 'v1/{+name}:cancel',
  1318. 'httpMethod' => 'POST',
  1319. 'parameters' => [
  1320. 'name' => [
  1321. 'location' => 'path',
  1322. 'type' => 'string',
  1323. 'required' => true,
  1324. ],
  1325. ],
  1326. ],'delete' => [
  1327. 'path' => 'v1/{+name}',
  1328. 'httpMethod' => 'DELETE',
  1329. 'parameters' => [
  1330. 'name' => [
  1331. 'location' => 'path',
  1332. 'type' => 'string',
  1333. 'required' => true,
  1334. ],
  1335. ],
  1336. ],'get' => [
  1337. 'path' => 'v1/{+name}',
  1338. 'httpMethod' => 'GET',
  1339. 'parameters' => [
  1340. 'name' => [
  1341. 'location' => 'path',
  1342. 'type' => 'string',
  1343. 'required' => true,
  1344. ],
  1345. ],
  1346. ],'list' => [
  1347. 'path' => 'v1/{+name}/operations',
  1348. 'httpMethod' => 'GET',
  1349. 'parameters' => [
  1350. 'name' => [
  1351. 'location' => 'path',
  1352. 'type' => 'string',
  1353. 'required' => true,
  1354. ],
  1355. 'filter' => [
  1356. 'location' => 'query',
  1357. 'type' => 'string',
  1358. ],
  1359. 'pageSize' => [
  1360. 'location' => 'query',
  1361. 'type' => 'integer',
  1362. ],
  1363. 'pageToken' => [
  1364. 'location' => 'query',
  1365. 'type' => 'string',
  1366. ],
  1367. ],
  1368. ],
  1369. ]
  1370. ]
  1371. );
  1372. }
  1373. }
  1374. // Adding a class alias for backwards compatibility with the previous class name.
  1375. class_alias(CloudDataplex::class, 'Google_Service_CloudDataplex');