GoogleGAL_Service_AndroidPublisher

Service definition for AndroidPublisher (v2).

Defined (1)

The class is defined in the following location(s).

/core/Google/Service/AndroidPublisher.php  
  1. class GoogleGAL_Service_AndroidPublisher extends GoogleGAL_Service 
  2. /** View and manage your Google Play Android Developer account. */ 
  3. const ANDROIDPUBLISHER = 
  4. "https://www.googleapis.com/auth/androidpublisher"; 
  5.  
  6. public $edits; 
  7. public $edits_apklistings; 
  8. public $edits_apks; 
  9. public $edits_details; 
  10. public $edits_expansionfiles; 
  11. public $edits_images; 
  12. public $edits_listings; 
  13. public $edits_testers; 
  14. public $edits_tracks; 
  15. public $inappproducts; 
  16. public $purchases_products; 
  17. public $purchases_subscriptions; 
  18.  
  19.  
  20. /** 
  21. * Constructs the internal representation of the AndroidPublisher service. 
  22. * @param GoogleGAL_Client $client 
  23. */ 
  24. public function __construct(GoogleGAL_Client $client) 
  25. parent::__construct($client); 
  26. $this->servicePath = 'androidpublisher/v2/applications/'; 
  27. $this->version = 'v2'; 
  28. $this->serviceName = 'androidpublisher'; 
  29.  
  30. $this->edits = new GoogleGAL_Service_AndroidPublisher_Edits_Resource( 
  31. $this,  
  32. $this->serviceName,  
  33. 'edits',  
  34. array( 
  35. 'methods' => array( 
  36. 'commit' => array( 
  37. 'path' => '{packageName}/edits/{editId}:commit',  
  38. 'httpMethod' => 'POST',  
  39. 'parameters' => array( 
  40. 'packageName' => array( 
  41. 'location' => 'path',  
  42. 'type' => 'string',  
  43. 'required' => true,  
  44. ),  
  45. 'editId' => array( 
  46. 'location' => 'path',  
  47. 'type' => 'string',  
  48. 'required' => true,  
  49. ),  
  50. ),  
  51. ), 'delete' => array( 
  52. 'path' => '{packageName}/edits/{editId}',  
  53. 'httpMethod' => 'DELETE',  
  54. 'parameters' => array( 
  55. 'packageName' => array( 
  56. 'location' => 'path',  
  57. 'type' => 'string',  
  58. 'required' => true,  
  59. ),  
  60. 'editId' => array( 
  61. 'location' => 'path',  
  62. 'type' => 'string',  
  63. 'required' => true,  
  64. ),  
  65. ),  
  66. ), 'get' => array( 
  67. 'path' => '{packageName}/edits/{editId}',  
  68. 'httpMethod' => 'GET',  
  69. 'parameters' => array( 
  70. 'packageName' => array( 
  71. 'location' => 'path',  
  72. 'type' => 'string',  
  73. 'required' => true,  
  74. ),  
  75. 'editId' => array( 
  76. 'location' => 'path',  
  77. 'type' => 'string',  
  78. 'required' => true,  
  79. ),  
  80. ),  
  81. ), 'insert' => array( 
  82. 'path' => '{packageName}/edits',  
  83. 'httpMethod' => 'POST',  
  84. 'parameters' => array( 
  85. 'packageName' => array( 
  86. 'location' => 'path',  
  87. 'type' => 'string',  
  88. 'required' => true,  
  89. ),  
  90. ),  
  91. ), 'validate' => array( 
  92. 'path' => '{packageName}/edits/{editId}:validate',  
  93. 'httpMethod' => 'POST',  
  94. 'parameters' => array( 
  95. 'packageName' => array( 
  96. 'location' => 'path',  
  97. 'type' => 'string',  
  98. 'required' => true,  
  99. ),  
  100. 'editId' => array( 
  101. 'location' => 'path',  
  102. 'type' => 'string',  
  103. 'required' => true,  
  104. ),  
  105. ),  
  106. ),  
  107. ); 
  108. $this->edits_apklistings = new GoogleGAL_Service_AndroidPublisher_EditsApklistings_Resource( 
  109. $this,  
  110. $this->serviceName,  
  111. 'apklistings',  
  112. array( 
  113. 'methods' => array( 
  114. 'delete' => array( 
  115. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',  
  116. 'httpMethod' => 'DELETE',  
  117. 'parameters' => array( 
  118. 'packageName' => array( 
  119. 'location' => 'path',  
  120. 'type' => 'string',  
  121. 'required' => true,  
  122. ),  
  123. 'editId' => array( 
  124. 'location' => 'path',  
  125. 'type' => 'string',  
  126. 'required' => true,  
  127. ),  
  128. 'apkVersionCode' => array( 
  129. 'location' => 'path',  
  130. 'type' => 'integer',  
  131. 'required' => true,  
  132. ),  
  133. 'language' => array( 
  134. 'location' => 'path',  
  135. 'type' => 'string',  
  136. 'required' => true,  
  137. ),  
  138. ),  
  139. ), 'deleteall' => array( 
  140. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',  
  141. 'httpMethod' => 'DELETE',  
  142. 'parameters' => array( 
  143. 'packageName' => array( 
  144. 'location' => 'path',  
  145. 'type' => 'string',  
  146. 'required' => true,  
  147. ),  
  148. 'editId' => array( 
  149. 'location' => 'path',  
  150. 'type' => 'string',  
  151. 'required' => true,  
  152. ),  
  153. 'apkVersionCode' => array( 
  154. 'location' => 'path',  
  155. 'type' => 'integer',  
  156. 'required' => true,  
  157. ),  
  158. ),  
  159. ), 'get' => array( 
  160. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',  
  161. 'httpMethod' => 'GET',  
  162. 'parameters' => array( 
  163. 'packageName' => array( 
  164. 'location' => 'path',  
  165. 'type' => 'string',  
  166. 'required' => true,  
  167. ),  
  168. 'editId' => array( 
  169. 'location' => 'path',  
  170. 'type' => 'string',  
  171. 'required' => true,  
  172. ),  
  173. 'apkVersionCode' => array( 
  174. 'location' => 'path',  
  175. 'type' => 'integer',  
  176. 'required' => true,  
  177. ),  
  178. 'language' => array( 
  179. 'location' => 'path',  
  180. 'type' => 'string',  
  181. 'required' => true,  
  182. ),  
  183. ),  
  184. ), 'list' => array( 
  185. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',  
  186. 'httpMethod' => 'GET',  
  187. 'parameters' => array( 
  188. 'packageName' => array( 
  189. 'location' => 'path',  
  190. 'type' => 'string',  
  191. 'required' => true,  
  192. ),  
  193. 'editId' => array( 
  194. 'location' => 'path',  
  195. 'type' => 'string',  
  196. 'required' => true,  
  197. ),  
  198. 'apkVersionCode' => array( 
  199. 'location' => 'path',  
  200. 'type' => 'integer',  
  201. 'required' => true,  
  202. ),  
  203. ),  
  204. ), 'patch' => array( 
  205. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',  
  206. 'httpMethod' => 'PATCH',  
  207. 'parameters' => array( 
  208. 'packageName' => array( 
  209. 'location' => 'path',  
  210. 'type' => 'string',  
  211. 'required' => true,  
  212. ),  
  213. 'editId' => array( 
  214. 'location' => 'path',  
  215. 'type' => 'string',  
  216. 'required' => true,  
  217. ),  
  218. 'apkVersionCode' => array( 
  219. 'location' => 'path',  
  220. 'type' => 'integer',  
  221. 'required' => true,  
  222. ),  
  223. 'language' => array( 
  224. 'location' => 'path',  
  225. 'type' => 'string',  
  226. 'required' => true,  
  227. ),  
  228. ),  
  229. ), 'update' => array( 
  230. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',  
  231. 'httpMethod' => 'PUT',  
  232. 'parameters' => array( 
  233. 'packageName' => array( 
  234. 'location' => 'path',  
  235. 'type' => 'string',  
  236. 'required' => true,  
  237. ),  
  238. 'editId' => array( 
  239. 'location' => 'path',  
  240. 'type' => 'string',  
  241. 'required' => true,  
  242. ),  
  243. 'apkVersionCode' => array( 
  244. 'location' => 'path',  
  245. 'type' => 'integer',  
  246. 'required' => true,  
  247. ),  
  248. 'language' => array( 
  249. 'location' => 'path',  
  250. 'type' => 'string',  
  251. 'required' => true,  
  252. ),  
  253. ),  
  254. ),  
  255. ); 
  256. $this->edits_apks = new GoogleGAL_Service_AndroidPublisher_EditsApks_Resource( 
  257. $this,  
  258. $this->serviceName,  
  259. 'apks',  
  260. array( 
  261. 'methods' => array( 
  262. 'list' => array( 
  263. 'path' => '{packageName}/edits/{editId}/apks',  
  264. 'httpMethod' => 'GET',  
  265. 'parameters' => array( 
  266. 'packageName' => array( 
  267. 'location' => 'path',  
  268. 'type' => 'string',  
  269. 'required' => true,  
  270. ),  
  271. 'editId' => array( 
  272. 'location' => 'path',  
  273. 'type' => 'string',  
  274. 'required' => true,  
  275. ),  
  276. ),  
  277. ), 'upload' => array( 
  278. 'path' => '{packageName}/edits/{editId}/apks',  
  279. 'httpMethod' => 'POST',  
  280. 'parameters' => array( 
  281. 'packageName' => array( 
  282. 'location' => 'path',  
  283. 'type' => 'string',  
  284. 'required' => true,  
  285. ),  
  286. 'editId' => array( 
  287. 'location' => 'path',  
  288. 'type' => 'string',  
  289. 'required' => true,  
  290. ),  
  291. ),  
  292. ),  
  293. ); 
  294. $this->edits_details = new GoogleGAL_Service_AndroidPublisher_EditsDetails_Resource( 
  295. $this,  
  296. $this->serviceName,  
  297. 'details',  
  298. array( 
  299. 'methods' => array( 
  300. 'get' => array( 
  301. 'path' => '{packageName}/edits/{editId}/details',  
  302. 'httpMethod' => 'GET',  
  303. 'parameters' => array( 
  304. 'packageName' => array( 
  305. 'location' => 'path',  
  306. 'type' => 'string',  
  307. 'required' => true,  
  308. ),  
  309. 'editId' => array( 
  310. 'location' => 'path',  
  311. 'type' => 'string',  
  312. 'required' => true,  
  313. ),  
  314. ),  
  315. ), 'patch' => array( 
  316. 'path' => '{packageName}/edits/{editId}/details',  
  317. 'httpMethod' => 'PATCH',  
  318. 'parameters' => array( 
  319. 'packageName' => array( 
  320. 'location' => 'path',  
  321. 'type' => 'string',  
  322. 'required' => true,  
  323. ),  
  324. 'editId' => array( 
  325. 'location' => 'path',  
  326. 'type' => 'string',  
  327. 'required' => true,  
  328. ),  
  329. ),  
  330. ), 'update' => array( 
  331. 'path' => '{packageName}/edits/{editId}/details',  
  332. 'httpMethod' => 'PUT',  
  333. 'parameters' => array( 
  334. 'packageName' => array( 
  335. 'location' => 'path',  
  336. 'type' => 'string',  
  337. 'required' => true,  
  338. ),  
  339. 'editId' => array( 
  340. 'location' => 'path',  
  341. 'type' => 'string',  
  342. 'required' => true,  
  343. ),  
  344. ),  
  345. ),  
  346. ); 
  347. $this->edits_expansionfiles = new GoogleGAL_Service_AndroidPublisher_EditsExpansionfiles_Resource( 
  348. $this,  
  349. $this->serviceName,  
  350. 'expansionfiles',  
  351. array( 
  352. 'methods' => array( 
  353. 'get' => array( 
  354. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  355. 'httpMethod' => 'GET',  
  356. 'parameters' => array( 
  357. 'packageName' => array( 
  358. 'location' => 'path',  
  359. 'type' => 'string',  
  360. 'required' => true,  
  361. ),  
  362. 'editId' => array( 
  363. 'location' => 'path',  
  364. 'type' => 'string',  
  365. 'required' => true,  
  366. ),  
  367. 'apkVersionCode' => array( 
  368. 'location' => 'path',  
  369. 'type' => 'integer',  
  370. 'required' => true,  
  371. ),  
  372. 'expansionFileType' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. ),  
  378. ), 'patch' => array( 
  379. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  380. 'httpMethod' => 'PATCH',  
  381. 'parameters' => array( 
  382. 'packageName' => array( 
  383. 'location' => 'path',  
  384. 'type' => 'string',  
  385. 'required' => true,  
  386. ),  
  387. 'editId' => array( 
  388. 'location' => 'path',  
  389. 'type' => 'string',  
  390. 'required' => true,  
  391. ),  
  392. 'apkVersionCode' => array( 
  393. 'location' => 'path',  
  394. 'type' => 'integer',  
  395. 'required' => true,  
  396. ),  
  397. 'expansionFileType' => array( 
  398. 'location' => 'path',  
  399. 'type' => 'string',  
  400. 'required' => true,  
  401. ),  
  402. ),  
  403. ), 'update' => array( 
  404. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  405. 'httpMethod' => 'PUT',  
  406. 'parameters' => array( 
  407. 'packageName' => array( 
  408. 'location' => 'path',  
  409. 'type' => 'string',  
  410. 'required' => true,  
  411. ),  
  412. 'editId' => array( 
  413. 'location' => 'path',  
  414. 'type' => 'string',  
  415. 'required' => true,  
  416. ),  
  417. 'apkVersionCode' => array( 
  418. 'location' => 'path',  
  419. 'type' => 'integer',  
  420. 'required' => true,  
  421. ),  
  422. 'expansionFileType' => array( 
  423. 'location' => 'path',  
  424. 'type' => 'string',  
  425. 'required' => true,  
  426. ),  
  427. ),  
  428. ), 'upload' => array( 
  429. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  430. 'httpMethod' => 'POST',  
  431. 'parameters' => array( 
  432. 'packageName' => array( 
  433. 'location' => 'path',  
  434. 'type' => 'string',  
  435. 'required' => true,  
  436. ),  
  437. 'editId' => array( 
  438. 'location' => 'path',  
  439. 'type' => 'string',  
  440. 'required' => true,  
  441. ),  
  442. 'apkVersionCode' => array( 
  443. 'location' => 'path',  
  444. 'type' => 'integer',  
  445. 'required' => true,  
  446. ),  
  447. 'expansionFileType' => array( 
  448. 'location' => 'path',  
  449. 'type' => 'string',  
  450. 'required' => true,  
  451. ),  
  452. ),  
  453. ),  
  454. ); 
  455. $this->edits_images = new GoogleGAL_Service_AndroidPublisher_EditsImages_Resource( 
  456. $this,  
  457. $this->serviceName,  
  458. 'images',  
  459. array( 
  460. 'methods' => array( 
  461. 'delete' => array( 
  462. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',  
  463. 'httpMethod' => 'DELETE',  
  464. 'parameters' => array( 
  465. 'packageName' => array( 
  466. 'location' => 'path',  
  467. 'type' => 'string',  
  468. 'required' => true,  
  469. ),  
  470. 'editId' => array( 
  471. 'location' => 'path',  
  472. 'type' => 'string',  
  473. 'required' => true,  
  474. ),  
  475. 'language' => array( 
  476. 'location' => 'path',  
  477. 'type' => 'string',  
  478. 'required' => true,  
  479. ),  
  480. 'imageType' => array( 
  481. 'location' => 'path',  
  482. 'type' => 'string',  
  483. 'required' => true,  
  484. ),  
  485. 'imageId' => array( 
  486. 'location' => 'path',  
  487. 'type' => 'string',  
  488. 'required' => true,  
  489. ),  
  490. ),  
  491. ), 'deleteall' => array( 
  492. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  493. 'httpMethod' => 'DELETE',  
  494. 'parameters' => array( 
  495. 'packageName' => array( 
  496. 'location' => 'path',  
  497. 'type' => 'string',  
  498. 'required' => true,  
  499. ),  
  500. 'editId' => array( 
  501. 'location' => 'path',  
  502. 'type' => 'string',  
  503. 'required' => true,  
  504. ),  
  505. 'language' => array( 
  506. 'location' => 'path',  
  507. 'type' => 'string',  
  508. 'required' => true,  
  509. ),  
  510. 'imageType' => array( 
  511. 'location' => 'path',  
  512. 'type' => 'string',  
  513. 'required' => true,  
  514. ),  
  515. ),  
  516. ), 'list' => array( 
  517. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  518. 'httpMethod' => 'GET',  
  519. 'parameters' => array( 
  520. 'packageName' => array( 
  521. 'location' => 'path',  
  522. 'type' => 'string',  
  523. 'required' => true,  
  524. ),  
  525. 'editId' => array( 
  526. 'location' => 'path',  
  527. 'type' => 'string',  
  528. 'required' => true,  
  529. ),  
  530. 'language' => array( 
  531. 'location' => 'path',  
  532. 'type' => 'string',  
  533. 'required' => true,  
  534. ),  
  535. 'imageType' => array( 
  536. 'location' => 'path',  
  537. 'type' => 'string',  
  538. 'required' => true,  
  539. ),  
  540. ),  
  541. ), 'upload' => array( 
  542. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  543. 'httpMethod' => 'POST',  
  544. 'parameters' => array( 
  545. 'packageName' => array( 
  546. 'location' => 'path',  
  547. 'type' => 'string',  
  548. 'required' => true,  
  549. ),  
  550. 'editId' => array( 
  551. 'location' => 'path',  
  552. 'type' => 'string',  
  553. 'required' => true,  
  554. ),  
  555. 'language' => array( 
  556. 'location' => 'path',  
  557. 'type' => 'string',  
  558. 'required' => true,  
  559. ),  
  560. 'imageType' => array( 
  561. 'location' => 'path',  
  562. 'type' => 'string',  
  563. 'required' => true,  
  564. ),  
  565. ),  
  566. ),  
  567. ); 
  568. $this->edits_listings = new GoogleGAL_Service_AndroidPublisher_EditsListings_Resource( 
  569. $this,  
  570. $this->serviceName,  
  571. 'listings',  
  572. array( 
  573. 'methods' => array( 
  574. 'delete' => array( 
  575. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  576. 'httpMethod' => 'DELETE',  
  577. 'parameters' => array( 
  578. 'packageName' => array( 
  579. 'location' => 'path',  
  580. 'type' => 'string',  
  581. 'required' => true,  
  582. ),  
  583. 'editId' => array( 
  584. 'location' => 'path',  
  585. 'type' => 'string',  
  586. 'required' => true,  
  587. ),  
  588. 'language' => array( 
  589. 'location' => 'path',  
  590. 'type' => 'string',  
  591. 'required' => true,  
  592. ),  
  593. ),  
  594. ), 'deleteall' => array( 
  595. 'path' => '{packageName}/edits/{editId}/listings',  
  596. 'httpMethod' => 'DELETE',  
  597. 'parameters' => array( 
  598. 'packageName' => array( 
  599. 'location' => 'path',  
  600. 'type' => 'string',  
  601. 'required' => true,  
  602. ),  
  603. 'editId' => array( 
  604. 'location' => 'path',  
  605. 'type' => 'string',  
  606. 'required' => true,  
  607. ),  
  608. ),  
  609. ), 'get' => array( 
  610. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  611. 'httpMethod' => 'GET',  
  612. 'parameters' => array( 
  613. 'packageName' => array( 
  614. 'location' => 'path',  
  615. 'type' => 'string',  
  616. 'required' => true,  
  617. ),  
  618. 'editId' => array( 
  619. 'location' => 'path',  
  620. 'type' => 'string',  
  621. 'required' => true,  
  622. ),  
  623. 'language' => array( 
  624. 'location' => 'path',  
  625. 'type' => 'string',  
  626. 'required' => true,  
  627. ),  
  628. ),  
  629. ), 'list' => array( 
  630. 'path' => '{packageName}/edits/{editId}/listings',  
  631. 'httpMethod' => 'GET',  
  632. 'parameters' => array( 
  633. 'packageName' => array( 
  634. 'location' => 'path',  
  635. 'type' => 'string',  
  636. 'required' => true,  
  637. ),  
  638. 'editId' => array( 
  639. 'location' => 'path',  
  640. 'type' => 'string',  
  641. 'required' => true,  
  642. ),  
  643. ),  
  644. ), 'patch' => array( 
  645. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  646. 'httpMethod' => 'PATCH',  
  647. 'parameters' => array( 
  648. 'packageName' => array( 
  649. 'location' => 'path',  
  650. 'type' => 'string',  
  651. 'required' => true,  
  652. ),  
  653. 'editId' => array( 
  654. 'location' => 'path',  
  655. 'type' => 'string',  
  656. 'required' => true,  
  657. ),  
  658. 'language' => array( 
  659. 'location' => 'path',  
  660. 'type' => 'string',  
  661. 'required' => true,  
  662. ),  
  663. ),  
  664. ), 'update' => array( 
  665. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  666. 'httpMethod' => 'PUT',  
  667. 'parameters' => array( 
  668. 'packageName' => array( 
  669. 'location' => 'path',  
  670. 'type' => 'string',  
  671. 'required' => true,  
  672. ),  
  673. 'editId' => array( 
  674. 'location' => 'path',  
  675. 'type' => 'string',  
  676. 'required' => true,  
  677. ),  
  678. 'language' => array( 
  679. 'location' => 'path',  
  680. 'type' => 'string',  
  681. 'required' => true,  
  682. ),  
  683. ),  
  684. ),  
  685. ); 
  686. $this->edits_testers = new GoogleGAL_Service_AndroidPublisher_EditsTesters_Resource( 
  687. $this,  
  688. $this->serviceName,  
  689. 'testers',  
  690. array( 
  691. 'methods' => array( 
  692. 'get' => array( 
  693. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  694. 'httpMethod' => 'GET',  
  695. 'parameters' => array( 
  696. 'packageName' => array( 
  697. 'location' => 'path',  
  698. 'type' => 'string',  
  699. 'required' => true,  
  700. ),  
  701. 'editId' => array( 
  702. 'location' => 'path',  
  703. 'type' => 'string',  
  704. 'required' => true,  
  705. ),  
  706. 'track' => array( 
  707. 'location' => 'path',  
  708. 'type' => 'string',  
  709. 'required' => true,  
  710. ),  
  711. ),  
  712. ), 'patch' => array( 
  713. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  714. 'httpMethod' => 'PATCH',  
  715. 'parameters' => array( 
  716. 'packageName' => array( 
  717. 'location' => 'path',  
  718. 'type' => 'string',  
  719. 'required' => true,  
  720. ),  
  721. 'editId' => array( 
  722. 'location' => 'path',  
  723. 'type' => 'string',  
  724. 'required' => true,  
  725. ),  
  726. 'track' => array( 
  727. 'location' => 'path',  
  728. 'type' => 'string',  
  729. 'required' => true,  
  730. ),  
  731. ),  
  732. ), 'update' => array( 
  733. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  734. 'httpMethod' => 'PUT',  
  735. 'parameters' => array( 
  736. 'packageName' => array( 
  737. 'location' => 'path',  
  738. 'type' => 'string',  
  739. 'required' => true,  
  740. ),  
  741. 'editId' => array( 
  742. 'location' => 'path',  
  743. 'type' => 'string',  
  744. 'required' => true,  
  745. ),  
  746. 'track' => array( 
  747. 'location' => 'path',  
  748. 'type' => 'string',  
  749. 'required' => true,  
  750. ),  
  751. ),  
  752. ),  
  753. ); 
  754. $this->edits_tracks = new GoogleGAL_Service_AndroidPublisher_EditsTracks_Resource( 
  755. $this,  
  756. $this->serviceName,  
  757. 'tracks',  
  758. array( 
  759. 'methods' => array( 
  760. 'get' => array( 
  761. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  762. 'httpMethod' => 'GET',  
  763. 'parameters' => array( 
  764. 'packageName' => array( 
  765. 'location' => 'path',  
  766. 'type' => 'string',  
  767. 'required' => true,  
  768. ),  
  769. 'editId' => array( 
  770. 'location' => 'path',  
  771. 'type' => 'string',  
  772. 'required' => true,  
  773. ),  
  774. 'track' => array( 
  775. 'location' => 'path',  
  776. 'type' => 'string',  
  777. 'required' => true,  
  778. ),  
  779. ),  
  780. ), 'list' => array( 
  781. 'path' => '{packageName}/edits/{editId}/tracks',  
  782. 'httpMethod' => 'GET',  
  783. 'parameters' => array( 
  784. 'packageName' => array( 
  785. 'location' => 'path',  
  786. 'type' => 'string',  
  787. 'required' => true,  
  788. ),  
  789. 'editId' => array( 
  790. 'location' => 'path',  
  791. 'type' => 'string',  
  792. 'required' => true,  
  793. ),  
  794. ),  
  795. ), 'patch' => array( 
  796. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  797. 'httpMethod' => 'PATCH',  
  798. 'parameters' => array( 
  799. 'packageName' => array( 
  800. 'location' => 'path',  
  801. 'type' => 'string',  
  802. 'required' => true,  
  803. ),  
  804. 'editId' => array( 
  805. 'location' => 'path',  
  806. 'type' => 'string',  
  807. 'required' => true,  
  808. ),  
  809. 'track' => array( 
  810. 'location' => 'path',  
  811. 'type' => 'string',  
  812. 'required' => true,  
  813. ),  
  814. ),  
  815. ), 'update' => array( 
  816. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  817. 'httpMethod' => 'PUT',  
  818. 'parameters' => array( 
  819. 'packageName' => array( 
  820. 'location' => 'path',  
  821. 'type' => 'string',  
  822. 'required' => true,  
  823. ),  
  824. 'editId' => array( 
  825. 'location' => 'path',  
  826. 'type' => 'string',  
  827. 'required' => true,  
  828. ),  
  829. 'track' => array( 
  830. 'location' => 'path',  
  831. 'type' => 'string',  
  832. 'required' => true,  
  833. ),  
  834. ),  
  835. ),  
  836. ); 
  837. $this->inappproducts = new GoogleGAL_Service_AndroidPublisher_Inappproducts_Resource( 
  838. $this,  
  839. $this->serviceName,  
  840. 'inappproducts',  
  841. array( 
  842. 'methods' => array( 
  843. 'batch' => array( 
  844. 'path' => 'inappproducts/batch',  
  845. 'httpMethod' => 'POST',  
  846. 'parameters' => array(),  
  847. ), 'delete' => array( 
  848. 'path' => '{packageName}/inappproducts/{sku}',  
  849. 'httpMethod' => 'DELETE',  
  850. 'parameters' => array( 
  851. 'packageName' => array( 
  852. 'location' => 'path',  
  853. 'type' => 'string',  
  854. 'required' => true,  
  855. ),  
  856. 'sku' => array( 
  857. 'location' => 'path',  
  858. 'type' => 'string',  
  859. 'required' => true,  
  860. ),  
  861. ),  
  862. ), 'get' => array( 
  863. 'path' => '{packageName}/inappproducts/{sku}',  
  864. 'httpMethod' => 'GET',  
  865. 'parameters' => array( 
  866. 'packageName' => array( 
  867. 'location' => 'path',  
  868. 'type' => 'string',  
  869. 'required' => true,  
  870. ),  
  871. 'sku' => array( 
  872. 'location' => 'path',  
  873. 'type' => 'string',  
  874. 'required' => true,  
  875. ),  
  876. ),  
  877. ), 'insert' => array( 
  878. 'path' => '{packageName}/inappproducts',  
  879. 'httpMethod' => 'POST',  
  880. 'parameters' => array( 
  881. 'packageName' => array( 
  882. 'location' => 'path',  
  883. 'type' => 'string',  
  884. 'required' => true,  
  885. ),  
  886. 'autoConvertMissingPrices' => array( 
  887. 'location' => 'query',  
  888. 'type' => 'boolean',  
  889. ),  
  890. ),  
  891. ), 'list' => array( 
  892. 'path' => '{packageName}/inappproducts',  
  893. 'httpMethod' => 'GET',  
  894. 'parameters' => array( 
  895. 'packageName' => array( 
  896. 'location' => 'path',  
  897. 'type' => 'string',  
  898. 'required' => true,  
  899. ),  
  900. 'token' => array( 
  901. 'location' => 'query',  
  902. 'type' => 'string',  
  903. ),  
  904. 'startIndex' => array( 
  905. 'location' => 'query',  
  906. 'type' => 'integer',  
  907. ),  
  908. 'maxResults' => array( 
  909. 'location' => 'query',  
  910. 'type' => 'integer',  
  911. ),  
  912. ),  
  913. ), 'patch' => array( 
  914. 'path' => '{packageName}/inappproducts/{sku}',  
  915. 'httpMethod' => 'PATCH',  
  916. 'parameters' => array( 
  917. 'packageName' => array( 
  918. 'location' => 'path',  
  919. 'type' => 'string',  
  920. 'required' => true,  
  921. ),  
  922. 'sku' => array( 
  923. 'location' => 'path',  
  924. 'type' => 'string',  
  925. 'required' => true,  
  926. ),  
  927. 'autoConvertMissingPrices' => array( 
  928. 'location' => 'query',  
  929. 'type' => 'boolean',  
  930. ),  
  931. ),  
  932. ), 'update' => array( 
  933. 'path' => '{packageName}/inappproducts/{sku}',  
  934. 'httpMethod' => 'PUT',  
  935. 'parameters' => array( 
  936. 'packageName' => array( 
  937. 'location' => 'path',  
  938. 'type' => 'string',  
  939. 'required' => true,  
  940. ),  
  941. 'sku' => array( 
  942. 'location' => 'path',  
  943. 'type' => 'string',  
  944. 'required' => true,  
  945. ),  
  946. 'autoConvertMissingPrices' => array( 
  947. 'location' => 'query',  
  948. 'type' => 'boolean',  
  949. ),  
  950. ),  
  951. ),  
  952. ); 
  953. $this->purchases_products = new GoogleGAL_Service_AndroidPublisher_PurchasesProducts_Resource( 
  954. $this,  
  955. $this->serviceName,  
  956. 'products',  
  957. array( 
  958. 'methods' => array( 
  959. 'get' => array( 
  960. 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',  
  961. 'httpMethod' => 'GET',  
  962. 'parameters' => array( 
  963. 'packageName' => array( 
  964. 'location' => 'path',  
  965. 'type' => 'string',  
  966. 'required' => true,  
  967. ),  
  968. 'productId' => array( 
  969. 'location' => 'path',  
  970. 'type' => 'string',  
  971. 'required' => true,  
  972. ),  
  973. 'token' => array( 
  974. 'location' => 'path',  
  975. 'type' => 'string',  
  976. 'required' => true,  
  977. ),  
  978. ),  
  979. ),  
  980. ); 
  981. $this->purchases_subscriptions = new GoogleGAL_Service_AndroidPublisher_PurchasesSubscriptions_Resource( 
  982. $this,  
  983. $this->serviceName,  
  984. 'subscriptions',  
  985. array( 
  986. 'methods' => array( 
  987. 'cancel' => array( 
  988. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',  
  989. 'httpMethod' => 'POST',  
  990. 'parameters' => array( 
  991. 'packageName' => array( 
  992. 'location' => 'path',  
  993. 'type' => 'string',  
  994. 'required' => true,  
  995. ),  
  996. 'subscriptionId' => array( 
  997. 'location' => 'path',  
  998. 'type' => 'string',  
  999. 'required' => true,  
  1000. ),  
  1001. 'token' => array( 
  1002. 'location' => 'path',  
  1003. 'type' => 'string',  
  1004. 'required' => true,  
  1005. ),  
  1006. ),  
  1007. ), 'defer' => array( 
  1008. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',  
  1009. 'httpMethod' => 'POST',  
  1010. 'parameters' => array( 
  1011. 'packageName' => array( 
  1012. 'location' => 'path',  
  1013. 'type' => 'string',  
  1014. 'required' => true,  
  1015. ),  
  1016. 'subscriptionId' => array( 
  1017. 'location' => 'path',  
  1018. 'type' => 'string',  
  1019. 'required' => true,  
  1020. ),  
  1021. 'token' => array( 
  1022. 'location' => 'path',  
  1023. 'type' => 'string',  
  1024. 'required' => true,  
  1025. ),  
  1026. ),  
  1027. ), 'get' => array( 
  1028. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',  
  1029. 'httpMethod' => 'GET',  
  1030. 'parameters' => array( 
  1031. 'packageName' => array( 
  1032. 'location' => 'path',  
  1033. 'type' => 'string',  
  1034. 'required' => true,  
  1035. ),  
  1036. 'subscriptionId' => array( 
  1037. 'location' => 'path',  
  1038. 'type' => 'string',  
  1039. 'required' => true,  
  1040. ),  
  1041. 'token' => array( 
  1042. 'location' => 'path',  
  1043. 'type' => 'string',  
  1044. 'required' => true,  
  1045. ),  
  1046. ),  
  1047. ), 'refund' => array( 
  1048. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',  
  1049. 'httpMethod' => 'POST',  
  1050. 'parameters' => array( 
  1051. 'packageName' => array( 
  1052. 'location' => 'path',  
  1053. 'type' => 'string',  
  1054. 'required' => true,  
  1055. ),  
  1056. 'subscriptionId' => array( 
  1057. 'location' => 'path',  
  1058. 'type' => 'string',  
  1059. 'required' => true,  
  1060. ),  
  1061. 'token' => array( 
  1062. 'location' => 'path',  
  1063. 'type' => 'string',  
  1064. 'required' => true,  
  1065. ),  
  1066. ),  
  1067. ), 'revoke' => array( 
  1068. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',  
  1069. 'httpMethod' => 'POST',  
  1070. 'parameters' => array( 
  1071. 'packageName' => array( 
  1072. 'location' => 'path',  
  1073. 'type' => 'string',  
  1074. 'required' => true,  
  1075. ),  
  1076. 'subscriptionId' => array( 
  1077. 'location' => 'path',  
  1078. 'type' => 'string',  
  1079. 'required' => true,  
  1080. ),  
  1081. 'token' => array( 
  1082. 'location' => 'path',  
  1083. 'type' => 'string',  
  1084. 'required' => true,  
  1085. ),  
  1086. ),  
  1087. ),  
  1088. );