google-api-client 0.9.8 → 0.10.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (320) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +15 -8
  3. data/CHANGELOG.md +84 -0
  4. data/Gemfile +10 -2
  5. data/README.md +10 -2
  6. data/api_names.yaml +37172 -135
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
  13. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  15. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  16. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
  20. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  21. data/generated/google/apis/admin_reports_v1.rb +5 -5
  22. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  23. data/generated/google/apis/adsense_v1_4.rb +1 -1
  24. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  29. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  30. data/generated/google/apis/analytics_v3/service.rb +256 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
  33. data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
  34. data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
  38. data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
  41. data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
  42. data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
  43. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  44. data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
  45. data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
  46. data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
  47. data/generated/google/apis/appsactivity_v1.rb +3 -3
  48. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  49. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  50. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  51. data/generated/google/apis/appstate_v1.rb +1 -1
  52. data/generated/google/apis/bigquery_v2.rb +1 -1
  53. data/generated/google/apis/bigquery_v2/classes.rb +360 -38
  54. data/generated/google/apis/bigquery_v2/representations.rb +106 -0
  55. data/generated/google/apis/bigquery_v2/service.rb +18 -4
  56. data/generated/google/apis/books_v1.rb +2 -2
  57. data/generated/google/apis/books_v1/classes.rb +83 -0
  58. data/generated/google/apis/books_v1/representations.rb +35 -0
  59. data/generated/google/apis/books_v1/service.rb +7 -3
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +208 -5
  62. data/generated/google/apis/calendar_v3/representations.rb +97 -0
  63. data/generated/google/apis/civicinfo_v2.rb +3 -2
  64. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  65. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  67. data/generated/google/apis/classroom_v1.rb +22 -25
  68. data/generated/google/apis/classroom_v1/classes.rb +998 -761
  69. data/generated/google/apis/classroom_v1/representations.rb +263 -198
  70. data/generated/google/apis/classroom_v1/service.rb +1349 -672
  71. data/generated/google/apis/cloudbilling_v1.rb +3 -3
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
  74. data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
  75. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  76. data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
  77. data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
  78. data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
  79. data/generated/google/apis/clouddebugger_v2.rb +5 -8
  80. data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
  81. data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
  82. data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
  83. data/generated/google/apis/cloudkms_v1.rb +35 -0
  84. data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
  85. data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
  86. data/generated/google/apis/cloudkms_v1/service.rb +933 -0
  87. data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
  88. data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
  89. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  90. data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
  91. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  93. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
  94. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
  96. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
  98. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
  99. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
  100. data/generated/google/apis/cloudtrace_v1.rb +9 -9
  101. data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
  102. data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
  103. data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
  104. data/generated/google/apis/compute_beta.rb +1 -1
  105. data/generated/google/apis/compute_beta/classes.rb +7007 -3648
  106. data/generated/google/apis/compute_beta/representations.rb +1459 -120
  107. data/generated/google/apis/compute_beta/service.rb +7943 -3726
  108. data/generated/google/apis/compute_v1.rb +1 -1
  109. data/generated/google/apis/compute_v1/classes.rb +2567 -370
  110. data/generated/google/apis/compute_v1/representations.rb +855 -0
  111. data/generated/google/apis/compute_v1/service.rb +6388 -2908
  112. data/generated/google/apis/container_v1.rb +1 -1
  113. data/generated/google/apis/container_v1/classes.rb +287 -16
  114. data/generated/google/apis/container_v1/representations.rb +113 -2
  115. data/generated/google/apis/container_v1/service.rb +130 -0
  116. data/generated/google/apis/content_v2.rb +1 -1
  117. data/generated/google/apis/content_v2/classes.rb +778 -10
  118. data/generated/google/apis/content_v2/representations.rb +339 -0
  119. data/generated/google/apis/content_v2/service.rb +364 -49
  120. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  121. data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
  122. data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
  123. data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
  124. data/generated/google/apis/dataproc_v1.rb +1 -1
  125. data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
  126. data/generated/google/apis/dataproc_v1/representations.rb +299 -225
  127. data/generated/google/apis/dataproc_v1/service.rb +277 -192
  128. data/generated/google/apis/datastore_v1.rb +38 -0
  129. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  130. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  131. data/generated/google/apis/datastore_v1/service.rb +259 -0
  132. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  133. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  134. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  135. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  136. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  137. data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
  138. data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
  139. data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
  140. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  141. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  142. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  143. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  144. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  145. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  146. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  147. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  148. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  149. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  150. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  151. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  152. data/generated/google/apis/dns_v1.rb +1 -1
  153. data/generated/google/apis/dns_v1/classes.rb +1 -1
  154. data/generated/google/apis/dns_v2beta1.rb +43 -0
  155. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  156. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  157. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  158. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  159. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  160. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  161. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  162. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  163. data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
  164. data/generated/google/apis/drive_v2.rb +1 -1
  165. data/generated/google/apis/drive_v2/classes.rb +595 -37
  166. data/generated/google/apis/drive_v2/representations.rb +140 -0
  167. data/generated/google/apis/drive_v2/service.rb +406 -40
  168. data/generated/google/apis/drive_v3.rb +1 -1
  169. data/generated/google/apis/drive_v3/classes.rb +507 -40
  170. data/generated/google/apis/drive_v3/representations.rb +105 -0
  171. data/generated/google/apis/drive_v3/service.rb +326 -29
  172. data/generated/google/apis/fitness_v1.rb +38 -2
  173. data/generated/google/apis/fitness_v1/classes.rb +65 -7
  174. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  175. data/generated/google/apis/fitness_v1/service.rb +17 -18
  176. data/generated/google/apis/fusiontables_v2.rb +1 -1
  177. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  178. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  179. data/generated/google/apis/games_management_v1management.rb +1 -1
  180. data/generated/google/apis/games_v1.rb +1 -1
  181. data/generated/google/apis/genomics_v1.rb +10 -12
  182. data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
  183. data/generated/google/apis/genomics_v1/representations.rb +468 -496
  184. data/generated/google/apis/genomics_v1/service.rb +978 -882
  185. data/generated/google/apis/gmail_v1.rb +11 -2
  186. data/generated/google/apis/gmail_v1/classes.rb +655 -5
  187. data/generated/google/apis/gmail_v1/representations.rb +261 -0
  188. data/generated/google/apis/gmail_v1/service.rb +1211 -48
  189. data/generated/google/apis/groupssettings_v1.rb +2 -2
  190. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  191. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  192. data/generated/google/apis/iam_v1.rb +2 -2
  193. data/generated/google/apis/iam_v1/classes.rb +446 -368
  194. data/generated/google/apis/iam_v1/representations.rb +109 -91
  195. data/generated/google/apis/iam_v1/service.rb +249 -162
  196. data/generated/google/apis/identitytoolkit_v3.rb +7 -1
  197. data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
  198. data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
  199. data/generated/google/apis/kgsearch_v1.rb +2 -3
  200. data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
  201. data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
  202. data/generated/google/apis/kgsearch_v1/service.rb +26 -24
  203. data/generated/google/apis/language_v1beta1.rb +36 -0
  204. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  205. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  206. data/generated/google/apis/language_v1beta1/service.rb +185 -0
  207. data/generated/google/apis/licensing_v1.rb +3 -3
  208. data/generated/google/apis/licensing_v1/classes.rb +14 -2
  209. data/generated/google/apis/licensing_v1/representations.rb +2 -0
  210. data/generated/google/apis/licensing_v1/service.rb +1 -1
  211. data/generated/google/apis/logging_v2beta1.rb +6 -6
  212. data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
  213. data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
  214. data/generated/google/apis/logging_v2beta1/service.rb +427 -155
  215. data/generated/google/apis/manufacturers_v1.rb +34 -0
  216. data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
  217. data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
  218. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  219. data/generated/google/apis/mirror_v1.rb +2 -2
  220. data/generated/google/apis/mirror_v1/service.rb +1 -1
  221. data/generated/google/apis/monitoring_v3.rb +45 -0
  222. data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
  223. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  224. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  225. data/generated/google/apis/oauth2_v2.rb +1 -1
  226. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  227. data/generated/google/apis/partners_v2.rb +3 -3
  228. data/generated/google/apis/partners_v2/classes.rb +1831 -477
  229. data/generated/google/apis/partners_v2/representations.rb +571 -114
  230. data/generated/google/apis/partners_v2/service.rb +898 -167
  231. data/generated/google/apis/people_v1.rb +15 -16
  232. data/generated/google/apis/people_v1/classes.rb +1047 -859
  233. data/generated/google/apis/people_v1/representations.rb +252 -213
  234. data/generated/google/apis/people_v1/service.rb +75 -62
  235. data/generated/google/apis/plus_domains_v1.rb +1 -1
  236. data/generated/google/apis/plus_v1.rb +1 -1
  237. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  238. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
  239. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
  240. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
  241. data/generated/google/apis/pubsub_v1.rb +1 -1
  242. data/generated/google/apis/pubsub_v1/classes.rb +363 -310
  243. data/generated/google/apis/pubsub_v1/representations.rb +76 -76
  244. data/generated/google/apis/pubsub_v1/service.rb +464 -335
  245. data/generated/google/apis/qpx_express_v1.rb +1 -1
  246. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  247. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  248. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  249. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  250. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  251. data/generated/google/apis/reseller_v1.rb +1 -1
  252. data/generated/google/apis/reseller_v1/classes.rb +222 -61
  253. data/generated/google/apis/reseller_v1/representations.rb +28 -0
  254. data/generated/google/apis/reseller_v1/service.rb +240 -47
  255. data/generated/google/apis/script_v1.rb +19 -19
  256. data/generated/google/apis/script_v1/classes.rb +151 -137
  257. data/generated/google/apis/script_v1/representations.rb +26 -26
  258. data/generated/google/apis/script_v1/service.rb +9 -8
  259. data/generated/google/apis/sheets_v4.rb +7 -7
  260. data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
  261. data/generated/google/apis/sheets_v4/representations.rb +988 -737
  262. data/generated/google/apis/sheets_v4/service.rb +266 -99
  263. data/generated/google/apis/site_verification_v1.rb +1 -1
  264. data/generated/google/apis/slides_v1.rb +49 -0
  265. data/generated/google/apis/slides_v1/classes.rb +4480 -0
  266. data/generated/google/apis/slides_v1/representations.rb +1926 -0
  267. data/generated/google/apis/slides_v1/service.rb +245 -0
  268. data/generated/google/apis/speech_v1beta1.rb +34 -0
  269. data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
  270. data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
  271. data/generated/google/apis/speech_v1beta1/service.rb +270 -0
  272. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  273. data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
  274. data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
  275. data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
  276. data/generated/google/apis/storage_v1.rb +1 -1
  277. data/generated/google/apis/storage_v1/classes.rb +205 -21
  278. data/generated/google/apis/storage_v1/representations.rb +51 -1
  279. data/generated/google/apis/storage_v1/service.rb +263 -9
  280. data/generated/google/apis/tagmanager_v1.rb +5 -5
  281. data/generated/google/apis/translate_v2.rb +2 -2
  282. data/generated/google/apis/translate_v2/service.rb +1 -1
  283. data/generated/google/apis/vision_v1.rb +1 -1
  284. data/generated/google/apis/vision_v1/classes.rb +1275 -731
  285. data/generated/google/apis/vision_v1/representations.rb +378 -111
  286. data/generated/google/apis/vision_v1/service.rb +4 -4
  287. data/generated/google/apis/webmasters_v3.rb +1 -1
  288. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  289. data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
  290. data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
  291. data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
  292. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  293. data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
  294. data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
  295. data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
  296. data/generated/google/apis/youtube_v3.rb +1 -1
  297. data/generated/google/apis/youtube_v3/classes.rb +430 -22
  298. data/generated/google/apis/youtube_v3/representations.rb +171 -4
  299. data/generated/google/apis/youtube_v3/service.rb +100 -9
  300. data/generated/google/apis/youtubereporting_v1.rb +4 -4
  301. data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
  302. data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
  303. data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
  304. data/google-api-client.gemspec +4 -3
  305. data/lib/google/apis/core/api_command.rb +16 -6
  306. data/lib/google/apis/core/base_service.rb +17 -9
  307. data/lib/google/apis/core/download.rb +7 -2
  308. data/lib/google/apis/core/http_command.rb +5 -1
  309. data/lib/google/apis/core/json_representation.rb +2 -2
  310. data/lib/google/apis/core/upload.rb +7 -1
  311. data/lib/google/apis/errors.rb +6 -2
  312. data/lib/google/apis/generator/annotator.rb +6 -0
  313. data/lib/google/apis/version.rb +1 -1
  314. data/samples/cli/lib/samples/bigquery.rb +101 -0
  315. data/samples/cli/lib/samples/calendar.rb +1 -1
  316. data/samples/cli/lib/samples/gmail.rb +74 -0
  317. data/samples/cli/lib/samples/sheets.rb +61 -0
  318. data/samples/cli/lib/samples/you_tube.rb +4 -1
  319. data/sync.rb +71 -0
  320. metadata +86 -18
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20160516'
28
+ REVISION = '20170222'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -277,6 +277,44 @@ module Google
277
277
  end
