google-api-client 0.36.4 → 0.37.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191214'
29
+ REVISION = '20200205'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -1483,6 +1483,11 @@ module Google
1483
1483
  class KioskCustomization
1484
1484
  include Google::Apis::Core::Hashable
1485
1485
 
1486
+ # Specifies whether the Settings app is allowed in kiosk mode.
1487
+ # Corresponds to the JSON property `deviceSettings`
1488
+ # @return [String]
1489
+ attr_accessor :device_settings
1490
+
1486
1491
  # Sets the behavior of a device in kiosk mode when a user presses and holds (
1487
1492
  # long-presses) the Power button.
1488
1493
  # Corresponds to the JSON property `powerButtonActions`
@@ -1513,6 +1518,7 @@ module Google
1513
1518
 
1514
1519
  # Update properties of this object
1515
1520
  def update!(**args)
1521
+ @device_settings = args[:device_settings] if args.key?(:device_settings)
1516
1522
  @power_button_actions = args[:power_button_actions] if args.key?(:power_button_actions)
1517
1523
  @status_bar = args[:status_bar] if args.key?(:status_bar)
1518
1524
  @system_error_warnings = args[:system_error_warnings] if args.key?(:system_error_warnings)
@@ -2406,8 +2412,8 @@ module Google
2406
2412
 
2407
2413
  # Whether the kiosk custom launcher is enabled. This replaces the home screen
2408
2414
  # with a launcher that locks down the device to the apps installed via the
2409
- # applications setting. Apps appear on a single page in alphabetical order. The
2410
- # status bar is disabled when this is set.
2415
+ # applications setting. Apps appear on a single page in alphabetical order. Use
2416
+ # kioskCustomization to further configure the kiosk device behavior.
2411
2417
  # Corresponds to the JSON property `kioskCustomLauncherEnabled`
2412
2418
  # @return [Boolean]
2413
2419
  attr_accessor :kiosk_custom_launcher_enabled
@@ -752,6 +752,7 @@ module Google
752
752
  class KioskCustomization
753
753
  # @private
754
754
  class Representation < Google::Apis::Core::JsonRepresentation
755
+ property :device_settings, as: 'deviceSettings'
755
756
  property :power_button_actions, as: 'powerButtonActions'
756
757
  property :status_bar, as: 'statusBar'
757
758
  property :system_error_warnings, as: 'systemErrorWarnings'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190910'
28
+ REVISION = '20200115'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -804,12 +804,6 @@ module Google
804
804
  # @return [String]
805
805
  attr_accessor :purchase_type
806
806
 
807
- # Definition of a season for a seasonal subscription. Can be defined only for
808
- # yearly subscriptions.
809
- # Corresponds to the JSON property `season`
810
- # @return [Google::Apis::AndroidpublisherV2::Season]
811
- attr_accessor :season
812
-
813
807
  # The stock-keeping-unit (SKU) of the product, unique within an app.
814
808
  # Corresponds to the JSON property `sku`
815
809
  # @return [String]
@@ -847,7 +841,6 @@ module Google
847
841
  @package_name = args[:package_name] if args.key?(:package_name)
848
842
  @prices = args[:prices] if args.key?(:prices)
849
843
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
850
- @season = args[:season] if args.key?(:season)
851
844
  @sku = args[:sku] if args.key?(:sku)
852
845
  @status = args[:status] if args.key?(:status)
853
846
  @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
@@ -988,32 +981,6 @@ module Google
988
981
  end
989
982
  end
990
983
 
991
- #
992
- class MonthDay
993
- include Google::Apis::Core::Hashable
994
-
995
- # Day of a month, value in [1, 31] range. Valid range depends on the specified
996
- # month.
997
- # Corresponds to the JSON property `day`
998
- # @return [Fixnum]
999
- attr_accessor :day
1000
-
1001
- # Month of a year. e.g. 1 = JAN, 2 = FEB etc.
1002
- # Corresponds to the JSON property `month`
1003
- # @return [Fixnum]
1004
- attr_accessor :month
1005
-
1006
- def initialize(**args)
1007
- update!(**args)
1008
- end
1009
-
1010
- # Update properties of this object
1011
- def update!(**args)
1012
- @day = args[:day] if args.key?(:day)
1013
- @month = args[:month] if args.key?(:month)
1014
- end
1015
- end
1016
-
1017
984
  #
