google-api-client 0.40.1 → 0.42.0

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 (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +280 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/accessapproval_v1.rb +1 -1
  5. data/generated/google/apis/accessapproval_v1/service.rb +3 -0
  6. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  10. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  11. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  12. data/generated/google/apis/admob_v1.rb +1 -1
  13. data/generated/google/apis/admob_v1/service.rb +1 -1
  14. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  15. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  16. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  18. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  19. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  20. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  21. data/generated/google/apis/androidpublisher_v3/classes.rb +494 -698
  22. data/generated/google/apis/androidpublisher_v3/representations.rb +18 -167
  23. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  24. data/generated/google/apis/apigee_v1.rb +1 -1
  25. data/generated/google/apis/apigee_v1/classes.rb +1492 -112
  26. data/generated/google/apis/apigee_v1/representations.rb +560 -0
  27. data/generated/google/apis/apigee_v1/service.rb +1162 -117
  28. data/generated/google/apis/appsmarket_v2.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  30. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  31. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  32. data/generated/google/apis/bigquery_v2.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  34. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  35. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  37. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  38. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  39. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  40. data/generated/google/apis/bigqueryreservation_v1/classes.rb +34 -0
  41. data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
  42. data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
  43. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  44. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  46. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  47. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  50. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  51. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  52. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  53. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  54. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  55. data/generated/google/apis/books_v1.rb +1 -1
  56. data/generated/google/apis/books_v1/service.rb +2 -2
  57. data/generated/google/apis/calendar_v3.rb +1 -1
  58. data/generated/google/apis/chat_v1.rb +1 -1
  59. data/generated/google/apis/chat_v1/classes.rb +2 -0
  60. data/generated/google/apis/civicinfo_v2.rb +2 -2
  61. data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
  62. data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
  63. data/generated/google/apis/civicinfo_v2/service.rb +28 -63
  64. data/generated/google/apis/classroom_v1.rb +1 -1
  65. data/generated/google/apis/classroom_v1/service.rb +4 -3
  66. data/generated/google/apis/cloudasset_v1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  68. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  69. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  70. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  71. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  72. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  73. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  74. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  75. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  76. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  77. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  79. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  80. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  81. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  82. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  83. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  84. data/generated/google/apis/cloudbuild_v1/classes.rb +273 -13
  85. data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
  86. data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
  87. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  88. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +286 -26
  89. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
  90. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  91. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  92. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +286 -26
  93. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
  94. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  95. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  96. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  97. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  98. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  99. data/generated/google/apis/cloudfunctions_v1/classes.rb +20 -6
  100. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  101. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  102. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  103. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  104. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  107. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  108. data/generated/google/apis/cloudkms_v1.rb +1 -1
  109. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  110. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  111. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  112. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  113. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  116. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  118. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  120. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  121. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  122. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  124. data/generated/google/apis/composer_v1beta1.rb +1 -1
  125. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  126. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  127. data/generated/google/apis/compute_alpha.rb +1 -1
  128. data/generated/google/apis/compute_alpha/classes.rb +725 -107
  129. data/generated/google/apis/compute_alpha/representations.rb +206 -0
  130. data/generated/google/apis/compute_alpha/service.rb +888 -139
  131. data/generated/google/apis/compute_beta.rb +1 -1
  132. data/generated/google/apis/compute_beta/classes.rb +439 -105
  133. data/generated/google/apis/compute_beta/representations.rb +94 -0
  134. data/generated/google/apis/compute_beta/service.rb +308 -33
  135. data/generated/google/apis/compute_v1.rb +1 -1
  136. data/generated/google/apis/compute_v1/classes.rb +701 -71
  137. data/generated/google/apis/compute_v1/representations.rb +200 -0
  138. data/generated/google/apis/compute_v1/service.rb +522 -33
  139. data/generated/google/apis/container_v1.rb +1 -1
  140. data/generated/google/apis/container_v1/classes.rb +123 -5
  141. data/generated/google/apis/container_v1/representations.rb +50 -0
  142. data/generated/google/apis/container_v1beta1.rb +1 -1
  143. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  144. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  145. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  146. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  147. data/generated/google/apis/content_v2.rb +1 -1
  148. data/generated/google/apis/content_v2/classes.rb +7 -1
  149. data/generated/google/apis/content_v2/representations.rb +1 -0
  150. data/generated/google/apis/content_v2/service.rb +10 -5
  151. data/generated/google/apis/content_v2_1.rb +1 -1
  152. data/generated/google/apis/content_v2_1/classes.rb +265 -7
  153. data/generated/google/apis/content_v2_1/representations.rb +108 -0
  154. data/generated/google/apis/content_v2_1/service.rb +10 -5
  155. data/generated/google/apis/customsearch_v1.rb +1 -1
  156. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  157. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  158. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  159. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  160. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  161. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  162. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  163. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  164. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  165. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  166. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  167. data/generated/google/apis/dataproc_v1.rb +1 -1
  168. data/generated/google/apis/dataproc_v1/classes.rb +49 -2
  169. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  170. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  171. data/generated/google/apis/dataproc_v1beta2/classes.rb +44 -2
  172. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  173. data/generated/google/apis/dialogflow_v2.rb +1 -1
  174. data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
  175. data/generated/google/apis/dialogflow_v2/representations.rb +93 -0
  176. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  177. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  178. data/generated/google/apis/dialogflow_v2beta1/classes.rb +272 -30
  179. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
  180. data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
  181. data/generated/google/apis/displayvideo_v1.rb +1 -1
  182. data/generated/google/apis/displayvideo_v1/classes.rb +118 -11
  183. data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
  184. data/generated/google/apis/displayvideo_v1/service.rb +78 -1
  185. data/generated/google/apis/dlp_v2.rb +1 -1
  186. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  187. data/generated/google/apis/dlp_v2/service.rb +170 -64
  188. data/generated/google/apis/dns_v1.rb +4 -4
  189. data/generated/google/apis/dns_v1/classes.rb +313 -162
  190. data/generated/google/apis/dns_v1/service.rb +247 -180
  191. data/generated/google/apis/dns_v1beta2.rb +4 -4
  192. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  193. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  194. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  195. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  196. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  197. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  198. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  199. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  200. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  201. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  202. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  203. data/generated/google/apis/drive_v2.rb +1 -1
  204. data/generated/google/apis/drive_v2/classes.rb +9 -0
  205. data/generated/google/apis/drive_v2/representations.rb +1 -0
  206. data/generated/google/apis/drive_v2/service.rb +26 -78
  207. data/generated/google/apis/drive_v3.rb +1 -1
  208. data/generated/google/apis/drive_v3/classes.rb +9 -0
  209. data/generated/google/apis/drive_v3/representations.rb +1 -0
  210. data/generated/google/apis/drive_v3/service.rb +18 -54
  211. data/generated/google/apis/fcm_v1.rb +1 -1
  212. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  213. data/generated/google/apis/file_v1.rb +1 -1
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  216. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  217. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  218. data/generated/google/apis/{groupsmigration_v1.rb → firebasehosting_v1.rb} +10 -11
  219. data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
  220. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  221. data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
  222. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  223. data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
  224. data/generated/google/apis/games_v1.rb +6 -4
  225. data/generated/google/apis/games_v1/classes.rb +354 -2112
  226. data/generated/google/apis/games_v1/representations.rb +12 -647
  227. data/generated/google/apis/games_v1/service.rb +212 -1154
  228. data/generated/google/apis/{androidpublisher_v2.rb → gameservices_v1.rb} +11 -11
  229. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  230. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  231. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  232. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  233. data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
  234. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  236. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  237. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  238. data/generated/google/apis/gmail_v1.rb +3 -2
  239. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  240. data/generated/google/apis/gmail_v1/service.rb +551 -743
  241. data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
  242. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  243. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  244. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  245. data/generated/google/apis/groupssettings_v1.rb +1 -1
  246. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  247. data/generated/google/apis/healthcare_v1.rb +1 -1
  248. data/generated/google/apis/healthcare_v1/classes.rb +6 -6
  249. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  250. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  251. data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
  252. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  253. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  254. data/generated/google/apis/iam_v1.rb +1 -1
  255. data/generated/google/apis/iam_v1/classes.rb +92 -81
  256. data/generated/google/apis/iam_v1/service.rb +167 -148
  257. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  258. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  259. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  260. data/generated/google/apis/jobs_v3.rb +1 -1
  261. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  262. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  263. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  264. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  265. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  266. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  267. data/generated/google/apis/logging_v2.rb +1 -1
  268. data/generated/google/apis/logging_v2/classes.rb +69 -21
  269. data/generated/google/apis/managedidentities_v1.rb +1 -1
  270. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  271. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  272. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  273. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  274. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  275. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  276. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  277. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  278. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  279. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  280. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  281. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  282. data/generated/google/apis/memcache_v1beta2/classes.rb +6 -6
  283. data/generated/google/apis/ml_v1.rb +1 -1
  284. data/generated/google/apis/ml_v1/classes.rb +14 -6
  285. data/generated/google/apis/ml_v1/representations.rb +1 -0
  286. data/generated/google/apis/monitoring_v1.rb +1 -1
  287. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  288. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  289. data/generated/google/apis/monitoring_v3.rb +1 -1
  290. data/generated/google/apis/monitoring_v3/classes.rb +78 -21
  291. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  292. data/generated/google/apis/monitoring_v3/service.rb +8 -5
  293. data/generated/google/apis/osconfig_v1.rb +1 -1
  294. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  295. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  296. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  297. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  298. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  299. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  300. data/generated/google/apis/people_v1.rb +4 -1
  301. data/generated/google/apis/people_v1/classes.rb +122 -6
  302. data/generated/google/apis/people_v1/representations.rb +51 -0
  303. data/generated/google/apis/people_v1/service.rb +339 -69
  304. data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
  305. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  306. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  307. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  308. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  309. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  310. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  311. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  312. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  313. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  314. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  315. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  316. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  317. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  318. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  319. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
  320. data/generated/google/apis/pubsub_v1.rb +1 -1
  321. data/generated/google/apis/pubsub_v1/classes.rb +77 -37
  322. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  323. data/generated/google/apis/pubsub_v1/service.rb +35 -44
  324. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  325. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  326. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  327. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  328. data/generated/google/apis/recommender_v1.rb +1 -1
  329. data/generated/google/apis/recommender_v1/classes.rb +211 -0
  330. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  331. data/generated/google/apis/recommender_v1/service.rb +123 -0
  332. data/generated/google/apis/redis_v1.rb +1 -1
  333. data/generated/google/apis/redis_v1/classes.rb +1 -1
  334. data/generated/google/apis/redis_v1/service.rb +1 -1
  335. data/generated/google/apis/redis_v1beta1.rb +1 -1
  336. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  337. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  343. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  344. data/generated/google/apis/run_v1.rb +1 -1
  345. data/generated/google/apis/run_v1/classes.rb +7 -9
  346. data/generated/google/apis/run_v1alpha1.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  348. data/generated/google/apis/run_v1beta1.rb +1 -1
  349. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  350. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  351. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  352. data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
  353. data/generated/google/apis/secretmanager_v1.rb +1 -1
  354. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  355. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  356. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  357. data/generated/google/apis/securitycenter_v1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  359. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  361. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  362. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  363. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  364. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  365. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  366. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  367. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  368. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  369. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  370. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  371. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +126 -43
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -1
  374. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  375. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +132 -43
  376. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +2 -1
  377. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  378. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -0
  379. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  380. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  381. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  382. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  383. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  386. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  387. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  388. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  389. data/generated/google/apis/serviceusage_v1.rb +1 -1
  390. data/generated/google/apis/serviceusage_v1/classes.rb +133 -44
  391. data/generated/google/apis/serviceusage_v1/representations.rb +2 -1
  392. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  393. data/generated/google/apis/serviceusage_v1beta1/classes.rb +184 -44
  394. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -1
  395. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  396. data/generated/google/apis/sheets_v4.rb +1 -1
  397. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  398. data/generated/google/apis/slides_v1.rb +1 -1
  399. data/generated/google/apis/slides_v1/classes.rb +4 -0
  400. data/generated/google/apis/spanner_v1.rb +1 -1
  401. data/generated/google/apis/spanner_v1/classes.rb +25 -20
  402. data/generated/google/apis/spanner_v1/service.rb +7 -0
  403. data/generated/google/apis/speech_v1.rb +1 -1
  404. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/storage_v1.rb +1 -1
  406. data/generated/google/apis/storage_v1/service.rb +2 -3
  407. data/generated/google/apis/testing_v1.rb +1 -1
  408. data/generated/google/apis/testing_v1/classes.rb +17 -6
  409. data/generated/google/apis/testing_v1/representations.rb +1 -0
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{androidpublisher_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/vision_v1.rb +1 -1
  419. data/generated/google/apis/vision_v1/classes.rb +18 -0
  420. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  421. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  422. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  423. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  424. data/generated/google/apis/webfonts_v1.rb +5 -5
  425. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  426. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  427. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  428. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  429. data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
  430. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  431. data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
  432. data/generated/google/apis/youtube_v3.rb +1 -1
  433. data/generated/google/apis/youtube_v3/classes.rb +592 -0
  434. data/generated/google/apis/youtube_v3/representations.rb +308 -0
  435. data/generated/google/apis/youtube_v3/service.rb +291 -0
  436. data/lib/google/apis/version.rb +1 -1
  437. metadata +31 -19
  438. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  439. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  440. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  441. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  442. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  443. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  444. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  445. data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
  446. data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
  447. data/generated/google/apis/groupsmigration_v1/service.rb +0 -107
@@ -292,6 +292,18 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class PersonalApplicationPolicy
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PersonalUsagePolicies
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class Policy
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -522,6 +534,7 @@ module Google
522
534
  # @private
523
535
  class Representation < Google::Apis::Core::JsonRepresentation
524
536
  property :block_after_days, as: 'blockAfterDays'
537
+ property :block_scope, as: 'blockScope'
525
538
  end
526
539
  end
527
540
 
@@ -603,6 +616,7 @@ module Google
603
616
 
604
617
  collection :non_compliance_details, as: 'nonComplianceDetails', class: Google::Apis::AndroidmanagementV1::NonComplianceDetail, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetail::Representation
605
618
 
619
+ property :ownership, as: 'ownership'
606
620
  property :policy_compliant, as: 'policyCompliant'
607
621
  property :policy_name, as: 'policyName'
608
622
  collection :power_management_events, as: 'powerManagementEvents', class: Google::Apis::AndroidmanagementV1::PowerManagementEvent, decorator: Google::Apis::AndroidmanagementV1::PowerManagementEvent::Representation
@@ -656,6 +670,7 @@ module Google
656
670
  # @private
657
671
  class Representation < Google::Apis::Core::JsonRepresentation
658
672
  property :additional_data, as: 'additionalData'
673
+ property :allow_personal_usage, as: 'allowPersonalUsage'
659
674
  property :duration, as: 'duration'
660
675
  property :expiration_timestamp, as: 'expirationTimestamp'
661
676
  property :name, as: 'name'
@@ -937,6 +952,27 @@ module Google
937
952
  end
938
953
  end
939
954
 
955
+ class PersonalApplicationPolicy
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :install_type, as: 'installType'
959
+ property :package_name, as: 'packageName'
960
+ end
961
+ end
962
+
963
+ class PersonalUsagePolicies
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ collection :account_types_with_management_disabled, as: 'accountTypesWithManagementDisabled'
967
+ property :camera_disabled, as: 'cameraDisabled'
968
+ property :max_days_with_work_off, as: 'maxDaysWithWorkOff'
969
+ collection :personal_applications, as: 'personalApplications', class: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy::Representation
970
+
971
+ property :personal_play_store_mode, as: 'personalPlayStoreMode'
972
+ property :screen_capture_disabled, as: 'screenCaptureDisabled'
973
+ end
974
+ end
975
+
940
976
  class Policy
941
977
  # @private
942
978
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,6 +1043,8 @@ module Google
1007
1043
 
1008
1044
  collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
1009
1045
 
1046
+ property :personal_usage_policies, as: 'personalUsagePolicies', class: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies, decorator: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies::Representation
1047
+
1010
1048
  property :play_store_mode, as: 'playStoreMode'
1011
1049
  collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
1012
1050
 
@@ -1106,6 +1144,7 @@ module Google
1106
1144
  class SigninDetail
1107
1145
  # @private
1108
1146
  class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :allow_personal_usage, as: 'allowPersonalUsage'
1109
1148
  property :qr_code, as: 'qrCode'
1110
1149
  property :signin_enrollment_token, as: 'signinEnrollmentToken'
1111
1150
  property :signin_url, as: 'signinUrl'
@@ -18,14 +18,14 @@ require 'google/apis/androidpublisher_v3/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Google Play Developer API
21
+ # Google Play Android Developer API
22
22
  #
23
- # Accesses Android application developers' Google Play accounts.
23
+ # Lets Android application developers access their Google Play accounts.
24
24
  #
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200602'
28
+ REVISION = '20200701'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -22,7 +22,7 @@ module Google
22
22
  module Apis
23
23
  module AndroidpublisherV3
24
24
 
25
- #
25
+ # Information about an APK. The resource for ApksService.
26
26
  class Apk
27
27
  include Google::Apis::Core::Hashable
28
28
 
@@ -31,12 +31,7 @@ module Google
31
31
  # @return [Google::Apis::AndroidpublisherV3::ApkBinary]
32
32
  attr_accessor :binary
33
33
 
34
- # Represents the binary payload of an APK.
35
- # Corresponds to the JSON property `testBinary`
36
- # @return [Google::Apis::AndroidpublisherV3::ApkBinary]
37
- attr_accessor :test_binary
38
-
39
- # The version code of the APK, as specified in the APK's manifest file.
34
+ # The version code of the APK, as specified in the manifest file.
40
35
  # Corresponds to the JSON property `versionCode`
41
36
  # @return [Fixnum]
42
37
  attr_accessor :version_code
@@ -48,7 +43,6 @@ module Google
48
43
  # Update properties of this object
49
44
  def update!(**args)
50
45
  @binary = args[:binary] if args.key?(:binary)
51
- @test_binary = args[:test_binary] if args.key?(:test_binary)
52
46
  @version_code = args[:version_code] if args.key?(:version_code)
53
47
  end
54
48
  end
@@ -63,8 +57,8 @@ module Google
63
57
  # @return [String]
64
58
  attr_accessor :sha1
65
59
 
66
- # A sha256 hash of the APK payload, encoded as a hex string and matching the
67
- # output of the sha256sum command.
60
+ # A sha256 hash of the APK payload, encoded as a hex string and matching
61
+ # the output of the sha256sum command.
68
62
  # Corresponds to the JSON property `sha256`
69
63
  # @return [String]
70
64
  attr_accessor :sha256
@@ -80,14 +74,14 @@ module Google
80
74
  end
81
75
  end
82
76
 
83
- #
77
+ # Request to create a new externally hosted APK.
84
78
  class ApksAddExternallyHostedRequest
85
79
  include Google::Apis::Core::Hashable
86
80
 
87
- # Defines an APK available for this application that is hosted externally and
88
- # not uploaded to Google Play. This function is only available to enterprises
89
- # who are using Google Play for Work, and whos application is restricted to the
90
- # enterprise private channel
81
+ # Defines an APK available for this application that is hosted externally
82
+ # and not uploaded to Google Play.
83
+ # This function is only available to organizations using Managed Play whose
84
+ # application is configured to restrict distribution to the organizations.
91
85
  # Corresponds to the JSON property `externallyHostedApk`
92
86
  # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
93
87
  attr_accessor :externally_hosted_apk
@@ -102,14 +96,14 @@ module Google
102
96
  end
103
97
  end
104
98
 
105
- #
99
+ # Response for creating a new externally hosted APK.
106
100
  class ApksAddExternallyHostedResponse
107
101
  include Google::Apis::Core::Hashable
108
102
 
109
- # Defines an APK available for this application that is hosted externally and
110
- # not uploaded to Google Play. This function is only available to enterprises
111
- # who are using Google Play for Work, and whos application is restricted to the
112
- # enterprise private channel
103
+ # Defines an APK available for this application that is hosted externally
104
+ # and not uploaded to Google Play.
105
+ # This function is only available to organizations using Managed Play whose
106
+ # application is configured to restrict distribution to the organizations.
113
107
  # Corresponds to the JSON property `externallyHostedApk`
114
108
  # @return [Google::Apis::AndroidpublisherV3::ExternallyHostedApk]
115
109
  attr_accessor :externally_hosted_apk
@@ -124,17 +118,16 @@ module Google
124
118
  end
125
119
  end
126
120
 
127
- #
121
+ # Response listing all APKs.
128
122
  class ApksListResponse
129
123
  include Google::Apis::Core::Hashable
130
124
 
131
- #
125
+ # All APKs.
132
126
  # Corresponds to the JSON property `apks`
133
127
  # @return [Array<Google::Apis::AndroidpublisherV3::Apk>]
134
128
  attr_accessor :apks
135
129
 
136
- # Identifies what kind of resource this is. Value: the fixed string "
137
- # androidpublisher#apksListResponse".
130
+ # The kind of this response ("androidpublisher#apksListResponse").
138
131
  # Corresponds to the JSON property `kind`
139
132
  # @return [String]
140
133
  attr_accessor :kind
@@ -150,7 +143,7 @@ module Google
150
143
  end
151
144
  end
152
145
 
153
- #
146
+ # The app details. The resource for DetailsService.
154
147
  class AppDetails
155
148
  include Google::Apis::Core::Hashable
156
149
 
@@ -187,18 +180,18 @@ module Google
187
180
  end
188
181
  end
189
182
 
190
- # Represents an edit of an app. An edit allows clients to make multiple changes
191
- # before committing them in one operation.
183
+ # An app edit. The resource for EditsService.
192
184
  class AppEdit
193
185
  include Google::Apis::Core::Hashable
194
186
 
195
- # The time at which the edit will expire and will be no longer valid for use in
196
- # any subsequent API calls (encoded as seconds since the Epoch).
187
+ # Output only. The time (as seconds since Epoch) at which the edit will expire
188
+ # and
189
+ # will be no longer valid for use.
197
190
  # Corresponds to the JSON property `expiryTimeSeconds`
198
191
  # @return [String]
199
192
  attr_accessor :expiry_time_seconds
200
193
 
201
- # The ID of the edit that can be used in subsequent API calls.
194
+ # Output only. Identifier of the edit. Can be used in subsequent API calls.
202
195
  # Corresponds to the JSON property `id`
203
196
  # @return [String]
204
197
  attr_accessor :id
@@ -214,23 +207,23 @@ module Google
214
207
  end
215
208
  end
216
209
 
217
- #
210
+ # Information about a bundle. The resource for BundlesService.
218
211
  class Bundle
219
212
  include Google::Apis::Core::Hashable
220
213
 
221
- # A sha1 hash of the upload payload, encoded as a hex string and matching the
222
- # output of the sha1sum command.
214
+ # A sha1 hash of the upload payload, encoded as a hex string and matching
215
+ # the output of the sha1sum command.
223
216
  # Corresponds to the JSON property `sha1`
224
217
  # @return [String]
225
218
  attr_accessor :sha1
226
219
 
227
- # A sha256 hash of the upload payload, encoded as a hex string and matching the
228
- # output of the sha256sum command.
220
+ # A sha256 hash of the upload payload, encoded as a hex string and matching
221
+ # the output of the sha256sum command.
229
222
  # Corresponds to the JSON property `sha256`
230
223
  # @return [String]
231
224
  attr_accessor :sha256
232
225
 
233
- # The version code of the Android App Bundle. As specified in the Android App
226
+ # The version code of the Android App Bundle, as specified in the Android App
234
227
  # Bundle's base module APK manifest file.
235
228
  # Corresponds to the JSON property `versionCode`
236
229
  # @return [Fixnum]
@@ -248,17 +241,16 @@ module Google
248
241
  end
249
242
  end
250
243
 
251
- #
244
+ # Response listing all bundles.
252
245
  class BundlesListResponse
253
246
  include Google::Apis::Core::Hashable
254
247
 
255
- #
248
+ # All bundles.
256
249
  # Corresponds to the JSON property `bundles`
257
250
  # @return [Array<Google::Apis::AndroidpublisherV3::Bundle>]
258
251
  attr_accessor :bundles
259
252
 
260
- # Identifies what kind of resource this is. Value: the fixed string "
261
- # androidpublisher#bundlesListResponse".
253
+ # The kind of this response ("androidpublisher#bundlesListResponse").
262
254
  # Corresponds to the JSON property `kind`
263
255
  # @return [String]
264
256
  attr_accessor :kind
@@ -274,16 +266,16 @@ module Google
274
266
  end
275
267
  end
276
268
 
277
- #
269
+ # An entry of conversation between user and developer.
278
270
  class Comment
279
271
  include Google::Apis::Core::Hashable
280
272
 
281
- # A comment from a developer.
273
+ # Developer entry from conversation between user and developer.
282
274
  # Corresponds to the JSON property `developerComment`
283
275
  # @return [Google::Apis::AndroidpublisherV3::DeveloperComment]
284
276
  attr_accessor :developer_comment
285
277
 
286
- # A comment from a user.
278
+ # User entry from conversation between user and developer.
287
279
  # Corresponds to the JSON property `userComment`
288
280
  # @return [Google::Apis::AndroidpublisherV3::UserComment]
289
281
  attr_accessor :user_comment
@@ -299,47 +291,18 @@ module Google
299
291
  end
300
292
  end
301
293
 
302
- #
303
- class Control
304
- include Google::Apis::Core::Hashable
305
-
306
- #
307
- # Corresponds to the JSON property `modRanges`
308
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
309
- attr_accessor :mod_ranges
310
-
311
- #
312
- # Corresponds to the JSON property `stratifiedSamplings`
313
- # @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
314
- attr_accessor :stratified_samplings
315
-
316
- #
317
- # Corresponds to the JSON property `versionCodes`
318
- # @return [Array<Fixnum>]
319
- attr_accessor :version_codes
320
-
321
- def initialize(**args)
322
- update!(**args)
323
- end
324
-
325
- # Update properties of this object
326
- def update!(**args)
327
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
328
- @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
329
- @version_codes = args[:version_codes] if args.key?(:version_codes)
330
- end
331
- end
332
-
333
- #
294
+ # Country targeting specification.
334
295
  class CountryTargeting
335
296
  include Google::Apis::Core::Hashable
336
297
 
337
- #
298
+ # Countries to target, specified as two letter [CLDR
299
+ # codes](https://unicode.org/cldr/charts/latest/supplemental/
300
+ # territory_containment_un_m_49.html).
338
301
  # Corresponds to the JSON property `countries`
339
302
  # @return [Array<String>]
340
303
  attr_accessor :countries
341
304
 
342
- #
305
+ # Include "rest of world" as well as explicitly targeted countries.
343
306
  # Corresponds to the JSON property `includeRestOfWorld`
344
307
  # @return [Boolean]
345
308
  attr_accessor :include_rest_of_world
@@ -375,7 +338,7 @@ module Google
375
338
  end
376
339
  end
377
340
 
378
- #
341
+ # Responses for the upload.
379
342
  class DeobfuscationFilesUploadResponse
380
343
  include Google::Apis::Core::Hashable
381
344
 
@@ -394,11 +357,14 @@ module Google
394
357
  end
395
358
  end
396
359
 
397
- #
360
+ # Developer entry from conversation between user and developer.
398
361
  class DeveloperComment
399
362
  include Google::Apis::Core::Hashable
400
363
 
401
- # The last time at which this comment was updated.
364
+ # A Timestamp represents a point in time independent of any time zone or local
365
+ # calendar, encoded as a count of seconds and fractions of seconds at
366
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
367
+ # January 1, 1970.
402
368
  # Corresponds to the JSON property `lastModified`
403
369
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
404
370
  attr_accessor :last_modified
@@ -419,16 +385,16 @@ module Google
419
385
  end
420
386
  end
421
387
 
422
- #
388
+ # Characteristics of the user's device.
423
389
  class DeviceMetadata
424
390
  include Google::Apis::Core::Hashable
425
391
 
426
- # Device CPU make e.g. "Qualcomm"
392
+ # Device CPU make, e.g. "Qualcomm"
427
393
  # Corresponds to the JSON property `cpuMake`
428
394
  # @return [String]
429
395
  attr_accessor :cpu_make
430
396
 
431
- # Device CPU model e.g. "MSM8974"
397
+ # Device CPU model, e.g. "MSM8974"
432
398
  # Corresponds to the JSON property `cpuModel`
433
399
  # @return [String]
434
400
  attr_accessor :cpu_model
@@ -458,7 +424,7 @@ module Google
458
424
  # @return [String]
459
425
  attr_accessor :product_name
460
426
 
461
- # Device RAM in Megabytes e.g. "2048"
427
+ # Device RAM in Megabytes, e.g. "2048"
462
428
  # Corresponds to the JSON property `ramMb`
463
429
  # @return [Fixnum]
464
430
  attr_accessor :ram_mb
@@ -498,21 +464,23 @@ module Google
498
464
  end
499
465
  end
500
466
 
501
- #
467
+ # The device spec used to generate a system APK.
502
468
  class DeviceSpec
503
469
  include Google::Apis::Core::Hashable
504
470
 
505
- #
471
+ # Screen dpi.
506
472
  # Corresponds to the JSON property `screenDensity`
507
473
  # @return [Fixnum]
508
474
  attr_accessor :screen_density
509
475
 
510
- #
476
+ # Supported ABI architectures in the order of preference.
477
+ # The values should be the string as reported by the platform, e.g.
478
+ # "armeabi-v7a", "x86_64".
511
479
  # Corresponds to the JSON property `supportedAbis`
512
480
  # @return [Array<String>]
513
481
  attr_accessor :supported_abis
514
482
 
515
- #
483
+ # All installed locales represented as BCP-47 strings, e.g. "en-US".
516
484
  # Corresponds to the JSON property `supportedLocales`
517
485
  # @return [Array<String>]
518
486
  attr_accessor :supported_locales
@@ -529,19 +497,19 @@ module Google
529
497
  end
530
498
  end
531
499
 
532
- #
500
+ # An expansion file. The resource for ExpansionFilesService.
533
501
  class ExpansionFile
534
502
  include Google::Apis::Core::Hashable
535
503
 
536
- # If set this field indicates that this APK has an Expansion File uploaded to it:
537
- # this APK does not reference another APK's Expansion File. The field's value
538
- # is the size of the uploaded Expansion File in bytes.
504
+ # If set, this field indicates that this APK has an expansion file uploaded
505
+ # to it: this APK does not reference another APK's expansion file.
506
+ # The field's value is the size of the uploaded expansion file in bytes.
539
507
  # Corresponds to the JSON property `fileSize`
540
508
  # @return [Fixnum]
541
509
  attr_accessor :file_size
542
510
 
543
- # If set this APK's Expansion File references another APK's Expansion File. The
544
- # file_size field will not be set.
511
+ # If set, this APK's expansion file references another APK's expansion file.
512
+ # The file_size field will not be set.
545
513
  # Corresponds to the JSON property `referencesVersion`
546
514
  # @return [Fixnum]
547
515
  attr_accessor :references_version
@@ -557,11 +525,11 @@ module Google
557
525
  end
558
526
  end
559
527
 
560
- #
528
+ # Response for uploading an expansion file.
561
529
  class ExpansionFilesUploadResponse
562
530
  include Google::Apis::Core::Hashable
563
531
 
564
- #
532
+ # An expansion file. The resource for ExpansionFilesService.
565
533
  # Corresponds to the JSON property `expansionFile`
566
534
  # @return [Google::Apis::AndroidpublisherV3::ExpansionFile]
567
535
  attr_accessor :expansion_file
@@ -576,10 +544,10 @@ module Google
576
544
  end
577
545
  end
578
546
 
579
- # Defines an APK available for this application that is hosted externally and
580
- # not uploaded to Google Play. This function is only available to enterprises
581
- # who are using Google Play for Work, and whos application is restricted to the
582
- # enterprise private channel
547
+ # Defines an APK available for this application that is hosted externally
548
+ # and not uploaded to Google Play.
549
+ # This function is only available to organizations using Managed Play whose
550
+ # application is configured to restrict distribution to the organizations.
583
551
  class ExternallyHostedApk
584
552
  include Google::Apis::Core::Hashable
585
553
 
@@ -588,8 +556,8 @@ module Google
588
556
  # @return [String]
589
557
  attr_accessor :application_label
590
558
 
591
- # A certificate (or array of certificates if a certificate-chain is used) used
592
- # to signed this APK, represented as a base64 encoded byte array.
559
+ # A certificate (or array of certificates if a certificate-chain is used)
560
+ # used to sign this APK, represented as a base64 encoded byte array.
593
561
  # Corresponds to the JSON property `certificateBase64s`
594
562
  # @return [Array<String>]
595
563
  attr_accessor :certificate_base64s
@@ -599,12 +567,14 @@ module Google
599
567
  # @return [String]
600
568
  attr_accessor :externally_hosted_url
601
569
 
602
- # The SHA1 checksum of this APK, represented as a base64 encoded byte array.
570
+ # The sha1 checksum of this APK, represented as a base64 encoded byte
571
+ # array.
603
572
  # Corresponds to the JSON property `fileSha1Base64`
604
573
  # @return [String]
605
574
  attr_accessor :file_sha1_base64
606
575
 
607
- # The SHA256 checksum of this APK, represented as a base64 encoded byte array.
576
+ # The sha256 checksum of this APK, represented as a base64 encoded byte
577
+ # array.
608
578
  # Corresponds to the JSON property `fileSha256Base64`
609
579
  # @return [String]
610
580
  attr_accessor :file_sha256_base64
@@ -646,7 +616,7 @@ module Google
646
616
 
647
617
  # The permissions requested by this APK.
648
618
  # Corresponds to the JSON property `usesPermissions`
649
- # @return [Array<Google::Apis::AndroidpublisherV3::ExternallyHostedApkUsesPermission>]
619
+ # @return [Array<Google::Apis::AndroidpublisherV3::UsesPermission>]
650
620
  attr_accessor :uses_permissions
651
621
 
652
622
  # The version code of this APK.
@@ -683,32 +653,7 @@ module Google
683
653
  end
684
654
  end
685
655
 
686
- # A permission used by this APK.
687
- class ExternallyHostedApkUsesPermission
688
- include Google::Apis::Core::Hashable
689
-
690
- # Optionally, the maximum SDK version for which the permission is required.
691
- # Corresponds to the JSON property `maxSdkVersion`
692
- # @return [Fixnum]
693
- attr_accessor :max_sdk_version
694
-
695
- # The name of the permission requested.
696
- # Corresponds to the JSON property `name`
697
- # @return [String]
698
- attr_accessor :name
699
-
700
- def initialize(**args)
701
- update!(**args)
702
- end
703
-
704
- # Update properties of this object
705
- def update!(**args)
706
- @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
707
- @name = args[:name] if args.key?(:name)
708
- end
709
- end
710
-
711
- #
656
+ # An uploaded image. The resource for ImagesService.
712
657
  class Image
713
658
  include Google::Apis::Core::Hashable
714
659
 
@@ -717,12 +662,12 @@ module Google
717
662
  # @return [String]
718
663
  attr_accessor :id
719
664
 
720
- # A sha1 hash of the image that was uploaded.
665
+ # A sha1 hash of the image.
721
666
  # Corresponds to the JSON property `sha1`
722
667
  # @return [String]
723
668
  attr_accessor :sha1
724
669
 
725
- # A sha256 hash of the image that was uploaded.
670
+ # A sha256 hash of the image.
726
671
  # Corresponds to the JSON property `sha256`
727
672
  # @return [String]
728
673
  attr_accessor :sha256
@@ -745,11 +690,11 @@ module Google
745
690
  end
746
691
  end
747
692
 
748
- #
693
+ # Response for deleting all images.
749
694
  class ImagesDeleteAllResponse
750
695
  include Google::Apis::Core::Hashable
751
696
 
752
- #
697
+ # The deleted images.
753
698
  # Corresponds to the JSON property `deleted`
754
699
  # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
755
700
  attr_accessor :deleted
@@ -764,11 +709,11 @@ module Google
764
709
  end
765
710
  end
766
711
 
767
- #
712
+ # Response listing all images.
768
713
  class ImagesListResponse
769
714
  include Google::Apis::Core::Hashable
770
715
 
771
- #
716
+ # All listed Images.
772
717
  # Corresponds to the JSON property `images`
773
718
  # @return [Array<Google::Apis::AndroidpublisherV3::Image>]
774
719
  attr_accessor :images
@@ -783,11 +728,11 @@ module Google
783
728
  end
784
729
  end
785
730
 
786
- #
731
+ # Response for uploading an image.
787
732
  class ImagesUploadResponse
788
733
  include Google::Apis::Core::Hashable
789
734
 
790
- #
735
+ # An uploaded image. The resource for ImagesService.
791
736
  # Corresponds to the JSON property `image`
792
737
  # @return [Google::Apis::AndroidpublisherV3::Image]
793
738
  attr_accessor :image
@@ -802,81 +747,70 @@ module Google
802
747
  end
803
748
  end
804
749
 
805
- #
750
+ # An in-app product. The resource for InappproductsService.
806
751
  class InAppProduct
807
752
  include Google::Apis::Core::Hashable
808
753
 
809
- # The default language of the localized data, as defined by BCP 47. e.g. "en-US",
810
- # "en-GB".
754
+ # Default language of the localized data, as defined by BCP-47. e.g. "en-US".
811
755
  # Corresponds to the JSON property `defaultLanguage`
812
756
  # @return [String]
813
757
  attr_accessor :default_language
814
758
 
815
- # Default price cannot be zero. In-app products can never be free. Default price
816
- # is always in the developer's Checkout merchant currency.
759
+ # Definition of a price, i.e. currency and units.
817
760
  # Corresponds to the JSON property `defaultPrice`
818
761
  # @return [Google::Apis::AndroidpublisherV3::Price]
819
762
  attr_accessor :default_price
820
763
 
821
- # Grace period of the subscription, specified in ISO 8601 format. It will allow
822
- # developers to give their subscribers a grace period when the payment for the
823
- # new recurrence period is declined. Acceptable values = "P3D" (three days), "
824
- # P7D" (seven days), "P14D" (fourteen days), and "P30D" (thirty days)
764
+ # Grace period of the subscription, specified in ISO 8601 format. Allows
765
+ # developers to give their subscribers a grace period when the payment
766
+ # for the new recurrence period is declined.
767
+ # Acceptable values are P0D (zero days), P3D (three days), P7D (seven days),
768
+ # P14D (14 days), and P30D (30 days).
825
769
  # Corresponds to the JSON property `gracePeriod`
826
770
  # @return [String]
827
771
  attr_accessor :grace_period
828
772
 
829
- # List of localized title and description data.
773
+ # List of localized title and description data. Map key is the language of
774
+ # the localized data, as defined by BCP-47, e.g. "en-US".
830
775
  # Corresponds to the JSON property `listings`
831
776
  # @return [Hash<String,Google::Apis::AndroidpublisherV3::InAppProductListing>]
832
777
  attr_accessor :listings
833
778
 
834
- # The package name of the parent app.
779
+ # Package name of the parent app.
835
780
  # Corresponds to the JSON property `packageName`
836
781
  # @return [String]
837
782
  attr_accessor :package_name
838
783
 
839
- # Prices per buyer region. None of these prices should be zero. In-app products
840
- # can never be free.
784
+ # Prices per buyer region. None of these can be zero, as in-app products are
785
+ # never free. Map key is region code, as defined by ISO 3166-2.
841
786
  # Corresponds to the JSON property `prices`
842
787
  # @return [Hash<String,Google::Apis::AndroidpublisherV3::Price>]
843
788
  attr_accessor :prices
844
789
 
845
- # Purchase type enum value. Unmodifiable after creation.
790
+ # The type of the product, e.g. a recurring subscription.
846
791
  # Corresponds to the JSON property `purchaseType`
847
792
  # @return [String]
848
793
  attr_accessor :purchase_type
849
794
 
850
- # Whether or not the developer wants the specific subscription to be
851
- # resubscribable. If the developer doesn't use PBL2.0, this value is ignored
852
- # since the feature is only for developers using PBL2.0. This feature allows
853
- # users to resubscribe to an expired subscription directly from the subscription
854
- # center by clicking on a "Resubscribe" CTA under the entry for the expired
855
- # subscription.
856
- # Corresponds to the JSON property `resubscribeEligibility`
857
- # @return [String]
858
- attr_accessor :resubscribe_eligibility
859
-
860
- # The stock-keeping-unit (SKU) of the product, unique within an app.
795
+ # Stock-keeping-unit (SKU) of the product, unique within an app.
861
796
  # Corresponds to the JSON property `sku`
862
797
  # @return [String]
863
798
  attr_accessor :sku
864
799
 
865
- #
800
+ # The status of the product, e.g. whether it's active.
866
801
  # Corresponds to the JSON property `status`
867
802
  # @return [String]
868
803
  attr_accessor :status
869
804
 
870
- # Subscription period, specified in ISO 8601 format. Acceptable values are "P1W"
871
- # (one week), "P1M" (one month), "P3M" (three months), "P6M" (six months), and "
872
- # P1Y" (one year).
805
+ # Subscription period, specified in ISO 8601 format. Acceptable values are
806
+ # P1W (one week), P1M (one month), P3M (three months), P6M (six months),
807
+ # and P1Y (one year).
873
808
  # Corresponds to the JSON property `subscriptionPeriod`
874
809
  # @return [String]
875
810
  attr_accessor :subscription_period
876
811
 
877
812
  # Trial period, specified in ISO 8601 format. Acceptable values are anything
878
- # between "P7D" (seven days) and "P999D" (999 days). Seasonal subscriptions
879
- # cannot have a trial period.
813
+ # between P7D (seven days) and P999D (999 days).
880
814
  # Corresponds to the JSON property `trialPeriod`
881
815
  # @return [String]
882
816
  attr_accessor :trial_period
@@ -894,7 +828,6 @@ module Google
894
828
  @package_name = args[:package_name] if args.key?(:package_name)
895
829
  @prices = args[:prices] if args.key?(:prices)
896
830
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
897
- @resubscribe_eligibility = args[:resubscribe_eligibility] if args.key?(:resubscribe_eligibility)
898
831
  @sku = args[:sku] if args.key?(:sku)
899
832
  @status = args[:status] if args.key?(:status)
900
833
  @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
@@ -902,23 +835,21 @@ module Google
902
835
  end
903
836
  end
904
837
 
905
- #
838
+ # Store listing of a single in-app product.
906
839
  class InAppProductListing
907
840
  include Google::Apis::Core::Hashable
908
841
 
909
- # The localized entitlement benefits of the in-app product. These are supported
910
- # only for subscriptions.
842
+ # Localized entitlement benefits for a subscription.
911
843
  # Corresponds to the JSON property `benefits`
912
844
  # @return [Array<String>]
913
845
  attr_accessor :benefits
914
846
 
915
- # The localized description of the in-app product. These are deprecated for
916
- # subscriptions.
847
+ # Description for the store listing.
917
848
  # Corresponds to the JSON property `description`
918
849
  # @return [String]
919
850
  attr_accessor :description
920
851
 
921
- # The localized title of the in-app product.
852
+ # Title for the store listing.
922
853
  # Corresponds to the JSON property `title`
923
854
  # @return [String]
924
855
  attr_accessor :title
@@ -935,27 +866,36 @@ module Google
935
866
  end
936
867
  end
937
868
 
938
- #
869
+ # Response listing all in-app products.
939
870
  class InappproductsListResponse
940
871
  include Google::Apis::Core::Hashable
941
872
 
942
- #
873
+ # All in-app products.
943
874
  # Corresponds to the JSON property `inappproduct`
944
875
  # @return [Array<Google::Apis::AndroidpublisherV3::InAppProduct>]
945
876
  attr_accessor :inappproduct
946
877
 
947
- # Identifies what kind of resource this is. Value: the fixed string "
948
- # androidpublisher#inappproductsListResponse".
878
+ # The kind of this response ("androidpublisher#inappproductsListResponse").
949
879
  # Corresponds to the JSON property `kind`
950
880
  # @return [String]
951
881
  attr_accessor :kind
952
882
 
953
- #
883
+ # Information about the current page.
884
+ # List operations that supports paging return only one "page" of results. This
885
+ # protocol buffer message describes the page that has been returned.
954
886
  # Corresponds to the JSON property `pageInfo`
955
887
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
956
888
  attr_accessor :page_info
957
889
 
958
- #
890
+ # Pagination information returned by a List operation when token pagination
891
+ # is enabled.
892
+ # List operations that supports paging return only one "page" of results. This
893
+ # protocol buffer message describes the page that has been returned.
894
+ # When using token pagination, clients should use the next/previous token
895
+ # to get another page of the result. The presence or absence of next/previous
896
+ # token indicates whether a next/previous page is available and provides a
897
+ # mean of accessing this page. ListRequest.page_token should be set to either
898
+ # next_page_token or previous_page_token to access another page.
959
899
  # Corresponds to the JSON property `tokenPagination`
960
900
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
961
901
  attr_accessor :token_pagination
@@ -973,25 +913,26 @@ module Google
973
913
  end
974
914
  end
975
915
 
976
- # An artifact resource which gets created when uploading an APK or Android App
977
- # Bundle through internal app sharing.
916
+ # An artifact resource which gets created when uploading an APK or Android
917
+ # App Bundle through internal app sharing.
978
918
  class InternalAppSharingArtifact
979
919
  include Google::Apis::Core::Hashable
980
920
 
981
- # The SHA256 fingerprint of the certificate used to signed the generated
921
+ # The sha256 fingerprint of the certificate used to sign the generated
982
922
  # artifact.
983
923
  # Corresponds to the JSON property `certificateFingerprint`
984
924
  # @return [String]
985
925
  attr_accessor :certificate_fingerprint
986
926
 
987
- # The download URL generated for the uploaded artifact. Users that are
988
- # authorized to download can follow the link to the Play Store app to install it.
927
+ # The download URL generated for the uploaded artifact.
928
+ # Users that are authorized to download can follow the link to the Play
929
+ # Store app to install it.
989
930
  # Corresponds to the JSON property `downloadUrl`
990
931
  # @return [String]
991
932
  attr_accessor :download_url
992
933
 
993
- # The SHA-256 hash of the artifact represented as a lowercase hexadecimal number,
994
- # matching the output of the sha256sum command.
934
+ # The sha256 hash of the artifact represented as a lowercase hexadecimal
935
+ # number, matching the output of the sha256sum command.
995
936
  # Corresponds to the JSON property `sha256`
996
937
  # @return [String]
997
938
  attr_accessor :sha256
@@ -1012,17 +953,18 @@ module Google
1012
953
  class IntroductoryPriceInfo
1013
954
  include Google::Apis::Core::Hashable
1014
955
 
1015
- # Introductory price of the subscription, not including tax. The currency is the
1016
- # same as price_currency_code. Price is expressed in micro-units, where 1,000,
1017
- # 000 micro-units represents one unit of the currency. For example, if the
1018
- # subscription price is €1.99, price_amount_micros is 1990000.
956
+ # Introductory price of the subscription, not including tax.
957
+ # The currency is the same as price_currency_code. Price is
958
+ # expressed in micro-units, where 1,000,000 micro-units represents one unit
959
+ # of the currency. For example, if the subscription price is €1.99,
960
+ # price_amount_micros is 1990000.
1019
961
  # Corresponds to the JSON property `introductoryPriceAmountMicros`
1020
962
  # @return [Fixnum]
1021
963
  attr_accessor :introductory_price_amount_micros
1022
964
 
1023
- # ISO 4217 currency code for the introductory subscription price. For example,
1024
- # if the price is specified in British pounds sterling, price_currency_code is "
1025
- # GBP".
965
+ # ISO 4217 currency code for the introductory subscription price.
966
+ # For example, if the price is specified in British pounds sterling,
967
+ # price_currency_code is "GBP".
1026
968
  # Corresponds to the JSON property `introductoryPriceCurrencyCode`
1027
969
  # @return [String]
1028
970
  attr_accessor :introductory_price_currency_code
@@ -1032,9 +974,10 @@ module Google
1032
974
  # @return [Fixnum]
1033
975
  attr_accessor :introductory_price_cycles
1034
976
 
1035
- # Introductory price period, specified in ISO 8601 format. Common values are (
1036
- # but not limited to) "P1W" (one week), "P1M" (one month), "P3M" (three months),
1037
- # "P6M" (six months), and "P1Y" (one year).
977
+ # Introductory price period, specified in ISO 8601 format.
978
+ # Common values are (but not limited to) "P1W" (one
979
+ # week), "P1M" (one month), "P3M" (three months), "P6M" (six months),
980
+ # and "P1Y" (one year).
1038
981
  # Corresponds to the JSON property `introductoryPricePeriod`
1039
982
  # @return [String]
1040
983
  attr_accessor :introductory_price_period
@@ -1052,27 +995,27 @@ module Google
1052
995
  end
1053
996
  end
1054
997
 
1055
- #
998
+ # A localized store listing. The resource for ListingsService.
1056
999
  class Listing
1057
1000
  include Google::Apis::Core::Hashable
1058
1001
 
1059
- # Full description of the app; this may be up to 4000 characters in length.
1002
+ # Full description of the app.
1060
1003
  # Corresponds to the JSON property `fullDescription`
1061
1004
  # @return [String]
1062
1005
  attr_accessor :full_description
1063
1006
 
1064
- # Language localization code (for example, "de-AT" for Austrian German).
1007
+ # Language localization code (a BCP-47 language tag; for example, "de-AT"
1008
+ # for Austrian German).
1065
1009
  # Corresponds to the JSON property `language`
1066
1010
  # @return [String]
1067
1011
  attr_accessor :language
1068
1012
 
1069
- # Short description of the app (previously known as promo text); this may be up
1070
- # to 80 characters in length.
1013
+ # Short description of the app.
1071
1014
  # Corresponds to the JSON property `shortDescription`
1072
1015
  # @return [String]
1073
1016
  attr_accessor :short_description
1074
1017
 
1075
- # App's localized title.
1018
+ # Localized title of the app.
1076
1019
  # Corresponds to the JSON property `title`
1077
1020
  # @return [String]
1078
1021
  attr_accessor :title
@@ -1096,17 +1039,16 @@ module Google
1096
1039
  end
1097
1040
  end
1098
1041
 
1099
- #
1042
+ # Response listing all localized listings.
1100
1043
  class ListingsListResponse
1101
1044
  include Google::Apis::Core::Hashable
1102
1045
 
1103
- # Identifies what kind of resource this is. Value: the fixed string "
1104
- # androidpublisher#listingsListResponse".
1046
+ # The kind of this response ("androidpublisher#listingsListResponse").
1105
1047
  # Corresponds to the JSON property `kind`
1106
1048
  # @return [String]
1107
1049
  attr_accessor :kind
1108
1050
 
1109
- #
1051
+ # All localized listings.
1110
1052
  # Corresponds to the JSON property `listings`
1111
1053
  # @return [Array<Google::Apis::AndroidpublisherV3::Listing>]
1112
1054
  attr_accessor :listings
@@ -1122,16 +1064,17 @@ module Google
1122
1064
  end
1123
1065
  end
1124
1066
 
1125
- #
1067
+ # Release notes specification, i.e. language and text.
1126
1068
  class LocalizedText
1127
1069
  include Google::Apis::Core::Hashable
1128
1070
 
1129
- # The language code, in BCP 47 format (eg "en-US").
1071
+ # Language localization code (a BCP-47 language tag; for example, "de-AT"
1072
+ # for Austrian German).
1130
1073
  # Corresponds to the JSON property `language`
1131
1074
  # @return [String]
1132
1075
  attr_accessor :language
1133
1076
 
1134
- # The text in the given `language`.
1077
+ # The text in the given language.
1135
1078
  # Corresponds to the JSON property `text`
1136
1079
  # @return [String]
1137
1080
  attr_accessor :text
@@ -1147,46 +1090,25 @@ module Google
1147
1090
  end
1148
1091
  end
1149
1092
 
1150
- #
1151
- class ModRange
1152
- include Google::Apis::Core::Hashable
1153
-
1154
- #
1155
- # Corresponds to the JSON property `end`
1156
- # @return [Fixnum]
1157
- attr_accessor :end
1158
-
1159
- #
1160
- # Corresponds to the JSON property `start`
1161
- # @return [Fixnum]
1162
- attr_accessor :start
1163
-
1164
- def initialize(**args)
1165
- update!(**args)
1166
- end
1167
-
1168
- # Update properties of this object
1169
- def update!(**args)
1170
- @end = args[:end] if args.key?(:end)
1171
- @start = args[:start] if args.key?(:start)
1172
- end
1173
- end
1174
-
1175
- #
1093
+ # Information about the current page.
1094
+ # List operations that supports paging return only one "page" of results. This
1095
+ # protocol buffer message describes the page that has been returned.
1176
1096
  class PageInfo
1177
1097
  include Google::Apis::Core::Hashable
1178
1098
 
1179
- #
1099
+ # Maximum number of results returned in one page.
1100
+ # ! The number of results included in the API response.
1180
1101
  # Corresponds to the JSON property `resultPerPage`
1181
1102
  # @return [Fixnum]
1182
1103
  attr_accessor :result_per_page
1183
1104
 
1184
- #
1105
+ # Index of the first result returned in the current page.
1185
1106
  # Corresponds to the JSON property `startIndex`
1186
1107
  # @return [Fixnum]
1187
1108
  attr_accessor :start_index
1188
1109
 
1189
- #
1110
+ # Total number of results available on the backend
1111
+ # ! The total number of results in the result set.
1190
1112
  # Corresponds to the JSON property `totalResults`
1191
1113
  # @return [Fixnum]
1192
1114
  attr_accessor :total_results
@@ -1203,16 +1125,17 @@ module Google
1203
1125
  end
1204
1126
  end
1205
1127
 
1206
- #
1128
+ # Definition of a price, i.e. currency and units.
1207
1129
  class Price
1208
1130
  include Google::Apis::Core::Hashable
1209
1131
 
1210
1132
  # 3 letter Currency code, as defined by ISO 4217.
1133
+ # See java/com/google/common/money/CurrencyCode.java
1211
1134
  # Corresponds to the JSON property `currency`
1212
1135
  # @return [String]
1213
1136
  attr_accessor :currency
1214
1137
 
1215
- # The price in millionths of the currency base unit represented as a string.
1138
+ # Price in 1/million of the currency base unit, represented as a string.
1216
1139
  # Corresponds to the JSON property `priceMicros`
1217
1140
  # @return [String]
1218
1141
  attr_accessor :price_micros
@@ -1228,36 +1151,55 @@ module Google
1228
1151
  end
1229
1152
  end
1230
1153
 
1231
- # A ProductPurchase resource indicates the status of a user's inapp product
1232
- # purchase.
1154
+ # A ProductPurchase resource indicates the status of a user's inapp
1155
+ # product purchase.
1233
1156
  class ProductPurchase
1234
1157
  include Google::Apis::Core::Hashable
1235
1158
 
1236
1159
  # The acknowledgement state of the inapp product. Possible values are:
1237
- # - Yet to be acknowledged
1238
- # - Acknowledged
1160
+ # 0. Yet to be acknowledged
1161
+ # 1. Acknowledged
1239
1162
  # Corresponds to the JSON property `acknowledgementState`
1240
1163
  # @return [Fixnum]
1241
1164
  attr_accessor :acknowledgement_state
1242
1165
 
1243
1166
  # The consumption state of the inapp product. Possible values are:
1244
- # - Yet to be consumed
1245
- # - Consumed
1167
+ # 0. Yet to be consumed
1168
+ # 1. Consumed
1246
1169
  # Corresponds to the JSON property `consumptionState`
1247
1170
  # @return [Fixnum]
1248
1171
  attr_accessor :consumption_state
1249
1172
 
1250
- # A developer-specified string that contains supplemental information about an
1251
- # order.
1173
+ # A developer-specified string that contains supplemental
1174
+ # information about an order.
1252
1175
  # Corresponds to the JSON property `developerPayload`
1253
1176
  # @return [String]
1254
1177
  attr_accessor :developer_payload
1255
1178
 
1256
- # This kind represents an inappPurchase object in the androidpublisher service.
1179
+ # This kind represents an inappPurchase object in the androidpublisher
1180
+ # service.
1257
1181
  # Corresponds to the JSON property `kind`
1258
1182
  # @return [String]
1259
1183
  attr_accessor :kind
1260
1184
 
1185
+ # An obfuscated version of the id that is uniquely associated with the
1186
+ # user's account in your app. Only present if specified using
1187
+ # https://developer.android.com/reference/com/android/billingclient/api/
1188
+ # BillingFlowParams.Builder#setobfuscatedaccountid
1189
+ # when the purchase was made.
1190
+ # Corresponds to the JSON property `obfuscatedExternalAccountId`
1191
+ # @return [String]
1192
+ attr_accessor :obfuscated_external_account_id
1193
+
1194
+ # An obfuscated version of the id that is uniquely associated with the
1195
+ # user's profile in your app. Only present if specified using
1196
+ # https://developer.android.com/reference/com/android/billingclient/api/
1197
+ # BillingFlowParams.Builder#setobfuscatedprofileid
1198
+ # when the purchase was made.
1199
+ # Corresponds to the JSON property `obfuscatedExternalProfileId`
1200
+ # @return [String]
1201
+ attr_accessor :obfuscated_external_profile_id
1202
+
1261
1203
  # The order id associated with the purchase of the inapp product.
1262
1204
  # Corresponds to the JSON property `orderId`
1263
1205
  # @return [String]
@@ -1269,15 +1211,15 @@ module Google
1269
1211
  attr_accessor :product_id
1270
1212
 
1271
1213
  # The purchase state of the order. Possible values are:
1272
- # - Purchased
1273
- # - Canceled
1274
- # - Pending
1214
+ # 0. Purchased
1215
+ # 1. Canceled
1216
+ # 2. Pending
1275
1217
  # Corresponds to the JSON property `purchaseState`
1276
1218
  # @return [Fixnum]
1277
1219
  attr_accessor :purchase_state
1278
1220
 
1279
- # The time the product was purchased, in milliseconds since the epoch (Jan 1,
1280
- # 1970).
1221
+ # The time the product was purchased, in milliseconds since the
1222
+ # epoch (Jan 1, 1970).
1281
1223
  # Corresponds to the JSON property `purchaseTimeMillis`
1282
1224
  # @return [Fixnum]
1283
1225
  attr_accessor :purchase_time_millis
@@ -1287,12 +1229,12 @@ module Google
1287
1229
  # @return [String]
1288
1230
  attr_accessor :purchase_token
1289
1231
 
1290
- # The type of purchase of the inapp product. This field is only set if this
1291
- # purchase was not made using the standard in-app billing flow. Possible values
1292
- # are:
1293
- # - Test (i.e. purchased from a license testing account)
1294
- # - Promo (i.e. purchased using a promo code)
1295
- # - Rewarded (i.e. from watching a video ad instead of paying)
1232
+ # The type of purchase of the inapp product. This field is only set if
1233
+ # this purchase was not made using the standard in-app billing flow.
1234
+ # Possible values are:
1235
+ # 0. Test (i.e. purchased from a license testing account)
1236
+ # 1. Promo (i.e. purchased using a promo code)
1237
+ # 2. Rewarded (i.e. from watching a video ad instead of paying)
1296
1238
  # Corresponds to the JSON property `purchaseType`
1297
1239
  # @return [Fixnum]
1298
1240
  attr_accessor :purchase_type
@@ -1312,6 +1254,8 @@ module Google
1312
1254
  @consumption_state = args[:consumption_state] if args.key?(:consumption_state)
1313
1255
  @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1314
1256
  @kind = args[:kind] if args.key?(:kind)
1257
+ @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
1258
+ @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
1315
1259
  @order_id = args[:order_id] if args.key?(:order_id)
1316
1260
  @product_id = args[:product_id] if args.key?(:product_id)
1317
1261
  @purchase_state = args[:purchase_state] if args.key?(:purchase_state)
@@ -1322,7 +1266,7 @@ module Google
1322
1266
  end
1323
1267
  end
1324
1268
 
1325
- #
1269
+ # Request for the product.purchases.acknowledge API.
1326
1270
  class ProductPurchasesAcknowledgeRequest
1327
1271
  include Google::Apis::Core::Hashable
1328
1272
 
@@ -1341,7 +1285,7 @@ module Google
1341
1285
  end
1342
1286
  end
1343
1287
 
1344
- #
1288
+ # An Android app review.
1345
1289
  class Review
1346
1290
  include Google::Apis::Core::Hashable
1347
1291
 
@@ -1372,11 +1316,14 @@ module Google
1372
1316
  end
1373
1317
  end
1374
1318
 
1375
- #
1319
+ # The result of replying/updating a reply to review.
1376
1320
  class ReviewReplyResult
1377
1321
  include Google::Apis::Core::Hashable
1378
1322
 
1379
- # The time at which the reply took effect.
1323
+ # A Timestamp represents a point in time independent of any time zone or local
1324
+ # calendar, encoded as a count of seconds and fractions of seconds at
1325
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1326
+ # January 1, 1970.
1380
1327
  # Corresponds to the JSON property `lastEdited`
1381
1328
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
1382
1329
  attr_accessor :last_edited
@@ -1397,21 +1344,31 @@ module Google
1397
1344
  end
1398
1345
  end
1399
1346
 
1400
- #
1347
+ # Response listing reviews.
1401
1348
  class ReviewsListResponse
1402
1349
  include Google::Apis::Core::Hashable
1403
1350
 
1404
- #
1351
+ # Information about the current page.
1352
+ # List operations that supports paging return only one "page" of results. This
1353
+ # protocol buffer message describes the page that has been returned.
1405
1354
  # Corresponds to the JSON property `pageInfo`
1406
1355
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
1407
1356
  attr_accessor :page_info
1408
1357
 
1409
- #
1358
+ # List of reviews.
1410
1359
  # Corresponds to the JSON property `reviews`
1411
1360
  # @return [Array<Google::Apis::AndroidpublisherV3::Review>]
1412
1361
  attr_accessor :reviews
1413
1362
 
1414
- #
1363
+ # Pagination information returned by a List operation when token pagination
1364
+ # is enabled.
1365
+ # List operations that supports paging return only one "page" of results. This
1366
+ # protocol buffer message describes the page that has been returned.
1367
+ # When using token pagination, clients should use the next/previous token
1368
+ # to get another page of the result. The presence or absence of next/previous
1369
+ # token indicates whether a next/previous page is available and provides a
1370
+ # mean of accessing this page. ListRequest.page_token should be set to either
1371
+ # next_page_token or previous_page_token to access another page.
1415
1372
  # Corresponds to the JSON property `tokenPagination`
1416
1373
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
1417
1374
  attr_accessor :token_pagination
@@ -1428,7 +1385,7 @@ module Google
1428
1385
  end
1429
1386
  end
1430
1387
 
1431
- #
1388
+ # Request to reply to review or update existing reply.
1432
1389
  class ReviewsReplyRequest
1433
1390
  include Google::Apis::Core::Hashable
1434
1391
 
@@ -1448,11 +1405,11 @@ module Google
1448
1405
  end
1449
1406
  end
1450
1407
 
1451
- #
1408
+ # Response on status of replying to a review.
1452
1409
  class ReviewsReplyResponse
1453
1410
  include Google::Apis::Core::Hashable
1454
1411
 
1455
- #
1412
+ # The result of replying/updating a reply to review.
1456
1413
  # Corresponds to the JSON property `result`
1457
1414
  # @return [Google::Apis::AndroidpublisherV3::ReviewReplyResult]
1458
1415
  attr_accessor :result
@@ -1467,105 +1424,18 @@ module Google
1467
1424
  end
1468
1425
  end
1469
1426
 
1470
- #
1471
- class Sampling
1472
- include Google::Apis::Core::Hashable
1473
-
1474
- #
1475
- # Corresponds to the JSON property `modRanges`
1476
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1477
- attr_accessor :mod_ranges
1478
-
1479
- #
1480
- # Corresponds to the JSON property `modulus`
1481
- # @return [Fixnum]
1482
- attr_accessor :modulus
1483
-
1484
- #
1485
- # Corresponds to the JSON property `salt`
1486
- # @return [Fixnum]
1487
- attr_accessor :salt
1488
-
1489
- #
1490
- # Corresponds to the JSON property `stratifiedSamplings`
1491
- # @return [Array<Google::Apis::AndroidpublisherV3::StratifiedSampling>]
1492
- attr_accessor :stratified_samplings
1493
-
1494
- #
1495
- # Corresponds to the JSON property `useAndroidId`
1496
- # @return [Boolean]
1497
- attr_accessor :use_android_id
1498
- alias_method :use_android_id?, :use_android_id
1499
-
1500
- def initialize(**args)
1501
- update!(**args)
1502
- end
1503
-
1504
- # Update properties of this object
1505
- def update!(**args)
1506
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1507
- @modulus = args[:modulus] if args.key?(:modulus)
1508
- @salt = args[:salt] if args.key?(:salt)
1509
- @stratified_samplings = args[:stratified_samplings] if args.key?(:stratified_samplings)
1510
- @use_android_id = args[:use_android_id] if args.key?(:use_android_id)
1511
- end
1512
- end
1513
-
1514
- #
1515
- class StratifiedSampling
1516
- include Google::Apis::Core::Hashable
1517
-
1518
- #
1519
- # Corresponds to the JSON property `modRanges`
1520
- # @return [Array<Google::Apis::AndroidpublisherV3::ModRange>]
1521
- attr_accessor :mod_ranges
1522
-
1523
- #
1524
- # Corresponds to the JSON property `stratum`
1525
- # @return [Google::Apis::AndroidpublisherV3::Stratum]
1526
- attr_accessor :stratum
1527
-
1528
- def initialize(**args)
1529
- update!(**args)
1530
- end
1531
-
1532
- # Update properties of this object
1533
- def update!(**args)
1534
- @mod_ranges = args[:mod_ranges] if args.key?(:mod_ranges)
1535
- @stratum = args[:stratum] if args.key?(:stratum)
1536
- end
1537
- end
1538
-
1539
- #
1540
- class Stratum
1541
- include Google::Apis::Core::Hashable
1542
-
1543
- #
1544
- # Corresponds to the JSON property `brand`
1545
- # @return [String]
1546
- attr_accessor :brand
1547
-
1548
- def initialize(**args)
1549
- update!(**args)
1550
- end
1551
-
1552
- # Update properties of this object
1553
- def update!(**args)
1554
- @brand = args[:brand] if args.key?(:brand)
1555
- end
1556
- end
1557
-
1558
1427
  # Information provided by the user when they complete the subscription
1559
1428
  # cancellation flow (cancellation reason survey).
1560
1429
  class SubscriptionCancelSurveyResult
1561
1430
  include Google::Apis::Core::Hashable
1562
1431
 
1563
- # The cancellation reason the user chose in the survey. Possible values are:
1564
- # - Other
1565
- # - I don't use this service enough
1566
- # - Technical issues
1567
- # - Cost-related reasons
1568
- # - I found a better app
1432
+ # The cancellation reason the user chose in the survey.
1433
+ # Possible values are:
1434
+ # 0. Other
1435
+ # 1. I don't use this service enough
1436
+ # 2. Technical issues
1437
+ # 3. Cost-related reasons
1438
+ # 4. I found a better app
1569
1439
  # Corresponds to the JSON property `cancelSurveyReason`
1570
1440
  # @return [Fixnum]
1571
1441
  attr_accessor :cancel_survey_reason
@@ -1587,20 +1457,21 @@ module Google
1587
1457
  end
1588
1458
  end
1589
1459
 
1590
- # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1591
- # purchase to a future expiry time.
1460
+ # A SubscriptionDeferralInfo contains the data needed to defer a
1461
+ # subscription purchase to a future expiry time.
1592
1462
  class SubscriptionDeferralInfo
1593
1463
  include Google::Apis::Core::Hashable
1594
1464
 
1595
- # The desired next expiry time to assign to the subscription, in milliseconds
1596
- # since the Epoch. The given time must be later/greater than the current expiry
1597
- # time for the subscription.
1465
+ # The desired next expiry time to assign to the subscription, in
1466
+ # milliseconds since the Epoch. The given time must be later/greater
1467
+ # than the current expiry time for the subscription.
1598
1468
  # Corresponds to the JSON property `desiredExpiryTimeMillis`
1599
1469
  # @return [Fixnum]
1600
1470
  attr_accessor :desired_expiry_time_millis
1601
1471
 
1602
- # The expected expiry time for the subscription. If the current expiry time for
1603
- # the subscription is not the value specified here, the deferral will not occur.
1472
+ # The expected expiry time for the subscription. If the current
1473
+ # expiry time for the subscription is not the value specified
1474
+ # here, the deferral will not occur.
1604
1475
  # Corresponds to the JSON property `expectedExpiryTimeMillis`
1605
1476
  # @return [Fixnum]
1606
1477
  attr_accessor :expected_expiry_time_millis
@@ -1623,20 +1494,19 @@ module Google
1623
1494
  class SubscriptionPriceChange
1624
1495
  include Google::Apis::Core::Hashable
1625
1496
 
1626
- # The new price the subscription will renew with if the price change is accepted
1627
- # by the user.
1497
+ # Definition of a price, i.e. currency and units.
1628
1498
  # Corresponds to the JSON property `newPrice`
1629
1499
  # @return [Google::Apis::AndroidpublisherV3::Price]
1630
1500
  attr_accessor :new_price
1631
1501
 
1632
1502
  # The current state of the price change. Possible values are:
1633
- # - Outstanding: State for a pending price change waiting for the user to agree.
1634
- # In this state, you can optionally seek confirmation from the user using the In-
1635
- # App API.
1636
- # - Accepted: State for an accepted price change that the subscription will
1637
- # renew with unless it's canceled. The price change takes effect on a future
1638
- # date when the subscription renews. Note that the change might not occur when
1639
- # the subscription is renewed next.
1503
+ # 0. Outstanding: State for a pending price change waiting for the user to
1504
+ # agree. In this state, you can optionally seek confirmation from the
1505
+ # user using the In-App API.
1506
+ # 1. Accepted: State for an accepted price change that the subscription
1507
+ # will renew with unless it's canceled. The price change takes effect on
1508
+ # a future date when the subscription renews. Note that the change might
1509
+ # not occur when the subscription is renewed next.
1640
1510
  # Corresponds to the JSON property `state`
1641
1511
  # @return [Fixnum]
1642
1512
  attr_accessor :state
@@ -1652,39 +1522,40 @@ module Google
1652
1522
  end
1653
1523
  end
1654
1524
 
1655
- # A SubscriptionPurchase resource indicates the status of a user's subscription
1656
- # purchase.
1525
+ # A SubscriptionPurchase resource indicates the status of a user's
1526
+ # subscription purchase.
1657
1527
  class SubscriptionPurchase
1658
1528
  include Google::Apis::Core::Hashable
1659
1529
 
1660
- # The acknowledgement state of the subscription product. Possible values are:
1661
- # - Yet to be acknowledged
1662
- # - Acknowledged
1530
+ # The acknowledgement state of the subscription product. Possible values
1531
+ # are:
1532
+ # 0. Yet to be acknowledged
1533
+ # 1. Acknowledged
1663
1534
  # Corresponds to the JSON property `acknowledgementState`
1664
1535
  # @return [Fixnum]
1665
1536
  attr_accessor :acknowledgement_state
1666
1537
 
1667
- # Whether the subscription will automatically be renewed when it reaches its
1668
- # current expiry time.
1538
+ # Whether the subscription will automatically be renewed when it
1539
+ # reaches its current expiry time.
1669
1540
  # Corresponds to the JSON property `autoRenewing`
1670
1541
  # @return [Boolean]
1671
1542
  attr_accessor :auto_renewing
1672
1543
  alias_method :auto_renewing?, :auto_renewing
1673
1544
 
1674
- # Time at which the subscription will be automatically resumed, in milliseconds
1675
- # since the Epoch. Only present if the user has requested to pause the
1676
- # subscription.
1545
+ # Time at which the subscription will be automatically resumed, in
1546
+ # milliseconds since the Epoch. Only present if the user has requested to
1547
+ # pause the subscription.
1677
1548
  # Corresponds to the JSON property `autoResumeTimeMillis`
1678
1549
  # @return [Fixnum]
1679
1550
  attr_accessor :auto_resume_time_millis
1680
1551
 
1681
- # The reason why a subscription was canceled or is not auto-renewing. Possible
1682
- # values are:
1683
- # - User canceled the subscription
1684
- # - Subscription was canceled by the system, for example because of a billing
1685
- # problem
1686
- # - Subscription was replaced with a new subscription
1687
- # - Subscription was canceled by the developer
1552
+ # The reason why a subscription was canceled or is not auto-renewing.
1553
+ # Possible values are:
1554
+ # 0. User canceled the subscription
1555
+ # 1. Subscription was canceled by the system,
1556
+ # for example because of a billing problem
1557
+ # 2. Subscription was replaced with a new subscription
1558
+ # 3. Subscription was canceled by the developer
1688
1559
  # Corresponds to the JSON property `cancelReason`
1689
1560
  # @return [Fixnum]
1690
1561
  attr_accessor :cancel_reason
@@ -1695,43 +1566,45 @@ module Google
1695
1566
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionCancelSurveyResult]
1696
1567
  attr_accessor :cancel_survey_result
1697
1568
 
1698
- # ISO 3166-1 alpha-2 billing country/region code of the user at the time the
1699
- # subscription was granted.
1569
+ # ISO 3166-1 alpha-2 billing country/region code of the user at the time
1570
+ # the subscription was granted.
1700
1571
  # Corresponds to the JSON property `countryCode`
1701
1572
  # @return [String]
1702
1573
  attr_accessor :country_code
1703
1574
 
1704
- # A developer-specified string that contains supplemental information about an
1705
- # order.
1575
+ # A developer-specified string that contains supplemental
1576
+ # information about an order.
1706
1577
  # Corresponds to the JSON property `developerPayload`
1707
1578
  # @return [String]
1708
1579
  attr_accessor :developer_payload
1709
1580
 
1710
- # The email address of the user when the subscription was purchased. Only
1711
- # present for purchases made with 'Subscribe with Google'.
1581
+ # The email address of the user when the subscription was purchased.
1582
+ # Only present for purchases made with 'Subscribe with Google'.
1712
1583
  # Corresponds to the JSON property `emailAddress`
1713
1584
  # @return [String]
1714
1585
  attr_accessor :email_address
1715
1586
 
1716
- # Time at which the subscription will expire, in milliseconds since the Epoch.
1587
+ # Time at which the subscription will expire, in milliseconds
1588
+ # since the Epoch.
1717
1589
  # Corresponds to the JSON property `expiryTimeMillis`
1718
1590
  # @return [Fixnum]
1719
1591
  attr_accessor :expiry_time_millis
1720
1592
 
1721
- # User account identifier in the third-party service. Only present if account
1722
- # linking happened as part of the subscription purchase flow.
1593
+ # User account identifier in the third-party service.
1594
+ # Only present if account linking happened as part of the subscription
1595
+ # purchase flow.
1723
1596
  # Corresponds to the JSON property `externalAccountId`
1724
1597
  # @return [String]
1725
1598
  attr_accessor :external_account_id
1726
1599
 
1727
- # The family name of the user when the subscription was purchased. Only present
1728
- # for purchases made with 'Subscribe with Google'.
1600
+ # The family name of the user when the subscription was purchased.
1601
+ # Only present for purchases made with 'Subscribe with Google'.
1729
1602
  # Corresponds to the JSON property `familyName`
1730
1603
  # @return [String]
1731
1604
  attr_accessor :family_name
1732
1605
 
1733
- # The given name of the user when the subscription was purchased. Only present
1734
- # for purchases made with 'Subscribe with Google'.
1606
+ # The given name of the user when the subscription was purchased.
1607
+ # Only present for purchases made with 'Subscribe with Google'.
1735
1608
  # Corresponds to the JSON property `givenName`
1736
1609
  # @return [String]
1737
1610
  attr_accessor :given_name
@@ -1747,39 +1620,61 @@ module Google
1747
1620
  # @return [String]
1748
1621
  attr_accessor :kind
1749
1622
 
1750
- # The purchase token of the originating purchase if this subscription is one of
1751
- # the following:
1752
- # - Re-signup of a canceled but non-lapsed subscription
1753
- # - Upgrade/downgrade from a previous subscription For example, suppose a user
1754
- # originally signs up and you receive purchase token X, then the user cancels
1755
- # and goes through the resignup flow (before their subscription lapses) and you
1756
- # receive purchase token Y, and finally the user upgrades their subscription and
1757
- # you receive purchase token Z. If you call this API with purchase token Z, this
1758
- # field will be set to Y. If you call this API with purchase token Y, this field
1759
- # will be set to X. If you call this API with purchase token X, this field will
1760
- # not be set.
1623
+ # The purchase token of the originating purchase if this subscription
1624
+ # is one of the following:
1625
+ # 0. Re-signup of a canceled but non-lapsed subscription
1626
+ # 1. Upgrade/downgrade from a previous subscription
1627
+ # For example, suppose a user originally signs up and you receive
1628
+ # purchase token X, then the user cancels and goes through the
1629
+ # resignup flow (before their subscription lapses) and you receive
1630
+ # purchase token Y, and finally the user upgrades their subscription
1631
+ # and you receive purchase token Z. If you call this API with purchase
1632
+ # token Z, this field will be set to Y. If you call this API with
1633
+ # purchase token Y, this field will be set to X. If you call this API
1634
+ # with purchase token X, this field will not be set.
1761
1635
  # Corresponds to the JSON property `linkedPurchaseToken`
1762
1636
  # @return [String]
1763
1637
  attr_accessor :linked_purchase_token
1764
1638
 
1765
- # The order id of the latest recurring order associated with the purchase of the
1766
- # subscription.
1639
+ # An obfuscated version of the id that is uniquely associated with the
1640
+ # user's account in your app. Present for the following purchases:
1641
+ # * If account linking happened as part of the subscription purchase flow.
1642
+ # * It was specified using
1643
+ # https://developer.android.com/reference/com/android/billingclient/api/
1644
+ # BillingFlowParams.Builder#setobfuscatedaccountid
1645
+ # when the purchase was made.
1646
+ # Corresponds to the JSON property `obfuscatedExternalAccountId`
1647
+ # @return [String]
1648
+ attr_accessor :obfuscated_external_account_id
1649
+
1650
+ # An obfuscated version of the id that is uniquely associated with the
1651
+ # user's profile in your app. Only present if specified using
1652
+ # https://developer.android.com/reference/com/android/billingclient/api/
1653
+ # BillingFlowParams.Builder#setobfuscatedprofileid
1654
+ # when the purchase was made.
1655
+ # Corresponds to the JSON property `obfuscatedExternalProfileId`
1656
+ # @return [String]
1657
+ attr_accessor :obfuscated_external_profile_id
1658
+
1659
+ # The order id of the latest recurring order associated with
1660
+ # the purchase of the subscription.
1767
1661
  # Corresponds to the JSON property `orderId`
1768
1662
  # @return [String]
1769
1663
  attr_accessor :order_id
1770
1664
 
1771
1665
  # The payment state of the subscription. Possible values are:
1772
- # - Payment pending
1773
- # - Payment received
1774
- # - Free trial
1775
- # - Pending deferred upgrade/downgrade
1666
+ # 0. Payment pending
1667
+ # 1. Payment received
1668
+ # 2. Free trial
1669
+ # 3. Pending deferred upgrade/downgrade
1776
1670
  # Corresponds to the JSON property `paymentState`
1777
1671
  # @return [Fixnum]
1778
1672
  attr_accessor :payment_state
1779
1673
 
1780
- # Price of the subscription, not including tax. Price is expressed in micro-
1781
- # units, where 1,000,000 micro-units represents one unit of the currency. For
1782
- # example, if the subscription price is 1.99, price_amount_micros is 1990000.
1674
+ # Price of the subscription, not including tax. Price is expressed
1675
+ # in micro-units, where 1,000,000 micro-units represents one unit of
1676
+ # the currency. For example, if the subscription price is &euro;1.99,
1677
+ # price_amount_micros is 1990000.
1783
1678
  # Corresponds to the JSON property `priceAmountMicros`
1784
1679
  # @return [Fixnum]
1785
1680
  attr_accessor :price_amount_micros
@@ -1792,55 +1687,57 @@ module Google
1792
1687
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionPriceChange]
1793
1688
  attr_accessor :price_change
