google-api-client 0.20.1 → 0.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +190 -0
  3. data/README.md +3 -12
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  10. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
  12. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
  15. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  16. data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
  17. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  18. data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
  19. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  20. data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
  21. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  22. data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
  23. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
  25. data/generated/google/apis/admin_directory_v1.rb +3 -3
  26. data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +363 -577
  29. data/generated/google/apis/admin_reports_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1/service.rb +21 -35
  31. data/generated/google/apis/adsense_v1_4.rb +1 -1
  32. data/generated/google/apis/adsense_v1_4/service.rb +117 -195
  33. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  34. data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
  35. data/generated/google/apis/analytics_v2_4.rb +1 -1
  36. data/generated/google/apis/analytics_v2_4/service.rb +21 -35
  37. data/generated/google/apis/analytics_v3.rb +4 -1
  38. data/generated/google/apis/analytics_v3/classes.rb +119 -60
  39. data/generated/google/apis/analytics_v3/representations.rb +43 -12
  40. data/generated/google/apis/analytics_v3/service.rb +294 -435
  41. data/generated/google/apis/analyticsreporting_v4.rb +2 -2
  42. data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
  43. data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
  44. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  45. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
  47. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  48. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
  49. data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
  50. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  51. data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
  52. data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
  53. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  54. data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
  55. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  56. data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
  57. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  58. data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
  59. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
  60. data/generated/google/apis/androidpublisher_v2/service.rb +297 -286
  61. data/generated/google/apis/androidpublisher_v3.rb +34 -0
  62. data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
  63. data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
  64. data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
  65. data/generated/google/apis/appengine_v1.rb +1 -1
  66. data/generated/google/apis/appengine_v1/classes.rb +11 -4
  67. data/generated/google/apis/appengine_v1/service.rb +28 -19
  68. data/generated/google/apis/appengine_v1beta.rb +1 -1
  69. data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
  70. data/generated/google/apis/appengine_v1beta/service.rb +28 -19
  71. data/generated/google/apis/appsactivity_v1.rb +1 -1
  72. data/generated/google/apis/appsactivity_v1/service.rb +6 -10
  73. data/generated/google/apis/appsmarket_v2/service.rb +12 -20
  74. data/generated/google/apis/appstate_v1.rb +1 -1
  75. data/generated/google/apis/appstate_v1/service.rb +18 -30
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +76 -15
  78. data/generated/google/apis/bigquery_v2/representations.rb +22 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +69 -115
  80. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  81. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
  82. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
  83. data/generated/google/apis/blogger_v2/service.rb +30 -50
  84. data/generated/google/apis/blogger_v3/service.rb +102 -170
  85. data/generated/google/apis/books_v1.rb +1 -1
  86. data/generated/google/apis/books_v1/service.rb +156 -260
  87. data/generated/google/apis/calendar_v3.rb +1 -1
  88. data/generated/google/apis/calendar_v3/service.rb +114 -190
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/chat_v1/classes.rb +6 -0
  91. data/generated/google/apis/chat_v1/representations.rb +1 -0
  92. data/generated/google/apis/civicinfo_v2/service.rb +18 -30
  93. data/generated/google/apis/classroom_v1.rb +1 -1
  94. data/generated/google/apis/classroom_v1/classes.rb +0 -69
  95. data/generated/google/apis/classroom_v1/representations.rb +0 -31
  96. data/generated/google/apis/classroom_v1/service.rb +0 -88
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
  99. data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
  100. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  101. data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
  102. data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
  103. data/generated/google/apis/cloudfunctions_v1.rb +3 -4
  104. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  105. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  106. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
  107. data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
  108. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
  109. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  110. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
  111. data/generated/google/apis/cloudiot_v1.rb +1 -1
  112. data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
  113. data/generated/google/apis/cloudiot_v1/service.rb +387 -0
  114. data/generated/google/apis/cloudkms_v1.rb +2 -2
  115. data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
  116. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +31 -9
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
  122. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  123. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
  124. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  125. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
  126. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  127. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
  128. data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
  129. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  130. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  131. data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
  132. data/generated/google/apis/composer_v1beta1/classes.rb +640 -0
  133. data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
  134. data/generated/google/apis/composer_v1beta1/service.rb +462 -0
  135. data/generated/google/apis/compute_alpha.rb +1 -1
  136. data/generated/google/apis/compute_alpha/classes.rb +4279 -1869
  137. data/generated/google/apis/compute_alpha/representations.rb +1366 -346
  138. data/generated/google/apis/compute_alpha/service.rb +4754 -4134
  139. data/generated/google/apis/compute_beta.rb +1 -1
  140. data/generated/google/apis/compute_beta/classes.rb +211 -55
  141. data/generated/google/apis/compute_beta/representations.rb +41 -0
  142. data/generated/google/apis/compute_beta/service.rb +1273 -2082
  143. data/generated/google/apis/compute_v1.rb +1 -1
  144. data/generated/google/apis/compute_v1/classes.rb +245 -44
  145. data/generated/google/apis/compute_v1/representations.rb +81 -0
  146. data/generated/google/apis/compute_v1/service.rb +1567 -1668
  147. data/generated/google/apis/container_v1.rb +2 -2
  148. data/generated/google/apis/container_v1/classes.rb +20 -15
  149. data/generated/google/apis/container_v1/representations.rb +1 -0
  150. data/generated/google/apis/container_v1/service.rb +51 -49
  151. data/generated/google/apis/container_v1beta1.rb +2 -2
  152. data/generated/google/apis/container_v1beta1/classes.rb +193 -14
  153. data/generated/google/apis/container_v1beta1/representations.rb +78 -0
  154. data/generated/google/apis/container_v1beta1/service.rb +129 -49
  155. data/generated/google/apis/content_v2.rb +1 -1
  156. data/generated/google/apis/content_v2/classes.rb +173 -8
  157. data/generated/google/apis/content_v2/representations.rb +71 -0
  158. data/generated/google/apis/content_v2/service.rb +246 -410
  159. data/generated/google/apis/content_v2sandbox.rb +1 -1
  160. data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
  161. data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
  162. data/generated/google/apis/content_v2sandbox/service.rb +63 -105
  163. data/generated/google/apis/customsearch_v1.rb +1 -1
  164. data/generated/google/apis/customsearch_v1/service.rb +9 -15
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  168. data/generated/google/apis/dataproc_v1.rb +2 -2
  169. data/generated/google/apis/dataproc_v1/classes.rb +6 -6
  170. data/generated/google/apis/dataproc_v1/service.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2.rb +2 -2
  172. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
  173. data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
  174. data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
  175. data/generated/google/apis/datastore_v1.rb +2 -2
  176. data/generated/google/apis/datastore_v1/service.rb +1 -1
  177. data/generated/google/apis/datastore_v1beta1.rb +2 -2
  178. data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3.rb +2 -2
  180. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  182. data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
  183. data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
  184. data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
  185. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  186. data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
  187. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
  188. data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
  189. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  190. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
  191. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
  192. data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
  193. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  194. data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
  195. data/generated/google/apis/dfareporting_v2_8/service.rb +622 -1031
  196. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  197. data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
  198. data/generated/google/apis/dfareporting_v3_0/service.rb +619 -1026
  199. data/generated/google/apis/dfareporting_v3_1.rb +40 -0
  200. data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
  201. data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
  202. data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
  205. data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
  206. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  207. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
  208. data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
  209. data/generated/google/apis/discovery_v1/service.rb +9 -15
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dlp_v2/classes.rb +136 -1572
  212. data/generated/google/apis/dlp_v2/representations.rb +676 -1405
  213. data/generated/google/apis/dlp_v2/service.rb +24 -24
  214. data/generated/google/apis/dns_v1.rb +1 -1
  215. data/generated/google/apis/dns_v1/classes.rb +7 -0
  216. data/generated/google/apis/dns_v1/representations.rb +1 -0
  217. data/generated/google/apis/dns_v1/service.rb +49 -81
  218. data/generated/google/apis/dns_v1beta2.rb +1 -1
  219. data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
  220. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  221. data/generated/google/apis/dns_v1beta2/service.rb +49 -81
  222. data/generated/google/apis/dns_v2beta1.rb +1 -1
  223. data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
  224. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v2beta1/service.rb +49 -81
  226. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
  227. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  228. data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
  229. data/generated/google/apis/drive_v2.rb +1 -1
  230. data/generated/google/apis/drive_v2/service.rb +205 -341
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/service.rb +120 -200
  233. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  234. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  235. data/generated/google/apis/firestore_v1beta1.rb +2 -2
  236. data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
  237. data/generated/google/apis/fitness_v1/service.rb +45 -75
  238. data/generated/google/apis/fusiontables_v1.rb +1 -1
  239. data/generated/google/apis/fusiontables_v1/service.rb +99 -165
  240. data/generated/google/apis/fusiontables_v2/service.rb +105 -175
  241. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  242. data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
  243. data/generated/google/apis/games_management_v1management.rb +1 -1
  244. data/generated/google/apis/games_management_v1management/service.rb +84 -140
  245. data/generated/google/apis/games_v1.rb +1 -1
  246. data/generated/google/apis/games_v1/service.rb +162 -270
  247. data/generated/google/apis/genomics_v1.rb +1 -1
  248. data/generated/google/apis/genomics_v1/classes.rb +41 -7
  249. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  250. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  251. data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
  252. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  253. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  254. data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
  255. data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
  256. data/generated/google/apis/gmail_v1/service.rb +189 -315
  257. data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
  258. data/generated/google/apis/groupssettings_v1/service.rb +12 -20
  259. data/generated/google/apis/iam_v1.rb +2 -2
  260. data/generated/google/apis/iam_v1/classes.rb +29 -7
  261. data/generated/google/apis/iam_v1/service.rb +1 -1
  262. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  263. data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
  264. data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
  265. data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
  266. data/generated/google/apis/jobs_v2.rb +38 -0
  267. data/generated/google/apis/jobs_v2/classes.rb +3374 -0
  268. data/generated/google/apis/jobs_v2/representations.rb +1067 -0
  269. data/generated/google/apis/jobs_v2/service.rb +753 -0
  270. data/generated/google/apis/language_v1.rb +1 -1
  271. data/generated/google/apis/language_v1/classes.rb +1 -0
  272. data/generated/google/apis/language_v1beta1.rb +1 -1
  273. data/generated/google/apis/language_v1beta1/classes.rb +1 -0
  274. data/generated/google/apis/language_v1beta2.rb +1 -1
  275. data/generated/google/apis/language_v1beta2/classes.rb +1 -0
  276. data/generated/google/apis/licensing_v1/service.rb +24 -40
  277. data/generated/google/apis/logging_v2.rb +1 -1
  278. data/generated/google/apis/logging_v2/classes.rb +55 -5
  279. data/generated/google/apis/logging_v2/representations.rb +16 -0
  280. data/generated/google/apis/logging_v2/service.rb +6 -4
  281. data/generated/google/apis/logging_v2beta1.rb +1 -1
  282. data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
  283. data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
  284. data/generated/google/apis/logging_v2beta1/service.rb +6 -4
  285. data/generated/google/apis/mirror_v1.rb +1 -1
  286. data/generated/google/apis/mirror_v1/service.rb +75 -125
  287. data/generated/google/apis/ml_v1.rb +1 -1
  288. data/generated/google/apis/ml_v1/classes.rb +65 -28
  289. data/generated/google/apis/ml_v1/representations.rb +1 -0
  290. data/generated/google/apis/ml_v1/service.rb +2 -2
  291. data/generated/google/apis/monitoring_v3.rb +1 -1
  292. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  293. data/generated/google/apis/oauth2_v1.rb +1 -1
  294. data/generated/google/apis/oauth2_v1/service.rb +27 -45
  295. data/generated/google/apis/oauth2_v2.rb +1 -1
  296. data/generated/google/apis/oauth2_v2/service.rb +15 -25
  297. data/generated/google/apis/oslogin_v1.rb +1 -1
  298. data/generated/google/apis/oslogin_v1/classes.rb +6 -0
  299. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  300. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  301. data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
  302. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  303. data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
  304. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  305. data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
  306. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  307. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  308. data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
  309. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  310. data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
  311. data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
  312. data/generated/google/apis/partners_v2.rb +1 -1
  313. data/generated/google/apis/partners_v2/classes.rb +7 -0
  314. data/generated/google/apis/partners_v2/representations.rb +1 -0
  315. data/generated/google/apis/people_v1.rb +1 -1
  316. data/generated/google/apis/people_v1/service.rb +4 -0
  317. data/generated/google/apis/photoslibrary_v1.rb +49 -0
  318. data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
  319. data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
  320. data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
  321. data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
  322. data/generated/google/apis/plus_domains_v1.rb +1 -1
  323. data/generated/google/apis/plus_domains_v1/service.rb +63 -105
  324. data/generated/google/apis/plus_v1.rb +1 -1
  325. data/generated/google/apis/plus_v1/service.rb +30 -50
  326. data/generated/google/apis/pubsub_v1.rb +2 -2
  327. data/generated/google/apis/pubsub_v1/classes.rb +29 -7
  328. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  329. data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
  330. data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
  331. data/generated/google/apis/pubsub_v1beta2.rb +2 -2
  332. data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
  333. data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
  334. data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
  335. data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
  336. data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
  337. data/generated/google/apis/redis_v1beta1/service.rb +426 -0
  338. data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
  339. data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
  340. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
  341. data/generated/google/apis/reseller_v1/service.rb +54 -90
  342. data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
  343. data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
  344. data/generated/google/apis/runtimeconfig_v1.rb +2 -2
  345. data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
  346. data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
  347. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +29 -7
  348. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  349. data/generated/google/apis/script_v1.rb +8 -2
  350. data/generated/google/apis/script_v1/classes.rb +3 -3
  351. data/generated/google/apis/script_v1/service.rb +8 -2
  352. data/generated/google/apis/servicebroker_v1.rb +36 -0
  353. data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
  354. data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
  355. data/generated/google/apis/servicebroker_v1/service.rb +168 -0
  356. data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
  357. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
  358. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
  359. data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
  360. data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
  361. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
  362. data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
  363. data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
  364. data/generated/google/apis/servicecontrol_v1.rb +2 -2
  365. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  366. data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
  367. data/generated/google/apis/servicemanagement_v1.rb +2 -2
  368. data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
  369. data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
  370. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  371. data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
  372. data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
  373. data/generated/google/apis/sheets_v4.rb +1 -1
  374. data/generated/google/apis/sheets_v4/classes.rb +421 -0
  375. data/generated/google/apis/sheets_v4/representations.rb +120 -0
  376. data/generated/google/apis/site_verification_v1/service.rb +24 -40
  377. data/generated/google/apis/slides_v1.rb +1 -1
  378. data/generated/google/apis/slides_v1/classes.rb +6 -2
  379. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  380. data/generated/google/apis/sourcerepo_v1/classes.rb +160 -8
  381. data/generated/google/apis/sourcerepo_v1/representations.rb +63 -0
  382. data/generated/google/apis/sourcerepo_v1/service.rb +99 -0
  383. data/generated/google/apis/spanner_v1.rb +1 -1
  384. data/generated/google/apis/spanner_v1/classes.rb +40 -13
  385. data/generated/google/apis/spanner_v1/service.rb +2 -2
  386. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  387. data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
  388. data/generated/google/apis/speech_v1.rb +1 -1
  389. data/generated/google/apis/speech_v1/classes.rb +12 -0
  390. data/generated/google/apis/speech_v1/representations.rb +1 -0
  391. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  392. data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
  393. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  394. data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
  395. data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
  396. data/generated/google/apis/sqladmin_v1beta4/service.rb +246 -210
  397. data/generated/google/apis/storage_v1.rb +1 -1
  398. data/generated/google/apis/storage_v1/classes.rb +3 -6
  399. data/generated/google/apis/storage_v1/service.rb +144 -240
  400. data/generated/google/apis/storage_v1beta1.rb +1 -1
  401. data/generated/google/apis/storage_v1beta1/service.rb +75 -125
  402. data/generated/google/apis/storage_v1beta2.rb +1 -1
  403. data/generated/google/apis/storage_v1beta2/service.rb +105 -175
  404. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  405. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
  406. data/generated/google/apis/surveys_v2.rb +1 -1
  407. data/generated/google/apis/surveys_v2/classes.rb +19 -122
  408. data/generated/google/apis/surveys_v2/representations.rb +0 -38
  409. data/generated/google/apis/surveys_v2/service.rb +27 -157
  410. data/generated/google/apis/tagmanager_v1/service.rb +153 -255
  411. data/generated/google/apis/tagmanager_v2/service.rb +222 -370
  412. data/generated/google/apis/tasks_v1/service.rb +45 -75
  413. data/generated/google/apis/testing_v1.rb +1 -1
  414. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  415. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  416. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  417. data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
  418. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  419. data/generated/google/apis/urlshortener_v1/service.rb +12 -20
  420. data/generated/google/apis/vault_v1.rb +2 -2
  421. data/generated/google/apis/vault_v1/service.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1.rb +34 -0
  423. data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
  424. data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
  425. data/generated/google/apis/videointelligence_v1/service.rb +246 -0
  426. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
  428. data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
  429. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
  430. data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
  431. data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
  432. data/generated/google/apis/vision_v1.rb +1 -1
  433. data/generated/google/apis/vision_v1/classes.rb +2001 -105
  434. data/generated/google/apis/vision_v1/representations.rb +1024 -170
  435. data/generated/google/apis/vision_v1/service.rb +35 -0
  436. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  437. data/generated/google/apis/vision_v1p1beta1/classes.rb +4147 -772
  438. data/generated/google/apis/vision_v1p1beta1/representations.rb +1659 -209
  439. data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
  440. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  441. data/generated/google/apis/vision_v1p2beta1/classes.rb +2603 -844
  442. data/generated/google/apis/vision_v1p2beta1/representations.rb +784 -8
  443. data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
  444. data/generated/google/apis/webfonts_v1/service.rb +6 -10
  445. data/generated/google/apis/webmasters_v3/service.rb +42 -70
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
  447. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
  448. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
  449. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
  452. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  453. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
  454. data/generated/google/apis/youtube_analytics_v2.rb +46 -0
  455. data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
  456. data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
  457. data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
  458. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  459. data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
  460. data/generated/google/apis/youtube_v3.rb +1 -1
  461. data/generated/google/apis/youtube_v3/classes.rb +0 -168
  462. data/generated/google/apis/youtube_v3/representations.rb +0 -62
  463. data/generated/google/apis/youtube_v3/service.rb +216 -415
  464. data/lib/google/apis/generator/helpers.rb +3 -1
  465. data/lib/google/apis/version.rb +1 -1
  466. metadata +55 -39
  467. data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
  468. data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
  469. data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
  470. data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
  471. data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
  472. data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
  473. data/generated/google/apis/prediction_v1_2.rb +0 -44
  474. data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
  475. data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
  476. data/generated/google/apis/prediction_v1_2/service.rb +0 -287
  477. data/generated/google/apis/prediction_v1_3.rb +0 -44
  478. data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
  479. data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
  480. data/generated/google/apis/prediction_v1_3/service.rb +0 -284
  481. data/generated/google/apis/prediction_v1_4.rb +0 -44
  482. data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
  483. data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
  484. data/generated/google/apis/prediction_v1_4/service.rb +0 -284
  485. data/generated/google/apis/prediction_v1_5.rb +0 -44
  486. data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
  487. data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
  488. data/generated/google/apis/prediction_v1_5/service.rb +0 -357
  489. data/generated/google/apis/prediction_v1_6.rb +0 -47
  490. data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
  491. data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
  492. data/generated/google/apis/prediction_v1_6/service.rb +0 -381
  493. data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
  494. data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
  495. data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
  496. data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
  497. data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
  498. data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
  499. data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -0,0 +1,34 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/androidpublisher_v3/service.rb'