278
278
  end
279
279
 
280
+ # Represents a deobfuscation file.
281
+ class DeobfuscationFile
282
+ include Google::Apis::Core::Hashable
283
+
284
+ # The type of the deobfuscation file.
285
+ # Corresponds to the JSON property `symbolType`
286
+ # @return [String]
287
+ attr_accessor :symbol_type
288
+
289
+ def initialize(**args)
290
+ update!(**args)
291
+ end
292
+
293
+ # Update properties of this object
294
+ def update!(**args)
295
+ @symbol_type = args[:symbol_type] if args.key?(:symbol_type)
296
+ end
297
+ end
298
+
299
+ #
300
+ class DeobfuscationFilesUploadResponse
301
+ include Google::Apis::Core::Hashable
302
+
303
+ # Represents a deobfuscation file.
304
+ # Corresponds to the JSON property `deobfuscationFile`
305
+ # @return [Google::Apis::AndroidpublisherV2::DeobfuscationFile]
306
+ attr_accessor :deobfuscation_file
307
+
308
+ def initialize(**args)
309
+ update!(**args)
310
+ end
311
+
312
+ # Update properties of this object
313
+ def update!(**args)
314
+ @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file)
315
+ end
316
+ end
317
+
280
318
  #
281
319
  class DeveloperComment
