google-api-client 0.28.7 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -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 = '20190205'
29
+ REVISION = '20190416'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -284,6 +284,11 @@ module Google
284
284
  # @return [String]
285
285
  attr_accessor :installer_package_name
286
286
 
287
+ # List of keyed app states reported by the app.
288
+ # Corresponds to the JSON property `keyedAppStates`
289
+ # @return [Array<Google::Apis::AndroidmanagementV1::KeyedAppState>]
290
+ attr_accessor :keyed_app_states
291
+
287
292
  # Package name of the app.
288
293
  # Corresponds to the JSON property `packageName`
289
294
  # @return [String]
@@ -330,6 +335,7 @@ module Google
330
335
  @display_name = args[:display_name] if args.key?(:display_name)
331
336
  @events = args[:events] if args.key?(:events)
332
337
  @installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
338
+ @keyed_app_states = args[:keyed_app_states] if args.key?(:keyed_app_states)
333
339
  @package_name = args[:package_name] if args.key?(:package_name)
334
340
  @package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
335
341
  @signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
@@ -339,6 +345,26 @@ module Google
339
345
  end
340
346
  end
341
347
 
348
+ # Settings controlling the behavior of application reports.
349
+ class ApplicationReportingSettings
350
+ include Google::Apis::Core::Hashable
351
+
352
+ # Whether removed apps are included in application reports.
353
+ # Corresponds to the JSON property `includeRemovedApps`
354
+ # @return [Boolean]
355
+ attr_accessor :include_removed_apps
356
+ alias_method :include_removed_apps?, :include_removed_apps
357
+
358
+ def initialize(**args)
359
+ update!(**args)
360
+ end
361
+
362
+ # Update properties of this object
363
+ def update!(**args)
364
+ @include_removed_apps = args[:include_removed_apps] if args.key?(:include_removed_apps)
365
+ end
366
+ end
367
+
342
368
  # A rule for automatically choosing a private key and certificate to
343
369
  # authenticate the device to a server.
344
370
  class ChoosePrivateKeyRule
@@ -1202,6 +1228,61 @@ module Google
1202
1228
  end
1203
1229
  end
1204
1230
 
1231
+ # Keyed app state reported by the app.
1232
+ class KeyedAppState
1233
+ include Google::Apis::Core::Hashable
1234
+
1235
+ # The creation time of the app state on the device.
1236
+ # Corresponds to the JSON property `createTime`
1237
+ # @return [String]
1238
+ attr_accessor :create_time
1239
+
1240
+ # Optionally, a machine-readable value to be read by the EMM. For example,
1241
+ # setting values that the admin can choose to query against in the EMM console (
1242
+ # e.g. “notify me if the battery_warning data < 10”).
1243
+ # Corresponds to the JSON property `data`
1244
+ # @return [String]
1245
+ attr_accessor :data
1246
+
1247
+ # The key for the app state. Acts as a point of reference for what the app is
1248
+ # providing state for. For example, when providing managed configuration
1249
+ # feedback, this key could be the managed configuration key.
1250
+ # Corresponds to the JSON property `key`
1251
+ # @return [String]
1252
+ attr_accessor :key
1253
+
1254
+ # The time the app state was most recently updated.
1255
+ # Corresponds to the JSON property `lastUpdateTime`
1256
+ # @return [String]
1257
+ attr_accessor :last_update_time
1258
+
1259
+ # Optionally, a free-form message string to explain the app state. If the state
1260
+ # was triggered by a particular value (e.g. a managed configuration value), it
1261
+ # should be included in the message.
1262
+ # Corresponds to the JSON property `message`
1263
+ # @return [String]
1264
+ attr_accessor :message
1265
+
1266
+ # The severity of the app state.
1267
+ # Corresponds to the JSON property `severity`
1268
+ # @return [String]
1269
+ attr_accessor :severity
1270
+
1271
+ def initialize(**args)
1272
+ update!(**args)
1273
+ end
1274
+
1275
+ # Update properties of this object
1276
+ def update!(**args)
1277
+ @create_time = args[:create_time] if args.key?(:create_time)
1278
+ @data = args[:data] if args.key?(:data)
1279
+ @key = args[:key] if args.key?(:key)
1280
+ @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
1281
+ @message = args[:message] if args.key?(:message)
1282
+ @severity = args[:severity] if args.key?(:severity)
1283
+ end
1284
+ end
1285
+
1205
1286
  # An action to launch an app.