1794
1689
 
1795
- # ISO 4217 currency code for the subscription price. For example, if the price
1796
- # is specified in British pounds sterling, price_currency_code is "GBP".
1690
+ # ISO 4217 currency code for the subscription price. For example,
1691
+ # if the price is specified in British pounds sterling,
1692
+ # price_currency_code is "GBP".
1797
1693
  # Corresponds to the JSON property `priceCurrencyCode`
1798
1694
  # @return [String]
1799
1695
  attr_accessor :price_currency_code
1800
1696
 
1801
- # The Google profile id of the user when the subscription was purchased. Only
1802
- # present for purchases made with 'Subscribe with Google'.
1697
+ # The Google profile id of the user when the subscription was purchased.
1698
+ # Only present for purchases made with 'Subscribe with Google'.
1803
1699
  # Corresponds to the JSON property `profileId`
1804
1700
  # @return [String]
1805
1701
  attr_accessor :profile_id
1806
1702
 
1807
- # The profile name of the user when the subscription was purchased. Only present
1808
- # for purchases made with 'Subscribe with Google'.
1703
+ # The profile name of the user when the subscription was purchased.
1704
+ # Only present for purchases made with 'Subscribe with Google'.
1809
1705
  # Corresponds to the JSON property `profileName`
1810
1706
  # @return [String]