282
320
  include Google::Apis::Core::Hashable
@@ -302,6 +340,85 @@ module Google
302
340
  end
303
341
  end
304
342
 
343
+ #
344
+ class DeviceMetadata
345
+ include Google::Apis::Core::Hashable
346
+
347
+ # Device CPU make e.g. "Qualcomm"
348
+ # Corresponds to the JSON property `cpuMake`
349
+ # @return [String]
350
+ attr_accessor :cpu_make
351
+
352
+ # Device CPU model e.g. "MSM8974"
353
+ # Corresponds to the JSON property `cpuModel`
354
+ # @return [String]
355
+ attr_accessor :cpu_model
356
+
357
+ # Device class (e.g. tablet)
358
+ # Corresponds to the JSON property `deviceClass`
359
+ # @return [String]
360
+ attr_accessor :device_class
361
+
362
+ # OpenGL version
363
+ # Corresponds to the JSON property `glEsVersion`
364
+ # @return [Fixnum]
365
+ attr_accessor :gl_es_version
366
+
367
+ # Device manufacturer (e.g. Motorola)
368
+ # Corresponds to the JSON property `manufacturer`
369
+ # @return [String]
370
+ attr_accessor :manufacturer
371
+
372
+ # Comma separated list of native platforms (e.g. "arm", "arm7")
373
+ # Corresponds to the JSON property `nativePlatform`
374
+ # @return [String]
375
+ attr_accessor :native_platform
376
+
377
+ # Device model name (e.g. Droid)
378
+ # Corresponds to the JSON property `productName`
379
+ # @return [String]
380
+ attr_accessor :product_name
381
+
382
+ # Device RAM in Megabytes e.g. "2048"
383
+ # Corresponds to the JSON property `ramMb`
384
+ # @return [Fixnum]
385
+ attr_accessor :ram_mb
386
+
387
+ # Screen density in DPI
388
+ # Corresponds to the JSON property `screenDensityDpi`
389
+ # @return [Fixnum]
390
+ attr_accessor :screen_density_dpi
391
+
392
+ # Screen height in pixels
393
+ # Corresponds to the JSON property `screenHeightPx`
394
+ # @return [Fixnum]
395
+ attr_accessor :screen_height_px
396
+
397
+ # Screen width in pixels
398
+ # Corresponds to the JSON property `screenWidthPx`
399
+ # @return [Fixnum]
400
+ attr_accessor :screen_width_px
401
+
402
+ def initialize(**args)
403
+ update!(**args)
404
+ end
405
+
406
+ # Update properties of this object
407
+ def update!(**args)
408
+ @cpu_make = args[:cpu_make] if args.key?(:cpu_make)
409
+ @cpu_model = args[:cpu_model] if args.key?(:cpu_model)
410
+ @device_class = args[:device_class] if args.key?(:device_class)
411
+ @gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version)
412
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
413
+ @native_platform = args[:native_platform] if args.key?(:native_platform)
414
+ @product_name = args[:product_name] if args.key?(:product_name)
415
+ @ram_mb = args[:ram_mb] if args.key?(:ram_mb)
416
+ @screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi)
417
+ @screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px)
418
+ @screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px)
419
+ end
420
+ end
421
+
305
422
  # An Entitlement resource indicates a user's current entitlement to an inapp