1206
1287
  class LaunchAppAction
1207
1288
  include Google::Apis::Core::Hashable
@@ -1296,6 +1377,31 @@ module Google
1296
1377
  end
1297
1378
  end
1298
1379
 
1380
+ # Response to a request to list web apps for a given enterprise.
1381
+ class ListWebAppsResponse
1382
+ include Google::Apis::Core::Hashable
1383
+
1384
+ # If there are more results, a token to retrieve next page of results.
1385
+ # Corresponds to the JSON property `nextPageToken`
1386
+ # @return [String]
1387
+ attr_accessor :next_page_token
1388
+
1389
+ # The list of web apps.
1390
+ # Corresponds to the JSON property `webApps`
1391
+ # @return [Array<Google::Apis::AndroidmanagementV1::WebApp>]
1392
+ attr_accessor :web_apps
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1401
+ @web_apps = args[:web_apps] if args.key?(:web_apps)
1402
+ end
1403
+ end
1404
+
1299
1405
  # The managed configurations template for the app, saved from the managed
1300
1406
  # configurations iframe.
1301
1407
  class ManagedConfigurationTemplate
@@ -2745,6 +2851,11 @@ module Google
2745
2851
  class StatusReportingSettings
2746
2852
  include Google::Apis::Core::Hashable
2747
2853
 
2854
+ # Settings controlling the behavior of application reports.
2855
+ # Corresponds to the JSON property `applicationReportingSettings`
2856
+ # @return [Google::Apis::AndroidmanagementV1::ApplicationReportingSettings]
2857
+ attr_accessor :application_reporting_settings
2858
+
2748
2859
  # Whether app reports are enabled.
2749
2860
  # Corresponds to the JSON property `applicationReportsEnabled`
2750
2861
  # @return [Boolean]
@@ -2799,6 +2910,7 @@ module Google
2799
2910
 
2800
2911
  # Update properties of this object
2801
2912
  def update!(**args)
2913
+ @application_reporting_settings = args[:application_reporting_settings] if args.key?(:application_reporting_settings)
2802
2914
  @application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled)
2803
2915
  @device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
2804
2916
  @display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
@@ -2928,6 +3040,82 @@ module Google
2928
3040
  end
2929
3041
  end
2930
3042
 
3043
+ # A web app.
3044
+ class WebApp
3045
+ include Google::Apis::Core::Hashable
3046
+
3047
+ # The display mode of the web app.
3048
+ # Corresponds to the JSON property `displayMode`
3049
+ # @return [String]
3050
+ attr_accessor :display_mode
3051
+
3052
+ # A list of icons for the web app. Must have at least one element.
3053
+ # Corresponds to the JSON property `icons`
3054
+ # @return [Array<Google::Apis::AndroidmanagementV1::WebAppIcon>]
3055
+ attr_accessor :icons
3056
+
3057
+ # The name of the web app, which is generated by the server during creation in
3058
+ # the form enterprises/`enterpriseId`/webApps/`packageName`.
3059
+ # Corresponds to the JSON property `name`
3060
+ # @return [String]
3061
+ attr_accessor :name
3062
+
3063
+ # The start URL, i.e. the URL that should load when the user opens the
3064
+ # application.
3065
+ # Corresponds to the JSON property `startUrl`
3066
+ # @return [String]
3067
+ attr_accessor :start_url
3068
+
3069
+ # The title of the web app as displayed to the user (e.g., amongst a list of
3070
+ # other applications, or as a label for an icon).
3071
+ # Corresponds to the JSON property `title`
3072
+ # @return [String]
3073
+ attr_accessor :title
3074
+
3075
+ # The current version of the app.<p>Note that the version can automatically
3076
+ # increase during the lifetime of the web app, while Google does internal
3077
+ # housekeeping to keep the web app up-to-date.
3078
+ # Corresponds to the JSON property `versionCode`
3079
+ # @return [Fixnum]
3080
+ attr_accessor :version_code
3081
+
3082
+ def initialize(**args)
3083
+ update!(**args)
3084
+ end
3085
+
3086
+ # Update properties of this object
3087
+ def update!(**args)
3088
+ @display_mode = args[:display_mode] if args.key?(:display_mode)
3089
+ @icons = args[:icons] if args.key?(:icons)
3090
+ @name = args[:name] if args.key?(:name)
3091
+ @start_url = args[:start_url] if args.key?(:start_url)
3092
+ @title = args[:title] if args.key?(:title)
3093
+ @version_code = args[:version_code] if args.key?(:version_code)
3094
+ end
3095
+ end
3096
+
3097
+ # An icon for a web app. Supported formats are: png, jpg and webp.
3098
+ class WebAppIcon
3099
+ include Google::Apis::Core::Hashable
3100
+
3101
+ # The actual bytes of the image in a base64url encoded string (c.f. RFC4648,
3102
+ # section 5 "Base 64 Encoding with URL and Filename Safe Alphabet"). <ul> <li>
3103
+ # The image type can be png or jpg. <li>The image should ideally be square. <li>
3104
+ # The image should ideally have a size of 512x512. </ul>
3105
+ # Corresponds to the JSON property `imageData`
3106
+ # @return [String]
3107
+ attr_accessor :image_data
3108
+
3109
+ def initialize(**args)
3110
+ update!(**args)
3111
+ end
3112
+
3113
+ # Update properties of this object
3114
+ def update!(**args)
3115
+ @image_data = args[:image_data] if args.key?(:image_data)
3116
+ end
3117
+ end
3118
+
2931
3119
  # A web token used to access the managed Google Play iframe.