1811
1707
  attr_accessor :profile_name
1812
1708
 
1813
- # The promotion code applied on this purchase. This field is only set if a
1814
- # vanity code promotion is applied when the subscription was purchased.
1709
+ # The promotion code applied on this purchase. This field is only set if
1710
+ # a vanity code promotion is applied when the subscription was purchased.
1815
1711
  # Corresponds to the JSON property `promotionCode`
1816
1712
  # @return [String]
1817
1713
  attr_accessor :promotion_code
1818
1714
 
1819
- # The type of promotion applied on this purchase. This field is only set if a
1820
- # promotion is applied when the subscription was purchased. Possible values are:
1821
- #
1822
- # - One time code
1823
- # - Vanity code
1715
+ # The type of promotion applied on this purchase. This field is only set if
1716
+ # a promotion is applied when the subscription was purchased. Possible
1717
+ # values are:
1718
+ # 0. One time code
1719
+ # 1. Vanity code
1824
1720
  # Corresponds to the JSON property `promotionType`
1825
1721
  # @return [Fixnum]
1826
1722
  attr_accessor :promotion_type
1827
1723
 
1828
- # The type of purchase of the subscription. This field is only set if this
1829
- # purchase was not made using the standard in-app billing flow. Possible values
1830
- # are:
1831
- # - Test (i.e. purchased from a license testing account)
1832
- # - Promo (i.e. purchased using a promo code)
1724
+ # The type of purchase of the subscription. This field is only set if
1725
+ # this purchase was not made using the standard in-app billing flow.
1726
+ # Possible values are:
1727
+ # 0. Test (i.e. purchased from a license testing account)
1728
+ # 1. Promo (i.e. purchased using a promo code)
1833
1729
  # Corresponds to the JSON property `purchaseType`