1018
985
  class PageInfo
1019
986
  include Google::Apis::Core::Hashable
@@ -1138,34 +1105,6 @@ module Google
1138
1105
  end
1139
1106
  end
1140
1107
 
1141
- #
1142
- class Prorate
1143
- include Google::Apis::Core::Hashable
1144
-
1145
- # Default price cannot be zero and must be less than the full subscription price.
1146
- # Default price is always in the developer's Checkout merchant currency.
1147
- # Targeted countries have their prices set automatically based on the
1148
- # default_price.
1149
- # Corresponds to the JSON property `defaultPrice`
1150
- # @return [Google::Apis::AndroidpublisherV2::Price]
1151
- attr_accessor :default_price
1152
-
1153
- # Defines the first day on which the price takes effect.
1154
- # Corresponds to the JSON property `start`
1155
- # @return [Google::Apis::AndroidpublisherV2::MonthDay]
1156
- attr_accessor :start
1157
-
1158
- def initialize(**args)
1159
- update!(**args)
1160
- end
1161
-
1162
- # Update properties of this object
1163
- def update!(**args)
1164
- @default_price = args[:default_price] if args.key?(:default_price)
1165
- @start = args[:start] if args.key?(:start)
1166
- end
1167
- end
1168
-
1169
1108
  #
1170
1109
  class Review
1171
1110
  include Google::Apis::Core::Hashable
@@ -1292,39 +1231,6 @@ module Google
1292
1231
  end
1293
1232
  end
1294
1233
 
1295
- #
1296
- class Season
1297
- include Google::Apis::Core::Hashable
1298
-
1299
- # Inclusive end date of the recurrence period.
1300
- # Corresponds to the JSON property `end`
1301
- # @return [Google::Apis::AndroidpublisherV2::MonthDay]
1302
- attr_accessor :end
1303
-
1304
- # Optionally present list of prorations for the season. Each proration is a one-
1305
- # off discounted entry into a subscription. Each proration contains the first
1306
- # date on which the discount is available and the new pricing information.
1307
- # Corresponds to the JSON property `prorations`
1308
- # @return [Array<Google::Apis::AndroidpublisherV2::Prorate>]
1309
- attr_accessor :prorations
1310
-
1311
- # Inclusive start date of the recurrence period.
1312
- # Corresponds to the JSON property `start`
1313
- # @return [Google::Apis::AndroidpublisherV2::MonthDay]
1314
- attr_accessor :start
1315
-
1316
- def initialize(**args)
1317
- update!(**args)
1318
- end
1319
-
1320
- # Update properties of this object
1321
- def update!(**args)
1322
- @end = args[:end] if args.key?(:end)
1323
- @prorations = args[:prorations] if args.key?(:prorations)
1324
- @start = args[:start] if args.key?(:start)
1325
- end
1326
- end
1327
-
1328
1234
  # Information provided by the user when they complete the subscription
1329
1235
  # cancellation flow (cancellation reason survey).
1330
1236
  class SubscriptionCancelSurveyResult
@@ -1559,6 +1465,7 @@ module Google
1559
1465
  # purchase was not made using the standard in-app billing flow. Possible values
1560
1466
  # are:
1561
1467
  # - Test (i.e. purchased from a license testing account)
1468
+ # - Promo (i.e. purchased using a promo code)
1562
1469
  # Corresponds to the JSON property `purchaseType`
1563
1470
  # @return [Fixnum]
1564
1471
  attr_accessor :purchase_type
@@ -196,12 +196,6 @@ module Google
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class MonthDay
200
- class Representation < Google::Apis::Core::JsonRepresentation; end
201
-
202
- include Google::Apis::Core::JsonObjectSupport
203
- end
204
-
205
199
  class PageInfo
206
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
201
 
@@ -220,12 +214,6 @@ module Google
220
214
  include Google::Apis::Core::JsonObjectSupport
221
215
  end
222
216
 
223
- class Prorate
224
- class Representation < Google::Apis::Core::JsonRepresentation; end
225
-
226
- include Google::Apis::Core::JsonObjectSupport
227
- end
228
-
229
217
  class Review
230
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
219
 
@@ -256,12 +244,6 @@ module Google
256
244
  include Google::Apis::Core::JsonObjectSupport
