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
@@ -268,6 +268,7 @@ module Google
268
268
  # Operation<response: Empty>.
269
269
  # @param [String] parent
270
270
  # Name of the tenancy unit.
271
+ # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
271
272
  # @param [Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest] add_tenant_project_request_object
272
273
  # @param [String] fields
273
274
  # Selector specifying which fields to include in a partial response.
@@ -308,6 +309,8 @@ module Google
308
309
  # If specified, new billing configuration is applied.
309
310
  # Omit a billing configuration to keep the existing one.
310
311
  # A service account in the project is created if previously non existed.
312
+ # Specified labels will be appended to tenant project, note that the value of
313
+ # existing label key will be updated if the same label key is requested.
311
314
  # The specified folder is ignored, as moving a tenant project to a different
312
315
  # folder isn't supported.
313
316
  # The operation fails if any of the steps fail, but no rollback of already
@@ -315,6 +318,7 @@ module Google
315
318
  # Operation<response: Empty>.
316
319
  # @param [String] name
317
320
  # Name of the tenancy unit.
321
+ # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
318
322
  # @param [Google::Apis::ServiceconsumermanagementV1::ApplyTenantProjectConfigRequest] apply_tenant_project_config_request_object
319
323
  # @param [String] fields
320
324
  # Selector specifying which fields to include in a partial response.
@@ -358,6 +362,7 @@ module Google
358
362
  # Operation<response: Empty>.
359
363
  # @param [String] name
360
364
  # Name of the tenancy unit that the project will be attached to.
365
+ # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
361
366
  # @param [Google::Apis::ServiceconsumermanagementV1::AttachTenantProjectRequest] attach_tenant_project_request_object
362
367
  # @param [String] fields
363
368
  # Selector specifying which fields to include in a partial response.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-control/
27
27
  module ServicecontrolV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190318'
29
+ REVISION = '20190422'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -686,7 +686,8 @@ module Google
686
686
  # @return [Fixnum]
687
687
  attr_accessor :project_number
688
688
 
689
- #
689
+ # The type of the consumer which should have been defined in
690
+ # [Google Resource Manager](https://cloud.google.com/resource-manager/).
690
691
  # Corresponds to the JSON property `type`
691
692
  # @return [String]
692
693
  attr_accessor :type
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-management/
28
28
  module ServicemanagementV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190315'
30
+ REVISION = '20190412'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -239,7 +239,7 @@ module Google
239
239
  end
240
240
  end
241
241
 
242
- # Configuration for an anthentication provider, including support for
242
+ # Configuration for an authentication provider, including support for
243
243
  # [JSON Web Token
244
244
  # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
245
245
  class AuthProvider
@@ -722,8 +722,8 @@ module Google
722
722
  # used for the index (usually selector, name, or id). For maps, the term
723
723
  # 'key' is used. If the field has no unique identifier, the numeric index
724
724
  # is used.
725
- # ## Examples:
726
- # visibility.rules[selector=="google.LibraryService.CreateBook"].restriction
725
+ # Examples:
726
+ # - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
727
727
  # - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
728
728
  # - logging.producer_destinations[0]
729
729
  # Corresponds to the JSON property `element`
@@ -1233,9 +1233,9 @@ module Google
1233
1233
  # The selector is a comma-separated list of patterns. Each pattern is a
1234
1234
  # qualified name of the element which may end in "*", indicating a wildcard.
1235
1235
  # Wildcards are only allowed at the end and for a whole component of the
1236
- # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To
1237
- # specify a default for all applicable elements, the whole pattern "*"
1238
- # is used.
1236
+ # qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A
1237
+ # wildcard will match one or more components. To specify a default for all
1238
+ # applicable elements, the whole pattern "*" is used.
1239
1239
  # Corresponds to the JSON property `selector`
1240
1240
  # @return [String]
1241
1241
  attr_accessor :selector
@@ -1747,8 +1747,9 @@ module Google
1747
1747
  # This enables a HTTP JSON to RPC mapping as below:
1748
1748
  # HTTP | gRPC
1749
1749
  # -----|-----
1750
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
1751
- # "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
1750
+ # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1751
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1752
+ # "foo"))`
1752
1753
  # Note that fields which are mapped to URL query parameters must have a
1753
1754
  # primitive type or a repeated primitive type or a non-repeated message type.