1834
1730
  # @return [Fixnum]
1835
1731
  attr_accessor :purchase_type
1836
1732
 
1837
- # Time at which the subscription was granted, in milliseconds since the Epoch.
1733
+ # Time at which the subscription was granted, in milliseconds
1734
+ # since the Epoch.
1838
1735
  # Corresponds to the JSON property `startTimeMillis`
1839
1736
  # @return [Fixnum]
1840
1737
  attr_accessor :start_time_millis
1841
1738
 
1842
- # The time at which the subscription was canceled by the user, in milliseconds
1843
- # since the epoch. Only present if cancelReason is 0.
1739
+ # The time at which the subscription was canceled by the user, in
1740
+ # milliseconds since the epoch. Only present if cancelReason is 0.
1844
1741
  # Corresponds to the JSON property `userCancellationTimeMillis`
1845
1742
  # @return [Fixnum]
1846
1743
  attr_accessor :user_cancellation_time_millis
@@ -1866,6 +1763,8 @@ module Google
1866
1763
  @introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
1867
1764
  @kind = args[:kind] if args.key?(:kind)
1868
1765
  @linked_purchase_token = args[:linked_purchase_token] if args.key?(:linked_purchase_token)
1766
+ @obfuscated_external_account_id = args[:obfuscated_external_account_id] if args.key?(:obfuscated_external_account_id)
1767
+ @obfuscated_external_profile_id = args[:obfuscated_external_profile_id] if args.key?(:obfuscated_external_profile_id)
1869
1768
  @order_id = args[:order_id] if args.key?(:order_id)
