CertificateAuthorityService.php 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798
  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 CertificateAuthorityService (v1).
  21. *
  22. * <p>
  23. * The Certificate Authority Service API is a highly-available, scalable service
  24. * that enables you to simplify and automate the management of private
  25. * certificate authorities (CAs) while staying in control of your private keys.</p>
  26. *
  27. * <p>
  28. * For more information about this service, see the API
  29. * <a href="https://cloud.google.com/" target="_blank">Documentation</a>
  30. * </p>
  31. *
  32. * @author Google, Inc.
  33. */
  34. class CertificateAuthorityService extends \Google\Service
  35. {
  36. /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
  37. const CLOUD_PLATFORM =
  38. "https://www.googleapis.com/auth/cloud-platform";
  39. public $projects_locations;
  40. public $projects_locations_caPools;
  41. public $projects_locations_caPools_certificateAuthorities;
  42. public $projects_locations_caPools_certificateAuthorities_certificateRevocationLists;
  43. public $projects_locations_caPools_certificates;
  44. public $projects_locations_certificateTemplates;
  45. public $projects_locations_operations;
  46. /**
  47. * Constructs the internal representation of the CertificateAuthorityService
  48. * service.
  49. *
  50. * @param Client|array $clientOrConfig The client used to deliver requests, or a
  51. * config array to pass to a new Client instance.
  52. * @param string $rootUrl The root URL used for requests to the service.
  53. */
  54. public function __construct($clientOrConfig = [], $rootUrl = null)
  55. {
  56. parent::__construct($clientOrConfig);
  57. $this->rootUrl = $rootUrl ?: 'https://privateca.googleapis.com/';
  58. $this->servicePath = '';
  59. $this->batchPath = 'batch';
  60. $this->version = 'v1';
  61. $this->serviceName = 'privateca';
  62. $this->projects_locations = new CertificateAuthorityService\Resource\ProjectsLocations(
  63. $this,
  64. $this->serviceName,
  65. 'locations',
  66. [
  67. 'methods' => [
  68. 'get' => [
  69. 'path' => 'v1/{+name}',
  70. 'httpMethod' => 'GET',
  71. 'parameters' => [
  72. 'name' => [
  73. 'location' => 'path',
  74. 'type' => 'string',
  75. 'required' => true,
  76. ],
  77. ],
  78. ],'list' => [
  79. 'path' => 'v1/{+name}/locations',
  80. 'httpMethod' => 'GET',
  81. 'parameters' => [
  82. 'name' => [
  83. 'location' => 'path',
  84. 'type' => 'string',
  85. 'required' => true,
  86. ],
  87. 'filter' => [
  88. 'location' => 'query',
  89. 'type' => 'string',
  90. ],
  91. 'pageSize' => [
  92. 'location' => 'query',
  93. 'type' => 'integer',
  94. ],
  95. 'pageToken' => [
  96. 'location' => 'query',
  97. 'type' => 'string',
  98. ],
  99. ],
  100. ],
  101. ]
  102. ]
  103. );
  104. $this->projects_locations_caPools = new CertificateAuthorityService\Resource\ProjectsLocationsCaPools(
  105. $this,
  106. $this->serviceName,
  107. 'caPools',
  108. [
  109. 'methods' => [
  110. 'create' => [
  111. 'path' => 'v1/{+parent}/caPools',
  112. 'httpMethod' => 'POST',
  113. 'parameters' => [
  114. 'parent' => [
  115. 'location' => 'path',
  116. 'type' => 'string',
  117. 'required' => true,
  118. ],
  119. 'caPoolId' => [
  120. 'location' => 'query',
  121. 'type' => 'string',
  122. ],
  123. 'requestId' => [
  124. 'location' => 'query',
  125. 'type' => 'string',
  126. ],
  127. ],
  128. ],'delete' => [
  129. 'path' => 'v1/{+name}',
  130. 'httpMethod' => 'DELETE',
  131. 'parameters' => [
  132. 'name' => [
  133. 'location' => 'path',
  134. 'type' => 'string',
  135. 'required' => true,
  136. ],
  137. 'requestId' => [
  138. 'location' => 'query',
  139. 'type' => 'string',
  140. ],
  141. ],
  142. ],'fetchCaCerts' => [
  143. 'path' => 'v1/{+caPool}:fetchCaCerts',
  144. 'httpMethod' => 'POST',
  145. 'parameters' => [
  146. 'caPool' => [
  147. 'location' => 'path',
  148. 'type' => 'string',
  149. 'required' => true,
  150. ],
  151. ],
  152. ],'get' => [
  153. 'path' => 'v1/{+name}',
  154. 'httpMethod' => 'GET',
  155. 'parameters' => [
  156. 'name' => [
  157. 'location' => 'path',
  158. 'type' => 'string',
  159. 'required' => true,
  160. ],
  161. ],
  162. ],'getIamPolicy' => [
  163. 'path' => 'v1/{+resource}:getIamPolicy',
  164. 'httpMethod' => 'GET',
  165. 'parameters' => [
  166. 'resource' => [
  167. 'location' => 'path',
  168. 'type' => 'string',
  169. 'required' => true,
  170. ],
  171. 'options.requestedPolicyVersion' => [
  172. 'location' => 'query',
  173. 'type' => 'integer',
  174. ],
  175. ],
  176. ],'list' => [
  177. 'path' => 'v1/{+parent}/caPools',
  178. 'httpMethod' => 'GET',
  179. 'parameters' => [
  180. 'parent' => [
  181. 'location' => 'path',
  182. 'type' => 'string',
  183. 'required' => true,
  184. ],
  185. 'filter' => [
  186. 'location' => 'query',
  187. 'type' => 'string',
  188. ],
  189. 'orderBy' => [
  190. 'location' => 'query',
  191. 'type' => 'string',
  192. ],
  193. 'pageSize' => [
  194. 'location' => 'query',
  195. 'type' => 'integer',
  196. ],
  197. 'pageToken' => [
  198. 'location' => 'query',
  199. 'type' => 'string',
  200. ],
  201. ],
  202. ],'patch' => [
  203. 'path' => 'v1/{+name}',
  204. 'httpMethod' => 'PATCH',
  205. 'parameters' => [
  206. 'name' => [
  207. 'location' => 'path',
  208. 'type' => 'string',
  209. 'required' => true,
  210. ],
  211. 'requestId' => [
  212. 'location' => 'query',
  213. 'type' => 'string',
  214. ],
  215. 'updateMask' => [
  216. 'location' => 'query',
  217. 'type' => 'string',
  218. ],
  219. ],
  220. ],'setIamPolicy' => [
  221. 'path' => 'v1/{+resource}:setIamPolicy',
  222. 'httpMethod' => 'POST',
  223. 'parameters' => [
  224. 'resource' => [
  225. 'location' => 'path',
  226. 'type' => 'string',
  227. 'required' => true,
  228. ],
  229. ],
  230. ],'testIamPermissions' => [
  231. 'path' => 'v1/{+resource}:testIamPermissions',
  232. 'httpMethod' => 'POST',
  233. 'parameters' => [
  234. 'resource' => [
  235. 'location' => 'path',
  236. 'type' => 'string',
  237. 'required' => true,
  238. ],
  239. ],
  240. ],
  241. ]
  242. ]
  243. );
  244. $this->projects_locations_caPools_certificateAuthorities = new CertificateAuthorityService\Resource\ProjectsLocationsCaPoolsCertificateAuthorities(
  245. $this,
  246. $this->serviceName,
  247. 'certificateAuthorities',
  248. [
  249. 'methods' => [
  250. 'activate' => [
  251. 'path' => 'v1/{+name}:activate',
  252. 'httpMethod' => 'POST',
  253. 'parameters' => [
  254. 'name' => [
  255. 'location' => 'path',
  256. 'type' => 'string',
  257. 'required' => true,
  258. ],
  259. ],
  260. ],'create' => [
  261. 'path' => 'v1/{+parent}/certificateAuthorities',
  262. 'httpMethod' => 'POST',
  263. 'parameters' => [
  264. 'parent' => [
  265. 'location' => 'path',
  266. 'type' => 'string',
  267. 'required' => true,
  268. ],
  269. 'certificateAuthorityId' => [
  270. 'location' => 'query',
  271. 'type' => 'string',
  272. ],
  273. 'requestId' => [
  274. 'location' => 'query',
  275. 'type' => 'string',
  276. ],
  277. ],
  278. ],'delete' => [
  279. 'path' => 'v1/{+name}',
  280. 'httpMethod' => 'DELETE',
  281. 'parameters' => [
  282. 'name' => [
  283. 'location' => 'path',
  284. 'type' => 'string',
  285. 'required' => true,
  286. ],
  287. 'ignoreActiveCertificates' => [
  288. 'location' => 'query',
  289. 'type' => 'boolean',
  290. ],
  291. 'requestId' => [
  292. 'location' => 'query',
  293. 'type' => 'string',
  294. ],
  295. 'skipGracePeriod' => [
  296. 'location' => 'query',
  297. 'type' => 'boolean',
  298. ],
  299. ],
  300. ],'disable' => [
  301. 'path' => 'v1/{+name}:disable',
  302. 'httpMethod' => 'POST',
  303. 'parameters' => [
  304. 'name' => [
  305. 'location' => 'path',
  306. 'type' => 'string',
  307. 'required' => true,
  308. ],
  309. ],
  310. ],'enable' => [
  311. 'path' => 'v1/{+name}:enable',
  312. 'httpMethod' => 'POST',
  313. 'parameters' => [
  314. 'name' => [
  315. 'location' => 'path',
  316. 'type' => 'string',
  317. 'required' => true,
  318. ],
  319. ],
  320. ],'fetch' => [
  321. 'path' => 'v1/{+name}:fetch',
  322. 'httpMethod' => 'GET',
  323. 'parameters' => [
  324. 'name' => [
  325. 'location' => 'path',
  326. 'type' => 'string',
  327. 'required' => true,
  328. ],
  329. ],
  330. ],'get' => [
  331. 'path' => 'v1/{+name}',
  332. 'httpMethod' => 'GET',
  333. 'parameters' => [
  334. 'name' => [
  335. 'location' => 'path',
  336. 'type' => 'string',
  337. 'required' => true,
  338. ],
  339. ],
  340. ],'list' => [
  341. 'path' => 'v1/{+parent}/certificateAuthorities',
  342. 'httpMethod' => 'GET',
  343. 'parameters' => [
  344. 'parent' => [
  345. 'location' => 'path',
  346. 'type' => 'string',
  347. 'required' => true,
  348. ],
  349. 'filter' => [
  350. 'location' => 'query',
  351. 'type' => 'string',
  352. ],
  353. 'orderBy' => [
  354. 'location' => 'query',
  355. 'type' => 'string',
  356. ],
  357. 'pageSize' => [
  358. 'location' => 'query',
  359. 'type' => 'integer',
  360. ],
  361. 'pageToken' => [
  362. 'location' => 'query',
  363. 'type' => 'string',
  364. ],
  365. ],
  366. ],'patch' => [
  367. 'path' => 'v1/{+name}',
  368. 'httpMethod' => 'PATCH',
  369. 'parameters' => [
  370. 'name' => [
  371. 'location' => 'path',
  372. 'type' => 'string',
  373. 'required' => true,
  374. ],
  375. 'requestId' => [
  376. 'location' => 'query',
  377. 'type' => 'string',
  378. ],
  379. 'updateMask' => [
  380. 'location' => 'query',
  381. 'type' => 'string',
  382. ],
  383. ],
  384. ],'undelete' => [
  385. 'path' => 'v1/{+name}:undelete',
  386. 'httpMethod' => 'POST',
  387. 'parameters' => [
  388. 'name' => [
  389. 'location' => 'path',
  390. 'type' => 'string',
  391. 'required' => true,
  392. ],
  393. ],
  394. ],
  395. ]
  396. ]
  397. );
  398. $this->projects_locations_caPools_certificateAuthorities_certificateRevocationLists = new CertificateAuthorityService\Resource\ProjectsLocationsCaPoolsCertificateAuthoritiesCertificateRevocationLists(
  399. $this,
  400. $this->serviceName,
  401. 'certificateRevocationLists',
  402. [
  403. 'methods' => [
  404. 'get' => [
  405. 'path' => 'v1/{+name}',
  406. 'httpMethod' => 'GET',
  407. 'parameters' => [
  408. 'name' => [
  409. 'location' => 'path',
  410. 'type' => 'string',
  411. 'required' => true,
  412. ],
  413. ],
  414. ],'getIamPolicy' => [
  415. 'path' => 'v1/{+resource}:getIamPolicy',
  416. 'httpMethod' => 'GET',
  417. 'parameters' => [
  418. 'resource' => [
  419. 'location' => 'path',
  420. 'type' => 'string',
  421. 'required' => true,
  422. ],
  423. 'options.requestedPolicyVersion' => [
  424. 'location' => 'query',
  425. 'type' => 'integer',
  426. ],
  427. ],
  428. ],'list' => [
  429. 'path' => 'v1/{+parent}/certificateRevocationLists',
  430. 'httpMethod' => 'GET',
  431. 'parameters' => [
  432. 'parent' => [
  433. 'location' => 'path',
  434. 'type' => 'string',
  435. 'required' => true,
  436. ],
  437. 'filter' => [
  438. 'location' => 'query',
  439. 'type' => 'string',
  440. ],
  441. 'orderBy' => [
  442. 'location' => 'query',
  443. 'type' => 'string',
  444. ],
  445. 'pageSize' => [
  446. 'location' => 'query',
  447. 'type' => 'integer',
  448. ],
  449. 'pageToken' => [
  450. 'location' => 'query',
  451. 'type' => 'string',
  452. ],
  453. ],
  454. ],'patch' => [
  455. 'path' => 'v1/{+name}',
  456. 'httpMethod' => 'PATCH',
  457. 'parameters' => [
  458. 'name' => [
  459. 'location' => 'path',
  460. 'type' => 'string',
  461. 'required' => true,
  462. ],
  463. 'requestId' => [
  464. 'location' => 'query',
  465. 'type' => 'string',
  466. ],
  467. 'updateMask' => [
  468. 'location' => 'query',
  469. 'type' => 'string',
  470. ],
  471. ],
  472. ],'setIamPolicy' => [
  473. 'path' => 'v1/{+resource}:setIamPolicy',
  474. 'httpMethod' => 'POST',
  475. 'parameters' => [
  476. 'resource' => [
  477. 'location' => 'path',
  478. 'type' => 'string',
  479. 'required' => true,
  480. ],
  481. ],
  482. ],'testIamPermissions' => [
  483. 'path' => 'v1/{+resource}:testIamPermissions',
  484. 'httpMethod' => 'POST',
  485. 'parameters' => [
  486. 'resource' => [
  487. 'location' => 'path',
  488. 'type' => 'string',
  489. 'required' => true,
  490. ],
  491. ],
  492. ],
  493. ]
  494. ]
  495. );
  496. $this->projects_locations_caPools_certificates = new CertificateAuthorityService\Resource\ProjectsLocationsCaPoolsCertificates(
  497. $this,
  498. $this->serviceName,
  499. 'certificates',
  500. [
  501. 'methods' => [
  502. 'create' => [
  503. 'path' => 'v1/{+parent}/certificates',
  504. 'httpMethod' => 'POST',
  505. 'parameters' => [
  506. 'parent' => [
  507. 'location' => 'path',
  508. 'type' => 'string',
  509. 'required' => true,
  510. ],
  511. 'certificateId' => [
  512. 'location' => 'query',
  513. 'type' => 'string',
  514. ],
  515. 'issuingCertificateAuthorityId' => [
  516. 'location' => 'query',
  517. 'type' => 'string',
  518. ],
  519. 'requestId' => [
  520. 'location' => 'query',
  521. 'type' => 'string',
  522. ],
  523. 'validateOnly' => [
  524. 'location' => 'query',
  525. 'type' => 'boolean',
  526. ],
  527. ],
  528. ],'get' => [
  529. 'path' => 'v1/{+name}',
  530. 'httpMethod' => 'GET',
  531. 'parameters' => [
  532. 'name' => [
  533. 'location' => 'path',
  534. 'type' => 'string',
  535. 'required' => true,
  536. ],
  537. ],
  538. ],'list' => [
  539. 'path' => 'v1/{+parent}/certificates',
  540. 'httpMethod' => 'GET',
  541. 'parameters' => [
  542. 'parent' => [
  543. 'location' => 'path',
  544. 'type' => 'string',
  545. 'required' => true,
  546. ],
  547. 'filter' => [
  548. 'location' => 'query',
  549. 'type' => 'string',
  550. ],
  551. 'orderBy' => [
  552. 'location' => 'query',
  553. 'type' => 'string',
  554. ],
  555. 'pageSize' => [
  556. 'location' => 'query',
  557. 'type' => 'integer',
  558. ],
  559. 'pageToken' => [
  560. 'location' => 'query',
  561. 'type' => 'string',
  562. ],
  563. ],
  564. ],'patch' => [
  565. 'path' => 'v1/{+name}',
  566. 'httpMethod' => 'PATCH',
  567. 'parameters' => [
  568. 'name' => [
  569. 'location' => 'path',
  570. 'type' => 'string',
  571. 'required' => true,
  572. ],
  573. 'requestId' => [
  574. 'location' => 'query',
  575. 'type' => 'string',
  576. ],
  577. 'updateMask' => [
  578. 'location' => 'query',
  579. 'type' => 'string',
  580. ],
  581. ],
  582. ],'revoke' => [
  583. 'path' => 'v1/{+name}:revoke',
  584. 'httpMethod' => 'POST',
  585. 'parameters' => [
  586. 'name' => [
  587. 'location' => 'path',
  588. 'type' => 'string',
  589. 'required' => true,
  590. ],
  591. ],
  592. ],
  593. ]
  594. ]
  595. );
  596. $this->projects_locations_certificateTemplates = new CertificateAuthorityService\Resource\ProjectsLocationsCertificateTemplates(
  597. $this,
  598. $this->serviceName,
  599. 'certificateTemplates',
  600. [
  601. 'methods' => [
  602. 'create' => [
  603. 'path' => 'v1/{+parent}/certificateTemplates',
  604. 'httpMethod' => 'POST',
  605. 'parameters' => [
  606. 'parent' => [
  607. 'location' => 'path',
  608. 'type' => 'string',
  609. 'required' => true,
  610. ],
  611. 'certificateTemplateId' => [
  612. 'location' => 'query',
  613. 'type' => 'string',
  614. ],
  615. 'requestId' => [
  616. 'location' => 'query',
  617. 'type' => 'string',
  618. ],
  619. ],
  620. ],'delete' => [
  621. 'path' => 'v1/{+name}',
  622. 'httpMethod' => 'DELETE',
  623. 'parameters' => [
  624. 'name' => [
  625. 'location' => 'path',
  626. 'type' => 'string',
  627. 'required' => true,
  628. ],
  629. 'requestId' => [
  630. 'location' => 'query',
  631. 'type' => 'string',
  632. ],
  633. ],
  634. ],'get' => [
  635. 'path' => 'v1/{+name}',
  636. 'httpMethod' => 'GET',
  637. 'parameters' => [
  638. 'name' => [
  639. 'location' => 'path',
  640. 'type' => 'string',
  641. 'required' => true,
  642. ],
  643. ],
  644. ],'getIamPolicy' => [
  645. 'path' => 'v1/{+resource}:getIamPolicy',
  646. 'httpMethod' => 'GET',
  647. 'parameters' => [
  648. 'resource' => [
  649. 'location' => 'path',
  650. 'type' => 'string',
  651. 'required' => true,
  652. ],
  653. 'options.requestedPolicyVersion' => [
  654. 'location' => 'query',
  655. 'type' => 'integer',
  656. ],
  657. ],
  658. ],'list' => [
  659. 'path' => 'v1/{+parent}/certificateTemplates',
  660. 'httpMethod' => 'GET',
  661. 'parameters' => [
  662. 'parent' => [
  663. 'location' => 'path',
  664. 'type' => 'string',
  665. 'required' => true,
  666. ],
  667. 'filter' => [
  668. 'location' => 'query',
  669. 'type' => 'string',
  670. ],
  671. 'orderBy' => [
  672. 'location' => 'query',
  673. 'type' => 'string',
  674. ],
  675. 'pageSize' => [
  676. 'location' => 'query',
  677. 'type' => 'integer',
  678. ],
  679. 'pageToken' => [
  680. 'location' => 'query',
  681. 'type' => 'string',
  682. ],
  683. ],
  684. ],'patch' => [
  685. 'path' => 'v1/{+name}',
  686. 'httpMethod' => 'PATCH',
  687. 'parameters' => [
  688. 'name' => [
  689. 'location' => 'path',
  690. 'type' => 'string',
  691. 'required' => true,
  692. ],
  693. 'requestId' => [
  694. 'location' => 'query',
  695. 'type' => 'string',
  696. ],
  697. 'updateMask' => [
  698. 'location' => 'query',
  699. 'type' => 'string',
  700. ],
  701. ],
  702. ],'setIamPolicy' => [
  703. 'path' => 'v1/{+resource}:setIamPolicy',
  704. 'httpMethod' => 'POST',
  705. 'parameters' => [
  706. 'resource' => [
  707. 'location' => 'path',
  708. 'type' => 'string',
  709. 'required' => true,
  710. ],
  711. ],
  712. ],'testIamPermissions' => [
  713. 'path' => 'v1/{+resource}:testIamPermissions',
  714. 'httpMethod' => 'POST',
  715. 'parameters' => [
  716. 'resource' => [
  717. 'location' => 'path',
  718. 'type' => 'string',
  719. 'required' => true,
  720. ],
  721. ],
  722. ],
  723. ]
  724. ]
  725. );
  726. $this->projects_locations_operations = new CertificateAuthorityService\Resource\ProjectsLocationsOperations(
  727. $this,
  728. $this->serviceName,
  729. 'operations',
  730. [
  731. 'methods' => [
  732. 'cancel' => [
  733. 'path' => 'v1/{+name}:cancel',
  734. 'httpMethod' => 'POST',
  735. 'parameters' => [
  736. 'name' => [
  737. 'location' => 'path',
  738. 'type' => 'string',
  739. 'required' => true,
  740. ],
  741. ],
  742. ],'delete' => [
  743. 'path' => 'v1/{+name}',
  744. 'httpMethod' => 'DELETE',
  745. 'parameters' => [
  746. 'name' => [
  747. 'location' => 'path',
  748. 'type' => 'string',
  749. 'required' => true,
  750. ],
  751. ],
  752. ],'get' => [
  753. 'path' => 'v1/{+name}',
  754. 'httpMethod' => 'GET',
  755. 'parameters' => [
  756. 'name' => [
  757. 'location' => 'path',
  758. 'type' => 'string',
  759. 'required' => true,
  760. ],
  761. ],
  762. ],'list' => [
  763. 'path' => 'v1/{+name}/operations',
  764. 'httpMethod' => 'GET',
  765. 'parameters' => [
  766. 'name' => [
  767. 'location' => 'path',
  768. 'type' => 'string',
  769. 'required' => true,
  770. ],
  771. 'filter' => [
  772. 'location' => 'query',
  773. 'type' => 'string',
  774. ],
  775. 'pageSize' => [
  776. 'location' => 'query',
  777. 'type' => 'integer',
  778. ],
  779. 'pageToken' => [
  780. 'location' => 'query',
  781. 'type' => 'string',
  782. ],
  783. ],
  784. ],
  785. ]
  786. ]
  787. );
  788. }
  789. }
  790. // Adding a class alias for backwards compatibility with the previous class name.
  791. class_alias(CertificateAuthorityService::class, 'Google_Service_CertificateAuthorityService');