257
245
  end
258
246
 
259
- class Season
260
- class Representation < Google::Apis::Core::JsonRepresentation; end
261
-
262
- include Google::Apis::Core::JsonObjectSupport
263
- end
264
-
265
247
  class SubscriptionCancelSurveyResult
266
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
249
 
@@ -585,8 +567,6 @@ module Google
585
567
  hash :prices, as: 'prices', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
586
568
 
587
569
  property :purchase_type, as: 'purchaseType'
588
- property :season, as: 'season', class: Google::Apis::AndroidpublisherV2::Season, decorator: Google::Apis::AndroidpublisherV2::Season::Representation
589
-
590
570
  property :sku, as: 'sku'
591
571
  property :status, as: 'status'
592
572
  property :subscription_period, as: 'subscriptionPeriod'
@@ -635,14 +615,6 @@ module Google
635
615
  end
636
616
  end
637
617
 
638
- class MonthDay
639
- # @private
640
- class Representation < Google::Apis::Core::JsonRepresentation
641
- property :day, as: 'day'
642
- property :month, as: 'month'
643
- end
644
- end
645
-
646
618
  class PageInfo
647
619
  # @private
648
620
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -673,16 +645,6 @@ module Google
673
645
  end
674
646
  end
675
647
 
676
- class Prorate
677
- # @private
678
- class Representation < Google::Apis::Core::JsonRepresentation
679
- property :default_price, as: 'defaultPrice', class: Google::Apis::AndroidpublisherV2::Price, decorator: Google::Apis::AndroidpublisherV2::Price::Representation
680
-
681
- property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
682
-
683
- end
684
- end
685
-
686
648
  class Review
687
649
  # @private
688
650
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -729,18 +691,6 @@ module Google
729
691
  end
730
692
  end
731
693
 
732
- class Season
733
- # @private
734
- class Representation < Google::Apis::Core::JsonRepresentation
735
- property :end, as: 'end', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
736
-
737
- collection :prorations, as: 'prorations', class: Google::Apis::AndroidpublisherV2::Prorate, decorator: Google::Apis::AndroidpublisherV2::Prorate::Representation
738
-
739
- property :start, as: 'start', class: Google::Apis::AndroidpublisherV2::MonthDay, decorator: Google::Apis::AndroidpublisherV2::MonthDay::Representation
740
-
741
- end
742
- end
743
-
744
694
  class SubscriptionCancelSurveyResult
745
695
  # @private
746
696
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20191202'
28
+ REVISION = '20200126'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -486,6 +486,37 @@ module Google
486
486
  end
487
487
  end
488
488
 
489
+ #
490
+ class DeviceSpec
491
+ include Google::Apis::Core::Hashable
492
+
493
+ #
494
+ # Corresponds to the JSON property `screenDensity`
495
+ # @return [Fixnum]
496
+ attr_accessor :screen_density
497
+
498
+ #
499
+ # Corresponds to the JSON property `supportedAbis`
500
+ # @return [Array<String>]
501
+ attr_accessor :supported_abis
502
+
503
+ #
504
+ # Corresponds to the JSON property `supportedLocales`
505
+ # @return [Array<String>]
506
+ attr_accessor :supported_locales
507
+
508
+ def initialize(**args)
509
+ update!(**args)
510
+ end
511
+
512
+ # Update properties of this object
513
+ def update!(**args)
514
+ @screen_density = args[:screen_density] if args.key?(:screen_density)
515
+ @supported_abis = args[:supported_abis] if args.key?(:supported_abis)
516
+ @supported_locales = args[:supported_locales] if args.key?(:supported_locales)
517
+ end
518
+ end
519
+
489
520
  #
490
521
  class ExpansionFile
491
522
  include Google::Apis::Core::Hashable
@@ -804,12 +835,6 @@ module Google
804
835
  # @return [String]
805
836
  attr_accessor :purchase_type
806
837
 
807
- # Definition of a season for a seasonal subscription. Can be defined only for
808
- # yearly subscriptions.
809
- # Corresponds to the JSON property `season`
810
- # @return [Google::Apis::AndroidpublisherV3::Season]
811
- attr_accessor :season
812
-
813
838
  # The stock-keeping-unit (SKU) of the product, unique within an app.
814
839
  # Corresponds to the JSON property `sku`