1870
1769
  @payment_state = args[:payment_state] if args.key?(:payment_state)
1871
1770
  @price_amount_micros = args[:price_amount_micros] if args.key?(:price_amount_micros)
@@ -1881,7 +1780,7 @@ module Google
1881
1780
  end
1882
1781
  end
1883
1782
 
1884
- #
1783
+ # Request for the purchases.subscriptions.acknowledge API.
1885
1784
  class SubscriptionPurchasesAcknowledgeRequest
1886
1785
  include Google::Apis::Core::Hashable
1887
1786
 
@@ -1900,12 +1799,12 @@ module Google
1900
1799
  end
1901
1800
  end
1902
1801
 
1903
- #
1802
+ # Request for the purchases.subscriptions.defer API.
1904
1803
  class SubscriptionPurchasesDeferRequest
1905
1804
  include Google::Apis::Core::Hashable
1906
1805
 
1907
- # A SubscriptionDeferralInfo contains the data needed to defer a subscription
1908
- # purchase to a future expiry time.
1806
+ # A SubscriptionDeferralInfo contains the data needed to defer a
1807
+ # subscription purchase to a future expiry time.
1909
1808
  # Corresponds to the JSON property `deferralInfo`
1910
1809
  # @return [Google::Apis::AndroidpublisherV3::SubscriptionDeferralInfo]