2932
3120
  class WebToken
2933
3121
  include Google::Apis::Core::Hashable
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class ApplicationReportingSettings
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class ChoosePrivateKeyRule
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class KeyedAppState
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class LaunchAppAction
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -160,6 +172,12 @@ module Google
160
172
  include Google::Apis::Core::JsonObjectSupport
161
173
  end
162
174
 
175
+ class ListWebAppsResponse
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
163
181
  class ManagedConfigurationTemplate
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
@@ -316,6 +334,18 @@ module Google
316
334
  include Google::Apis::Core::JsonObjectSupport
317
335
  end
318
336
 
337
+ class WebApp
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class WebAppIcon
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
319
349
  class WebToken
320
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
351
 
@@ -392,6 +422,8 @@ module Google
392
422
  collection :events, as: 'events', class: Google::Apis::AndroidmanagementV1::ApplicationEvent, decorator: Google::Apis::AndroidmanagementV1::ApplicationEvent::Representation
393
423
 
394
424
  property :installer_package_name, as: 'installerPackageName'
425
+ collection :keyed_app_states, as: 'keyedAppStates', class: Google::Apis::AndroidmanagementV1::KeyedAppState, decorator: Google::Apis::AndroidmanagementV1::KeyedAppState::Representation
426
+
395
427
  property :package_name, as: 'packageName'
396
428
  property :package_sha256_hash, as: 'packageSha256Hash'
397
429
  collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
@@ -401,6 +433,13 @@ module Google
401
433
  end
402
434
  end
403
435
 
436
+ class ApplicationReportingSettings
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :include_removed_apps, as: 'includeRemovedApps'
440
+ end
441
+ end
442
+
404
443
  class ChoosePrivateKeyRule
405
444
  # @private
406
445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -591,6 +630,18 @@ module Google
591
630
  end
592
631
  end
593
632
 
633
+ class KeyedAppState
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :create_time, as: 'createTime'
637
+ property :data, as: 'data'
638
+ property :key, as: 'key'
639
+ property :last_update_time, as: 'lastUpdateTime'
640
+ property :message, as: 'message'
641
+ property :severity, as: 'severity'
642
+ end
643
+ end
644
+
594
645
  class LaunchAppAction
595
646
  # @private
596
647
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -625,6 +676,15 @@ module Google
625
676
  end
626
677
  end
627
678
 
679
+ class ListWebAppsResponse
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :next_page_token, as: 'nextPageToken'
683
+ collection :web_apps, as: 'webApps', class: Google::Apis::AndroidmanagementV1::WebApp, decorator: Google::Apis::AndroidmanagementV1::WebApp::Representation
684
+
685
+ end
686
+ end
687
+
628
688
  class ManagedConfigurationTemplate
629
689
  # @private
630
690
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -931,6 +991,8 @@ module Google
931
991
  class StatusReportingSettings
932
992
  # @private
933
993
  class Representation < Google::Apis::Core::JsonRepresentation