306
423
  # item or subscription.
307
424
  class Entitlement
@@ -1373,8 +1490,9 @@ module Google
1373
1490
  class SubscriptionDeferralInfo
1374
1491
  include Google::Apis::Core::Hashable
1375
1492
 
1376
- # The desired next expiry time for the subscription in milliseconds since Epoch.
1377
- # The given time must be after the current expiry time for the subscription.
1493
+ # The desired next expiry time to assign to the subscription, in milliseconds
1494
+ # since the Epoch. The given time must be later/greater than the current expiry
1495
+ # time for the subscription.
1378
1496
  # Corresponds to the JSON property `desiredExpiryTimeMillis`
1379
1497
  # @return [String]
1380
1498
  attr_accessor :desired_expiry_time_millis
@@ -1408,8 +1526,8 @@ module Google
1408
1526
  attr_accessor :auto_renewing
1409
1527
  alias_method :auto_renewing?, :auto_renewing
1410
1528
 
1411
- # The cancel reason of the subscription, if the subscription is not auto
1412
- # renewing. Possible values are:
1529
+ # The reason why a subscription was cancelled or is not auto-renewing. Possible
1530
+ # values are:
1413
1531
  # - User cancelled the subscription
1414
1532
  # - Subscription was cancelled by the system, for example because of a billing
