SaaSServiceManagement.php 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017
  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 SaaSServiceManagement (v1beta1).
  21. *
  22. * <p>
  23. * Model, deploy, and operate your SaaS at scale.</p>
  24. *
  25. * <p>
  26. * For more information about this service, see the API
  27. * <a href="https://cloud.google.com/saas-runtime/docs" target="_blank">Documentation</a>
  28. * </p>
  29. *
  30. * @author Google, Inc.
  31. */
  32. class SaaSServiceManagement 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_releases;
  39. public $projects_locations_rolloutKinds;
  40. public $projects_locations_rollouts;
  41. public $projects_locations_saas;
  42. public $projects_locations_tenants;
  43. public $projects_locations_unitKinds;
  44. public $projects_locations_unitOperations;
  45. public $projects_locations_units;
  46. public $rootUrlTemplate;
  47. /**
  48. * Constructs the internal representation of the SaaSServiceManagement
  49. * service.
  50. *
  51. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  52. * config array to pass to a new Client instance.
  53. * @param string $rootUrl The root URL used for requests to the service.
  54. */
  55. public function __construct($clientOrConfig = [], $rootUrl = null)
  56. {
  57. parent::__construct($clientOrConfig);
  58. $this->rootUrl = $rootUrl ?: 'https://saasservicemgmt.googleapis.com/';
  59. $this->rootUrlTemplate = $rootUrl ?: 'https://saasservicemgmt.UNIVERSE_DOMAIN/';
  60. $this->servicePath = '';
  61. $this->batchPath = 'batch';
  62. $this->version = 'v1beta1';
  63. $this->serviceName = 'saasservicemgmt';
  64. $this->projects_locations = new SaaSServiceManagement\Resource\ProjectsLocations(
  65. $this,
  66. $this->serviceName,
  67. 'locations',
  68. [
  69. 'methods' => [
  70. 'get' => [
  71. 'path' => 'v1beta1/{+name}',
  72. 'httpMethod' => 'GET',
  73. 'parameters' => [
  74. 'name' => [
  75. 'location' => 'path',
  76. 'type' => 'string',
  77. 'required' => true,
  78. ],
  79. ],
  80. ],'list' => [
  81. 'path' => 'v1beta1/{+name}/locations',
  82. 'httpMethod' => 'GET',
  83. 'parameters' => [
  84. 'name' => [
  85. 'location' => 'path',
  86. 'type' => 'string',
  87. 'required' => true,
  88. ],
  89. 'extraLocationTypes' => [
  90. 'location' => 'query',
  91. 'type' => 'string',
  92. 'repeated' => true,
  93. ],
  94. 'filter' => [
  95. 'location' => 'query',
  96. 'type' => 'string',
  97. ],
  98. 'pageSize' => [
  99. 'location' => 'query',
  100. 'type' => 'integer',
  101. ],
  102. 'pageToken' => [
  103. 'location' => 'query',
  104. 'type' => 'string',
  105. ],
  106. ],
  107. ],
  108. ]
  109. ]
  110. );
  111. $this->projects_locations_releases = new SaaSServiceManagement\Resource\ProjectsLocationsReleases(
  112. $this,
  113. $this->serviceName,
  114. 'releases',
  115. [
  116. 'methods' => [
  117. 'create' => [
  118. 'path' => 'v1beta1/{+parent}/releases',
  119. 'httpMethod' => 'POST',
  120. 'parameters' => [
  121. 'parent' => [
  122. 'location' => 'path',
  123. 'type' => 'string',
  124. 'required' => true,
  125. ],
  126. 'releaseId' => [
  127. 'location' => 'query',
  128. 'type' => 'string',
  129. ],
  130. 'requestId' => [
  131. 'location' => 'query',
  132. 'type' => 'string',
  133. ],
  134. 'validateOnly' => [
  135. 'location' => 'query',
  136. 'type' => 'boolean',
  137. ],
  138. ],
  139. ],'delete' => [
  140. 'path' => 'v1beta1/{+name}',
  141. 'httpMethod' => 'DELETE',
  142. 'parameters' => [
  143. 'name' => [
  144. 'location' => 'path',
  145. 'type' => 'string',
  146. 'required' => true,
  147. ],
  148. 'etag' => [
  149. 'location' => 'query',
  150. 'type' => 'string',
  151. ],
  152. 'requestId' => [
  153. 'location' => 'query',
  154. 'type' => 'string',
  155. ],
  156. 'validateOnly' => [
  157. 'location' => 'query',
  158. 'type' => 'boolean',
  159. ],
  160. ],
  161. ],'get' => [
  162. 'path' => 'v1beta1/{+name}',
  163. 'httpMethod' => 'GET',
  164. 'parameters' => [
  165. 'name' => [
  166. 'location' => 'path',
  167. 'type' => 'string',
  168. 'required' => true,
  169. ],
  170. ],
  171. ],'list' => [
  172. 'path' => 'v1beta1/{+parent}/releases',
  173. 'httpMethod' => 'GET',
  174. 'parameters' => [
  175. 'parent' => [
  176. 'location' => 'path',
  177. 'type' => 'string',
  178. 'required' => true,
  179. ],
  180. 'filter' => [
  181. 'location' => 'query',
  182. 'type' => 'string',
  183. ],
  184. 'orderBy' => [
  185. 'location' => 'query',
  186. 'type' => 'string',
  187. ],
  188. 'pageSize' => [
  189. 'location' => 'query',
  190. 'type' => 'integer',
  191. ],
  192. 'pageToken' => [
  193. 'location' => 'query',
  194. 'type' => 'string',
  195. ],
  196. ],
  197. ],'patch' => [
  198. 'path' => 'v1beta1/{+name}',
  199. 'httpMethod' => 'PATCH',
  200. 'parameters' => [
  201. 'name' => [
  202. 'location' => 'path',
  203. 'type' => 'string',
  204. 'required' => true,
  205. ],
  206. 'requestId' => [
  207. 'location' => 'query',
  208. 'type' => 'string',
  209. ],
  210. 'updateMask' => [
  211. 'location' => 'query',
  212. 'type' => 'string',
  213. ],
  214. 'validateOnly' => [
  215. 'location' => 'query',
  216. 'type' => 'boolean',
  217. ],
  218. ],
  219. ],
  220. ]
  221. ]
  222. );
  223. $this->projects_locations_rolloutKinds = new SaaSServiceManagement\Resource\ProjectsLocationsRolloutKinds(
  224. $this,
  225. $this->serviceName,
  226. 'rolloutKinds',
  227. [
  228. 'methods' => [
  229. 'create' => [
  230. 'path' => 'v1beta1/{+parent}/rolloutKinds',
  231. 'httpMethod' => 'POST',
  232. 'parameters' => [
  233. 'parent' => [
  234. 'location' => 'path',
  235. 'type' => 'string',
  236. 'required' => true,
  237. ],
  238. 'requestId' => [
  239. 'location' => 'query',
  240. 'type' => 'string',
  241. ],
  242. 'rolloutKindId' => [
  243. 'location' => 'query',
  244. 'type' => 'string',
  245. ],
  246. 'validateOnly' => [
  247. 'location' => 'query',
  248. 'type' => 'boolean',
  249. ],
  250. ],
  251. ],'delete' => [
  252. 'path' => 'v1beta1/{+name}',
  253. 'httpMethod' => 'DELETE',
  254. 'parameters' => [
  255. 'name' => [
  256. 'location' => 'path',
  257. 'type' => 'string',
  258. 'required' => true,
  259. ],
  260. 'etag' => [
  261. 'location' => 'query',
  262. 'type' => 'string',
  263. ],
  264. 'requestId' => [
  265. 'location' => 'query',
  266. 'type' => 'string',
  267. ],
  268. 'validateOnly' => [
  269. 'location' => 'query',
  270. 'type' => 'boolean',
  271. ],
  272. ],
  273. ],'get' => [
  274. 'path' => 'v1beta1/{+name}',
  275. 'httpMethod' => 'GET',
  276. 'parameters' => [
  277. 'name' => [
  278. 'location' => 'path',
  279. 'type' => 'string',
  280. 'required' => true,
  281. ],
  282. ],
  283. ],'list' => [
  284. 'path' => 'v1beta1/{+parent}/rolloutKinds',
  285. 'httpMethod' => 'GET',
  286. 'parameters' => [
  287. 'parent' => [
  288. 'location' => 'path',
  289. 'type' => 'string',
  290. 'required' => true,
  291. ],
  292. 'filter' => [
  293. 'location' => 'query',
  294. 'type' => 'string',
  295. ],
  296. 'orderBy' => [
  297. 'location' => 'query',
  298. 'type' => 'string',
  299. ],
  300. 'pageSize' => [
  301. 'location' => 'query',
  302. 'type' => 'integer',
  303. ],
  304. 'pageToken' => [
  305. 'location' => 'query',
  306. 'type' => 'string',
  307. ],
  308. ],
  309. ],'patch' => [
  310. 'path' => 'v1beta1/{+name}',
  311. 'httpMethod' => 'PATCH',
  312. 'parameters' => [
  313. 'name' => [
  314. 'location' => 'path',
  315. 'type' => 'string',
  316. 'required' => true,
  317. ],
  318. 'requestId' => [
  319. 'location' => 'query',
  320. 'type' => 'string',
  321. ],
  322. 'updateMask' => [
  323. 'location' => 'query',
  324. 'type' => 'string',
  325. ],
  326. 'validateOnly' => [
  327. 'location' => 'query',
  328. 'type' => 'boolean',
  329. ],
  330. ],
  331. ],
  332. ]
  333. ]
  334. );
  335. $this->projects_locations_rollouts = new SaaSServiceManagement\Resource\ProjectsLocationsRollouts(
  336. $this,
  337. $this->serviceName,
  338. 'rollouts',
  339. [
  340. 'methods' => [
  341. 'create' => [
  342. 'path' => 'v1beta1/{+parent}/rollouts',
  343. 'httpMethod' => 'POST',
  344. 'parameters' => [
  345. 'parent' => [
  346. 'location' => 'path',
  347. 'type' => 'string',
  348. 'required' => true,
  349. ],
  350. 'requestId' => [
  351. 'location' => 'query',
  352. 'type' => 'string',
  353. ],
  354. 'rolloutId' => [
  355. 'location' => 'query',
  356. 'type' => 'string',
  357. ],
  358. 'validateOnly' => [
  359. 'location' => 'query',
  360. 'type' => 'boolean',
  361. ],
  362. ],
  363. ],'delete' => [
  364. 'path' => 'v1beta1/{+name}',
  365. 'httpMethod' => 'DELETE',
  366. 'parameters' => [
  367. 'name' => [
  368. 'location' => 'path',
  369. 'type' => 'string',
  370. 'required' => true,
  371. ],
  372. 'etag' => [
  373. 'location' => 'query',
  374. 'type' => 'string',
  375. ],
  376. 'requestId' => [
  377. 'location' => 'query',
  378. 'type' => 'string',
  379. ],
  380. 'validateOnly' => [
  381. 'location' => 'query',
  382. 'type' => 'boolean',
  383. ],
  384. ],
  385. ],'get' => [
  386. 'path' => 'v1beta1/{+name}',
  387. 'httpMethod' => 'GET',
  388. 'parameters' => [
  389. 'name' => [
  390. 'location' => 'path',
  391. 'type' => 'string',
  392. 'required' => true,
  393. ],
  394. ],
  395. ],'list' => [
  396. 'path' => 'v1beta1/{+parent}/rollouts',
  397. 'httpMethod' => 'GET',
  398. 'parameters' => [
  399. 'parent' => [
  400. 'location' => 'path',
  401. 'type' => 'string',
  402. 'required' => true,
  403. ],
  404. 'filter' => [
  405. 'location' => 'query',
  406. 'type' => 'string',
  407. ],
  408. 'orderBy' => [
  409. 'location' => 'query',
  410. 'type' => 'string',
  411. ],
  412. 'pageSize' => [
  413. 'location' => 'query',
  414. 'type' => 'integer',
  415. ],
  416. 'pageToken' => [
  417. 'location' => 'query',
  418. 'type' => 'string',
  419. ],
  420. ],
  421. ],'patch' => [
  422. 'path' => 'v1beta1/{+name}',
  423. 'httpMethod' => 'PATCH',
  424. 'parameters' => [
  425. 'name' => [
  426. 'location' => 'path',
  427. 'type' => 'string',
  428. 'required' => true,
  429. ],
  430. 'requestId' => [
  431. 'location' => 'query',
  432. 'type' => 'string',
  433. ],
  434. 'updateMask' => [
  435. 'location' => 'query',
  436. 'type' => 'string',
  437. ],
  438. 'validateOnly' => [
  439. 'location' => 'query',
  440. 'type' => 'boolean',
  441. ],
  442. ],
  443. ],
  444. ]
  445. ]
  446. );
  447. $this->projects_locations_saas = new SaaSServiceManagement\Resource\ProjectsLocationsSaas(
  448. $this,
  449. $this->serviceName,
  450. 'saas',
  451. [
  452. 'methods' => [
  453. 'create' => [
  454. 'path' => 'v1beta1/{+parent}/saas',
  455. 'httpMethod' => 'POST',
  456. 'parameters' => [
  457. 'parent' => [
  458. 'location' => 'path',
  459. 'type' => 'string',
  460. 'required' => true,
  461. ],
  462. 'requestId' => [
  463. 'location' => 'query',
  464. 'type' => 'string',
  465. ],
  466. 'saasId' => [
  467. 'location' => 'query',
  468. 'type' => 'string',
  469. ],
  470. 'validateOnly' => [
  471. 'location' => 'query',
  472. 'type' => 'boolean',
  473. ],
  474. ],
  475. ],'delete' => [
  476. 'path' => 'v1beta1/{+name}',
  477. 'httpMethod' => 'DELETE',
  478. 'parameters' => [
  479. 'name' => [
  480. 'location' => 'path',
  481. 'type' => 'string',
  482. 'required' => true,
  483. ],
  484. 'etag' => [
  485. 'location' => 'query',
  486. 'type' => 'string',
  487. ],
  488. 'requestId' => [
  489. 'location' => 'query',
  490. 'type' => 'string',
  491. ],
  492. 'validateOnly' => [
  493. 'location' => 'query',
  494. 'type' => 'boolean',
  495. ],
  496. ],
  497. ],'get' => [
  498. 'path' => 'v1beta1/{+name}',
  499. 'httpMethod' => 'GET',
  500. 'parameters' => [
  501. 'name' => [
  502. 'location' => 'path',
  503. 'type' => 'string',
  504. 'required' => true,
  505. ],
  506. ],
  507. ],'list' => [
  508. 'path' => 'v1beta1/{+parent}/saas',
  509. 'httpMethod' => 'GET',
  510. 'parameters' => [
  511. 'parent' => [
  512. 'location' => 'path',
  513. 'type' => 'string',
  514. 'required' => true,
  515. ],
  516. 'filter' => [
  517. 'location' => 'query',
  518. 'type' => 'string',
  519. ],
  520. 'orderBy' => [
  521. 'location' => 'query',
  522. 'type' => 'string',
  523. ],
  524. 'pageSize' => [
  525. 'location' => 'query',
  526. 'type' => 'integer',
  527. ],
  528. 'pageToken' => [
  529. 'location' => 'query',
  530. 'type' => 'string',
  531. ],
  532. ],
  533. ],'patch' => [
  534. 'path' => 'v1beta1/{+name}',
  535. 'httpMethod' => 'PATCH',
  536. 'parameters' => [
  537. 'name' => [
  538. 'location' => 'path',
  539. 'type' => 'string',
  540. 'required' => true,
  541. ],
  542. 'requestId' => [
  543. 'location' => 'query',
  544. 'type' => 'string',
  545. ],
  546. 'updateMask' => [
  547. 'location' => 'query',
  548. 'type' => 'string',
  549. ],
  550. 'validateOnly' => [
  551. 'location' => 'query',
  552. 'type' => 'boolean',
  553. ],
  554. ],
  555. ],
  556. ]
  557. ]
  558. );
  559. $this->projects_locations_tenants = new SaaSServiceManagement\Resource\ProjectsLocationsTenants(
  560. $this,
  561. $this->serviceName,
  562. 'tenants',
  563. [
  564. 'methods' => [
  565. 'create' => [
  566. 'path' => 'v1beta1/{+parent}/tenants',
  567. 'httpMethod' => 'POST',
  568. 'parameters' => [
  569. 'parent' => [
  570. 'location' => 'path',
  571. 'type' => 'string',
  572. 'required' => true,
  573. ],
  574. 'requestId' => [
  575. 'location' => 'query',
  576. 'type' => 'string',
  577. ],
  578. 'tenantId' => [
  579. 'location' => 'query',
  580. 'type' => 'string',
  581. ],
  582. 'validateOnly' => [
  583. 'location' => 'query',
  584. 'type' => 'boolean',
  585. ],
  586. ],
  587. ],'delete' => [
  588. 'path' => 'v1beta1/{+name}',
  589. 'httpMethod' => 'DELETE',
  590. 'parameters' => [
  591. 'name' => [
  592. 'location' => 'path',
  593. 'type' => 'string',
  594. 'required' => true,
  595. ],
  596. 'etag' => [
  597. 'location' => 'query',
  598. 'type' => 'string',
  599. ],
  600. 'requestId' => [
  601. 'location' => 'query',
  602. 'type' => 'string',
  603. ],
  604. 'validateOnly' => [
  605. 'location' => 'query',
  606. 'type' => 'boolean',
  607. ],
  608. ],
  609. ],'get' => [
  610. 'path' => 'v1beta1/{+name}',
  611. 'httpMethod' => 'GET',
  612. 'parameters' => [
  613. 'name' => [
  614. 'location' => 'path',
  615. 'type' => 'string',
  616. 'required' => true,
  617. ],
  618. ],
  619. ],'list' => [
  620. 'path' => 'v1beta1/{+parent}/tenants',
  621. 'httpMethod' => 'GET',
  622. 'parameters' => [
  623. 'parent' => [
  624. 'location' => 'path',
  625. 'type' => 'string',
  626. 'required' => true,
  627. ],
  628. 'filter' => [
  629. 'location' => 'query',
  630. 'type' => 'string',
  631. ],
  632. 'orderBy' => [
  633. 'location' => 'query',
  634. 'type' => 'string',
  635. ],
  636. 'pageSize' => [
  637. 'location' => 'query',
  638. 'type' => 'integer',
  639. ],
  640. 'pageToken' => [
  641. 'location' => 'query',
  642. 'type' => 'string',
  643. ],
  644. ],
  645. ],'patch' => [
  646. 'path' => 'v1beta1/{+name}',
  647. 'httpMethod' => 'PATCH',
  648. 'parameters' => [
  649. 'name' => [
  650. 'location' => 'path',
  651. 'type' => 'string',
  652. 'required' => true,
  653. ],
  654. 'requestId' => [
  655. 'location' => 'query',
  656. 'type' => 'string',
  657. ],
  658. 'updateMask' => [
  659. 'location' => 'query',
  660. 'type' => 'string',
  661. ],
  662. 'validateOnly' => [
  663. 'location' => 'query',
  664. 'type' => 'boolean',
  665. ],
  666. ],
  667. ],
  668. ]
  669. ]
  670. );
  671. $this->projects_locations_unitKinds = new SaaSServiceManagement\Resource\ProjectsLocationsUnitKinds(
  672. $this,
  673. $this->serviceName,
  674. 'unitKinds',
  675. [
  676. 'methods' => [
  677. 'create' => [
  678. 'path' => 'v1beta1/{+parent}/unitKinds',
  679. 'httpMethod' => 'POST',
  680. 'parameters' => [
  681. 'parent' => [
  682. 'location' => 'path',
  683. 'type' => 'string',
  684. 'required' => true,
  685. ],
  686. 'requestId' => [
  687. 'location' => 'query',
  688. 'type' => 'string',
  689. ],
  690. 'unitKindId' => [
  691. 'location' => 'query',
  692. 'type' => 'string',
  693. ],
  694. 'validateOnly' => [
  695. 'location' => 'query',
  696. 'type' => 'boolean',
  697. ],
  698. ],
  699. ],'delete' => [
  700. 'path' => 'v1beta1/{+name}',
  701. 'httpMethod' => 'DELETE',
  702. 'parameters' => [
  703. 'name' => [
  704. 'location' => 'path',
  705. 'type' => 'string',
  706. 'required' => true,
  707. ],
  708. 'etag' => [
  709. 'location' => 'query',
  710. 'type' => 'string',
  711. ],
  712. 'requestId' => [
  713. 'location' => 'query',
  714. 'type' => 'string',
  715. ],
  716. 'validateOnly' => [
  717. 'location' => 'query',
  718. 'type' => 'boolean',
  719. ],
  720. ],
  721. ],'get' => [
  722. 'path' => 'v1beta1/{+name}',
  723. 'httpMethod' => 'GET',
  724. 'parameters' => [
  725. 'name' => [
  726. 'location' => 'path',
  727. 'type' => 'string',
  728. 'required' => true,
  729. ],
  730. ],
  731. ],'list' => [
  732. 'path' => 'v1beta1/{+parent}/unitKinds',
  733. 'httpMethod' => 'GET',
  734. 'parameters' => [
  735. 'parent' => [
  736. 'location' => 'path',
  737. 'type' => 'string',
  738. 'required' => true,
  739. ],
  740. 'filter' => [
  741. 'location' => 'query',
  742. 'type' => 'string',
  743. ],
  744. 'orderBy' => [
  745. 'location' => 'query',
  746. 'type' => 'string',
  747. ],
  748. 'pageSize' => [
  749. 'location' => 'query',
  750. 'type' => 'integer',
  751. ],
  752. 'pageToken' => [
  753. 'location' => 'query',
  754. 'type' => 'string',
  755. ],
  756. ],
  757. ],'patch' => [
  758. 'path' => 'v1beta1/{+name}',
  759. 'httpMethod' => 'PATCH',
  760. 'parameters' => [
  761. 'name' => [
  762. 'location' => 'path',
  763. 'type' => 'string',
  764. 'required' => true,
  765. ],
  766. 'requestId' => [
  767. 'location' => 'query',
  768. 'type' => 'string',
  769. ],
  770. 'updateMask' => [
  771. 'location' => 'query',
  772. 'type' => 'string',
  773. ],
  774. 'validateOnly' => [
  775. 'location' => 'query',
  776. 'type' => 'boolean',
  777. ],
  778. ],
  779. ],
  780. ]
  781. ]
  782. );
  783. $this->projects_locations_unitOperations = new SaaSServiceManagement\Resource\ProjectsLocationsUnitOperations(
  784. $this,
  785. $this->serviceName,
  786. 'unitOperations',
  787. [
  788. 'methods' => [
  789. 'create' => [
  790. 'path' => 'v1beta1/{+parent}/unitOperations',
  791. 'httpMethod' => 'POST',
  792. 'parameters' => [
  793. 'parent' => [
  794. 'location' => 'path',
  795. 'type' => 'string',
  796. 'required' => true,
  797. ],
  798. 'requestId' => [
  799. 'location' => 'query',
  800. 'type' => 'string',
  801. ],
  802. 'unitOperationId' => [
  803. 'location' => 'query',
  804. 'type' => 'string',
  805. ],
  806. 'validateOnly' => [
  807. 'location' => 'query',
  808. 'type' => 'boolean',
  809. ],
  810. ],
  811. ],'delete' => [
  812. 'path' => 'v1beta1/{+name}',
  813. 'httpMethod' => 'DELETE',
  814. 'parameters' => [
  815. 'name' => [
  816. 'location' => 'path',
  817. 'type' => 'string',
  818. 'required' => true,
  819. ],
  820. 'etag' => [
  821. 'location' => 'query',
  822. 'type' => 'string',
  823. ],
  824. 'requestId' => [
  825. 'location' => 'query',
  826. 'type' => 'string',
  827. ],
  828. 'validateOnly' => [
  829. 'location' => 'query',
  830. 'type' => 'boolean',
  831. ],
  832. ],
  833. ],'get' => [
  834. 'path' => 'v1beta1/{+name}',
  835. 'httpMethod' => 'GET',
  836. 'parameters' => [
  837. 'name' => [
  838. 'location' => 'path',
  839. 'type' => 'string',
  840. 'required' => true,
  841. ],
  842. ],
  843. ],'list' => [
  844. 'path' => 'v1beta1/{+parent}/unitOperations',
  845. 'httpMethod' => 'GET',
  846. 'parameters' => [
  847. 'parent' => [
  848. 'location' => 'path',
  849. 'type' => 'string',
  850. 'required' => true,
  851. ],
  852. 'filter' => [
  853. 'location' => 'query',
  854. 'type' => 'string',
  855. ],
  856. 'orderBy' => [
  857. 'location' => 'query',
  858. 'type' => 'string',
  859. ],
  860. 'pageSize' => [
  861. 'location' => 'query',
  862. 'type' => 'integer',
  863. ],
  864. 'pageToken' => [
  865. 'location' => 'query',
  866. 'type' => 'string',
  867. ],
  868. ],
  869. ],'patch' => [
  870. 'path' => 'v1beta1/{+name}',
  871. 'httpMethod' => 'PATCH',
  872. 'parameters' => [
  873. 'name' => [
  874. 'location' => 'path',
  875. 'type' => 'string',
  876. 'required' => true,
  877. ],
  878. 'requestId' => [
  879. 'location' => 'query',
  880. 'type' => 'string',
  881. ],
  882. 'updateMask' => [
  883. 'location' => 'query',
  884. 'type' => 'string',
  885. ],
  886. 'validateOnly' => [
  887. 'location' => 'query',
  888. 'type' => 'boolean',
  889. ],
  890. ],
  891. ],
  892. ]
  893. ]
  894. );
  895. $this->projects_locations_units = new SaaSServiceManagement\Resource\ProjectsLocationsUnits(
  896. $this,
  897. $this->serviceName,
  898. 'units',
  899. [
  900. 'methods' => [
  901. 'create' => [
  902. 'path' => 'v1beta1/{+parent}/units',
  903. 'httpMethod' => 'POST',
  904. 'parameters' => [
  905. 'parent' => [
  906. 'location' => 'path',
  907. 'type' => 'string',
  908. 'required' => true,
  909. ],
  910. 'requestId' => [
  911. 'location' => 'query',
  912. 'type' => 'string',
  913. ],
  914. 'unitId' => [
  915. 'location' => 'query',
  916. 'type' => 'string',
  917. ],
  918. 'validateOnly' => [
  919. 'location' => 'query',
  920. 'type' => 'boolean',
  921. ],
  922. ],
  923. ],'delete' => [
  924. 'path' => 'v1beta1/{+name}',
  925. 'httpMethod' => 'DELETE',
  926. 'parameters' => [
  927. 'name' => [
  928. 'location' => 'path',
  929. 'type' => 'string',
  930. 'required' => true,
  931. ],
  932. 'etag' => [
  933. 'location' => 'query',
  934. 'type' => 'string',
  935. ],
  936. 'requestId' => [
  937. 'location' => 'query',
  938. 'type' => 'string',
  939. ],
  940. 'validateOnly' => [
  941. 'location' => 'query',
  942. 'type' => 'boolean',
  943. ],
  944. ],
  945. ],'get' => [
  946. 'path' => 'v1beta1/{+name}',
  947. 'httpMethod' => 'GET',
  948. 'parameters' => [
  949. 'name' => [
  950. 'location' => 'path',
  951. 'type' => 'string',
  952. 'required' => true,
  953. ],
  954. ],
  955. ],'list' => [
  956. 'path' => 'v1beta1/{+parent}/units',
  957. 'httpMethod' => 'GET',
  958. 'parameters' => [
  959. 'parent' => [
  960. 'location' => 'path',
  961. 'type' => 'string',
  962. 'required' => true,
  963. ],
  964. 'filter' => [
  965. 'location' => 'query',
  966. 'type' => 'string',
  967. ],
  968. 'orderBy' => [
  969. 'location' => 'query',
  970. 'type' => 'string',
  971. ],
  972. 'pageSize' => [
  973. 'location' => 'query',
  974. 'type' => 'integer',
  975. ],
  976. 'pageToken' => [
  977. 'location' => 'query',
  978. 'type' => 'string',
  979. ],
  980. ],
  981. ],'patch' => [
  982. 'path' => 'v1beta1/{+name}',
  983. 'httpMethod' => 'PATCH',
  984. 'parameters' => [
  985. 'name' => [
  986. 'location' => 'path',
  987. 'type' => 'string',
  988. 'required' => true,
  989. ],
  990. 'requestId' => [
  991. 'location' => 'query',
  992. 'type' => 'string',
  993. ],
  994. 'updateMask' => [
  995. 'location' => 'query',
  996. 'type' => 'string',
  997. ],
  998. 'validateOnly' => [
  999. 'location' => 'query',
  1000. 'type' => 'boolean',
  1001. ],
  1002. ],
  1003. ],
  1004. ]
  1005. ]
  1006. );
  1007. }
  1008. }
  1009. // Adding a class alias for backwards compatibility with the previous class name.
  1010. class_alias(SaaSServiceManagement::class, 'Google_Service_SaaSServiceManagement');