994
+ property :application_reporting_settings, as: 'applicationReportingSettings', class: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings, decorator: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings::Representation
995
+
934
996
  property :application_reports_enabled, as: 'applicationReportsEnabled'
935
997
  property :device_settings_enabled, as: 'deviceSettingsEnabled'
936
998
  property :display_info_enabled, as: 'displayInfoEnabled'
@@ -976,6 +1038,26 @@ module Google
976
1038
  end
977
1039
  end
978
1040
 
1041
+ class WebApp
1042
+ # @private
1043
+ class Representation < Google::Apis::Core::JsonRepresentation
1044
+ property :display_mode, as: 'displayMode'
1045
+ collection :icons, as: 'icons', class: Google::Apis::AndroidmanagementV1::WebAppIcon, decorator: Google::Apis::AndroidmanagementV1::WebAppIcon::Representation
1046
+
1047
+ property :name, as: 'name'
1048
+ property :start_url, as: 'startUrl'
1049
+ property :title, as: 'title'
1050
+ property :version_code, :numeric_string => true, as: 'versionCode'
1051
+ end
1052
+ end
1053
+
1054
+ class WebAppIcon
1055
+ # @private
1056
+ class Representation < Google::Apis::Core::JsonRepresentation
1057
+ property :image_data, as: 'imageData'
1058
+ end
1059
+ end
1060
+
979
1061
  class WebToken
980
1062
  # @private
981
1063
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -716,6 +716,176 @@ module Google
716
716
  execute_or_queue_command(command, &block)
717
717
  end
718
718
 