1754
1755
  # In the case of a repeated type, the parameter can be repeated in the URL
@@ -1775,8 +1776,8 @@ module Google
1775
1776
  # protos JSON encoding:
1776
1777
  # HTTP | gRPC
1777
1778
  # -----|-----
1778
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1779
- # 123456" message ` text: "Hi!" `)`
1779
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1780
+ # "123456" message ` text: "Hi!" `)`
1780
1781
  # The special name `*` can be used in the body mapping to define that
1781
1782
  # every field not bound by the path template should be mapped to the
1782
1783
  # request body. This enables the following alternative definition of
@@ -1796,8 +1797,8 @@ module Google
1796
1797
  # The following HTTP JSON to RPC mapping is enabled:
1797
1798
  # HTTP | gRPC
1798
1799
  # -----|-----
1799
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1800
- # 123456" text: "Hi!")`
1800
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1801
+ # "123456" text: "Hi!")`
1801
1802
  # Note that when using `*` in the body mapping, it is not possible to
1802
1803
  # have HTTP parameters, as all fields not bound by the path end in
1803
1804
  # the body. This makes this option more rarely used in practice when
@@ -1823,8 +1824,8 @@ module Google
1823
1824
  # HTTP | gRPC
1824
1825
  # -----|-----
1825
1826
  # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1826
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
1827
- # 123456")`
1827
+ # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1828
+ # "123456")`
1828
1829
  # ## Rules for HTTP mapping
1829
1830
  # 1. Leaf request fields (recursive expansion nested messages in the request
1830
1831
  # message) are classified into three categories:
@@ -1860,15 +1861,17 @@ module Google
1860
1861
  # `"`var=*`"`, when such a variable is expanded into a URL path on the client
1861
1862
  # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
1862
1863
  # server side does the reverse decoding. Such variables show up in the
1863
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1864
- # as ``var``.
1864
+ # [Discovery
1865
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1866
+ # ``var``.
1865
1867
  # If a variable contains multiple path segments, such as `"`var=foo/*`"`
1866
1868
  # or `"`var=**`"`, when such a variable is expanded into a URL path on the
1867
1869
  # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
1868
1870
  # The server side does the reverse decoding, except "%2F" and "%2f" are left
1869
1871
  # unchanged. Such variables show up in the
1870
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1871
- # as ``+var``.
1872
+ # [Discovery
1873
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1874
+ # ``+var``.
1872
1875
  # ## Using gRPC API Service Configuration
1873
1876
  # gRPC API Service Configuration (service config) is a configuration language
1874
1877
  # for configuring a gRPC service to become a user-facing product. The
@@ -3128,7 +3131,46 @@ module Google
3128
3131
  end
3129
3132
  end
3130
3133
 
3131
- #
3134
+ # Quota configuration helps to achieve fairness and budgeting in service
3135
+ # usage.
3136
+ # The metric based quota configuration works this way:
3137
+ # - The service configuration defines a set of metrics.
3138
+ # - For API calls, the quota.metric_rules maps methods to metrics with
3139
+ # corresponding costs.
3140
+ # - The quota.limits defines limits on the metrics, which will be used for
3141
+ # quota checks at runtime.
3142
+ # An example quota configuration in yaml format:
3143
+ # quota:
3144
+ # limits:
3145
+ # - name: apiWriteQpsPerProject
3146
+ # metric: library.googleapis.com/write_calls
3147
+ # unit: "1/min/`project`" # rate limit for consumer projects
3148
+ # values:
3149
+ # STANDARD: 10000
3150
+ # # The metric rules bind all methods to the read_calls metric,
3151
+ # # except for the UpdateBook and DeleteBook methods. These two methods
3152
+ # # are mapped to the write_calls metric, with the UpdateBook method
3153
+ # # consuming at twice rate as the DeleteBook method.
3154
+ # metric_rules:
3155
+ # - selector: "*"
3156
+ # metric_costs:
3157
+ # library.googleapis.com/read_calls: 1
3158
+ # - selector: google.example.library.v1.LibraryService.UpdateBook
3159
+ # metric_costs:
3160
+ # library.googleapis.com/write_calls: 2
3161
+ # - selector: google.example.library.v1.LibraryService.DeleteBook
3162
+ # metric_costs:
3163
+ # library.googleapis.com/write_calls: 1
3164
+ # Corresponding Metric definition:
3165
+ # metrics:
3166
+ # - name: library.googleapis.com/read_calls
3167
+ # display_name: Read requests
3168
+ # metric_kind: DELTA
3169
+ # value_type: INT64
3170
+ # - name: library.googleapis.com/write_calls
3171
+ # display_name: Write requests
3172
+ # metric_kind: DELTA
3173
+ # value_type: INT64
3132
3174
  class Quota