1415
1533
  # problem
@@ -1429,7 +1547,7 @@ module Google
1429
1547
  # @return [String]
1430
1548
  attr_accessor :developer_payload
1431
1549
 
1432
- # Time at which the subscription will expire, in milliseconds since Epoch.
1550
+ # Time at which the subscription will expire, in milliseconds since the Epoch.
1433
1551
  # Corresponds to the JSON property `expiryTimeMillis`
1434
1552
  # @return [String]
1435
1553
  attr_accessor :expiry_time_millis
@@ -1448,8 +1566,8 @@ module Google
1448
1566
  attr_accessor :payment_state
1449
1567
 
1450
1568
  # Price of the subscription, not including tax. Price is expressed in micro-
1451
- # units, where 1,000,000 micro-units equal one unit of the currency. For example,
1452
- # if the subscription price is €1.99, price_amount_micros is 1990000.
1569
+ # units, where 1,000,000 micro-units represents one unit of the currency. For
1570
+ # example, if the subscription price is €1.99, price_amount_micros is 1990000.
1453
1571
  # Corresponds to the JSON property `priceAmountMicros`
1454
1572
  # @return [String]
1455
1573
  attr_accessor :price_amount_micros
@@ -1460,11 +1578,17 @@ module Google
1460
1578
  # @return [String]