719
+ # Creates a web app.
720
+ # @param [String] parent
721
+ # The name of the enterprise in the form enterprises/`enterpriseId`.
722
+ # @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
723
+ # @param [String] fields
724
+ # Selector specifying which fields to include in a partial response.
725
+ # @param [String] quota_user
726
+ # Available to use for quota purposes for server-side applications. Can be any
727
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
728
+ # @param [Google::Apis::RequestOptions] options
729
+ # Request-specific options
730
+ #
731
+ # @yield [result, err] Result & error if block supplied
732
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
733
+ # @yieldparam err [StandardError] error object if request failed
734
+ #
735
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
736
+ #
737
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
738
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
739
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
740
+ def create_enterprise_web_app(parent, web_app_object = nil, fields: nil, quota_user: nil, options: nil, &block)
741
+ command = make_simple_command(:post, 'v1/{+parent}/webApps', options)
742
+ command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
743
+ command.request_object = web_app_object
744
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
745
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
746
+ command.params['parent'] = parent unless parent.nil?
747
+ command.query['fields'] = fields unless fields.nil?
748
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
749
+ execute_or_queue_command(command, &block)
750
+ end
751
+
752
+ # Deletes a web app.
753
+ # @param [String] name
754
+ # The name of the web app in the form enterprises/`enterpriseId`/webApps/`
755
+ # packageName`.
756
+ # @param [String] fields
757
+ # Selector specifying which fields to include in a partial response.
758
+ # @param [String] quota_user
759
+ # Available to use for quota purposes for server-side applications. Can be any
760
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
761
+ # @param [Google::Apis::RequestOptions] options
762
+ # Request-specific options
763
+ #
764
+ # @yield [result, err] Result & error if block supplied
765
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::Empty] parsed result object
766
+ # @yieldparam err [StandardError] error object if request failed
767
+ #
768
+ # @return [Google::Apis::AndroidmanagementV1::Empty]
769
+ #
770
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
771
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
772
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
773
+ def delete_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
774
+ command = make_simple_command(:delete, 'v1/{+name}', options)
775
+ command.response_representation = Google::Apis::AndroidmanagementV1::Empty::Representation
776
+ command.response_class = Google::Apis::AndroidmanagementV1::Empty
777
+ command.params['name'] = name unless name.nil?
778
+ command.query['fields'] = fields unless fields.nil?
779
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
780
+ execute_or_queue_command(command, &block)
781
+ end
782
+
783
+ # Gets a web app.
784
+ # @param [String] name
785
+ # The name of the web app in the form enterprises/`enterpriseId`/webApp/`
786
+ # packageName`.
787
+ # @param [String] fields
788
+ # Selector specifying which fields to include in a partial response.
789
+ # @param [String] quota_user
790
+ # Available to use for quota purposes for server-side applications. Can be any
791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
792
+ # @param [Google::Apis::RequestOptions] options
793
+ # Request-specific options
794
+ #
795
+ # @yield [result, err] Result & error if block supplied
796
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
797
+ # @yieldparam err [StandardError] error object if request failed
798
+ #
799
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
800
+ #
801
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
802
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
803
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
804
+ def get_enterprise_web_app(name, fields: nil, quota_user: nil, options: nil, &block)
805
+ command = make_simple_command(:get, 'v1/{+name}', options)
806
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
807
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
808
+ command.params['name'] = name unless name.nil?
809
+ command.query['fields'] = fields unless fields.nil?
810
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
811
+ execute_or_queue_command(command, &block)
812
+ end
813
+
814
+ # Lists web apps for a given enterprise.
815
+ # @param [String] parent
816
+ # The name of the enterprise in the form enterprises/`enterpriseId`.
817
+ # @param [Fixnum] page_size
818
+ # The requested page size. The actual page size may be fixed to a min or max
819
+ # value.
820
+ # @param [String] page_token
821
+ # A token identifying a page of results returned by the server.
822
+ # @param [String] fields
823
+ # Selector specifying which fields to include in a partial response.
824
+ # @param [String] quota_user
825
+ # Available to use for quota purposes for server-side applications. Can be any
826
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
827
+ # @param [Google::Apis::RequestOptions] options
828
+ # Request-specific options
829
+ #
830
+ # @yield [result, err] Result & error if block supplied
831
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::ListWebAppsResponse] parsed result object
832
+ # @yieldparam err [StandardError] error object if request failed
833
+ #
834
+ # @return [Google::Apis::AndroidmanagementV1::ListWebAppsResponse]
835
+ #
836
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
837
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
838
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
839
+ def list_enterprise_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
840
+ command = make_simple_command(:get, 'v1/{+parent}/webApps', options)
841
+ command.response_representation = Google::Apis::AndroidmanagementV1::ListWebAppsResponse::Representation
842
+ command.response_class = Google::Apis::AndroidmanagementV1::ListWebAppsResponse
843
+ command.params['parent'] = parent unless parent.nil?
844
+ command.query['pageSize'] = page_size unless page_size.nil?
845
+ command.query['pageToken'] = page_token unless page_token.nil?
846
+ command.query['fields'] = fields unless fields.nil?
847
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
848
+ execute_or_queue_command(command, &block)
849
+ end
850
+
851
+ # Updates a web app.
852
+ # @param [String] name
853
+ # The name of the web app in the form enterprises/`enterpriseId`/webApps/`
854
+ # packageName`.
855
+ # @param [Google::Apis::AndroidmanagementV1::WebApp] web_app_object
856
+ # @param [String] update_mask
857
+ # The field mask indicating the fields to update. If not set, all modifiable
858
+ # fields will be modified.
859
+ # @param [String] fields
860
+ # Selector specifying which fields to include in a partial response.
861
+ # @param [String] quota_user
862
+ # Available to use for quota purposes for server-side applications. Can be any
863
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
864
+ # @param [Google::Apis::RequestOptions] options
865
+ # Request-specific options
866
+ #
867
+ # @yield [result, err] Result & error if block supplied
868
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::WebApp] parsed result object
869
+ # @yieldparam err [StandardError] error object if request failed
870
+ #
871
+ # @return [Google::Apis::AndroidmanagementV1::WebApp]
872
+ #
873
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
874
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
875
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
876
+ def patch_enterprise_web_app(name, web_app_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
877
+ command = make_simple_command(:patch, 'v1/{+name}', options)
878
+ command.request_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
879
+ command.request_object = web_app_object
880
+ command.response_representation = Google::Apis::AndroidmanagementV1::WebApp::Representation
881
+ command.response_class = Google::Apis::AndroidmanagementV1::WebApp
882
+ command.params['name'] = name unless name.nil?
883
+ command.query['updateMask'] = update_mask unless update_mask.nil?
884
+ command.query['fields'] = fields unless fields.nil?
885
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
886
+ execute_or_queue_command(command, &block)
887
+ end
888
+
719
889
  # Creates a web token to access an embeddable managed Google Play web UI for a
720
890
  # given enterprise.
721
891
  # @param [String] parent