3133
3175
  include Google::Apis::Core::Hashable
3134
3176
 
@@ -3687,7 +3729,46 @@ module Google
3687
3729
  # @return [String]
3688
3730
  attr_accessor :producer_project_id
3689
3731
 
3690
- # Quota configuration.
3732
+ # Quota configuration helps to achieve fairness and budgeting in service
3733
+ # usage.
3734
+ # The metric based quota configuration works this way:
3735
+ # - The service configuration defines a set of metrics.
3736
+ # - For API calls, the quota.metric_rules maps methods to metrics with
3737
+ # corresponding costs.
3738
+ # - The quota.limits defines limits on the metrics, which will be used for
3739
+ # quota checks at runtime.
3740
+ # An example quota configuration in yaml format:
3741
+ # quota:
3742
+ # limits:
3743
+ # - name: apiWriteQpsPerProject
3744
+ # metric: library.googleapis.com/write_calls
3745
+ # unit: "1/min/`project`" # rate limit for consumer projects
3746
+ # values:
3747
+ # STANDARD: 10000
3748
+ # # The metric rules bind all methods to the read_calls metric,
3749
+ # # except for the UpdateBook and DeleteBook methods. These two methods
3750
+ # # are mapped to the write_calls metric, with the UpdateBook method
3751
+ # # consuming at twice rate as the DeleteBook method.
3752
+ # metric_rules:
3753
+ # - selector: "*"
3754
+ # metric_costs:
3755
+ # library.googleapis.com/read_calls: 1
3756
+ # - selector: google.example.library.v1.LibraryService.UpdateBook
3757
+ # metric_costs:
3758
+ # library.googleapis.com/write_calls: 2
3759
+ # - selector: google.example.library.v1.LibraryService.DeleteBook
3760
+ # metric_costs:
3761
+ # library.googleapis.com/write_calls: 1
3762
+ # Corresponding Metric definition:
3763
+ # metrics:
3764
+ # - name: library.googleapis.com/read_calls
3765
+ # display_name: Read requests
3766
+ # metric_kind: DELTA
3767
+ # value_type: INT64
3768
+ # - name: library.googleapis.com/write_calls
3769
+ # display_name: Write requests
3770
+ # metric_kind: DELTA
3771
+ # value_type: INT64
3691
3772
  # Corresponds to the JSON property `quota`
3692
3773
  # @return [Google::Apis::ServicemanagementV1::Quota]
3693
3774
  attr_accessor :quota
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190327'
29
+ REVISION = '20190412'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -183,7 +183,7 @@ module Google
183
183
  end
184
184
  end
185
185
 
186
- # Configuration for an anthentication provider, including support for
186
+ # Configuration for an authentication provider, including support for
187
187
  # [JSON Web Token
188
188
  # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
189
189
  class AuthProvider
@@ -1381,8 +1381,9 @@ module Google
1381
1381
  # This enables a HTTP JSON to RPC mapping as below:
1382
1382
  # HTTP | gRPC
1383
1383
  # -----|-----
1384
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
1385
- # "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
1384
+ # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1385
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1386
+ # "foo"))`
1386
1387
  # Note that fields which are mapped to URL query parameters must have a
1387
1388
  # primitive type or a repeated primitive type or a non-repeated message type.
1388
1389
  # In the case of a repeated type, the parameter can be repeated in the URL
@@ -1409,8 +1410,8 @@ module Google
1409
1410
  # protos JSON encoding:
1410
1411
  # HTTP | gRPC
1411
1412
  # -----|-----
1412
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1413
- # 123456" message ` text: "Hi!" `)`
1413
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1414
+ # "123456" message ` text: "Hi!" `)`
1414
1415
  # The special name `*` can be used in the body mapping to define that
1415
1416
  # every field not bound by the path template should be mapped to the
1416
1417
  # request body. This enables the following alternative definition of