815
840
  # @return [String]
@@ -847,7 +872,6 @@ module Google
847
872
  @package_name = args[:package_name] if args.key?(:package_name)
848
873
  @prices = args[:prices] if args.key?(:prices)
849
874
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
850
- @season = args[:season] if args.key?(:season)
851
875
  @sku = args[:sku] if args.key?(:sku)
852
876
  @status = args[:status] if args.key?(:status)
853
877
  @subscription_period = args[:subscription_period] if args.key?(:subscription_period)
@@ -1117,32 +1141,6 @@ module Google
1117
1141
  end
1118
1142
  end
1119
1143
 
1120
- #
1121
- class MonthDay
1122
- include Google::Apis::Core::Hashable
1123
-
1124
- # Day of a month, value in [1, 31] range. Valid range depends on the specified
1125
- # month.
1126
- # Corresponds to the JSON property `day`
1127
- # @return [Fixnum]
1128
- attr_accessor :day
1129
-
1130
- # Month of a year. e.g. 1 = JAN, 2 = FEB etc.
1131
- # Corresponds to the JSON property `month`
1132
- # @return [Fixnum]
1133
- attr_accessor :month
1134
-
1135
- def initialize(**args)
1136
- update!(**args)
1137
- end
1138
-
1139
- # Update properties of this object
1140
- def update!(**args)
1141
- @day = args[:day] if args.key?(:day)
1142
- @month = args[:month] if args.key?(:month)
1143
- end
1144
- end
1145
-
1146
1144
  #
1147
1145
  class PageInfo
1148
1146
  include Google::Apis::Core::Hashable
@@ -1268,6 +1266,11 @@ module Google
1268
1266
  # @return [Fixnum]
1269
1267
  attr_accessor :purchase_type
1270
1268
 
1269
+ # The quantity associated with the purchase of the inapp product.
1270
+ # Corresponds to the JSON property `quantity`
1271
+ # @return [Fixnum]
1272
+ attr_accessor :quantity
1273
+
1271
1274
  def initialize(**args)
1272
1275
  update!(**args)
1273
1276
  end
@@ -1284,6 +1287,7 @@ module Google
1284
1287
  @purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
1285
1288
  @purchase_token = args[:purchase_token] if args.key?(:purchase_token)
1286
1289
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1290
+ @quantity = args[:quantity] if args.key?(:quantity)
1287
1291
  end
1288
1292
  end
1289
1293
 
@@ -1306,34 +1310,6 @@ module Google
1306
1310
  end
1307
1311
  end
1308
1312
 
1309
- #
1310
- class Prorate
1311
- include Google::Apis::Core::Hashable
1312
-
1313
- # Default price cannot be zero and must be less than the full subscription price.
1314
- # Default price is always in the developer's Checkout merchant currency.
1315
- # Targeted countries have their prices set automatically based on the
1316
- # default_price.
1317
- # Corresponds to the JSON property `defaultPrice`
1318
- # @return [Google::Apis::AndroidpublisherV3::Price]
1319
- attr_accessor :default_price
1320
-
1321
- # Defines the first day on which the price takes effect.
1322
- # Corresponds to the JSON property `start`
1323
- # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1324
- attr_accessor :start
1325
-
1326
- def initialize(**args)
1327
- update!(**args)
1328
- end
1329
-
1330
- # Update properties of this object
1331
- def update!(**args)
1332
- @default_price = args[:default_price] if args.key?(:default_price)
1333
- @start = args[:start] if args.key?(:start)
1334
- end
1335
- end
1336
-
1337
1313
  #
1338
1314
  class Review
1339
1315
  include Google::Apis::Core::Hashable
@@ -1491,39 +1467,6 @@ module Google
1491
1467
  end
1492
1468
  end
1493
1469
 