1461
1579
  attr_accessor :price_currency_code
1462
1580
 
1463
- # Time at which the subscription was granted, in milliseconds since Epoch.
1581
+ # Time at which the subscription was granted, in milliseconds since the Epoch.
1464
1582
  # Corresponds to the JSON property `startTimeMillis`
1465
1583
  # @return [String]
1466
1584
  attr_accessor :start_time_millis
1467
1585
 
1586
+ # The time at which the subscription was canceled by the user, in milliseconds
1587
+ # since the epoch. Only present if cancelReason is 0.
1588
+ # Corresponds to the JSON property `userCancellationTimeMillis`
1589
+ # @return [String]
1590
+ attr_accessor :user_cancellation_time_millis
1591
+
1468
1592
  def initialize(**args)
1469
1593
  update!(**args)
1470
1594
  end
@@ -1481,6 +1605,7 @@ module Google
1481
1605
  @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
1482
1606
  @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
1483
1607
  @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
1608
+ @user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
1484
1609
  end
1485
1610
  end
1486
1611
 
@@ -1682,11 +1807,22 @@ module Google
1682
1807
  # @return [String]
1683
1808
  attr_accessor :device
1684
1809
 
1810
+ # Some information about the characteristics of the user's device
1811
+ # Corresponds to the JSON property `deviceMetadata`
1812
+ # @return [Google::Apis::AndroidpublisherV2::DeviceMetadata]
1813
+ attr_accessor :device_metadata
1814
+
1685
1815
  # The last time at which this comment was updated.
1686
1816
  # Corresponds to the JSON property `lastModified`
1687
1817
  # @return [Google::Apis::AndroidpublisherV2::Timestamp]
1688
1818
  attr_accessor :last_modified
1689
1819
 
1820
+ # Untranslated text of the review, in the case where the review has been
1821
+ # translated. If the review has not been translated this is left blank.
1822
+ # Corresponds to the JSON property `originalText`
1823
+ # @return [String]
1824
+ attr_accessor :original_text
1825
+
1690
1826
  # Language code for the reviewer. This is taken from the device settings so is
1691
1827
  # not guaranteed to match the language the review is written in. May be absent.
1692
1828
  # Corresponds to the JSON property `reviewerLanguage`
@@ -1705,6 +1841,16 @@ module Google
1705
1841
  # @return [String]
1706
1842
  attr_accessor :text
1707
1843
 
1844
+ # Number of users who have given this review a thumbs down
1845
+ # Corresponds to the JSON property `thumbsDownCount`
1846
+ # @return [Fixnum]
1847
+ attr_accessor :thumbs_down_count
1848
+
1849
+ # Number of users who have given this review a thumbs up
1850
+ # Corresponds to the JSON property `thumbsUpCount`
1851
+ # @return [Fixnum]
1852
+ attr_accessor :thumbs_up_count
1853
+
1708
1854
  def initialize(**args)
1709
1855
  update!(**args)
1710
1856
  end
@@ -1715,10 +1861,86 @@ module Google
1715
1861
  @app_version_code = args[:app_version_code] if args.key?(:app_version_code)
1716
1862
  @app_version_name = args[:app_version_name] if args.key?(:app_version_name)
1717
1863
  @device = args[:device] if args.key?(:device)
1864
+ @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
1718
1865
  @last_modified = args[:last_modified] if args.key?(:last_modified)
1866
+ @original_text = args[:original_text] if args.key?(:original_text)
1719
1867
  @reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language)
1720
1868
  @star_rating = args[:star_rating] if args.key?(:star_rating)