@@ -1430,8 +1431,8 @@ module Google
1430
1431
  # The following HTTP JSON to RPC mapping is enabled:
1431
1432
  # HTTP | gRPC
1432
1433
  # -----|-----
1433
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1434
- # 123456" text: "Hi!")`
1434
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1435
+ # "123456" text: "Hi!")`
1435
1436
  # Note that when using `*` in the body mapping, it is not possible to
1436
1437
  # have HTTP parameters, as all fields not bound by the path end in
1437
1438
  # the body. This makes this option more rarely used in practice when
@@ -1457,8 +1458,8 @@ module Google
1457
1458
  # HTTP | gRPC
1458
1459
  # -----|-----
1459
1460
  # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1460
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
1461
- # 123456")`
1461
+ # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1462
+ # "123456")`
1462
1463
  # ## Rules for HTTP mapping
1463
1464
  # 1. Leaf request fields (recursive expansion nested messages in the request
1464
1465
  # message) are classified into three categories:
@@ -1494,15 +1495,17 @@ module Google
1494
1495
  # `"`var=*`"`, when such a variable is expanded into a URL path on the client
1495
1496
  # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
1496
1497
  # server side does the reverse decoding. Such variables show up in the
1497
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1498
- # as ``var``.
1498
+ # [Discovery
1499
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1500
+ # ``var``.
1499
1501
  # If a variable contains multiple path segments, such as `"`var=foo/*`"`
1500
1502
  # or `"`var=**`"`, when such a variable is expanded into a URL path on the
1501
1503
  # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
1502
1504
  # The server side does the reverse decoding, except "%2F" and "%2f" are left
1503
1505
  # unchanged. Such variables show up in the
1504
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1505
- # as ``+var``.
1506
+ # [Discovery
1507
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1508
+ # ``+var``.
1506
1509
  # ## Using gRPC API Service Configuration
1507
1510
  # gRPC API Service Configuration (service config) is a configuration language
1508
1511
  # for configuring a gRPC service to become a user-facing product. The
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20190327'
29
+ REVISION = '20190412'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -183,7 +183,7 @@ module Google
183
183
  end
184
184
  end
185
185
 
186
- # Configuration for an anthentication provider, including support for
186
+ # Configuration for an authentication provider, including support for
187
187
  # [JSON Web Token
188
188
  # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
189
189
  class AuthProvider
@@ -1346,8 +1346,9 @@ module Google
1346
1346
  # This enables a HTTP JSON to RPC mapping as below:
1347
1347
  # HTTP | gRPC
1348
1348
  # -----|-----
1349
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
1350
- # "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
1349
+ # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1350
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1351
+ # "foo"))`
1351
1352
  # Note that fields which are mapped to URL query parameters must have a
1352
1353
  # primitive type or a repeated primitive type or a non-repeated message type.
1353
1354
  # In the case of a repeated type, the parameter can be repeated in the URL
@@ -1374,8 +1375,8 @@ module Google
1374
1375
  # protos JSON encoding:
1375
1376
  # HTTP | gRPC
1376
1377
  # -----|-----
1377
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1378
- # 123456" message ` text: "Hi!" `)`
1378
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1379
+ # "123456" message ` text: "Hi!" `)`
1379
1380
  # The special name `*` can be used in the body mapping to define that
1380
1381
  # every field not bound by the path template should be mapped to the
1381
1382
  # request body. This enables the following alternative definition of
@@ -1395,8 +1396,8 @@ module Google
1395
1396
  # The following HTTP JSON to RPC mapping is enabled:
1396
1397
  # HTTP | gRPC
1397
1398
  # -----|-----
1398
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
1399
- # 123456" text: "Hi!")`
1399
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1400
+ # "123456" text: "Hi!")`
1400
1401
  # Note that when using `*` in the body mapping, it is not possible to
1401
1402
  # have HTTP parameters, as all fields not bound by the path end in
1402
1403
  # the body. This makes this option more rarely used in practice when
@@ -1422,8 +1423,8 @@ module Google
1422
1423
  # HTTP | gRPC
1423
1424
  # -----|-----
1424
1425
  # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1425
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
1426
- # 123456")`
1426
+ # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1427
+ # "123456")`
1427
1428
  # ## Rules for HTTP mapping
1428
1429
  # 1. Leaf request fields (recursive expansion nested messages in the request