1494
- #
1495
- class Season
1496
- include Google::Apis::Core::Hashable
1497
-
1498
- # Inclusive end date of the recurrence period.
1499
- # Corresponds to the JSON property `end`
1500
- # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1501
- attr_accessor :end
1502
-
1503
- # Optionally present list of prorations for the season. Each proration is a one-
1504
- # off discounted entry into a subscription. Each proration contains the first
1505
- # date on which the discount is available and the new pricing information.
1506
- # Corresponds to the JSON property `prorations`
1507
- # @return [Array<Google::Apis::AndroidpublisherV3::Prorate>]
1508
- attr_accessor :prorations
1509
-
1510
- # Inclusive start date of the recurrence period.
1511
- # Corresponds to the JSON property `start`
1512
- # @return [Google::Apis::AndroidpublisherV3::MonthDay]
1513
- attr_accessor :start
1514
-
1515
- def initialize(**args)
1516
- update!(**args)
1517
- end
1518
-
1519
- # Update properties of this object
1520
- def update!(**args)
1521
- @end = args[:end] if args.key?(:end)
1522
- @prorations = args[:prorations] if args.key?(:prorations)
1523
- @start = args[:start] if args.key?(:start)
1524
- end
1525
- end
1526
-
1527
1470
  # Information provided by the user when they complete the subscription
1528
1471
  # cancellation flow (cancellation reason survey).
1529
1472
  class SubscriptionCancelSurveyResult
@@ -1687,6 +1630,12 @@ module Google
1687
1630
  # @return [Fixnum]
1688
1631
  attr_accessor :expiry_time_millis
1689
1632
 
1633
+ # User account identifier in the third-party service. Only present if account
1634
+ # linking happened as part of the subscription purchase flow.
1635
+ # Corresponds to the JSON property `externalAccountId`
1636
+ # @return [String]
1637
+ attr_accessor :external_account_id
1638
+
1690
1639
  # The family name of the user when the subscription was purchased. Only present
1691
1640
  # for purchases made with 'Subscribe with Google'.
1692
1641
  # Corresponds to the JSON property `familyName`
@@ -1773,10 +1722,26 @@ module Google
1773
1722
  # @return [String]
1774
1723
  attr_accessor :profile_name
1775
1724
 
1725
+ # The promotion code applied on this purchase. This field is only set if a
1726
+ # vanity code promotion is applied when the subscription was purchased.
1727
+ # Corresponds to the JSON property `promotionCode`
1728
+ # @return [String]
1729
+ attr_accessor :promotion_code
1730
+
1731
+ # The type of promotion applied on this purchase. This field is only set if a
1732
+ # promotion is applied when the subscription was purchased. Possible values are:
1733
+ #
1734
+ # - One time code
1735
+ # - Vanity code
1736
+ # Corresponds to the JSON property `promotionType`
1737
+ # @return [Fixnum]
1738
+ attr_accessor :promotion_type
1739
+
1776
1740
  # The type of purchase of the subscription. This field is only set if this
1777
1741
  # purchase was not made using the standard in-app billing flow. Possible values
1778
1742
  # are:
1779
1743
  # - Test (i.e. purchased from a license testing account)
1744
+ # - Promo (i.e. purchased using a promo code)
1780
1745
  # Corresponds to the JSON property `purchaseType`
1781
1746
  # @return [Fixnum]
1782
1747
  attr_accessor :purchase_type
@@ -1807,6 +1772,7 @@ module Google
1807
1772
  @developer_payload = args[:developer_payload] if args.key?(:developer_payload)
1808
1773
  @email_address = args[:email_address] if args.key?(:email_address)
1809
1774
  @expiry_time_millis = args[:expiry_time_millis] if args.key?(:expiry_time_millis)
1775
+ @external_account_id = args[:external_account_id] if args.key?(:external_account_id)
1810
1776
  @family_name = args[:family_name] if args.key?(:family_name)
1811
1777
  @given_name = args[:given_name] if args.key?(:given_name)
1812
1778
  @introductory_price_info = args[:introductory_price_info] if args.key?(:introductory_price_info)
@@ -1819,6 +1785,8 @@ module Google
1819
1785
  @price_currency_code = args[:price_currency_code] if args.key?(:price_currency_code)
1820
1786
  @profile_id = args[:profile_id] if args.key?(:profile_id)
1821
1787
  @profile_name = args[:profile_name] if args.key?(:profile_name)
1788
+ @promotion_code = args[:promotion_code] if args.key?(:promotion_code)
1789
+ @promotion_type = args[:promotion_type] if args.key?(:promotion_type)
1822
1790
  @purchase_type = args[:purchase_type] if args.key?(:purchase_type)
1823
1791
  @start_time_millis = args[:start_time_millis] if args.key?(:start_time_millis)