1721
1869
  @text = args[:text] if args.key?(:text)
1870
+ @thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count)
1871
+ @thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count)
1872
+ end
1873
+ end
1874
+
1875
+ # A VoidedPurchase resource indicates a purchase that was either cancelled/
1876
+ # refunded/charged-back.
1877
+ class VoidedPurchase
1878
+ include Google::Apis::Core::Hashable
1879
+
1880
+ # This kind represents a voided purchase object in the androidpublisher service.
1881
+ # Corresponds to the JSON property `kind`
1882
+ # @return [String]
1883
+ attr_accessor :kind
1884
+
1885
+ # The time at which the purchase was made, in milliseconds since the epoch (Jan
1886
+ # 1, 1970).
1887
+ # Corresponds to the JSON property `purchaseTimeMillis`
1888
+ # @return [String]
1889
+ attr_accessor :purchase_time_millis
1890
+
1891
+ # The token that was generated when a purchase was made. This uniquely
1892
+ # identifies a purchase.
1893
+ # Corresponds to the JSON property `purchaseToken`
1894
+ # @return [String]
1895
+ attr_accessor :purchase_token
1896
+
1897
+ # The time at which the purchase was cancelled/refunded/charged-back, in
1898
+ # milliseconds since the epoch (Jan 1, 1970).
1899
+ # Corresponds to the JSON property `voidedTimeMillis`
1900
+ # @return [String]
1901
+ attr_accessor :voided_time_millis
1902
+
1903
+ def initialize(**args)
1904
+ update!(**args)
1905
+ end
1906
+
1907
+ # Update properties of this object
1908
+ def update!(**args)
1909
+ @kind = args[:kind] if args.key?(:kind)
1910
+ @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
1911
+ @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
1912
+ @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
1913
+ end
1914
+ end
1915
+
1916
+ #
1917
+ class VoidedPurchasesListResponse
1918
+ include Google::Apis::Core::Hashable
1919
+
1920
+ #
1921
+ # Corresponds to the JSON property `pageInfo`
1922
+ # @return [Google::Apis::AndroidpublisherV2::PageInfo]
1923
+ attr_accessor :page_info
1924
+
1925
+ #
1926
+ # Corresponds to the JSON property `tokenPagination`
1927
+ # @return [Google::Apis::AndroidpublisherV2::TokenPagination]
1928
+ attr_accessor :token_pagination
1929
+
1930
+ #
1931
+ # Corresponds to the JSON property `voidedPurchases`
1932
+ # @return [Array<Google::Apis::AndroidpublisherV2::VoidedPurchase>]
1933
+ attr_accessor :voided_purchases
1934
+
1935
+ def initialize(**args)
1936
+ update!(**args)
1937
+ end
1938
+
1939
+ # Update properties of this object
1940
+ def update!(**args)
1941
+ @page_info = args[:page_info] if args.key?(:page_info)
1942
+ @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
1943
+ @voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases)
1722
1944
  end
1723
1945
  end
1724
1946
  end
@@ -82,12 +82,30 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class DeobfuscationFile
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class DeobfuscationFilesUploadResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class DeveloperComment
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
88
100
  include Google::Apis::Core::JsonObjectSupport
89
101
  end
90
102
 
103
+ class DeviceMetadata
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
91
109
  class Entitlement
92
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
111
 
@@ -352,6 +370,18 @@ module Google
352
370
  include Google::Apis::Core::JsonObjectSupport
353
371
  end
354
372
 
373
+ class VoidedPurchase
374
+ class Representation < Google::Apis::Core::JsonRepresentation; end
375
+
376
+ include Google::Apis::Core::JsonObjectSupport
377
+ end
378
+
379
+ class VoidedPurchasesListResponse
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
355
385
  class Apk
356
386
  # @private
357
387
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -438,6 +468,21 @@ module Google
438
468
  end
439
469
  end
440
470
 