1429
1430
  # message) are classified into three categories:
@@ -1459,15 +1460,17 @@ module Google
1459
1460
  # `"`var=*`"`, when such a variable is expanded into a URL path on the client
1460
1461
  # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
1461
1462
  # server side does the reverse decoding. Such variables show up in the
1462
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1463
- # as ``var``.
1463
+ # [Discovery
1464
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1465
+ # ``var``.
1464
1466
  # If a variable contains multiple path segments, such as `"`var=foo/*`"`
1465
1467
  # or `"`var=**`"`, when such a variable is expanded into a URL path on the
1466
1468
  # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
1467
1469
  # The server side does the reverse decoding, except "%2F" and "%2f" are left
1468
1470
  # unchanged. Such variables show up in the
1469
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
1470
- # as ``+var``.
1471
+ # [Discovery
1472
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
1473
+ # ``+var``.
1471
1474
  # ## Using gRPC API Service Configuration
1472
1475
  # gRPC API Service Configuration (service config) is a configuration language
1473
1476
  # for configuring a gRPC service to become a user-facing product. The
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190327'
30
+ REVISION = '20190412'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -102,7 +102,7 @@ module Google
102
102
  end
103
103
  end
104
104
 
105
- # Configuration for an anthentication provider, including support for
105
+ # Configuration for an authentication provider, including support for
106
106
  # [JSON Web Token
107
107
  # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
108
108
  class AuthProvider
@@ -420,6 +420,44 @@ module Google
420
420
  end
421
421
  end
422
422
 
423
+ # Response message for BatchCreateAdminOverrides
424
+ class BatchCreateAdminOverridesResponse
425
+ include Google::Apis::Core::Hashable
426
+
427
+ # The overrides that were created.
428
+ # Corresponds to the JSON property `overrides`
429
+ # @return [Array<Google::Apis::ServiceusageV1::QuotaOverride>]
430
+ attr_accessor :overrides
431
+
432
+ def initialize(**args)
433
+ update!(**args)
434
+ end
435
+
436
+ # Update properties of this object
437
+ def update!(**args)
438
+ @overrides = args[:overrides] if args.key?(:overrides)
439
+ end
440
+ end
441
+
442
+ # Response message for BatchCreateConsumerOverrides
443
+ class BatchCreateConsumerOverridesResponse
444
+ include Google::Apis::Core::Hashable
445
+
446
+ # The overrides that were created.
447
+ # Corresponds to the JSON property `overrides`
448
+ # @return [Array<Google::Apis::ServiceusageV1::QuotaOverride>]
449
+ attr_accessor :overrides
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @overrides = args[:overrides] if args.key?(:overrides)
458
+ end
459
+ end
460
+
423
461
  # Request message for the `BatchEnableServices` method.
424
462
  class BatchEnableServicesRequest
425
463
  include Google::Apis::Core::Hashable
@@ -2038,8 +2076,9 @@ module Google
2038
2076
  # This enables a HTTP JSON to RPC mapping as below:
2039
2077
  # HTTP | gRPC
2040
2078
  # -----|-----
2041
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
2042
- # "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
2079
+ # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
2080
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
2081
+ # "foo"))`
2043
2082
  # Note that fields which are mapped to URL query parameters must have a
2044
2083
  # primitive type or a repeated primitive type or a non-repeated message type.
2045
2084
  # In the case of a repeated type, the parameter can be repeated in the URL
@@ -2066,8 +2105,8 @@ module Google
2066
2105
  # protos JSON encoding:
2067
2106
  # HTTP | gRPC
2068
2107
  # -----|-----
2069
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
2070
- # 123456" message ` text: "Hi!" `)`
2108
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
2109
+ # "123456" message ` text: "Hi!" `)`
2071
2110
  # The special name `*` can be used in the body mapping to define that
2072
2111
  # every field not bound by the path template should be mapped to the
2073
2112
  # request body. This enables the following alternative definition of
@@ -2087,8 +2126,8 @@ module Google
2087
2126
  # The following HTTP JSON to RPC mapping is enabled:
2088
2127
  # HTTP | gRPC
2089
2128
  # -----|-----
2090
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
2091
- # 123456" text: "Hi!")`
2129
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
2130
+ # "123456" text: "Hi!")`
2092
2131
  # Note that when using `*` in the body mapping, it is not possible to