1824
1792
  @user_cancellation_time_millis = args[:user_cancellation_time_millis] if args.key?(:user_cancellation_time_millis)
@@ -1883,6 +1851,44 @@ module Google
1883
1851
  end
1884
1852
  end
1885
1853
 
1854
+ #
1855
+ class SystemApkVariantsCreateRequest
1856
+ include Google::Apis::Core::Hashable
1857
+
1858
+ #
1859
+ # Corresponds to the JSON property `deviceSpec`
1860
+ # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
1861
+ attr_accessor :device_spec
1862
+
1863
+ def initialize(**args)
1864
+ update!(**args)
1865
+ end
1866
+
1867
+ # Update properties of this object
1868
+ def update!(**args)
1869
+ @device_spec = args[:device_spec] if args.key?(:device_spec)
1870
+ end
1871
+ end
1872
+
1873
+ #
1874
+ class SystemApkVariantsListResponse
1875
+ include Google::Apis::Core::Hashable
1876
+
1877
+ #
1878
+ # Corresponds to the JSON property `variants`
1879
+ # @return [Array<Google::Apis::AndroidpublisherV3::Variant>]
1880
+ attr_accessor :variants
1881
+
1882
+ def initialize(**args)
1883
+ update!(**args)
1884
+ end
1885
+
1886
+ # Update properties of this object
1887
+ def update!(**args)
1888
+ @variants = args[:variants] if args.key?(:variants)
1889
+ end
1890
+ end
1891
+
1886
1892
  #
1887
1893
  class Testers
1888
1894
  include Google::Apis::Core::Hashable
@@ -1993,6 +1999,14 @@ module Google
1993
1999
  # @return [Google::Apis::AndroidpublisherV3::CountryTargeting]
1994
2000
  attr_accessor :country_targeting
1995
2001
 
2002
+ # In-app update priority of the release. All newly added APKs in the release
2003
+ # will be considered at this priority. in_app_update_priority can take values
2004
+ # between [0, 5]. 5 is the highest priority. Default priority is 0. See https://
2005
+ # developer.android.com/guide/playcore/in-app-updates.
2006
+ # Corresponds to the JSON property `inAppUpdatePriority`
2007
+ # @return [Fixnum]
2008
+ attr_accessor :in_app_update_priority
2009
+
1996
2010
  # The release name, used to identify this release in the Play Console UI. Not
1997
2011
  # required to be unique. This is optional, if not set it will be generated from
1998
2012
  # the version_name in the APKs.
@@ -2037,6 +2051,7 @@ module Google
2037
2051
  def update!(**args)
2038
2052
  @controls = args[:controls] if args.key?(:controls)
2039
2053
  @country_targeting = args[:country_targeting] if args.key?(:country_targeting)
2054
+ @in_app_update_priority = args[:in_app_update_priority] if args.key?(:in_app_update_priority)
2040
2055
  @name = args[:name] if args.key?(:name)
2041
2056
  @release_notes = args[:release_notes] if args.key?(:release_notes)
2042
2057
  @sampling = args[:sampling] if args.key?(:sampling)
@@ -2164,6 +2179,31 @@ module Google
2164
2179
  end
2165
2180
  end
2166
2181
 
2182
+ # Represents the variant of a generated system APK from an uploaded App Bundle.
2183
+ class Variant
2184
+ include Google::Apis::Core::Hashable
2185
+
2186
+ #
2187
+ # Corresponds to the JSON property `deviceSpec`
2188
+ # @return [Google::Apis::AndroidpublisherV3::DeviceSpec]
2189
+ attr_accessor :device_spec
2190
+
2191
+ #
2192
+ # Corresponds to the JSON property `variantId`
2193
+ # @return [Fixnum]
2194
+ attr_accessor :variant_id
2195
+
2196
+ def initialize(**args)
2197
+ update!(**args)
2198
+ end
2199
+
2200
+ # Update properties of this object
2201
+ def update!(**args)
2202
+ @device_spec = args[:device_spec] if args.key?(:device_spec)
2203
+ @variant_id = args[:variant_id] if args.key?(:variant_id)
2204
+ end
2205
+ end
2206
+
2167
2207
  # A VoidedPurchase resource indicates a purchase that was either canceled/
2168
2208
  # refunded/charged-back.
2169
2209
  class VoidedPurchase