471
+ class DeobfuscationFile
472
+ # @private
473
+ class Representation < Google::Apis::Core::JsonRepresentation
474
+ property :symbol_type, as: 'symbolType'
475
+ end
476
+ end
477
+
478
+ class DeobfuscationFilesUploadResponse
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :deobfuscation_file, as: 'deobfuscationFile', class: Google::Apis::AndroidpublisherV2::DeobfuscationFile, decorator: Google::Apis::AndroidpublisherV2::DeobfuscationFile::Representation
482
+
483
+ end
484
+ end
485
+
441
486
  class DeveloperComment
442
487
  # @private
443
488
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -447,6 +492,23 @@ module Google
447
492
  end
448
493
  end
449
494
 
495
+ class DeviceMetadata
496
+ # @private
497
+ class Representation < Google::Apis::Core::JsonRepresentation
498
+ property :cpu_make, as: 'cpuMake'
499
+ property :cpu_model, as: 'cpuModel'
500
+ property :device_class, as: 'deviceClass'
501
+ property :gl_es_version, as: 'glEsVersion'
502
+ property :manufacturer, as: 'manufacturer'
503
+ property :native_platform, as: 'nativePlatform'
504
+ property :product_name, as: 'productName'
505
+ property :ram_mb, as: 'ramMb'
506
+ property :screen_density_dpi, as: 'screenDensityDpi'
507
+ property :screen_height_px, as: 'screenHeightPx'
508
+ property :screen_width_px, as: 'screenWidthPx'
509
+ end
510
+ end
511
+
450
512
  class Entitlement
451
513
  # @private
452
514
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -807,6 +869,7 @@ module Google
807
869
  property :price_amount_micros, as: 'priceAmountMicros'
808
870
  property :price_currency_code, as: 'priceCurrencyCode'
809
871
  property :start_time_millis, as: 'startTimeMillis'
872
+ property :user_cancellation_time_millis, as: 'userCancellationTimeMillis'
810
873
  end
811
874
  end
812
875
 
@@ -874,11 +937,38 @@ module Google
874
937
  property :app_version_code, as: 'appVersionCode'
875
938
  property :app_version_name, as: 'appVersionName'
876
939
  property :device, as: 'device'
940
+ property :device_metadata, as: 'deviceMetadata', class: Google::Apis::AndroidpublisherV2::DeviceMetadata, decorator: Google::Apis::AndroidpublisherV2::DeviceMetadata::Representation
941
+
877
942
  property :last_modified, as: 'lastModified', class: Google::Apis::AndroidpublisherV2::Timestamp, decorator: Google::Apis::AndroidpublisherV2::Timestamp::Representation
878
943
 
944
+ property :original_text, as: 'originalText'
879
945
  property :reviewer_language, as: 'reviewerLanguage'
880
946
  property :star_rating, as: 'starRating'
881
947
  property :text, as: 'text'
948
+ property :thumbs_down_count, as: 'thumbsDownCount'
949
+ property :thumbs_up_count, as: 'thumbsUpCount'
950
+ end
951
+ end
952
+
953
+ class VoidedPurchase
954
+ # @private
955
+ class Representation < Google::Apis::Core::JsonRepresentation
956
+ property :kind, as: 'kind'
957
+ property :purchase_time_millis, as: 'purchaseTimeMillis'
958
+ property :purchase_token, as: 'purchaseToken'
959
+ property :voided_time_millis, as: 'voidedTimeMillis'
960
+ end
961
+ end
962
+
963
+ class VoidedPurchasesListResponse
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ property :page_info, as: 'pageInfo', class: Google::Apis::AndroidpublisherV2::PageInfo, decorator: Google::Apis::AndroidpublisherV2::PageInfo::Representation
967
+
968
+ property :token_pagination, as: 'tokenPagination', class: Google::Apis::AndroidpublisherV2::TokenPagination, decorator: Google::Apis::AndroidpublisherV2::TokenPagination::Representation
969
+
970
+ collection :voided_purchases, as: 'voidedPurchases', class: Google::Apis::AndroidpublisherV2::VoidedPurchase, decorator: Google::Apis::AndroidpublisherV2::VoidedPurchase::Representation
971
+
882
972
  end
883
973
  end
884
974
  end