1911
1810
  attr_accessor :deferral_info
@@ -1920,7 +1819,7 @@ module Google
1920
1819
  end
1921
1820
  end
1922
1821
 
1923
- #
1822
+ # Response for the purchases.subscriptions.defer API.
1924
1823
  class SubscriptionPurchasesDeferResponse
1925
1824
  include Google::Apis::Core::Hashable
1926
1825
 
@@ -1939,30 +1838,11 @@ module Google
1939
1838
  end
1940
1839
  end
1941
1840
 
1942
- #
1943
- class SystemApkVariantsCreateRequest
1841
+ # Response to list previously created system APK variants.
1842
+ class SystemApksListResponse
1944
1843
  include Google::Apis::Core::Hashable
1945
1844
 
1946
- #
1947
- # Corresponds to the JSON property `deviceSpec`
1948
- # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
1949
- attr_accessor :device_spec
1950
-
1951
- def initialize(**args)
1952
- update!(**args)
1953
- end
1954
-
1955
- # Update properties of this object
1956
- def update!(**args)
1957
- @device_spec = args[:device_spec] if args.key?(:device_spec)
1958
- end
1959
- end
1960
-
1961
- #
1962
- class SystemApkVariantsListResponse
1963
- include Google::Apis::Core::Hashable
1964
-
1965
- #
1845
+ # All system APK variants created.
1966
1846
  # Corresponds to the JSON property `variants`