16
+ require 'google/apis/androidpublisher_v3/classes.rb'
17
+ require 'google/apis/androidpublisher_v3/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Play Developer API
22
+ #
23
+ # Lets Android application developers access their Google Play accounts.
24
+ #
25
+ # @see https://developers.google.com/android-publisher
26
+ module AndroidpublisherV3
27
+ VERSION = 'V3'
28
+ REVISION = '20180504'
29
+
30
+ # View and manage your Google Play Developer account
31
+ AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,1899 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AndroidpublisherV3
24
+
25
+ #
26
+ class Apk
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Represents the binary payload of an APK.
30
+ # Corresponds to the JSON property `binary`
31
+ # @return [Google::Apis::AndroidpublisherV3::ApkBinary]
32
+ attr_accessor :binary
33
+
34
+ # The version code of the APK, as specified in the APK's manifest file.
35
+ # Corresponds to the JSON property `versionCode`
36
+ # @return [Fixnum]
37
+ attr_accessor :version_code
38
+
39
+ def initialize(**args)
40
+ update!(**args)
41
+ end
42
+
43
+ # Update properties of this object
44
+ def update!(**args)
45
+ @binary = args[:binary] if args.key?(:binary)
46
+ @version_code = args[:version_code] if args.key?(:version_code)
47
+ end
48
+ end
49
+
50
+ # Represents the binary payload of an APK.
51
+ class ApkBinary
52
+ include Google::Apis::Core::Hashable
53
+
54
+ # A sha1 hash of the APK payload, encoded as a hex string and matching the
55
+ # output of the sha1sum command.
56
+ # Corresponds to the JSON property `sha1`
57
+ # @return [String]
58
+ attr_accessor :sha1
59
+
60
+ # A sha256 hash of the APK payload, encoded as a hex string and matching the
61
+ # output of the sha256sum command.
62
+ # Corresponds to the JSON property `sha256`
63
+ # @return [String]
64
+ attr_accessor :sha256
65
+
66
+ def initialize(**args)
67
+ update!(**args)
68
+ end
69
+
70
+ # Update properties of this object
71
+ def update!(**args)
72
+ @sha1 = args[:sha1] if args.key?(:sha1)
73
+ @sha256 = args[:sha256] if args.key?(:sha256)
74
+ end
75
+ end
76
+
77
+ #
78
+ class ApksAddExternallyHostedRequest
79
+ include Google::Apis::Core::Hashable
80
+
81
+ # Defines an APK available for this application that is hosted externally and
82
+ # not uploaded to Google Play. This function is only available to enterprises
83
+ # who are using Google Play for Work, and whos application is restricted to the
84
+ # enterprise private channel
85
+ # Corresponds to the JSON property `externallyHostedApk`
86
+ # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
87
+ attr_accessor :externally_hosted_apk
88
+
89
+ def initialize(**args)
90
+ update!(**args)
91
+ end
92
+
93
+ # Update properties of this object
94
+ def update!(**args)
95
+ @externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk)
96
+ end
97
+ end
98
+
99
+ #
100
+ class ApksAddExternallyHostedResponse
101
+ include Google::Apis::Core::Hashable
102
+
103
+ # Defines an APK available for this application that is hosted externally and
104
+ # not uploaded to Google Play. This function is only available to enterprises
105
+ # who are using Google Play for Work, and whos application is restricted to the
106
+ # enterprise private channel
107
+ # Corresponds to the JSON property `externallyHostedApk`
108
+ # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
109
+ attr_accessor :externally_hosted_apk
110
+
111
+ def initialize(**args)
112
+ update!(**args)
113
+ end
114
+
115
+ # Update properties of this object
116
+ def update!(**args)
117
+ @externally_hosted_apk = args[:externally_hosted_apk] if args.key?(:externally_hosted_apk)
118
+ end
119
+ end
120
+
121
+ #
122
+ class ApksListResponse
123
+ include Google::Apis::Core::Hashable
124
+
125
+ #
126
+ # Corresponds to the JSON property `apks`
127
+ # @return [Array<Google::Apis::AndroidpublisherV3::Apk>]
128
+ attr_accessor :apks
129
+
130
+ # Identifies what kind of resource this is. Value: the fixed string "
131
+ # androidpublisher#apksListResponse".
132
+ # Corresponds to the JSON property `kind`
133
+ # @return [String]
134
+ attr_accessor :kind
135
+
136
+ def initialize(**args)
137
+ update!(**args)
138
+ end
139
+
140
+ # Update properties of this object
141
+ def update!(**args)
142
+ @apks = args[:apks] if args.key?(:apks)
143
+ @kind = args[:kind] if args.key?(:kind)
144
+ end
145
+ end
146
+
147
+ #
148
+ class AppDetails
149
+ include Google::Apis::Core::Hashable
150
+
151
+ # The user-visible support email for this app.
152
+ # Corresponds to the JSON property `contactEmail`
153
+ # @return [String]
154
+ attr_accessor :contact_email
155
+
156
+ # The user-visible support telephone number for this app.
157
+ # Corresponds to the JSON property `contactPhone`
158
+ # @return [String]
159
+ attr_accessor :contact_phone
160
+
161
+ # The user-visible website for this app.
162
+ # Corresponds to the JSON property `contactWebsite`
163
+ # @return [String]
164
+ attr_accessor :contact_website
165
+
166
+ # Default language code, in BCP 47 format (eg "en-US").
167
+ # Corresponds to the JSON property `defaultLanguage`
168
+ # @return [String]
169
+ attr_accessor :default_language
170
+
171
+ def initialize(**args)
172
+ update!(**args)
173
+ end
174
+
175
+ # Update properties of this object
176
+ def update!(**args)
177
+ @contact_email = args[:contact_email] if args.key?(:contact_email)
178
+ @contact_phone = args[:contact_phone] if args.key?(:contact_phone)
179
+ @contact_website = args[:contact_website] if args.key?(:contact_website)
180
+ @default_language = args[:default_language] if args.key?(:default_language)
181
+ end
182
+ end
183
+
184
+ # Represents an edit of an app. An edit allows clients to make multiple changes
185
+ # before committing them in one operation.
186
+ class AppEdit
187
+ include Google::Apis::Core::Hashable
188
+
189
+ # The time at which the edit will expire and will be no longer valid for use in
190
+ # any subsequent API calls (encoded as seconds since the Epoch).
191
+ # Corresponds to the JSON property `expiryTimeSeconds`
192
+ # @return [String]
193
+ attr_accessor :expiry_time_seconds
194
+
195
+ # The ID of the edit that can be used in subsequent API calls.
196
+ # Corresponds to the JSON property `id`
197
+ # @return [String]
198
+ attr_accessor :id
199
+
200
+ def initialize(**args)
201
+ update!(**args)
202
+ end
203
+
204
+ # Update properties of this object
205
+ def update!(**args)
206
+ @expiry_time_seconds = args[:expiry_time_seconds] if args.key?(:expiry_time_seconds)
207
+ @id = args[:id] if args.key?(:id)
208
+ end
209
+ end
210
+
211
+ #
212
+ class Bundle
213
+ include Google::Apis::Core::Hashable
214
+
215
+ # A sha1 hash of the upload payload, encoded as a hex string and matching the
216
+ # output of the sha1sum command.
217
+ # Corresponds to the JSON property `sha1`
218
+ # @return [String]
219
+ attr_accessor :sha1
220
+
221
+ # A sha256 hash of the upload payload, encoded as a hex string and matching the
222
+ # output of the sha256sum command.
223
+ # Corresponds to the JSON property `sha256`
224
+ # @return [String]
225
+ attr_accessor :sha256
226
+
227
+ # The version code of the Android App Bundle. As specified in the Android App
228
+ # Bundle's base module APK manifest file.
229
+ # Corresponds to the JSON property `versionCode`
230
+ # @return [Fixnum]
231
+ attr_accessor :version_code
232
+
233
+ def initialize(**args)
234
+ update!(**args)
235
+ end
236
+
237
+ # Update properties of this object
238
+ def update!(**args)
239
+ @sha1 = args[:sha1] if args.key?(:sha1)
240
+ @sha256 = args[:sha256] if args.key?(:sha256)
241
+ @version_code = args[:version_code] if args.key?(:version_code)
242
+ end
243
+ end
244
+
245
+ #
246
+ class BundlesListResponse
247
+ include Google::Apis::Core::Hashable
248
+
249
+ #
250
+ # Corresponds to the JSON property `bundles`
251
+ # @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
252
+ attr_accessor :bundles
253
+
254
+ # Identifies what kind of resource this is. Value: the fixed string "
255
+ # androidpublisher#bundlesListResponse".
256
+ # Corresponds to the JSON property `kind`
257
+ # @return [String]
258
+ attr_accessor :kind
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @bundles = args[:bundles] if args.key?(:bundles)
267
+ @kind = args[:kind] if args.key?(:kind)
268
+ end
269
+ end
270
+
271
+ #
272
+ class Comment
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # A comment from a developer.
276
+ # Corresponds to the JSON property `developerComment`
277
+ # @return [Google::Apis::AndroidpublisherV3::DeveloperComment]
278
+ attr_accessor :developer_comment
279
+
280
+ # A comment from a user.
281
+ # Corresponds to the JSON property `userComment`
282
+ # @return [Google::Apis::AndroidpublisherV3::UserComment]
283
+ attr_accessor :user_comment
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @developer_comment = args[:developer_comment] if args.key?(:developer_comment)
292
+ @user_comment = args[:user_comment] if args.key?(:user_comment)
293
+ end
294
+ end
295
+
296
+ # Represents a deobfuscation file.
297
+ class DeobfuscationFile
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # The type of the deobfuscation file.
301
+ # Corresponds to the JSON property `symbolType`
302
+ # @return [String]
303
+ attr_accessor :symbol_type
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @symbol_type = args[:symbol_type] if args.key?(:symbol_type)
312
+ end
313
+ end
314
+
315
+ #
316
+ class DeobfuscationFilesUploadResponse
317
+ include Google::Apis::Core::Hashable
318
+
319
+ # Represents a deobfuscation file.
320
+ # Corresponds to the JSON property `deobfuscationFile`
321
+ # @return [Google::Apis::AndroidpublisherV3::DeobfuscationFile]
322
+ attr_accessor :deobfuscation_file
323
+
324
+ def initialize(**args)
325
+ update!(**args)
326
+ end
327
+
328
+ # Update properties of this object
329
+ def update!(**args)
330
+ @deobfuscation_file = args[:deobfuscation_file] if args.key?(:deobfuscation_file)
331
+ end
332
+ end
333
+
334
+ #
335
+ class DeveloperComment
336
+ include Google::Apis::Core::Hashable
337
+
338
+ # The last time at which this comment was updated.
339
+ # Corresponds to the JSON property `lastModified`
340
+ # @return [Google::Apis::AndroidpublisherV3::Timestamp]
341
+ attr_accessor :last_modified
342
+
343
+ # The content of the comment, i.e. reply body.
344
+ # Corresponds to the JSON property `text`
345
+ # @return [String]
346
+ attr_accessor :text
347
+
348
+ def initialize(**args)
349
+ update!(**args)
350
+ end
351
+
352
+ # Update properties of this object
353
+ def update!(**args)
354
+ @last_modified = args[:last_modified] if args.key?(:last_modified)
355
+ @text = args[:text] if args.key?(:text)
356
+ end
357
+ end
358
+
359
+ #
360
+ class DeviceMetadata
361
+ include Google::Apis::Core::Hashable
362
+
363
+ # Device CPU make e.g. "Qualcomm"
364
+ # Corresponds to the JSON property `cpuMake`
365
+ # @return [String]
366
+ attr_accessor :cpu_make
367
+
368
+ # Device CPU model e.g. "MSM8974"
369
+ # Corresponds to the JSON property `cpuModel`
370
+ # @return [String]
371
+ attr_accessor :cpu_model
372
+
373
+ # Device class (e.g. tablet)
374
+ # Corresponds to the JSON property `deviceClass`
375
+ # @return [String]
376
+ attr_accessor :device_class
377
+
378
+ # OpenGL version
379
+ # Corresponds to the JSON property `glEsVersion`
380
+ # @return [Fixnum]
381
+ attr_accessor :gl_es_version
382
+
383
+ # Device manufacturer (e.g. Motorola)
384
+ # Corresponds to the JSON property `manufacturer`
385
+ # @return [String]
386
+ attr_accessor :manufacturer
387
+
388
+ # Comma separated list of native platforms (e.g. "arm", "arm7")
389
+ # Corresponds to the JSON property `nativePlatform`
390
+ # @return [String]
391
+ attr_accessor :native_platform
392
+
393
+ # Device model name (e.g. Droid)
394
+ # Corresponds to the JSON property `productName`
395
+ # @return [String]
396
+ attr_accessor :product_name
397
+
398
+ # Device RAM in Megabytes e.g. "2048"
399
+ # Corresponds to the JSON property `ramMb`
400
+ # @return [Fixnum]
401
+ attr_accessor :ram_mb
402
+
403
+ # Screen density in DPI
404
+ # Corresponds to the JSON property `screenDensityDpi`
405
+ # @return [Fixnum]
406
+ attr_accessor :screen_density_dpi
407
+
408
+ # Screen height in pixels
409
+ # Corresponds to the JSON property `screenHeightPx`
410
+ # @return [Fixnum]
411
+ attr_accessor :screen_height_px
412
+
413
+ # Screen width in pixels
414
+ # Corresponds to the JSON property `screenWidthPx`
415
+ # @return [Fixnum]
416
+ attr_accessor :screen_width_px
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @cpu_make = args[:cpu_make] if args.key?(:cpu_make)
425
+ @cpu_model = args[:cpu_model] if args.key?(:cpu_model)
426
+ @device_class = args[:device_class] if args.key?(:device_class)
427
+ @gl_es_version = args[:gl_es_version] if args.key?(:gl_es_version)
428
+ @manufacturer = args[:manufacturer] if args.key?(:manufacturer)
429
+ @native_platform = args[:native_platform] if args.key?(:native_platform)
430
+ @product_name = args[:product_name] if args.key?(:product_name)
431
+ @ram_mb = args[:ram_mb] if args.key?(:ram_mb)
432
+ @screen_density_dpi = args[:screen_density_dpi] if args.key?(:screen_density_dpi)
433
+ @screen_height_px = args[:screen_height_px] if args.key?(:screen_height_px)
434
+ @screen_width_px = args[:screen_width_px] if args.key?(:screen_width_px)
435
+ end
436
+ end
437
+
438
+ #
439
+ class ExpansionFile
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # If set this field indicates that this APK has an Expansion File uploaded to it:
443
+ # this APK does not reference another APK's Expansion File. The field's value
444
+ # is the size of the uploaded Expansion File in bytes.
445
+ # Corresponds to the JSON property `fileSize`
446
+ # @return [Fixnum]
447
+ attr_accessor :file_size
448
+
449
+ # If set this APK's Expansion File references another APK's Expansion File. The
450
+ # file_size field will not be set.
451
+ # Corresponds to the JSON property `referencesVersion`
452
+ # @return [Fixnum]
453
+ attr_accessor :references_version
454
+
455
+ def initialize(**args)
456
+ update!(**args)
457
+ end
458
+
459
+ # Update properties of this object
460
+ def update!(**args)
461
+ @file_size = args[:file_size] if args.key?(:file_size)
462
+ @references_version = args[:references_version] if args.key?(:references_version)
463
+ end
464
+ end
465
+
466
+ #
467
+ class ExpansionFilesUploadResponse
468
+ include Google::Apis::Core::Hashable
469
+
470
+ #
471
+ # Corresponds to the JSON property `expansionFile`
472
+ # @return [Google::Apis::AndroidpublisherV3::ExpansionFile]
473
+ attr_accessor :expansion_file
474
+
475
+ def initialize(**args)
476
+ update!(**args)
477
+ end
478
+
479
+ # Update properties of this object
480
+ def update!(**args)
481
+ @expansion_file = args[:expansion_file] if args.key?(:expansion_file)
482
+ end
483
+ end
484
+
485
+ # Defines an APK available for this application that is hosted externally and
486
+ # not uploaded to Google Play. This function is only available to enterprises
487
+ # who are using Google Play for Work, and whos application is restricted to the
488
+ # enterprise private channel
489
+ class ExternallyHostedApk
490
+ include Google::Apis::Core::Hashable
491
+
492
+ # The application label.
493
+ # Corresponds to the JSON property `applicationLabel`
494
+ # @return [String]
495
+ attr_accessor :application_label
496
+
497
+ # A certificate (or array of certificates if a certificate-chain is used) used
498
+ # to signed this APK, represented as a base64 encoded byte array.
499
+ # Corresponds to the JSON property `certificateBase64s`
500
+ # @return [Array<String>]
501
+ attr_accessor :certificate_base64s
502
+
503
+ # The URL at which the APK is hosted. This must be an https URL.
504
+ # Corresponds to the JSON property `externallyHostedUrl`
505
+ # @return [String]
506
+ attr_accessor :externally_hosted_url
507
+
508
+ # The SHA1 checksum of this APK, represented as a base64 encoded byte array.
509
+ # Corresponds to the JSON property `fileSha1Base64`
510
+ # @return [String]
511
+ attr_accessor :file_sha1_base64
512
+
513
+ # The SHA256 checksum of this APK, represented as a base64 encoded byte array.
514
+ # Corresponds to the JSON property `fileSha256Base64`
515
+ # @return [String]
516
+ attr_accessor :file_sha256_base64
517
+
518
+ # The file size in bytes of this APK.
519
+ # Corresponds to the JSON property `fileSize`
520
+ # @return [Fixnum]
521
+ attr_accessor :file_size
522
+
523
+ # The icon image from the APK, as a base64 encoded byte array.
524
+ # Corresponds to the JSON property `iconBase64`
525
+ # @return [String]
526
+ attr_accessor :icon_base64
527
+
528
+ # The maximum SDK supported by this APK (optional).
529
+ # Corresponds to the JSON property `maximumSdk`
530
+ # @return [Fixnum]
531
+ attr_accessor :maximum_sdk
532
+
533
+ # The minimum SDK targeted by this APK.
534
+ # Corresponds to the JSON property `minimumSdk`
535
+ # @return [Fixnum]
536
+ attr_accessor :minimum_sdk
537
+
538
+ # The native code environments supported by this APK (optional).
539
+ # Corresponds to the JSON property `nativeCodes`
540
+ # @return [Array<String>]
541
+ attr_accessor :native_codes
542
+
543
+ # The package name.
544
+ # Corresponds to the JSON property `packageName`
545
+ # @return [String]
546
+ attr_accessor :package_name
547
+
548
+ # The features required by this APK (optional).
549
+ # Corresponds to the JSON property `usesFeatures`
550
+ # @return [Array<String>]
551
+ attr_accessor :uses_features
552
+
553
+ # The permissions requested by this APK.
554
+ # Corresponds to the JSON property `usesPermissions`
555
+ # @return [Array<Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission>]
556
+ attr_accessor :uses_permissions
557
+
558
+ # The version code of this APK.
559
+ # Corresponds to the JSON property `versionCode`
560
+ # @return [Fixnum]
561
+ attr_accessor :version_code
562
+
563
+ # The version name of this APK.
564
+ # Corresponds to the JSON property `versionName`
565
+ # @return [String]
566
+ attr_accessor :version_name
567
+
568
+ def initialize(**args)
569
+ update!(**args)
570
+ end
571
+
572
+ # Update properties of this object
573
+ def update!(**args)
574
+ @application_label = args[:application_label] if args.key?(:application_label)
575
+ @certificate_base64s = args[:certificate_base64s] if args.key?(:certificate_base64s)
576
+ @externally_hosted_url = args[:externally_hosted_url] if args.key?(:externally_hosted_url)
577
+ @file_sha1_base64 = args[:file_sha1_base64] if args.key?(:file_sha1_base64)
578
+ @file_sha256_base64 = args[:file_sha256_base64] if args.key?(:file_sha256_base64)
579
+ @file_size = args[:file_size] if args.key?(:file_size)
580
+ @icon_base64 = args[:icon_base64] if args.key?(:icon_base64)
581
+ @maximum_sdk = args[:maximum_sdk] if args.key?(:maximum_sdk)
582
+ @minimum_sdk = args[:minimum_sdk] if args.key?(:minimum_sdk)
583
+ @native_codes = args[:native_codes] if args.key?(:native_codes)
584
+ @package_name = args[:package_name] if args.key?(:package_name)
585
+ @uses_features = args[:uses_features] if args.key?(:uses_features)
586
+ @uses_permissions = args[:uses_permissions] if args.key?(:uses_permissions)
587
+ @version_code = args[:version_code] if args.key?(:version_code)
588
+ @version_name = args[:version_name] if args.key?(:version_name)
589
+ end
590
+ end
591
+
592
+ # A permission used by this APK.
593
+ class ExternallyHostedApkUsesPermission
594
+ include Google::Apis::Core::Hashable
595
+
596
+ # Optionally, the maximum SDK version for which the permission is required.
597
+ # Corresponds to the JSON property `maxSdkVersion`
598
+ # @return [Fixnum]
599
+ attr_accessor :max_sdk_version
600
+
601
+ # The name of the permission requested.
602
+ # Corresponds to the JSON property `name`
603
+ # @return [String]
604
+ attr_accessor :name
605
+
606
+ def initialize(**args)
607
+ update!(**args)
608
+ end
609
+
610
+ # Update properties of this object
611
+ def update!(**args)
612
+ @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
613
+ @name = args[:name] if args.key?(:name)
614
+ end
615
+ end
616
+
617
+ #
618
+ class Image
619
+ include Google::Apis::Core::Hashable
620
+
621
+ # A unique id representing this image.
622
+ # Corresponds to the JSON property `id`
623
+ # @return [String]
624
+ attr_accessor :id
625
+
626
+ # A sha1 hash of the image that was uploaded.
627
+ # Corresponds to the JSON property `sha1`
628
+ # @return [String]
629
+ attr_accessor :sha1
630
+
631
+ # A URL that will serve a preview of the image.
632
+ # Corresponds to the JSON property `url`
633
+ # @return [String]
634
+ attr_accessor :url
635
+
636
+ def initialize(**args)
637
+ update!(**args)
638
+ end
639
+
640
+ # Update properties of this object
641
+ def update!(**args)
642
+ @id = args[:id] if args.key?(:id)
643
+ @sha1 = args[:sha1] if args.key?(:sha1)
644
+ @url = args[:url] if args.key?(:url)
645
+ end
646
+ end
647
+
648
+ #
649
+ class ImagesDeleteAllResponse
650
+ include Google::Apis::Core::Hashable
651
+
652
+ #
653
+ # Corresponds to the JSON property `deleted`
654
+ # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
655
+ attr_accessor :deleted
656
+
657
+ def initialize(**args)
658
+ update!(**args)
659
+ end
660
+
661
+ # Update properties of this object
662
+ def update!(**args)
663
+ @deleted = args[:deleted] if args.key?(:deleted)
664
+ end
665
+ end
666
+
667
+ #
668
+ class ImagesListResponse
669
+ include Google::Apis::Core::Hashable
670
+
671
+ #
672
+ # Corresponds to the JSON property `images`
673
+ # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
674
+ attr_accessor :images
675
+
676
+ def initialize(**args)
677
+ update!(**args)
678
+ end
679
+
680
+ # Update properties of this object
681
+ def update!(**args)
682
+ @images = args[:images] if args.key?(:images)
683
+ end
684
+ end
685
+
686
+ #
687
+ class ImagesUploadResponse
688
+ include Google::Apis::Core::Hashable
689
+
690
+ #
691
+ # Corresponds to the JSON property `image`
692
+ # @return [Google::Apis::AndroidpublisherV3::Image]
693
+ attr_accessor :image
694
+
695
+ def initialize(**args)
696
+ update!(**args)
697
+ end
698
+
699
+ # Update properties of this object
700
+ def update!(**args)
701
+ @image = args[:image] if args.key?(:image)
702
+ end
703
+ end
704
+
705
+ #
706
+ class InAppProduct
707
+ include Google::Apis::Core::Hashable
708
+
709
+ # The default language of the localized data, as defined by BCP 47. e.g. "en-US",
710
+ # "en-GB".
711
+ # Corresponds to the JSON property `defaultLanguage`
712
+ # @return [String]
713
+ attr_accessor :default_language
714
+
715
+ # Default price cannot be zero. In-app products can never be free. Default price
716
+ # is always in the developer's Checkout merchant currency.
717
+ # Corresponds to the JSON property `defaultPrice`
718
+ # @return [Google::Apis::AndroidpublisherV3::Price]
719
+ attr_accessor :default_price
720
+
721
+ # List of localized title and description data.
722
+ # Corresponds to the JSON property `listings`
723
+ # @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
724
+ attr_accessor :listings
725
+
726
+ # The package name of the parent app.
727
+ # Corresponds to the JSON property `packageName`
728
+ # @return [String]
729
+ attr_accessor :package_name
730
+
731
+ # Prices per buyer region. None of these prices should be zero. In-app products
732
+ # can never be free.
733
+ # Corresponds to the JSON property `prices`
734
+ # @return [Hash<String,Google::Apis::AndroidpublisherV3::Price>]
735
+ attr_accessor :prices
736
+
737
+ # Purchase type enum value. Unmodifiable after creation.
738
+ # Corresponds to the JSON property `purchaseType`
739
+ # @return [String]
740
+ attr_accessor :purchase_type
741
+
742
+ # Definition of a season for a seasonal subscription. Can be defined only for
743
+ # yearly subscriptions.
744
+ # Corresponds to the JSON property `season`
745
+ # @return [Google::Apis::AndroidpublisherV3::Season]
746
+ attr_accessor :season
747
+
748
+ # The stock-keeping-unit (SKU) of the product, unique within an app.
749
+ # Corresponds to the JSON property `sku`
750
+ # @return [String]
751
+ attr_accessor :sku
752
+
753
+ #
754
+ # Corresponds to the JSON property `status`
755
+ # @return [String]
756
+ attr_accessor :status
757
+
758
+ # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
759
+ # (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
760
+ # P1Y" (one year).
761
+ # Corresponds to the JSON property `subscriptionPeriod`
762
+ # @return [String]
763
+ attr_accessor :subscription_period
764
+
765
+ # Trial period, specified in ISO 8601 format. Acceptable values are anything
766
+ # between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions
767
+ # cannot have a trial period.
768
+ # Corresponds to the JSON property `trialPeriod`
769
+ # @return [String]
770
+ attr_accessor :trial_period
771
+
772
+ def initialize(**args)
773
+ update!(**args)
774
+ end
775
+
776
+ # Update properties of this object
777
+ def update!(**args)
778
+ @default_language = args[:default_language] if args.key?(:default_language)
779
+ @default_price = args[:default_price] if args.key?(:default_price)
780
+ @listings = args[:listings] if args.key?(:listings)
781
+ @package_name = args[:package_name] if args.key?(:package_name)
782
+ @prices = args[:prices] if args.key?(:prices)
783
+ @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
784
+ @season = args[:season] if args.key?(:season)
785
+ @sku = args[:sku] if args.key?(:sku)
786
+ @status = args[:status] if args.key?(:status)
787
+ @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
788
+ @trial_period = args[:trial_period] if args.key?(:trial_period)
789
+ end
790
+ end
791
+
792
+ #
793
+ class InAppProductListing
794
+ include Google::Apis::Core::Hashable
795
+
796
+ #
797
+ # Corresponds to the JSON property `description`
798
+ # @return [String]
799
+ attr_accessor :description
800
+
801
+ #
802
+ # Corresponds to the JSON property `title`
803
+ # @return [String]
804
+ attr_accessor :title
805
+
806
+ def initialize(**args)
807
+ update!(**args)
808
+ end
809
+
810
+ # Update properties of this object
811
+ def update!(**args)
812
+ @description = args[:description] if args.key?(:description)
813
+ @title = args[:title] if args.key?(:title)
814
+ end
815
+ end
816
+
817
+ #
818
+ class InappproductsListResponse
819
+ include Google::Apis::Core::Hashable
820
+
821
+ #
822
+ # Corresponds to the JSON property `inappproduct`
823
+ # @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
824
+ attr_accessor :inappproduct
825
+
826
+ # Identifies what kind of resource this is. Value: the fixed string "
827
+ # androidpublisher#inappproductsListResponse".
828
+ # Corresponds to the JSON property `kind`
829
+ # @return [String]
830
+ attr_accessor :kind
831
+
832
+ #
833
+ # Corresponds to the JSON property `pageInfo`
834
+ # @return [Google::Apis::AndroidpublisherV3::PageInfo]
835
+ attr_accessor :page_info
836
+
837
+ #
838
+ # Corresponds to the JSON property `tokenPagination`
839
+ # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
840
+ attr_accessor :token_pagination
841
+
842
+ def initialize(**args)
843
+ update!(**args)
844
+ end
845
+
846
+ # Update properties of this object
847
+ def update!(**args)
848
+ @inappproduct = args[:inappproduct] if args.key?(:inappproduct)
849
+ @kind = args[:kind] if args.key?(:kind)
850
+ @page_info = args[:page_info] if args.key?(:page_info)
851
+ @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
852
+ end
853
+ end
854
+
855
+ #
856
+ class Listing
857
+ include Google::Apis::Core::Hashable
858
+
859
+ # Full description of the app; this may be up to 4000 characters in length.
860
+ # Corresponds to the JSON property `fullDescription`
861
+ # @return [String]
862
+ attr_accessor :full_description
863
+
864
+ # Language localization code (for example, "de-AT" for Austrian German).
865
+ # Corresponds to the JSON property `language`
866
+ # @return [String]
867
+ attr_accessor :language
868
+
869
+ # Short description of the app (previously known as promo text); this may be up
870
+ # to 80 characters in length.
871
+ # Corresponds to the JSON property `shortDescription`
872
+ # @return [String]
873
+ attr_accessor :short_description
874
+
875
+ # App's localized title.
876
+ # Corresponds to the JSON property `title`
877
+ # @return [String]
878
+ attr_accessor :title
879
+
880
+ # URL of a promotional YouTube video for the app.
881
+ # Corresponds to the JSON property `video`
882
+ # @return [String]
883
+ attr_accessor :video
884
+
885
+ def initialize(**args)
886
+ update!(**args)
887
+ end
888
+
889
+ # Update properties of this object
890
+ def update!(**args)
891
+ @full_description = args[:full_description] if args.key?(:full_description)
892
+ @language = args[:language] if args.key?(:language)
893
+ @short_description = args[:short_description] if args.key?(:short_description)
894
+ @title = args[:title] if args.key?(:title)
895
+ @video = args[:video] if args.key?(:video)
896
+ end
897
+ end
898
+
899
+ #
900
+ class ListingsListResponse
901
+ include Google::Apis::Core::Hashable
902
+
903
+ # Identifies what kind of resource this is. Value: the fixed string "
904
+ # androidpublisher#listingsListResponse".
905
+ # Corresponds to the JSON property `kind`
906
+ # @return [String]
907
+ attr_accessor :kind
908
+
909
+ #
910
+ # Corresponds to the JSON property `listings`
911
+ # @return [Array<Google::Apis::AndroidpublisherV3::Listing>]
912
+ attr_accessor :listings
913
+
914
+ def initialize(**args)
915
+ update!(**args)
916
+ end
917
+
918
+ # Update properties of this object
919
+ def update!(**args)
920
+ @kind = args[:kind] if args.key?(:kind)
921
+ @listings = args[:listings] if args.key?(:listings)
922
+ end
923
+ end
924
+
925
+ #
926
+ class LocalizedText
927
+ include Google::Apis::Core::Hashable
928
+
929
+ # The language code, in BCP 47 format (eg "en-US").
930
+ # Corresponds to the JSON property `language`
931
+ # @return [String]
932
+ attr_accessor :language
933
+
934
+ # The text in the given `language`.
935
+ # Corresponds to the JSON property `text`
936
+ # @return [String]
937
+ attr_accessor :text
938
+
939
+ def initialize(**args)
940
+ update!(**args)
941
+ end
942
+
943
+ # Update properties of this object
944
+ def update!(**args)
945
+ @language = args[:language] if args.key?(:language)
946
+ @text = args[:text] if args.key?(:text)
947
+ end
948
+ end
949
+
950
+ #
951
+ class MonthDay
952
+ include Google::Apis::Core::Hashable
953
+
954
+ # Day of a month, value in [1, 31] range. Valid range depends on the specified
955
+ # month.
956
+ # Corresponds to the JSON property `day`
957
+ # @return [Fixnum]
958
+ attr_accessor :day
959
+
960
+ # Month of a year. e.g. 1 = JAN, 2 = FEB etc.
961
+ # Corresponds to the JSON property `month`
962
+ # @return [Fixnum]
963
+ attr_accessor :month
964
+
965
+ def initialize(**args)
966
+ update!(**args)
967
+ end
968
+
969
+ # Update properties of this object
970
+ def update!(**args)
971
+ @day = args[:day] if args.key?(:day)
972
+ @month = args[:month] if args.key?(:month)
973
+ end
974
+ end
975
+
976
+ #
977
+ class PageInfo
978
+ include Google::Apis::Core::Hashable
979
+
980
+ #
981
+ # Corresponds to the JSON property `resultPerPage`
982
+ # @return [Fixnum]
983
+ attr_accessor :result_per_page
984
+
985
+ #
986
+ # Corresponds to the JSON property `startIndex`
987
+ # @return [Fixnum]
988
+ attr_accessor :start_index
989
+
990
+ #
991
+ # Corresponds to the JSON property `totalResults`
992
+ # @return [Fixnum]
993
+ attr_accessor :total_results
994
+
995
+ def initialize(**args)
996
+ update!(**args)
997
+ end
998
+
999
+ # Update properties of this object
1000
+ def update!(**args)
1001
+ @result_per_page = args[:result_per_page] if args.key?(:result_per_page)
1002
+ @start_index = args[:start_index] if args.key?(:start_index)
1003
+ @total_results = args[:total_results] if args.key?(:total_results)
1004
+ end
1005
+ end
1006
+
1007
+ #
1008
+ class Price
1009
+ include Google::Apis::Core::Hashable
1010
+
1011
+ # 3 letter Currency code, as defined by ISO 4217.
1012
+ # Corresponds to the JSON property `currency`
1013
+ # @return [String]
1014
+ attr_accessor :currency
1015
+
1016
+ # The price in millionths of the currency base unit represented as a string.
1017
+ # Corresponds to the JSON property `priceMicros`
1018
+ # @return [String]
1019
+ attr_accessor :price_micros
1020
+
1021
+ def initialize(**args)
1022
+ update!(**args)
1023
+ end
1024
+
1025
+ # Update properties of this object
1026
+ def update!(**args)
1027
+ @currency = args[:currency] if args.key?(:currency)
1028
+ @price_micros = args[:price_micros] if args.key?(:price_micros)
1029
+ end
1030
+ end
1031
+
1032
+ # A ProductPurchase resource indicates the status of a user's inapp product
1033
+ # purchase.
1034
+ class ProductPurchase
1035
+ include Google::Apis::Core::Hashable
1036
+
1037
+ # The consumption state of the inapp product. Possible values are:
1038
+ # - Yet to be consumed
1039
+ # - Consumed
1040
+ # Corresponds to the JSON property `consumptionState`
1041
+ # @return [Fixnum]
1042
+ attr_accessor :consumption_state
1043
+
1044
+ # A developer-specified string that contains supplemental information about an
1045
+ # order.
1046
+ # Corresponds to the JSON property `developerPayload`
1047
+ # @return [String]
1048
+ attr_accessor :developer_payload
1049
+
1050
+ # This kind represents an inappPurchase object in the androidpublisher service.
1051
+ # Corresponds to the JSON property `kind`
1052
+ # @return [String]
1053
+ attr_accessor :kind
1054
+
1055
+ # The order id associated with the purchase of the inapp product.
1056
+ # Corresponds to the JSON property `orderId`
1057
+ # @return [String]
1058
+ attr_accessor :order_id
1059
+
1060
+ # The purchase state of the order. Possible values are:
1061
+ # - Purchased
1062
+ # - Canceled
1063
+ # Corresponds to the JSON property `purchaseState`
1064
+ # @return [Fixnum]
1065
+ attr_accessor :purchase_state
1066
+
1067
+ # The time the product was purchased, in milliseconds since the epoch (Jan 1,
1068
+ # 1970).
1069
+ # Corresponds to the JSON property `purchaseTimeMillis`
1070
+ # @return [Fixnum]
1071
+ attr_accessor :purchase_time_millis
1072
+
1073
+ # The type of purchase of the inapp product. This field is only set if this
1074
+ # purchase was not made using the standard in-app billing flow. Possible values
1075
+ # are:
1076
+ # - Test (i.e. purchased from a license testing account)
1077
+ # - Promo (i.e. purchased using a promo code)
1078
+ # Corresponds to the JSON property `purchaseType`
1079
+ # @return [Fixnum]
1080
+ attr_accessor :purchase_type
1081
+
1082
+ def initialize(**args)
1083
+ update!(**args)
1084
+ end
1085
+
1086
+ # Update properties of this object
1087
+ def update!(**args)
1088
+ @consumption_state = args[:consumption_state] if args.key?(:consumption_state)
1089
+ @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1090
+ @kind = args[:kind] if args.key?(:kind)
1091
+ @order_id = args[:order_id] if args.key?(:order_id)
1092
+ @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
1093
+ @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
1094
+ @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1095
+ end
1096
+ end
1097
+
1098
+ #
1099
+ class Prorate
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Default price cannot be zero and must be less than the full subscription price.
1103
+ # Default price is always in the developer's Checkout merchant currency.
1104
+ # Targeted countries have their prices set automatically based on the
1105
+ # default_price.
1106
+ # Corresponds to the JSON property `defaultPrice`
1107
+ # @return [Google::Apis::AndroidpublisherV3::Price]
1108
+ attr_accessor :default_price
1109
+
1110
+ # Defines the first day on which the price takes effect.
1111
+ # Corresponds to the JSON property `start`
1112
+ # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1113
+ attr_accessor :start
1114
+
1115
+ def initialize(**args)
1116
+ update!(**args)
1117
+ end
1118
+
1119
+ # Update properties of this object
1120
+ def update!(**args)
1121
+ @default_price = args[:default_price] if args.key?(:default_price)
1122
+ @start = args[:start] if args.key?(:start)
1123
+ end
1124
+ end
1125
+
1126
+ #
1127
+ class Review
1128
+ include Google::Apis::Core::Hashable
1129
+
1130
+ # The name of the user who wrote the review.
1131
+ # Corresponds to the JSON property `authorName`
1132
+ # @return [String]
1133
+ attr_accessor :author_name
1134
+
1135
+ # A repeated field containing comments for the review.
1136
+ # Corresponds to the JSON property `comments`
1137
+ # @return [Array<Google::Apis::AndroidpublisherV3::Comment>]
1138
+ attr_accessor :comments
1139
+
1140
+ # Unique identifier for this review.
1141
+ # Corresponds to the JSON property `reviewId`
1142
+ # @return [String]
1143
+ attr_accessor :review_id
1144
+
1145
+ def initialize(**args)
1146
+ update!(**args)
1147
+ end
1148
+
1149
+ # Update properties of this object
1150
+ def update!(**args)
1151
+ @author_name = args[:author_name] if args.key?(:author_name)
1152
+ @comments = args[:comments] if args.key?(:comments)
1153
+ @review_id = args[:review_id] if args.key?(:review_id)
1154
+ end
1155
+ end
1156
+
1157
+ #
1158
+ class ReviewReplyResult
1159
+ include Google::Apis::Core::Hashable
1160
+
1161
+ # The time at which the reply took effect.
1162
+ # Corresponds to the JSON property `lastEdited`
1163
+ # @return [Google::Apis::AndroidpublisherV3::Timestamp]
1164
+ attr_accessor :last_edited
1165
+
1166
+ # The reply text that was applied.
1167
+ # Corresponds to the JSON property `replyText`
1168
+ # @return [String]
1169
+ attr_accessor :reply_text
1170
+
1171
+ def initialize(**args)
1172
+ update!(**args)
1173
+ end
1174
+
1175
+ # Update properties of this object
1176
+ def update!(**args)
1177
+ @last_edited = args[:last_edited] if args.key?(:last_edited)
1178
+ @reply_text = args[:reply_text] if args.key?(:reply_text)
1179
+ end
1180
+ end
1181
+
1182
+ #
1183
+ class ReviewsListResponse
1184
+ include Google::Apis::Core::Hashable
1185
+
1186
+ #
1187
+ # Corresponds to the JSON property `pageInfo`
1188
+ # @return [Google::Apis::AndroidpublisherV3::PageInfo]
1189
+ attr_accessor :page_info
1190
+
1191
+ #
1192
+ # Corresponds to the JSON property `reviews`
1193
+ # @return [Array<Google::Apis::AndroidpublisherV3::Review>]
1194
+ attr_accessor :reviews
1195
+
1196
+ #
1197
+ # Corresponds to the JSON property `tokenPagination`
1198
+ # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
1199
+ attr_accessor :token_pagination
1200
+
1201
+ def initialize(**args)
1202
+ update!(**args)
1203
+ end
1204
+
1205
+ # Update properties of this object
1206
+ def update!(**args)
1207
+ @page_info = args[:page_info] if args.key?(:page_info)
1208
+ @reviews = args[:reviews] if args.key?(:reviews)
1209
+ @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
1210
+ end
1211
+ end
1212
+
1213
+ #
1214
+ class ReviewsReplyRequest
1215
+ include Google::Apis::Core::Hashable
1216
+
1217
+ # The text to set as the reply. Replies of more than approximately 350
1218
+ # characters will be rejected. HTML tags will be stripped.
1219
+ # Corresponds to the JSON property `replyText`
1220
+ # @return [String]
1221
+ attr_accessor :reply_text
1222
+
1223
+ def initialize(**args)
1224
+ update!(**args)
1225
+ end
1226
+
1227
+ # Update properties of this object
1228
+ def update!(**args)
1229
+ @reply_text = args[:reply_text] if args.key?(:reply_text)
1230
+ end
1231
+ end
1232
+
1233
+ #
1234
+ class ReviewsReplyResponse
1235
+ include Google::Apis::Core::Hashable
1236
+
1237
+ #
1238
+ # Corresponds to the JSON property `result`
1239
+ # @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult]
1240
+ attr_accessor :result
1241
+
1242
+ def initialize(**args)
1243
+ update!(**args)
1244
+ end
1245
+
1246
+ # Update properties of this object
1247
+ def update!(**args)
1248
+ @result = args[:result] if args.key?(:result)
1249
+ end
1250
+ end
1251
+
1252
+ #
1253
+ class Season
1254
+ include Google::Apis::Core::Hashable
1255
+
1256
+ # Inclusive end date of the recurrence period.
1257
+ # Corresponds to the JSON property `end`
1258
+ # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1259
+ attr_accessor :end
1260
+
1261
+ # Optionally present list of prorations for the season. Each proration is a one-
1262
+ # off discounted entry into a subscription. Each proration contains the first
1263
+ # date on which the discount is available and the new pricing information.
1264
+ # Corresponds to the JSON property `prorations`
1265
+ # @return [Array<Google::Apis::AndroidpublisherV3::Prorate>]
1266
+ attr_accessor :prorations
1267
+
1268
+ # Inclusive start date of the recurrence period.
1269
+ # Corresponds to the JSON property `start`
1270
+ # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1271
+ attr_accessor :start
1272
+
1273
+ def initialize(**args)
1274
+ update!(**args)
1275
+ end
1276
+
1277
+ # Update properties of this object
1278
+ def update!(**args)
1279
+ @end = args[:end] if args.key?(:end)
1280
+ @prorations = args[:prorations] if args.key?(:prorations)
1281
+ @start = args[:start] if args.key?(:start)
1282
+ end
1283
+ end
1284
+
1285
+ # Information provided by the user when they complete the subscription
1286
+ # cancellation flow (cancellation reason survey).
1287
+ class SubscriptionCancelSurveyResult
1288
+ include Google::Apis::Core::Hashable
1289
+
1290
+ # The cancellation reason the user chose in the survey. Possible values are:
1291
+ # - Other
1292
+ # - I don't use this service enough
1293
+ # - Technical issues
1294
+ # - Cost-related reasons
1295
+ # - I found a better app
1296
+ # Corresponds to the JSON property `cancelSurveyReason`
1297
+ # @return [Fixnum]
1298
+ attr_accessor :cancel_survey_reason
1299
+
1300
+ # The customized input cancel reason from the user. Only present when
1301
+ # cancelReason is 0.
1302
+ # Corresponds to the JSON property `userInputCancelReason`
1303
+ # @return [String]
1304
+ attr_accessor :user_input_cancel_reason
1305
+
1306
+ def initialize(**args)
1307
+ update!(**args)
1308
+ end
1309
+
1310
+ # Update properties of this object
1311
+ def update!(**args)
1312
+ @cancel_survey_reason = args[:cancel_survey_reason] if args.key?(:cancel_survey_reason)
1313
+ @user_input_cancel_reason = args[:user_input_cancel_reason] if args.key?(:user_input_cancel_reason)
1314
+ end
1315
+ end
1316
+
1317
+ # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1318
+ # purchase to a future expiry time.
1319
+ class SubscriptionDeferralInfo
1320
+ include Google::Apis::Core::Hashable
1321
+
1322
+ # The desired next expiry time to assign to the subscription, in milliseconds
1323
+ # since the Epoch. The given time must be later/greater than the current expiry
1324
+ # time for the subscription.
1325
+ # Corresponds to the JSON property `desiredExpiryTimeMillis`
1326
+ # @return [Fixnum]
1327
+ attr_accessor :desired_expiry_time_millis
1328
+
1329
+ # The expected expiry time for the subscription. If the current expiry time for
1330
+ # the subscription is not the value specified here, the deferral will not occur.
1331
+ # Corresponds to the JSON property `expectedExpiryTimeMillis`
1332
+ # @return [Fixnum]
1333
+ attr_accessor :expected_expiry_time_millis
1334
+
1335
+ def initialize(**args)
1336
+ update!(**args)
1337
+ end
1338
+
1339
+ # Update properties of this object
1340
+ def update!(**args)
1341
+ @desired_expiry_time_millis = args[:desired_expiry_time_millis] if args.key?(:desired_expiry_time_millis)
1342
+ @expected_expiry_time_millis = args[:expected_expiry_time_millis] if args.key?(:expected_expiry_time_millis)
1343
+ end
1344
+ end
1345
+
1346
+ # A SubscriptionPurchase resource indicates the status of a user's subscription
1347
+ # purchase.
1348
+ class SubscriptionPurchase
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ # Whether the subscription will automatically be renewed when it reaches its
1352
+ # current expiry time.
1353
+ # Corresponds to the JSON property `autoRenewing`
1354
+ # @return [Boolean]
1355
+ attr_accessor :auto_renewing
1356
+ alias_method :auto_renewing?, :auto_renewing
1357
+
1358
+ # The reason why a subscription was canceled or is not auto-renewing. Possible
1359
+ # values are:
1360
+ # - User canceled the subscription
1361
+ # - Subscription was canceled by the system, for example because of a billing
1362
+ # problem
1363
+ # - Subscription was replaced with a new subscription
1364
+ # - Subscription was canceled by the developer
1365
+ # Corresponds to the JSON property `cancelReason`
1366
+ # @return [Fixnum]
1367
+ attr_accessor :cancel_reason
1368
+
1369
+ # Information provided by the user when they complete the subscription
1370
+ # cancellation flow (cancellation reason survey).
1371
+ # Corresponds to the JSON property `cancelSurveyResult`
1372
+ # @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult]
1373
+ attr_accessor :cancel_survey_result
1374
+
1375
+ # ISO 3166-1 alpha-2 billing country/region code of the user at the time the
1376
+ # subscription was granted.
1377
+ # Corresponds to the JSON property `countryCode`
1378
+ # @return [String]
1379
+ attr_accessor :country_code
1380
+
1381
+ # A developer-specified string that contains supplemental information about an
1382
+ # order.
1383
+ # Corresponds to the JSON property `developerPayload`
1384
+ # @return [String]
1385
+ attr_accessor :developer_payload
1386
+
1387
+ # The email address of the user when the subscription was purchased. Only
1388
+ # present for purchases made with 'Subscribe with Google'.
1389
+ # Corresponds to the JSON property `emailAddress`
1390
+ # @return [String]
1391
+ attr_accessor :email_address
1392
+
1393
+ # Time at which the subscription will expire, in milliseconds since the Epoch.
1394
+ # Corresponds to the JSON property `expiryTimeMillis`
1395
+ # @return [Fixnum]
1396
+ attr_accessor :expiry_time_millis
1397
+
1398
+ # The family name of the user when the subscription was purchased. Only present
1399
+ # for purchases made with 'Subscribe with Google'.
1400
+ # Corresponds to the JSON property `familyName`
1401
+ # @return [String]
1402
+ attr_accessor :family_name
1403
+
1404
+ # The given name of the user when the subscription was purchased. Only present
1405
+ # for purchases made with 'Subscribe with Google'.
1406
+ # Corresponds to the JSON property `givenName`
1407
+ # @return [String]
1408
+ attr_accessor :given_name
1409
+
1410
+ # This kind represents a subscriptionPurchase object in the androidpublisher
1411
+ # service.
1412
+ # Corresponds to the JSON property `kind`
1413
+ # @return [String]
1414
+ attr_accessor :kind
1415
+
1416
+ # The purchase token of the originating purchase if this subscription is one of
1417
+ # the following:
1418
+ # - Re-signup of a canceled but non-lapsed subscription
1419
+ # - Upgrade/downgrade from a previous subscription For example, suppose a user
1420
+ # originally signs up and you receive purchase token X, then the user cancels
1421
+ # and goes through the resignup flow (before their subscription lapses) and you
1422
+ # receive purchase token Y, and finally the user upgrades their subscription and
1423
+ # you receive purchase token Z. If you call this API with purchase token Z, this
1424
+ # field will be set to Y. If you call this API with purchase token Y, this field
1425
+ # will be set to X. If you call this API with purchase token X, this field will
1426
+ # not be set.
1427
+ # Corresponds to the JSON property `linkedPurchaseToken`
1428
+ # @return [String]
1429
+ attr_accessor :linked_purchase_token
1430
+
1431
+ # The order id of the latest recurring order associated with the purchase of the
1432
+ # subscription.
1433
+ # Corresponds to the JSON property `orderId`
1434
+ # @return [String]
1435
+ attr_accessor :order_id
1436
+
1437
+ # The payment state of the subscription. Possible values are:
1438
+ # - Payment pending
1439
+ # - Payment received
1440
+ # - Free trial
1441
+ # Corresponds to the JSON property `paymentState`
1442
+ # @return [Fixnum]
1443
+ attr_accessor :payment_state
1444
+
1445
+ # Price of the subscription, not including tax. Price is expressed in micro-
1446
+ # units, where 1,000,000 micro-units represents one unit of the currency. For
1447
+ # example, if the subscription price is €1.99, price_amount_micros is 1990000.
1448
+ # Corresponds to the JSON property `priceAmountMicros`
1449
+ # @return [Fixnum]
1450
+ attr_accessor :price_amount_micros
1451
+
1452
+ # ISO 4217 currency code for the subscription price. For example, if the price
1453
+ # is specified in British pounds sterling, price_currency_code is "GBP".
1454
+ # Corresponds to the JSON property `priceCurrencyCode`
1455
+ # @return [String]
1456
+ attr_accessor :price_currency_code
1457
+
1458
+ # The profile id of the user when the subscription was purchased. Only present
1459
+ # for purchases made with 'Subscribe with Google'.
1460
+ # Corresponds to the JSON property `profileId`
1461
+ # @return [String]
1462
+ attr_accessor :profile_id
1463
+
1464
+ # The profile name of the user when the subscription was purchased. Only present
1465
+ # for purchases made with 'Subscribe with Google'.
1466
+ # Corresponds to the JSON property `profileName`
1467
+ # @return [String]
1468
+ attr_accessor :profile_name
1469
+
1470
+ # The type of purchase of the subscription. This field is only set if this
1471
+ # purchase was not made using the standard in-app billing flow. Possible values
1472
+ # are:
1473
+ # - Test (i.e. purchased from a license testing account)
1474
+ # Corresponds to the JSON property `purchaseType`
1475
+ # @return [Fixnum]
1476
+ attr_accessor :purchase_type
1477
+
1478
+ # Time at which the subscription was granted, in milliseconds since the Epoch.
1479
+ # Corresponds to the JSON property `startTimeMillis`
1480
+ # @return [Fixnum]
1481
+ attr_accessor :start_time_millis
1482
+
1483
+ # The time at which the subscription was canceled by the user, in milliseconds
1484
+ # since the epoch. Only present if cancelReason is 0.
1485
+ # Corresponds to the JSON property `userCancellationTimeMillis`
1486
+ # @return [Fixnum]
1487
+ attr_accessor :user_cancellation_time_millis
1488
+
1489
+ def initialize(**args)
1490
+ update!(**args)
1491
+ end
1492
+
1493
+ # Update properties of this object
1494
+ def update!(**args)
1495
+ @auto_renewing = args[:auto_renewing] if args.key?(:auto_renewing)
1496
+ @cancel_reason = args[:cancel_reason] if args.key?(:cancel_reason)
1497
+ @cancel_survey_result = args[:cancel_survey_result] if args.key?(:cancel_survey_result)
1498
+ @country_code = args[:country_code] if args.key?(:country_code)
1499
+ @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1500
+ @email_address = args[:email_address] if args.key?(:email_address)
1501
+ @expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
1502
+ @family_name = args[:family_name] if args.key?(:family_name)
1503
+ @given_name = args[:given_name] if args.key?(:given_name)
1504
+ @kind = args[:kind] if args.key?(:kind)
1505
+ @linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
1506
+ @order_id = args[:order_id] if args.key?(:order_id)
1507
+ @payment_state = args[:payment_state] if args.key?(:payment_state)
1508
+ @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
1509
+ @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
1510
+ @profile_id = args[:profile_id] if args.key?(:profile_id)
1511
+ @profile_name = args[:profile_name] if args.key?(:profile_name)
1512
+ @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1513
+ @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
1514
+ @user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
1515
+ end
1516
+ end
1517
+
1518
+ #
1519
+ class SubscriptionPurchasesDeferRequest
1520
+ include Google::Apis::Core::Hashable
1521
+
1522
+ # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1523
+ # purchase to a future expiry time.
1524
+ # Corresponds to the JSON property `deferralInfo`
1525
+ # @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo]
1526
+ attr_accessor :deferral_info
1527
+
1528
+ def initialize(**args)
1529
+ update!(**args)
1530
+ end
1531
+
1532
+ # Update properties of this object
1533
+ def update!(**args)
1534
+ @deferral_info = args[:deferral_info] if args.key?(:deferral_info)
1535
+ end
1536
+ end
1537
+
1538
+ #
1539
+ class SubscriptionPurchasesDeferResponse
1540
+ include Google::Apis::Core::Hashable
1541
+
1542
+ # The new expiry time for the subscription in milliseconds since the Epoch.
1543
+ # Corresponds to the JSON property `newExpiryTimeMillis`
1544
+ # @return [Fixnum]
1545
+ attr_accessor :new_expiry_time_millis
1546
+
1547
+ def initialize(**args)
1548
+ update!(**args)
1549
+ end
1550
+
1551
+ # Update properties of this object
1552
+ def update!(**args)
1553
+ @new_expiry_time_millis = args[:new_expiry_time_millis] if args.key?(:new_expiry_time_millis)
1554
+ end
1555
+ end
1556
+
1557
+ #
1558
+ class Testers
1559
+ include Google::Apis::Core::Hashable
1560
+
1561
+ #
1562
+ # Corresponds to the JSON property `googleGroups`
1563
+ # @return [Array<String>]
1564
+ attr_accessor :google_groups
1565
+
1566
+ #
1567
+ # Corresponds to the JSON property `googlePlusCommunities`
1568
+ # @return [Array<String>]
1569
+ attr_accessor :google_plus_communities
1570
+
1571
+ def initialize(**args)
1572
+ update!(**args)
1573
+ end
1574
+
1575
+ # Update properties of this object
1576
+ def update!(**args)
1577
+ @google_groups = args[:google_groups] if args.key?(:google_groups)
1578
+ @google_plus_communities = args[:google_plus_communities] if args.key?(:google_plus_communities)
1579
+ end
1580
+ end
1581
+
1582
+ #
1583
+ class Timestamp
1584
+ include Google::Apis::Core::Hashable
1585
+
1586
+ #
1587
+ # Corresponds to the JSON property `nanos`
1588
+ # @return [Fixnum]
1589
+ attr_accessor :nanos
1590
+
1591
+ #
1592
+ # Corresponds to the JSON property `seconds`
1593
+ # @return [Fixnum]
1594
+ attr_accessor :seconds
1595
+
1596
+ def initialize(**args)
1597
+ update!(**args)
1598
+ end
1599
+
1600
+ # Update properties of this object
1601
+ def update!(**args)
1602
+ @nanos = args[:nanos] if args.key?(:nanos)
1603
+ @seconds = args[:seconds] if args.key?(:seconds)
1604
+ end
1605
+ end
1606
+
1607
+ #
1608
+ class TokenPagination
1609
+ include Google::Apis::Core::Hashable
1610
+
1611
+ #
1612
+ # Corresponds to the JSON property `nextPageToken`
1613
+ # @return [String]
1614
+ attr_accessor :next_page_token
1615
+
1616
+ #
1617
+ # Corresponds to the JSON property `previousPageToken`
1618
+ # @return [String]
1619
+ attr_accessor :previous_page_token
1620
+
1621
+ def initialize(**args)
1622
+ update!(**args)
1623
+ end
1624
+
1625
+ # Update properties of this object
1626
+ def update!(**args)
1627
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1628
+ @previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
1629
+ end
1630
+ end
1631
+
1632
+ #
1633
+ class Track
1634
+ include Google::Apis::Core::Hashable
1635
+
1636
+ # A list of all active releases in this track during a read request. On an
1637
+ # update request, it represents desired changes.
1638
+ # Corresponds to the JSON property `releases`
1639
+ # @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
1640
+ attr_accessor :releases
1641
+
1642
+ # Identifier for this track. One of "alpha", "beta", "production", "rollout" or "
1643
+ # internal".
1644
+ # Corresponds to the JSON property `track`
1645
+ # @return [String]
1646
+ attr_accessor :track
1647
+
1648
+ def initialize(**args)
1649
+ update!(**args)
1650
+ end
1651
+
1652
+ # Update properties of this object
1653
+ def update!(**args)
1654
+ @releases = args[:releases] if args.key?(:releases)
1655
+ @track = args[:track] if args.key?(:track)
1656
+ end
1657
+ end
1658
+
1659
+ #
1660
+ class TrackRelease
1661
+ include Google::Apis::Core::Hashable
1662
+
1663
+ # The release name, used to identify this release in the Play Console UI. Not
1664
+ # required to be unique. This is optional, if not set it will be generated from
1665
+ # the version_name in the APKs.
1666
+ # Corresponds to the JSON property `name`
1667
+ # @return [String]
1668
+ attr_accessor :name
1669
+
1670
+ # The description of what is new in the app in this release.
1671
+ # Corresponds to the JSON property `releaseNotes`
1672
+ # @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
1673
+ attr_accessor :release_notes
1674
+
1675
+ # The desired status of this release.
1676
+ # Corresponds to the JSON property `status`
1677
+ # @return [String]
1678
+ attr_accessor :status
1679
+
1680
+ # Fraction of users who are eligible to receive the release. 0 <= fraction < 1.
1681
+ # To be set, release status must be "inProgress" or "halted".
1682
+ # Corresponds to the JSON property `userFraction`
1683
+ # @return [Float]
1684
+ attr_accessor :user_fraction
1685
+
1686
+ # A list of all version codes of APKs that will be exposed to the users of this
1687
+ # track when this release is rolled out. Note that this list should contain all
1688
+ # versions you wish to be active, including those you wish to retain from
1689
+ # previous releases.
1690
+ # Corresponds to the JSON property `versionCodes`
1691
+ # @return [Array<Fixnum>]
1692
+ attr_accessor :version_codes
1693
+
1694
+ def initialize(**args)
1695
+ update!(**args)
1696
+ end
1697
+
1698
+ # Update properties of this object
1699
+ def update!(**args)
1700
+ @name = args[:name] if args.key?(:name)
1701
+ @release_notes = args[:release_notes] if args.key?(:release_notes)
1702
+ @status = args[:status] if args.key?(:status)
1703
+ @user_fraction = args[:user_fraction] if args.key?(:user_fraction)
1704
+ @version_codes = args[:version_codes] if args.key?(:version_codes)
1705
+ end
1706
+ end
1707
+
1708
+ #
1709
+ class TracksListResponse
1710
+ include Google::Apis::Core::Hashable
1711
+
1712
+ # Identifies what kind of resource this is. Value: the fixed string "
1713
+ # androidpublisher#tracksListResponse".
1714
+ # Corresponds to the JSON property `kind`
1715
+ # @return [String]
1716
+ attr_accessor :kind
1717
+
1718
+ #
1719
+ # Corresponds to the JSON property `tracks`
1720
+ # @return [Array<Google::Apis::AndroidpublisherV3::Track>]
1721
+ attr_accessor :tracks
1722
+
1723
+ def initialize(**args)
1724
+ update!(**args)
1725
+ end
1726
+
1727
+ # Update properties of this object
1728
+ def update!(**args)
1729
+ @kind = args[:kind] if args.key?(:kind)
1730
+ @tracks = args[:tracks] if args.key?(:tracks)
1731
+ end
1732
+ end
1733
+
1734
+ #
1735
+ class UserComment
1736
+ include Google::Apis::Core::Hashable
1737
+
1738
+ # Integer Android SDK version of the user's device at the time the review was
1739
+ # written, e.g. 23 is Marshmallow. May be absent.
1740
+ # Corresponds to the JSON property `androidOsVersion`
1741
+ # @return [Fixnum]
1742
+ attr_accessor :android_os_version
1743
+
1744
+ # Integer version code of the app as installed at the time the review was
1745
+ # written. May be absent.
1746
+ # Corresponds to the JSON property `appVersionCode`
1747
+ # @return [Fixnum]
1748
+ attr_accessor :app_version_code
1749
+
1750
+ # String version name of the app as installed at the time the review was written.
1751
+ # May be absent.
1752
+ # Corresponds to the JSON property `appVersionName`
1753
+ # @return [String]
1754
+ attr_accessor :app_version_name
1755
+
1756
+ # Codename for the reviewer's device, e.g. klte, flounder. May be absent.
1757
+ # Corresponds to the JSON property `device`
1758
+ # @return [String]
1759
+ attr_accessor :device
1760
+
1761
+ # Some information about the characteristics of the user's device
1762
+ # Corresponds to the JSON property `deviceMetadata`
1763
+ # @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]
1764
+ attr_accessor :device_metadata
1765
+
1766
+ # The last time at which this comment was updated.
1767
+ # Corresponds to the JSON property `lastModified`
1768
+ # @return [Google::Apis::AndroidpublisherV3::Timestamp]
1769
+ attr_accessor :last_modified
1770
+
1771
+ # Untranslated text of the review, in the case where the review has been
1772
+ # translated. If the review has not been translated this is left blank.
1773
+ # Corresponds to the JSON property `originalText`
1774
+ # @return [String]
1775
+ attr_accessor :original_text
1776
+
1777
+ # Language code for the reviewer. This is taken from the device settings so is
1778
+ # not guaranteed to match the language the review is written in. May be absent.
1779
+ # Corresponds to the JSON property `reviewerLanguage`
1780
+ # @return [String]
1781
+ attr_accessor :reviewer_language
1782
+
1783
+ # The star rating associated with the review, from 1 to 5.
1784
+ # Corresponds to the JSON property `starRating`
1785
+ # @return [Fixnum]
1786
+ attr_accessor :star_rating
1787
+
1788
+ # The content of the comment, i.e. review body. In some cases users have been
1789
+ # able to write a review with separate title and body; in those cases the title
1790
+ # and body are concatenated and separated by a tab character.
1791
+ # Corresponds to the JSON property `text`
1792
+ # @return [String]
1793
+ attr_accessor :text
1794
+
1795
+ # Number of users who have given this review a thumbs down
1796
+ # Corresponds to the JSON property `thumbsDownCount`
1797
+ # @return [Fixnum]
1798
+ attr_accessor :thumbs_down_count
1799
+
1800
+ # Number of users who have given this review a thumbs up
1801
+ # Corresponds to the JSON property `thumbsUpCount`
1802
+ # @return [Fixnum]
1803
+ attr_accessor :thumbs_up_count
1804
+
1805
+ def initialize(**args)
1806
+ update!(**args)
1807
+ end
1808
+
1809
+ # Update properties of this object
1810
+ def update!(**args)
1811
+ @android_os_version = args[:android_os_version] if args.key?(:android_os_version)
1812
+ @app_version_code = args[:app_version_code] if args.key?(:app_version_code)
1813
+ @app_version_name = args[:app_version_name] if args.key?(:app_version_name)
1814
+ @device = args[:device] if args.key?(:device)
1815
+ @device_metadata = args[:device_metadata] if args.key?(:device_metadata)
1816
+ @last_modified = args[:last_modified] if args.key?(:last_modified)
1817
+ @original_text = args[:original_text] if args.key?(:original_text)
1818
+ @reviewer_language = args[:reviewer_language] if args.key?(:reviewer_language)
1819
+ @star_rating = args[:star_rating] if args.key?(:star_rating)
1820
+ @text = args[:text] if args.key?(:text)
1821
+ @thumbs_down_count = args[:thumbs_down_count] if args.key?(:thumbs_down_count)
1822
+ @thumbs_up_count = args[:thumbs_up_count] if args.key?(:thumbs_up_count)
1823
+ end
1824
+ end
1825
+
1826
+ # A VoidedPurchase resource indicates a purchase that was either canceled/
1827
+ # refunded/charged-back.
1828
+ class VoidedPurchase
1829
+ include Google::Apis::Core::Hashable
1830
+
1831
+ # This kind represents a voided purchase object in the androidpublisher service.
1832
+ # Corresponds to the JSON property `kind`
1833
+ # @return [String]
1834
+ attr_accessor :kind
1835
+
1836
+ # The time at which the purchase was made, in milliseconds since the epoch (Jan
1837
+ # 1, 1970).
1838
+ # Corresponds to the JSON property `purchaseTimeMillis`
1839
+ # @return [Fixnum]
1840
+ attr_accessor :purchase_time_millis
1841
+
1842
+ # The token that was generated when a purchase was made. This uniquely
1843
+ # identifies a purchase.
1844
+ # Corresponds to the JSON property `purchaseToken`
1845
+ # @return [String]
1846
+ attr_accessor :purchase_token
1847
+
1848
+ # The time at which the purchase was canceled/refunded/charged-back, in
1849
+ # milliseconds since the epoch (Jan 1, 1970).
1850
+ # Corresponds to the JSON property `voidedTimeMillis`
1851
+ # @return [Fixnum]
1852
+ attr_accessor :voided_time_millis
1853
+
1854
+ def initialize(**args)
1855
+ update!(**args)
1856
+ end
1857
+
1858
+ # Update properties of this object
1859
+ def update!(**args)
1860
+ @kind = args[:kind] if args.key?(:kind)
1861
+ @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
1862
+ @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
1863
+ @voided_time_millis = args[:voided_time_millis] if args.key?(:voided_time_millis)
1864
+ end
1865
+ end
1866
+
1867
+ #
1868
+ class VoidedPurchasesListResponse
1869
+ include Google::Apis::Core::Hashable
1870
+
1871
+ #
1872
+ # Corresponds to the JSON property `pageInfo`
1873
+ # @return [Google::Apis::AndroidpublisherV3::PageInfo]
1874
+ attr_accessor :page_info
1875
+
1876
+ #
1877
+ # Corresponds to the JSON property `tokenPagination`
1878
+ # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
1879
+ attr_accessor :token_pagination
1880
+
1881
+ #
1882
+ # Corresponds to the JSON property `voidedPurchases`
1883
+ # @return [Array<Google::Apis::AndroidpublisherV3::VoidedPurchase>]
1884
+ attr_accessor :voided_purchases
1885
+
1886
+ def initialize(**args)
1887
+ update!(**args)
1888
+ end
1889
+
1890
+ # Update properties of this object
1891
+ def update!(**args)
1892
+ @page_info = args[:page_info] if args.key?(:page_info)
1893
+ @token_pagination = args[:token_pagination] if args.key?(:token_pagination)
1894
+ @voided_purchases = args[:voided_purchases] if args.key?(:voided_purchases)
1895
+ end
1896
+ end
1897
+ end
1898
+ end
1899
+ end