Google_Service_AndroidPublisher

Service definition for AndroidPublisher (v2).

Defined (1)

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

/includes/api-libs/Google/Service/AndroidPublisher.php  
  1. class Google_Service_AndroidPublisher extends Google_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 Google_Client $client 
  23. */ 
  24. public function __construct(Google_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 Google_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 Google_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 Google_Service_AndroidPublisher_EditsApks_Resource( 
  257. $this,  
  258. $this->serviceName,  
  259. 'apks',  
  260. array( 
  261. 'methods' => array( 
  262. 'addexternallyhosted' => array( 
  263. 'path' => '{packageName}/edits/{editId}/apks/externallyHosted',  
  264. 'httpMethod' => 'POST',  
  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. ), 'list' => array( 
  278. 'path' => '{packageName}/edits/{editId}/apks',  
  279. 'httpMethod' => 'GET',  
  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. ), 'upload' => array( 
  293. 'path' => '{packageName}/edits/{editId}/apks',  
  294. 'httpMethod' => 'POST',  
  295. 'parameters' => array( 
  296. 'packageName' => array( 
  297. 'location' => 'path',  
  298. 'type' => 'string',  
  299. 'required' => true,  
  300. ),  
  301. 'editId' => array( 
  302. 'location' => 'path',  
  303. 'type' => 'string',  
  304. 'required' => true,  
  305. ),  
  306. ),  
  307. ),  
  308. ); 
  309. $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource( 
  310. $this,  
  311. $this->serviceName,  
  312. 'details',  
  313. array( 
  314. 'methods' => array( 
  315. 'get' => array( 
  316. 'path' => '{packageName}/edits/{editId}/details',  
  317. 'httpMethod' => 'GET',  
  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. ), 'patch' => array( 
  331. 'path' => '{packageName}/edits/{editId}/details',  
  332. 'httpMethod' => 'PATCH',  
  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. ), 'update' => array( 
  346. 'path' => '{packageName}/edits/{editId}/details',  
  347. 'httpMethod' => 'PUT',  
  348. 'parameters' => array( 
  349. 'packageName' => array( 
  350. 'location' => 'path',  
  351. 'type' => 'string',  
  352. 'required' => true,  
  353. ),  
  354. 'editId' => array( 
  355. 'location' => 'path',  
  356. 'type' => 'string',  
  357. 'required' => true,  
  358. ),  
  359. ),  
  360. ),  
  361. ); 
  362. $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource( 
  363. $this,  
  364. $this->serviceName,  
  365. 'expansionfiles',  
  366. array( 
  367. 'methods' => array( 
  368. 'get' => array( 
  369. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  370. 'httpMethod' => 'GET',  
  371. 'parameters' => array( 
  372. 'packageName' => array( 
  373. 'location' => 'path',  
  374. 'type' => 'string',  
  375. 'required' => true,  
  376. ),  
  377. 'editId' => array( 
  378. 'location' => 'path',  
  379. 'type' => 'string',  
  380. 'required' => true,  
  381. ),  
  382. 'apkVersionCode' => array( 
  383. 'location' => 'path',  
  384. 'type' => 'integer',  
  385. 'required' => true,  
  386. ),  
  387. 'expansionFileType' => array( 
  388. 'location' => 'path',  
  389. 'type' => 'string',  
  390. 'required' => true,  
  391. ),  
  392. ),  
  393. ), 'patch' => array( 
  394. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  395. 'httpMethod' => 'PATCH',  
  396. 'parameters' => array( 
  397. 'packageName' => array( 
  398. 'location' => 'path',  
  399. 'type' => 'string',  
  400. 'required' => true,  
  401. ),  
  402. 'editId' => array( 
  403. 'location' => 'path',  
  404. 'type' => 'string',  
  405. 'required' => true,  
  406. ),  
  407. 'apkVersionCode' => array( 
  408. 'location' => 'path',  
  409. 'type' => 'integer',  
  410. 'required' => true,  
  411. ),  
  412. 'expansionFileType' => array( 
  413. 'location' => 'path',  
  414. 'type' => 'string',  
  415. 'required' => true,  
  416. ),  
  417. ),  
  418. ), 'update' => array( 
  419. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  420. 'httpMethod' => 'PUT',  
  421. 'parameters' => array( 
  422. 'packageName' => array( 
  423. 'location' => 'path',  
  424. 'type' => 'string',  
  425. 'required' => true,  
  426. ),  
  427. 'editId' => array( 
  428. 'location' => 'path',  
  429. 'type' => 'string',  
  430. 'required' => true,  
  431. ),  
  432. 'apkVersionCode' => array( 
  433. 'location' => 'path',  
  434. 'type' => 'integer',  
  435. 'required' => true,  
  436. ),  
  437. 'expansionFileType' => array( 
  438. 'location' => 'path',  
  439. 'type' => 'string',  
  440. 'required' => true,  
  441. ),  
  442. ),  
  443. ), 'upload' => array( 
  444. 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',  
  445. 'httpMethod' => 'POST',  
  446. 'parameters' => array( 
  447. 'packageName' => array( 
  448. 'location' => 'path',  
  449. 'type' => 'string',  
  450. 'required' => true,  
  451. ),  
  452. 'editId' => array( 
  453. 'location' => 'path',  
  454. 'type' => 'string',  
  455. 'required' => true,  
  456. ),  
  457. 'apkVersionCode' => array( 
  458. 'location' => 'path',  
  459. 'type' => 'integer',  
  460. 'required' => true,  
  461. ),  
  462. 'expansionFileType' => array( 
  463. 'location' => 'path',  
  464. 'type' => 'string',  
  465. 'required' => true,  
  466. ),  
  467. ),  
  468. ),  
  469. ); 
  470. $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource( 
  471. $this,  
  472. $this->serviceName,  
  473. 'images',  
  474. array( 
  475. 'methods' => array( 
  476. 'delete' => array( 
  477. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',  
  478. 'httpMethod' => 'DELETE',  
  479. 'parameters' => array( 
  480. 'packageName' => array( 
  481. 'location' => 'path',  
  482. 'type' => 'string',  
  483. 'required' => true,  
  484. ),  
  485. 'editId' => array( 
  486. 'location' => 'path',  
  487. 'type' => 'string',  
  488. 'required' => true,  
  489. ),  
  490. 'language' => array( 
  491. 'location' => 'path',  
  492. 'type' => 'string',  
  493. 'required' => true,  
  494. ),  
  495. 'imageType' => array( 
  496. 'location' => 'path',  
  497. 'type' => 'string',  
  498. 'required' => true,  
  499. ),  
  500. 'imageId' => array( 
  501. 'location' => 'path',  
  502. 'type' => 'string',  
  503. 'required' => true,  
  504. ),  
  505. ),  
  506. ), 'deleteall' => array( 
  507. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  508. 'httpMethod' => 'DELETE',  
  509. 'parameters' => array( 
  510. 'packageName' => array( 
  511. 'location' => 'path',  
  512. 'type' => 'string',  
  513. 'required' => true,  
  514. ),  
  515. 'editId' => array( 
  516. 'location' => 'path',  
  517. 'type' => 'string',  
  518. 'required' => true,  
  519. ),  
  520. 'language' => array( 
  521. 'location' => 'path',  
  522. 'type' => 'string',  
  523. 'required' => true,  
  524. ),  
  525. 'imageType' => array( 
  526. 'location' => 'path',  
  527. 'type' => 'string',  
  528. 'required' => true,  
  529. ),  
  530. ),  
  531. ), 'list' => array( 
  532. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  533. 'httpMethod' => 'GET',  
  534. 'parameters' => array( 
  535. 'packageName' => array( 
  536. 'location' => 'path',  
  537. 'type' => 'string',  
  538. 'required' => true,  
  539. ),  
  540. 'editId' => array( 
  541. 'location' => 'path',  
  542. 'type' => 'string',  
  543. 'required' => true,  
  544. ),  
  545. 'language' => array( 
  546. 'location' => 'path',  
  547. 'type' => 'string',  
  548. 'required' => true,  
  549. ),  
  550. 'imageType' => array( 
  551. 'location' => 'path',  
  552. 'type' => 'string',  
  553. 'required' => true,  
  554. ),  
  555. ),  
  556. ), 'upload' => array( 
  557. 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',  
  558. 'httpMethod' => 'POST',  
  559. 'parameters' => array( 
  560. 'packageName' => array( 
  561. 'location' => 'path',  
  562. 'type' => 'string',  
  563. 'required' => true,  
  564. ),  
  565. 'editId' => array( 
  566. 'location' => 'path',  
  567. 'type' => 'string',  
  568. 'required' => true,  
  569. ),  
  570. 'language' => array( 
  571. 'location' => 'path',  
  572. 'type' => 'string',  
  573. 'required' => true,  
  574. ),  
  575. 'imageType' => array( 
  576. 'location' => 'path',  
  577. 'type' => 'string',  
  578. 'required' => true,  
  579. ),  
  580. ),  
  581. ),  
  582. ); 
  583. $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource( 
  584. $this,  
  585. $this->serviceName,  
  586. 'listings',  
  587. array( 
  588. 'methods' => array( 
  589. 'delete' => array( 
  590. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  591. 'httpMethod' => 'DELETE',  
  592. 'parameters' => array( 
  593. 'packageName' => array( 
  594. 'location' => 'path',  
  595. 'type' => 'string',  
  596. 'required' => true,  
  597. ),  
  598. 'editId' => array( 
  599. 'location' => 'path',  
  600. 'type' => 'string',  
  601. 'required' => true,  
  602. ),  
  603. 'language' => array( 
  604. 'location' => 'path',  
  605. 'type' => 'string',  
  606. 'required' => true,  
  607. ),  
  608. ),  
  609. ), 'deleteall' => array( 
  610. 'path' => '{packageName}/edits/{editId}/listings',  
  611. 'httpMethod' => 'DELETE',  
  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. ),  
  624. ), 'get' => array( 
  625. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  626. 'httpMethod' => 'GET',  
  627. 'parameters' => array( 
  628. 'packageName' => array( 
  629. 'location' => 'path',  
  630. 'type' => 'string',  
  631. 'required' => true,  
  632. ),  
  633. 'editId' => array( 
  634. 'location' => 'path',  
  635. 'type' => 'string',  
  636. 'required' => true,  
  637. ),  
  638. 'language' => array( 
  639. 'location' => 'path',  
  640. 'type' => 'string',  
  641. 'required' => true,  
  642. ),  
  643. ),  
  644. ), 'list' => array( 
  645. 'path' => '{packageName}/edits/{editId}/listings',  
  646. 'httpMethod' => 'GET',  
  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. ),  
  659. ), 'patch' => array( 
  660. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  661. 'httpMethod' => 'PATCH',  
  662. 'parameters' => array( 
  663. 'packageName' => array( 
  664. 'location' => 'path',  
  665. 'type' => 'string',  
  666. 'required' => true,  
  667. ),  
  668. 'editId' => array( 
  669. 'location' => 'path',  
  670. 'type' => 'string',  
  671. 'required' => true,  
  672. ),  
  673. 'language' => array( 
  674. 'location' => 'path',  
  675. 'type' => 'string',  
  676. 'required' => true,  
  677. ),  
  678. ),  
  679. ), 'update' => array( 
  680. 'path' => '{packageName}/edits/{editId}/listings/{language}',  
  681. 'httpMethod' => 'PUT',  
  682. 'parameters' => array( 
  683. 'packageName' => array( 
  684. 'location' => 'path',  
  685. 'type' => 'string',  
  686. 'required' => true,  
  687. ),  
  688. 'editId' => array( 
  689. 'location' => 'path',  
  690. 'type' => 'string',  
  691. 'required' => true,  
  692. ),  
  693. 'language' => array( 
  694. 'location' => 'path',  
  695. 'type' => 'string',  
  696. 'required' => true,  
  697. ),  
  698. ),  
  699. ),  
  700. ); 
  701. $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource( 
  702. $this,  
  703. $this->serviceName,  
  704. 'testers',  
  705. array( 
  706. 'methods' => array( 
  707. 'get' => array( 
  708. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  709. 'httpMethod' => 'GET',  
  710. 'parameters' => array( 
  711. 'packageName' => array( 
  712. 'location' => 'path',  
  713. 'type' => 'string',  
  714. 'required' => true,  
  715. ),  
  716. 'editId' => array( 
  717. 'location' => 'path',  
  718. 'type' => 'string',  
  719. 'required' => true,  
  720. ),  
  721. 'track' => array( 
  722. 'location' => 'path',  
  723. 'type' => 'string',  
  724. 'required' => true,  
  725. ),  
  726. ),  
  727. ), 'patch' => array( 
  728. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  729. 'httpMethod' => 'PATCH',  
  730. 'parameters' => array( 
  731. 'packageName' => array( 
  732. 'location' => 'path',  
  733. 'type' => 'string',  
  734. 'required' => true,  
  735. ),  
  736. 'editId' => array( 
  737. 'location' => 'path',  
  738. 'type' => 'string',  
  739. 'required' => true,  
  740. ),  
  741. 'track' => array( 
  742. 'location' => 'path',  
  743. 'type' => 'string',  
  744. 'required' => true,  
  745. ),  
  746. ),  
  747. ), 'update' => array( 
  748. 'path' => '{packageName}/edits/{editId}/testers/{track}',  
  749. 'httpMethod' => 'PUT',  
  750. 'parameters' => array( 
  751. 'packageName' => array( 
  752. 'location' => 'path',  
  753. 'type' => 'string',  
  754. 'required' => true,  
  755. ),  
  756. 'editId' => array( 
  757. 'location' => 'path',  
  758. 'type' => 'string',  
  759. 'required' => true,  
  760. ),  
  761. 'track' => array( 
  762. 'location' => 'path',  
  763. 'type' => 'string',  
  764. 'required' => true,  
  765. ),  
  766. ),  
  767. ),  
  768. ); 
  769. $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource( 
  770. $this,  
  771. $this->serviceName,  
  772. 'tracks',  
  773. array( 
  774. 'methods' => array( 
  775. 'get' => array( 
  776. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  777. 'httpMethod' => 'GET',  
  778. 'parameters' => array( 
  779. 'packageName' => array( 
  780. 'location' => 'path',  
  781. 'type' => 'string',  
  782. 'required' => true,  
  783. ),  
  784. 'editId' => array( 
  785. 'location' => 'path',  
  786. 'type' => 'string',  
  787. 'required' => true,  
  788. ),  
  789. 'track' => array( 
  790. 'location' => 'path',  
  791. 'type' => 'string',  
  792. 'required' => true,  
  793. ),  
  794. ),  
  795. ), 'list' => array( 
  796. 'path' => '{packageName}/edits/{editId}/tracks',  
  797. 'httpMethod' => 'GET',  
  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. ),  
  810. ), 'patch' => array( 
  811. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  812. 'httpMethod' => 'PATCH',  
  813. 'parameters' => array( 
  814. 'packageName' => array( 
  815. 'location' => 'path',  
  816. 'type' => 'string',  
  817. 'required' => true,  
  818. ),  
  819. 'editId' => array( 
  820. 'location' => 'path',  
  821. 'type' => 'string',  
  822. 'required' => true,  
  823. ),  
  824. 'track' => array( 
  825. 'location' => 'path',  
  826. 'type' => 'string',  
  827. 'required' => true,  
  828. ),  
  829. ),  
  830. ), 'update' => array( 
  831. 'path' => '{packageName}/edits/{editId}/tracks/{track}',  
  832. 'httpMethod' => 'PUT',  
  833. 'parameters' => array( 
  834. 'packageName' => array( 
  835. 'location' => 'path',  
  836. 'type' => 'string',  
  837. 'required' => true,  
  838. ),  
  839. 'editId' => array( 
  840. 'location' => 'path',  
  841. 'type' => 'string',  
  842. 'required' => true,  
  843. ),  
  844. 'track' => array( 
  845. 'location' => 'path',  
  846. 'type' => 'string',  
  847. 'required' => true,  
  848. ),  
  849. ),  
  850. ),  
  851. ); 
  852. $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource( 
  853. $this,  
  854. $this->serviceName,  
  855. 'inappproducts',  
  856. array( 
  857. 'methods' => array( 
  858. 'batch' => array( 
  859. 'path' => 'inappproducts/batch',  
  860. 'httpMethod' => 'POST',  
  861. 'parameters' => array(),  
  862. ), 'delete' => array( 
  863. 'path' => '{packageName}/inappproducts/{sku}',  
  864. 'httpMethod' => 'DELETE',  
  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. ), 'get' => array( 
  878. 'path' => '{packageName}/inappproducts/{sku}',  
  879. 'httpMethod' => 'GET',  
  880. 'parameters' => array( 
  881. 'packageName' => array( 
  882. 'location' => 'path',  
  883. 'type' => 'string',  
  884. 'required' => true,  
  885. ),  
  886. 'sku' => array( 
  887. 'location' => 'path',  
  888. 'type' => 'string',  
  889. 'required' => true,  
  890. ),  
  891. ),  
  892. ), 'insert' => array( 
  893. 'path' => '{packageName}/inappproducts',  
  894. 'httpMethod' => 'POST',  
  895. 'parameters' => array( 
  896. 'packageName' => array( 
  897. 'location' => 'path',  
  898. 'type' => 'string',  
  899. 'required' => true,  
  900. ),  
  901. 'autoConvertMissingPrices' => array( 
  902. 'location' => 'query',  
  903. 'type' => 'boolean',  
  904. ),  
  905. ),  
  906. ), 'list' => array( 
  907. 'path' => '{packageName}/inappproducts',  
  908. 'httpMethod' => 'GET',  
  909. 'parameters' => array( 
  910. 'packageName' => array( 
  911. 'location' => 'path',  
  912. 'type' => 'string',  
  913. 'required' => true,  
  914. ),  
  915. 'token' => array( 
  916. 'location' => 'query',  
  917. 'type' => 'string',  
  918. ),  
  919. 'startIndex' => array( 
  920. 'location' => 'query',  
  921. 'type' => 'integer',  
  922. ),  
  923. 'maxResults' => array( 
  924. 'location' => 'query',  
  925. 'type' => 'integer',  
  926. ),  
  927. ),  
  928. ), 'patch' => array( 
  929. 'path' => '{packageName}/inappproducts/{sku}',  
  930. 'httpMethod' => 'PATCH',  
  931. 'parameters' => array( 
  932. 'packageName' => array( 
  933. 'location' => 'path',  
  934. 'type' => 'string',  
  935. 'required' => true,  
  936. ),  
  937. 'sku' => array( 
  938. 'location' => 'path',  
  939. 'type' => 'string',  
  940. 'required' => true,  
  941. ),  
  942. 'autoConvertMissingPrices' => array( 
  943. 'location' => 'query',  
  944. 'type' => 'boolean',  
  945. ),  
  946. ),  
  947. ), 'update' => array( 
  948. 'path' => '{packageName}/inappproducts/{sku}',  
  949. 'httpMethod' => 'PUT',  
  950. 'parameters' => array( 
  951. 'packageName' => array( 
  952. 'location' => 'path',  
  953. 'type' => 'string',  
  954. 'required' => true,  
  955. ),  
  956. 'sku' => array( 
  957. 'location' => 'path',  
  958. 'type' => 'string',  
  959. 'required' => true,  
  960. ),  
  961. 'autoConvertMissingPrices' => array( 
  962. 'location' => 'query',  
  963. 'type' => 'boolean',  
  964. ),  
  965. ),  
  966. ),  
  967. ); 
  968. $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource( 
  969. $this,  
  970. $this->serviceName,  
  971. 'products',  
  972. array( 
  973. 'methods' => array( 
  974. 'get' => array( 
  975. 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',  
  976. 'httpMethod' => 'GET',  
  977. 'parameters' => array( 
  978. 'packageName' => array( 
  979. 'location' => 'path',  
  980. 'type' => 'string',  
  981. 'required' => true,  
  982. ),  
  983. 'productId' => array( 
  984. 'location' => 'path',  
  985. 'type' => 'string',  
  986. 'required' => true,  
  987. ),  
  988. 'token' => array( 
  989. 'location' => 'path',  
  990. 'type' => 'string',  
  991. 'required' => true,  
  992. ),  
  993. ),  
  994. ),  
  995. ); 
  996. $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource( 
  997. $this,  
  998. $this->serviceName,  
  999. 'subscriptions',  
  1000. array( 
  1001. 'methods' => array( 
  1002. 'cancel' => array( 
  1003. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',  
  1004. 'httpMethod' => 'POST',  
  1005. 'parameters' => array( 
  1006. 'packageName' => array( 
  1007. 'location' => 'path',  
  1008. 'type' => 'string',  
  1009. 'required' => true,  
  1010. ),  
  1011. 'subscriptionId' => array( 
  1012. 'location' => 'path',  
  1013. 'type' => 'string',  
  1014. 'required' => true,  
  1015. ),  
  1016. 'token' => array( 
  1017. 'location' => 'path',  
  1018. 'type' => 'string',  
  1019. 'required' => true,  
  1020. ),  
  1021. ),  
  1022. ), 'defer' => array( 
  1023. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',  
  1024. 'httpMethod' => 'POST',  
  1025. 'parameters' => array( 
  1026. 'packageName' => array( 
  1027. 'location' => 'path',  
  1028. 'type' => 'string',  
  1029. 'required' => true,  
  1030. ),  
  1031. 'subscriptionId' => array( 
  1032. 'location' => 'path',  
  1033. 'type' => 'string',  
  1034. 'required' => true,  
  1035. ),  
  1036. 'token' => array( 
  1037. 'location' => 'path',  
  1038. 'type' => 'string',  
  1039. 'required' => true,  
  1040. ),  
  1041. ),  
  1042. ), 'get' => array( 
  1043. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',  
  1044. 'httpMethod' => 'GET',  
  1045. 'parameters' => array( 
  1046. 'packageName' => array( 
  1047. 'location' => 'path',  
  1048. 'type' => 'string',  
  1049. 'required' => true,  
  1050. ),  
  1051. 'subscriptionId' => array( 
  1052. 'location' => 'path',  
  1053. 'type' => 'string',  
  1054. 'required' => true,  
  1055. ),  
  1056. 'token' => array( 
  1057. 'location' => 'path',  
  1058. 'type' => 'string',  
  1059. 'required' => true,  
  1060. ),  
  1061. ),  
  1062. ), 'refund' => array( 
  1063. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',  
  1064. 'httpMethod' => 'POST',  
  1065. 'parameters' => array( 
  1066. 'packageName' => array( 
  1067. 'location' => 'path',  
  1068. 'type' => 'string',  
  1069. 'required' => true,  
  1070. ),  
  1071. 'subscriptionId' => array( 
  1072. 'location' => 'path',  
  1073. 'type' => 'string',  
  1074. 'required' => true,  
  1075. ),  
  1076. 'token' => array( 
  1077. 'location' => 'path',  
  1078. 'type' => 'string',  
  1079. 'required' => true,  
  1080. ),  
  1081. ),  
  1082. ), 'revoke' => array( 
  1083. 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',  
  1084. 'httpMethod' => 'POST',  
  1085. 'parameters' => array( 
  1086. 'packageName' => array( 
  1087. 'location' => 'path',  
  1088. 'type' => 'string',  
  1089. 'required' => true,  
  1090. ),  
  1091. 'subscriptionId' => array( 
  1092. 'location' => 'path',  
  1093. 'type' => 'string',  
  1094. 'required' => true,  
  1095. ),  
  1096. 'token' => array( 
  1097. 'location' => 'path',  
  1098. 'type' => 'string',  
  1099. 'required' => true,  
  1100. ),  
  1101. ),  
  1102. ),  
  1103. );