1967
1847
  # @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
1968
1848
  attr_accessor :variants
@@ -1977,27 +1857,11 @@ module Google
1977
1857
  end
1978
1858
  end
1979
1859
 
1980
- #
1860
+ # The testers of an app. The resource for TestersService.
1981
1861
  class Testers
1982
1862
  include Google::Apis::Core::Hashable
1983
1863
 
1984
- #
1985
- # Corresponds to the JSON property `autoEnrolledAndroidGroups`
1986
- # @return [Array<String>]
1987
- attr_accessor :auto_enrolled_android_groups
1988
-
1989
- #
1990
- # Corresponds to the JSON property `autoEnrolledGoogleGroups`
1991
- # @return [Array<String>]
1992
- attr_accessor :auto_enrolled_google_groups
1993
-
1994
- #
1995
- # Corresponds to the JSON property `excludedGoogleGroups`
1996
- # @return [Array<String>]
1997
- attr_accessor :excluded_google_groups
1998
-
1999
- # A list of all Google Groups, as email addresses, that define testers for this
2000
- # track.
1864
+ # All testing Google Groups, as email addresses.
2001
1865
  # Corresponds to the JSON property `googleGroups`
2002
1866
  # @return [Array<String>]
2003
1867
  attr_accessor :google_groups
@@ -2008,23 +1872,24 @@ module Google
2008
1872
 
2009
1873
  # Update properties of this object
2010
1874
  def update!(**args)
2011
- @auto_enrolled_android_groups = args[:auto_enrolled_android_groups] if args.key?(:auto_enrolled_android_groups)
2012
- @auto_enrolled_google_groups = args[:auto_enrolled_google_groups] if args.key?(:auto_enrolled_google_groups)
2013
- @excluded_google_groups = args[:excluded_google_groups] if args.key?(:excluded_google_groups)
2014
1875
  @google_groups = args[:google_groups] if args.key?(:google_groups)
2015
1876
  end
2016
1877
  end
2017
1878
 
2018
- #
1879
+ # A Timestamp represents a point in time independent of any time zone or local
1880
+ # calendar, encoded as a count of seconds and fractions of seconds at
1881
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
1882
+ # January 1, 1970.
2019
1883
  class Timestamp
2020
1884
  include Google::Apis::Core::Hashable
2021
1885
 
2022
- #
1886
+ # Non-negative fractions of a second at nanosecond resolution.
1887
+ # Must be from 0 to 999,999,999 inclusive.
2023
1888
  # Corresponds to the JSON property `nanos`
2024
1889
  # @return [Fixnum]
2025
1890
  attr_accessor :nanos
2026
1891
 
2027
- #
1892
+ # Represents seconds of UTC time since Unix epoch.
2028
1893
  # Corresponds to the JSON property `seconds`
2029
1894
  # @return [Fixnum]
2030
1895
  attr_accessor :seconds
@@ -2040,11 +1905,20 @@ module Google
2040
1905
  end
2041
1906
  end
2042
1907
 
2043
- #
1908
+ # Pagination information returned by a List operation when token pagination
1909
+ # is enabled.
1910
+ # List operations that supports paging return only one "page" of results. This
1911
+ # protocol buffer message describes the page that has been returned.
1912
+ # When using token pagination, clients should use the next/previous token
1913
+ # to get another page of the result. The presence or absence of next/previous
1914
+ # token indicates whether a next/previous page is available and provides a
1915
+ # mean of accessing this page. ListRequest.page_token should be set to either
1916
+ # next_page_token or previous_page_token to access another page.
2044
1917
  class TokenPagination
2045
1918
  include Google::Apis::Core::Hashable
2046
1919
 
2047
- #
1920
+ # Tokens to pass to the standard list field 'page_token'. Whenever available,
1921
+ # tokens are preferred over manipulating start_index.
2048
1922
  # Corresponds to the JSON property `nextPageToken`
2049
1923
  # @return [String]
2050
1924
  attr_accessor :next_page_token
@@ -2065,17 +1939,17 @@ module Google
2065
1939
  end
2066
1940
  end
2067
1941
 
2068
- #
1942
+ # A track configuration. The resource for TracksService.
2069
1943
  class Track
2070
1944
  include Google::Apis::Core::Hashable
2071
1945
 
2072
- # A list of all active releases in this track during a read request. On an
2073
- # update request, it represents desired changes.
1946
+ # In a read request, represents all active releases in the track.
1947
+ # In an update request, represents desired changes.
2074
1948
  # Corresponds to the JSON property `releases`
2075
1949
  # @return [Array<Google::Apis::AndroidpublisherV3::TrackRelease>]
2076
1950
  attr_accessor :releases
2077
1951
 
2078
- # Identifier for this track.
1952
+ # Identifier of the track.
2079
1953
  # Corresponds to the JSON property `track`
2080
1954
  # @return [String]
2081
1955
  attr_accessor :track
@@ -2091,72 +1965,49 @@ module Google
2091
1965
  end
2092
1966
  end
2093
1967
 
2094
- #
1968
+ # A release within a track.
2095
1969
  class TrackRelease
2096
1970
  include Google::Apis::Core::Hashable
2097
1971
 
2098
- #
2099
- # Corresponds to the JSON property `controls`
2100
- # @return [Array<Google::Apis::AndroidpublisherV3::Control>]
2101
- attr_accessor :controls
2102
-
2103
- #
1972
+ # Country targeting specification.
2104
1973
  # Corresponds to the JSON property `countryTargeting`
2105
1974
  # @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
2106
1975
  attr_accessor :country_targeting
2107
1976
 
2108
- # In-app update priority of the release. All newly added APKs in the release
2109
- # will be considered at this priority. in_app_update_priority can take values
2110
- # between [0, 5]. 5 is the highest priority. Default priority is 0.
2111
- # in_app_update_priority can not be updated once the release is rolled out. See
2112
- # https://developer.android.com/guide/playcore/in-app-updates.
1977
+ # In-app update priority of the release. All newly added APKs in the
1978
+ # release will be considered at this priority. Can take values in the range
1979
+ # [0, 5], with 5 the highest priority. Defaults to 0.
1980
+ # in_app_update_priority can not be updated once the release is rolled out.
1981
+ # See https://developer.android.com/guide/playcore/in-app-updates.
2113
1982
  # Corresponds to the JSON property `inAppUpdatePriority`
2114
1983
  # @return [Fixnum]
2115
1984
  attr_accessor :in_app_update_priority
2116
1985
 
2117
- # The release name, used to identify this release in the Play Console UI. Not
2118
- # required to be unique. This is optional, if not set it will be generated from
2119
- # the version_name in the APKs.
1986
+ # The release name. Not required to be unique. If not set, the name is
1987
+ # generated from the APK's version_name. If the release contains multiple
1988
+ # APKs, the name is generated from the date.
2120
1989
  # Corresponds to the JSON property `name`
2121
1990
  # @return [String]
2122
1991
  attr_accessor :name
2123
1992
 
2124
- #
2125
- # Corresponds to the JSON property `pinnedVersions`
2126
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePin>]
2127
- attr_accessor :pinned_versions
2128
-
2129
- # The description of what is new in the app in this release.
1993
+ # A description of what is new in this release.
2130
1994
  # Corresponds to the JSON property `releaseNotes`
2131
1995
  # @return [Array<Google::Apis::AndroidpublisherV3::LocalizedText>]
2132
1996
  attr_accessor :release_notes
2133
1997
 
2134
- #
2135
- # Corresponds to the JSON property `rollbackEnabled`
2136
- # @return [Boolean]
2137
- attr_accessor :rollback_enabled
2138
- alias_method :rollback_enabled?, :rollback_enabled
2139
-
2140
- #
2141
- # Corresponds to the JSON property `sampling`
2142
- # @return [Google::Apis::AndroidpublisherV3::Sampling]
2143
- attr_accessor :sampling
2144
-
2145
- # The desired status of this release.
1998
+ # The status of the release.
2146
1999
  # Corresponds to the JSON property `status`
2147
2000
  # @return [String]
2148
2001
  attr_accessor :status
2149
2002
 
2150
- # Fraction of users who are eligible to receive the release. 0 < fraction < 1.
2151
- # To be set, release status must be "inProgress" or "halted".
2003
+ # Fraction of users who are eligible for a staged release. 0 < fraction < 1.
2004
+ # Can only be set when status is "inProgress" or "halted".
2152
2005
  # Corresponds to the JSON property `userFraction`
2153
2006
  # @return [Float]
2154
2007
  attr_accessor :user_fraction
2155
2008
 
2156
- # A list of all version codes of APKs that will be exposed to the users of this
2157
- # track when this release is rolled out. Note that this list should contain all
2158
- # versions you wish to be active, including those you wish to retain from
2159
- # previous releases.
2009
+ # Version codes of all APKs in the release. Must include version codes to
2010
+ # retain from previous releases.
2160
2011
  # Corresponds to the JSON property `versionCodes`
2161
2012
  # @return [Array<Fixnum>]
2162
2013
  attr_accessor :version_codes
@@ -2167,124 +2018,26 @@ module Google
2167
2018
 
2168
2019
  # Update properties of this object
2169
2020
  def update!(**args)
2170
- @controls = args[:controls] if args.key?(:controls)
2171
2021
  @country_targeting = args[:country_targeting] if args.key?(:country_targeting)
2172
2022
  @in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
2173
2023
  @name = args[:name] if args.key?(:name)
2174
- @pinned_versions = args[:pinned_versions] if args.key?(:pinned_versions)
2175
2024
  @release_notes = args[:release_notes] if args.key?(:release_notes)
2176
- @rollback_enabled = args[:rollback_enabled] if args.key?(:rollback_enabled)
2177
- @sampling = args[:sampling] if args.key?(:sampling)
2178
2025
  @status = args[:status] if args.key?(:status)
2179
2026
  @user_fraction = args[:user_fraction] if args.key?(:user_fraction)
2180
2027
  @version_codes = args[:version_codes] if args.key?(:version_codes)
2181
2028
  end
2182
2029
  end
2183
2030
 