2093
2132
  # have HTTP parameters, as all fields not bound by the path end in
2094
2133
  # the body. This makes this option more rarely used in practice when
@@ -2114,8 +2153,8 @@ module Google
2114
2153
  # HTTP | gRPC
2115
2154
  # -----|-----
2116
2155
  # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
2117
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
2118
- # 123456")`
2156
+ # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
2157
+ # "123456")`
2119
2158
  # ## Rules for HTTP mapping
2120
2159
  # 1. Leaf request fields (recursive expansion nested messages in the request
2121
2160
  # message) are classified into three categories:
@@ -2151,15 +2190,17 @@ module Google
2151
2190
  # `"`var=*`"`, when such a variable is expanded into a URL path on the client
2152
2191
  # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
2153
2192
  # server side does the reverse decoding. Such variables show up in the
2154
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
2155
- # as ``var``.
2193
+ # [Discovery
2194
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
2195
+ # ``var``.
2156
2196
  # If a variable contains multiple path segments, such as `"`var=foo/*`"`
2157
2197
  # or `"`var=**`"`, when such a variable is expanded into a URL path on the
2158
2198
  # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
2159
2199
  # The server side does the reverse decoding, except "%2F" and "%2f" are left
2160
2200
  # unchanged. Such variables show up in the
2161
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
2162
- # as ``+var``.
2201
+ # [Discovery
2202
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
2203
+ # ``+var``.
2163
2204
  # ## Using gRPC API Service Configuration
2164
2205
  # gRPC API Service Configuration (service config) is a configuration language
2165
2206
  # for configuring a gRPC service to become a user-facing product. The
@@ -3423,6 +3464,62 @@ module Google
3423
3464
  end
3424
3465
  end
3425
3466
 
3467
+ # A quota override
3468
+ class QuotaOverride
3469
+ include Google::Apis::Core::Hashable
3470
+
3471
+ # If this map is nonempty, then this override applies only to specific values
3472
+ # for dimensions defined in the limit unit.
3473
+ # For example, an override on a limit with the unit 1/`project`/`region`
3474
+ # could contain an entry with the key "region" and the value "us-east-1";
3475
+ # the override is only applied to quota consumed in that region.
3476
+ # This map has the following restrictions:
3477
+ # - Keys that are not defined in the limit's unit are not valid keys.
3478
+ # Any string appearing in `brackets` in the unit (besides `project` or
3479
+ # `user`) is a defined key.
3480
+ # - "project" is not a valid key; the project is already specified in
3481
+ # the parent resource name.
3482
+ # - "user" is not a valid key; the API does not support quota overrides
3483
+ # that apply only to a specific user.
3484
+ # - If "region" appears as a key, its value must be a valid Cloud region.
3485
+ # - If "zone" appears as a key, its value must be a valid Cloud zone.
3486
+ # - If any valid key other than "region" or "zone" appears in the map, then
3487
+ # all valid keys other than "region" or "zone" must also appear in the map.
3488
+ # Corresponds to the JSON property `dimensions`
3489
+ # @return [Hash<String,String>]
3490
+ attr_accessor :dimensions
3491
+
3492
+ # The resource name of the override.
3493
+ # This name is generated by the server when the override is created.
3494
+ # Example names would be:
3495
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
3496
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
3497
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
3498
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
3499
+ # The resource name is intended to be opaque and should not be parsed for
3500
+ # its component strings, since its representation could change in the future.
3501
+ # Corresponds to the JSON property `name`
3502
+ # @return [String]
3503
+ attr_accessor :name
3504
+
3505
+ # The overriding quota limit value.
3506
+ # Can be any nonnegative integer, or -1 (unlimited quota).
3507
+ # Corresponds to the JSON property `overrideValue`
3508
+ # @return [Fixnum]
3509
+ attr_accessor :override_value
3510
+
3511
+ def initialize(**args)
3512
+ update!(**args)
3513
+ end
3514
+
3515
+ # Update properties of this object
3516
+ def update!(**args)
3517
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3518
+ @name = args[:name] if args.key?(:name)
3519
+ @override_value = args[:override_value] if args.key?(:override_value)
3520
+ end
3521
+ end
3522
+
3426
3523
  # `SourceContext` represents information about the source of a
3427
3524
  # protobuf element, like the file in which it is defined.
3428
3525
  class SourceContext