google-api-client 0.39.3 → 0.40.2

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