2184
- #
2185
- class TrackReleasePin
2186
- include Google::Apis::Core::Hashable
2187
-
2188
- #
2189
- # Corresponds to the JSON property `targetings`
2190
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargeting>]
2191
- attr_accessor :targetings
2192
-
2193
- #
2194
- # Corresponds to the JSON property `versionCodes`
2195
- # @return [Array<Fixnum>]
2196
- attr_accessor :version_codes
2197
-
2198
- def initialize(**args)
2199
- update!(**args)
2200
- end
2201
-
2202
- # Update properties of this object
2203
- def update!(**args)
2204
- @targetings = args[:targetings] if args.key?(:targetings)
2205
- @version_codes = args[:version_codes] if args.key?(:version_codes)
2206
- end
2207
- end
2208
-
2209
- #
2210
- class TrackReleasePinPinTargeting
2211
- include Google::Apis::Core::Hashable
2212
-
2213
- #
2214
- # Corresponds to the JSON property `countryCodes`
2215
- # @return [Array<String>]
2216
- attr_accessor :country_codes
2217
-
2218
- #
2219
- # Corresponds to the JSON property `devices`
2220
- # @return [Array<Google::Apis::AndroidpublisherV3::TrackReleasePinPinTargetingDevicePin>]
2221
- attr_accessor :devices
2222
-
2223
- #
2224
- # Corresponds to the JSON property `phoneskyVersions`
2225
- # @return [Array<Fixnum>]
2226
- attr_accessor :phonesky_versions
2227
-
2228
- #
2229
- # Corresponds to the JSON property `sdkVersions`
2230
- # @return [Array<Fixnum>]
2231
- attr_accessor :sdk_versions
2232
-
2233
- def initialize(**args)
2234
- update!(**args)
2235
- end
2236
-
2237
- # Update properties of this object
2238
- def update!(**args)
2239
- @country_codes = args[:country_codes] if args.key?(:country_codes)
2240
- @devices = args[:devices] if args.key?(:devices)
2241
- @phonesky_versions = args[:phonesky_versions] if args.key?(:phonesky_versions)
2242
- @sdk_versions = args[:sdk_versions] if args.key?(:sdk_versions)
2243
- end
2244
- end
2245
-
2246
- #
2247
- class TrackReleasePinPinTargetingDevicePin
2248
- include Google::Apis::Core::Hashable
2249
-
2250
- #
2251
- # Corresponds to the JSON property `brand`
2252
- # @return [String]
2253
- attr_accessor :brand
2254
-
2255
- #
2256
- # Corresponds to the JSON property `device`
2257
- # @return [String]
2258
- attr_accessor :device
2259
-
2260
- #
2261
- # Corresponds to the JSON property `product`
2262
- # @return [String]
2263
- attr_accessor :product
2264
-
2265
- def initialize(**args)
2266
- update!(**args)
2267
- end
2268
-
2269
- # Update properties of this object
2270
- def update!(**args)
2271
- @brand = args[:brand] if args.key?(:brand)
2272
- @device = args[:device] if args.key?(:device)
2273
- @product = args[:product] if args.key?(:product)
2274
- end
2275
- end
2276
-
2277
- #
2031
+ # Response listing all tracks.
2278
2032
  class TracksListResponse
2279
2033
  include Google::Apis::Core::Hashable
2280
2034
 
2281
- # Identifies what kind of resource this is. Value: the fixed string "
2282
- # androidpublisher#tracksListResponse".
2035
+ # The kind of this response ("androidpublisher#tracksListResponse").
2283
2036
  # Corresponds to the JSON property `kind`
2284
2037
  # @return [String]
2285
2038
  attr_accessor :kind
2286
2039
 
2287
- #
2040
+ # All tracks.
2288
2041
  # Corresponds to the JSON property `tracks`
2289
2042
  # @return [Array<Google::Apis::AndroidpublisherV3::Track>]
2290
2043
  attr_accessor :tracks
@@ -2300,24 +2053,24 @@ module Google
2300
2053
  end
2301
2054
  end
2302
2055
 
2303
- #
2056
+ # User entry from conversation between user and developer.
2304
2057
  class UserComment
2305
2058
  include Google::Apis::Core::Hashable
2306
2059
 
2307
- # Integer Android SDK version of the user's device at the time the review was
2308
- # written, e.g. 23 is Marshmallow. May be absent.
2060
+ # Integer Android SDK version of the user's device at the time the
2061
+ # review was written, e.g. 23 is Marshmallow. May be absent.
2309
2062
  # Corresponds to the JSON property `androidOsVersion`
2310
2063
  # @return [Fixnum]
2311
2064
  attr_accessor :android_os_version
2312
2065
 
2313
- # Integer version code of the app as installed at the time the review was
2314
- # written. May be absent.
2066
+ # Integer version code of the app as installed at the time the
2067
+ # review was written. May be absent.
2315
2068
  # Corresponds to the JSON property `appVersionCode`
2316
2069
  # @return [Fixnum]
2317
2070
  attr_accessor :app_version_code
2318
2071
 
2319
- # String version name of the app as installed at the time the review was written.
2320
- # May be absent.
2072
+ # String version name of the app as installed at the time the
2073
+ # review was written. May be absent.
2321
2074
  # Corresponds to the JSON property `appVersionName`
2322
2075
  # @return [String]
2323
2076
  attr_accessor :app_version_name
@@ -2327,24 +2080,28 @@ module Google
2327
2080
  # @return [String]
2328
2081
  attr_accessor :device
2329
2082
 
2330
- # Some information about the characteristics of the user's device
2083
+ # Characteristics of the user's device.
2331
2084
  # Corresponds to the JSON property `deviceMetadata`
2332
2085
  # @return [Google::Apis::AndroidpublisherV3::DeviceMetadata]
2333
2086
  attr_accessor :device_metadata
2334
2087
 
2335
- # The last time at which this comment was updated.
2088
+ # A Timestamp represents a point in time independent of any time zone or local
2089
+ # calendar, encoded as a count of seconds and fractions of seconds at
2090
+ # nanosecond resolution. The count is relative to an epoch at UTC midnight on
2091
+ # January 1, 1970.
2336
2092
  # Corresponds to the JSON property `lastModified`
2337
2093
  # @return [Google::Apis::AndroidpublisherV3::Timestamp]
2338
2094
  attr_accessor :last_modified
2339
2095
 
2340
- # Untranslated text of the review, in the case where the review has been
2341
- # translated. If the review has not been translated this is left blank.
2096
+ # Untranslated text of the review, where the review was translated.
2097
+ # If the review was not translated this is left blank.
2342
2098
  # Corresponds to the JSON property `originalText`
2343
2099
  # @return [String]
2344
2100
  attr_accessor :original_text
2345
2101
 
2346
- # Language code for the reviewer. This is taken from the device settings so is
2347
- # not guaranteed to match the language the review is written in. May be absent.
2102
+ # Language code for the reviewer. This is taken from the device
2103
+ # settings so is not guaranteed to match the language the review
2104
+ # is written in. May be absent.
2348
2105
  # Corresponds to the JSON property `reviewerLanguage`
2349
2106
  # @return [String]
2350
2107
  attr_accessor :reviewer_language
@@ -2354,19 +2111,20 @@ module Google
2354
2111
  # @return [Fixnum]
2355
2112
  attr_accessor :star_rating
2356
2113
 
2357
- # The content of the comment, i.e. review body. In some cases users have been
2358
- # able to write a review with separate title and body; in those cases the title
2359
- # and body are concatenated and separated by a tab character.
2114
+ # The content of the comment, i.e. review body. In some cases
2115
+ # users have been able to write a review with separate title and
2116
+ # body; in those cases the title and body are concatenated and
2117
+ # separated by a tab character.
2360
2118
  # Corresponds to the JSON property `text`
2361
2119
  # @return [String]
2362
2120
  attr_accessor :text
2363
2121
 
2364
- # Number of users who have given this review a thumbs down
2122
+ # Number of users who have given this review a thumbs down.
2365
2123
  # Corresponds to the JSON property `thumbsDownCount`
2366
2124
  # @return [Fixnum]
2367
2125
  attr_accessor :thumbs_down_count
2368
2126
 
2369
- # Number of users who have given this review a thumbs up
2127
+ # Number of users who have given this review a thumbs up.
2370
2128
  # Corresponds to the JSON property `thumbsUpCount`
2371
2129
  # @return [Fixnum]
2372
2130
  attr_accessor :thumbs_up_count
@@ -2392,16 +2150,43 @@ module Google
2392
2150
  end
2393
2151
  end
2394
2152
 
2395
- # Represents the variant of a generated system APK from an uploaded App Bundle.
2153
+ # A permission used by this APK.
2154
+ class UsesPermission
2155
+ include Google::Apis::Core::Hashable
2156
+
2157
+ # Optionally, the maximum SDK version for which the permission is
2158
+ # required.
2159
+ # Corresponds to the JSON property `maxSdkVersion`
2160
+ # @return [Fixnum]
2161
+ attr_accessor :max_sdk_version
2162
+
2163
+ # The name of the permission requested.
2164
+ # Corresponds to the JSON property `name`
2165
+ # @return [String]
2166
+ attr_accessor :name
2167
+
2168
+ def initialize(**args)
2169
+ update!(**args)
2170
+ end
2171
+
2172
+ # Update properties of this object
2173
+ def update!(**args)
2174
+ @max_sdk_version = args[:max_sdk_version] if args.key?(:max_sdk_version)
2175
+ @name = args[:name] if args.key?(:name)
2176
+ end
2177
+ end
2178
+
2179
+ # APK that is suitable for inclusion in a system image. The resource of
2180
+ # SystemApksService.
2396
2181
  class Variant
2397
2182
  include Google::Apis::Core::Hashable
2398
2183
 
2399
- #
2184
+ # The device spec used to generate a system APK.
2400
2185
  # Corresponds to the JSON property `deviceSpec`
2401
2186
  # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
2402
2187
  attr_accessor :device_spec
2403
2188
 
2404
- #
2189
+ # Output only. The ID of a previously created system APK variant.
2405
2190
  # Corresponds to the JSON property `variantId`
2406
2191
  # @return [Fixnum]
2407
2192
  attr_accessor :variant_id
@@ -2417,12 +2202,13 @@ module Google
2417
2202
  end
2418
2203
  end
2419
2204
 
2420
- # A VoidedPurchase resource indicates a purchase that was either canceled/
2421
- # refunded/charged-back.
2205
+ # A VoidedPurchase resource indicates a purchase that was either
2206
+ # canceled/refunded/charged-back.
2422
2207
  class VoidedPurchase
2423
2208
  include Google::Apis::Core::Hashable
2424
2209
 
2425
- # This kind represents a voided purchase object in the androidpublisher service.
2210
+ # This kind represents a voided purchase object in the androidpublisher
2211
+ # service.
2426
2212
  # Corresponds to the JSON property `kind`
2427
2213
  # @return [String]
2428
2214
  attr_accessor :kind
@@ -2433,42 +2219,42 @@ module Google
2433
2219
  # @return [String]
2434
2220
  attr_accessor :order_id
2435
2221
 
2436
- # The time at which the purchase was made, in milliseconds since the epoch (Jan
2437
- # 1, 1970).
2222
+ # The time at which the purchase was made, in milliseconds since the
2223
+ # epoch (Jan 1, 1970).
2438
2224
  # Corresponds to the JSON property `purchaseTimeMillis`
2439
2225
  # @return [Fixnum]
2440
2226
  attr_accessor :purchase_time_millis
2441
2227
 
2442
- # The token which uniquely identifies a one-time purchase or subscription. To
2443
- # uniquely identify subscription renewals use order_id (available starting from
2444
- # version 3 of the API).
2228
+ # The token which uniquely identifies a one-time purchase or subscription.
2229
+ # To uniquely identify subscription renewals use order_id (available
2230
+ # starting from version 3 of the API).
2445
2231
  # Corresponds to the JSON property `purchaseToken`
2446
2232
  # @return [String]
2447
2233
  attr_accessor :purchase_token
2448
2234
 
2449
2235
  # The reason why the purchase was voided, possible values are:
2450
- # - Other
2451
- # - Remorse
2452
- # - Not_received
2453
- # - Defective
2454
- # - Accidental_purchase
2455
- # - Fraud
2456
- # - Friendly_fraud
2457
- # - Chargeback
2236
+ # 0. Other
2237
+ # 1. Remorse
2238
+ # 2. Not_received
2239
+ # 3. Defective
2240
+ # 4. Accidental_purchase
2241
+ # 5. Fraud
2242
+ # 6. Friendly_fraud
2243
+ # 7. Chargeback
2458
2244
  # Corresponds to the JSON property `voidedReason`
2459
2245
  # @return [Fixnum]
2460
2246
  attr_accessor :voided_reason
2461
2247
 
2462
2248
  # The initiator of voided purchase, possible values are:
2463
- # - User
2464
- # - Developer
2465
- # - Google
2249
+ # 0. User
2250
+ # 1. Developer
2251
+ # 2. Google
2466
2252
  # Corresponds to the JSON property `voidedSource`
2467
2253
  # @return [Fixnum]
2468
2254
  attr_accessor :voided_source
2469
2255
 
2470
- # The time at which the purchase was canceled/refunded/charged-back, in
2471
- # milliseconds since the epoch (Jan 1, 1970).
2256
+ # The time at which the purchase was canceled/refunded/charged-back,
2257
+ # in milliseconds since the epoch (Jan 1, 1970).
2472
2258
  # Corresponds to the JSON property `voidedTimeMillis`
2473
2259
  # @return [Fixnum]
2474
2260
  attr_accessor :voided_time_millis
@@ -2489,16 +2275,26 @@ module Google
2489
2275
  end
2490
2276
  end
2491
2277
 
2492
- #
2278
+ # Response for the voidedpurchases.list API.
2493
2279
  class VoidedPurchasesListResponse
2494
2280
  include Google::Apis::Core::Hashable
2495
2281
 
2496
- #
2282
+ # Information about the current page.
2283
+ # List operations that supports paging return only one "page" of results. This
2284
+ # protocol buffer message describes the page that has been returned.
2497
2285
  # Corresponds to the JSON property `pageInfo`
2498
2286
  # @return [Google::Apis::AndroidpublisherV3::PageInfo]
2499
2287
  attr_accessor :page_info
2500
2288
 
2501
- #
2289
+ # Pagination information returned by a List operation when token pagination
2290
+ # is enabled.
2291
+ # List operations that supports paging return only one "page" of results. This
2292
+ # protocol buffer message describes the page that has been returned.
2293
+ # When using token pagination, clients should use the next/previous token
2294
+ # to get another page of the result. The presence or absence of next/previous
2295
+ # token indicates whether a next/previous page is available and provides a
2296
+ # mean of accessing this page. ListRequest.page_token should be set to either
2297
+ # next_page_token or previous_page_token to access another page.
2502
2298
  # Corresponds to the JSON property `tokenPagination`
2503
2299
  # @return [Google::Apis::AndroidpublisherV3::TokenPagination]
2504
2300
  attr_accessor :token_pagination