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
@@ -70,6 +70,18 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BatchCreateAdminOverridesResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchCreateConsumerOverridesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class BatchEnableServicesRequest
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -376,6 +388,12 @@ module Google
376
388
  include Google::Apis::Core::JsonObjectSupport
377
389
  end
378
390
 
391
+ class QuotaOverride
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
379
397
  class SourceContext
380
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
399
 
@@ -516,6 +534,22 @@ module Google
516
534
  end
517
535
  end
518
536
 
537
+ class BatchCreateAdminOverridesResponse
538
+ # @private
539
+ class Representation < Google::Apis::Core::JsonRepresentation
540
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
541
+
542
+ end
543
+ end
544
+
545
+ class BatchCreateConsumerOverridesResponse
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1::QuotaOverride, decorator: Google::Apis::ServiceusageV1::QuotaOverride::Representation
549
+
550
+ end
551
+ end
552
+
519
553
  class BatchEnableServicesRequest
520
554
  # @private
521
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1065,6 +1099,15 @@ module Google
1065
1099
  end
1066
1100
  end
1067
1101
 
1102
+ class QuotaOverride
1103
+ # @private
1104
+ class Representation < Google::Apis::Core::JsonRepresentation
1105
+ hash :dimensions, as: 'dimensions'
1106
+ property :name, as: 'name'
1107
+ property :override_value, :numeric_string => true, as: 'overrideValue'
1108
+ end
1109
+ end
1110
+
1068
1111
  class SourceContext
1069
1112
  # @private
1070
1113
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/service-usage/
28
28
  module ServiceusageV1beta1
29
29
  VERSION = 'V1beta1'
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::ServiceusageV1beta1::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::ServiceusageV1beta1::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
@@ -2014,8 +2052,9 @@ module Google
2014
2052
  # This enables a HTTP JSON to RPC mapping as below:
2015
2053
  # HTTP | gRPC
2016
2054
  # -----|-----
2017
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` | `GetMessage(message_id:
2018
- # "123456" revision: 2 sub: SubMessage(subfield: "foo"))`
2055
+ # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
2056
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
2057
+ # "foo"))`
2019
2058
  # Note that fields which are mapped to URL query parameters must have a
2020
2059
  # primitive type or a repeated primitive type or a non-repeated message type.
2021
2060
  # In the case of a repeated type, the parameter can be repeated in the URL
@@ -2042,8 +2081,8 @@ module Google
2042
2081
  # protos JSON encoding:
2043
2082
  # HTTP | gRPC
2044
2083
  # -----|-----
2045
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
2046
- # 123456" message ` text: "Hi!" `)`
2084
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
2085
+ # "123456" message ` text: "Hi!" `)`
2047
2086
  # The special name `*` can be used in the body mapping to define that
2048
2087
  # every field not bound by the path template should be mapped to the
2049
2088
  # request body. This enables the following alternative definition of
@@ -2063,8 +2102,8 @@ module Google
2063
2102
  # The following HTTP JSON to RPC mapping is enabled:
2064
2103
  # HTTP | gRPC
2065
2104
  # -----|-----
2066
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "
2067
- # 123456" text: "Hi!")`
2105
+ # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
2106
+ # "123456" text: "Hi!")`
2068
2107
  # Note that when using `*` in the body mapping, it is not possible to
2069
2108
  # have HTTP parameters, as all fields not bound by the path end in
2070
2109
  # the body. This makes this option more rarely used in practice when
@@ -2090,8 +2129,8 @@ module Google
2090
2129
  # HTTP | gRPC
2091
2130
  # -----|-----
2092
2131
  # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
2093
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: "
2094
- # 123456")`
2132
+ # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
2133
+ # "123456")`
2095
2134
  # ## Rules for HTTP mapping
2096
2135
  # 1. Leaf request fields (recursive expansion nested messages in the request
2097
2136
  # message) are classified into three categories:
@@ -2127,15 +2166,17 @@ module Google
2127
2166
  # `"`var=*`"`, when such a variable is expanded into a URL path on the client
2128
2167
  # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
2129
2168
  # server side does the reverse decoding. Such variables show up in the
2130
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
2131
- # as ``var``.
2169
+ # [Discovery
2170
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
2171
+ # ``var``.
2132
2172
  # If a variable contains multiple path segments, such as `"`var=foo/*`"`
2133
2173
  # or `"`var=**`"`, when such a variable is expanded into a URL path on the
2134
2174
  # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
2135
2175
  # The server side does the reverse decoding, except "%2F" and "%2f" are left
2136
2176
  # unchanged. Such variables show up in the
2137
- # [Discovery Document](https://developers.google.com/discovery/v1/reference/apis)
2138
- # as ``+var``.
2177
+ # [Discovery
2178
+ # Document](https://developers.google.com/discovery/v1/reference/apis) as
2179
+ # ``+var``.
2139
2180
  # ## Using gRPC API Service Configuration
2140
2181
  # gRPC API Service Configuration (service config) is a configuration language
2141
2182
  # for configuring a gRPC service to become a user-facing product. The
@@ -3399,6 +3440,62 @@ module Google
3399
3440
  end
3400
3441
  end
3401
3442
 
3443
+ # A quota override
3444
+ class QuotaOverride
3445
+ include Google::Apis::Core::Hashable
3446
+
3447
+ # If this map is nonempty, then this override applies only to specific values
3448
+ # for dimensions defined in the limit unit.
3449
+ # For example, an override on a limit with the unit 1/`project`/`region`
3450
+ # could contain an entry with the key "region" and the value "us-east-1";
3451
+ # the override is only applied to quota consumed in that region.
3452
+ # This map has the following restrictions:
3453
+ # - Keys that are not defined in the limit's unit are not valid keys.
3454
+ # Any string appearing in `brackets` in the unit (besides `project` or
3455
+ # `user`) is a defined key.
3456
+ # - "project" is not a valid key; the project is already specified in
3457
+ # the parent resource name.
3458
+ # - "user" is not a valid key; the API does not support quota overrides
3459
+ # that apply only to a specific user.
3460
+ # - If "region" appears as a key, its value must be a valid Cloud region.
3461
+ # - If "zone" appears as a key, its value must be a valid Cloud zone.
3462
+ # - If any valid key other than "region" or "zone" appears in the map, then
3463
+ # all valid keys other than "region" or "zone" must also appear in the map.
3464
+ # Corresponds to the JSON property `dimensions`
3465
+ # @return [Hash<String,String>]
3466
+ attr_accessor :dimensions
3467
+
3468
+ # The resource name of the override.
3469
+ # This name is generated by the server when the override is created.
3470
+ # Example names would be:
3471
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
3472
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
3473
+ # `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.
3474
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
3475
+ # The resource name is intended to be opaque and should not be parsed for
3476
+ # its component strings, since its representation could change in the future.
3477
+ # Corresponds to the JSON property `name`
3478
+ # @return [String]
3479
+ attr_accessor :name
3480
+
3481
+ # The overriding quota limit value.
3482
+ # Can be any nonnegative integer, or -1 (unlimited quota).
3483
+ # Corresponds to the JSON property `overrideValue`
3484
+ # @return [Fixnum]
3485
+ attr_accessor :override_value
3486
+
3487
+ def initialize(**args)
3488
+ update!(**args)
3489
+ end
3490
+
3491
+ # Update properties of this object
3492
+ def update!(**args)
3493
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3494
+ @name = args[:name] if args.key?(:name)
3495
+ @override_value = args[:override_value] if args.key?(:override_value)
3496
+ end
3497
+ end
3498
+
3402
3499
  # A service that is available for use by the consumer.
3403
3500
  class Service
3404
3501
  include Google::Apis::Core::Hashable
@@ -70,6 +70,18 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class BatchCreateAdminOverridesResponse
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class BatchCreateConsumerOverridesResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class BatchEnableServicesRequest
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -370,6 +382,12 @@ module Google
370
382
  include Google::Apis::Core::JsonObjectSupport
371
383
  end
372
384
 
385
+ class QuotaOverride
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
373
391
  class Service
374
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
375
393
 
@@ -522,6 +540,22 @@ module Google
522
540
  end
523
541
  end
524
542
 
543
+ class BatchCreateAdminOverridesResponse
544
+ # @private
545
+ class Representation < Google::Apis::Core::JsonRepresentation
546
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
547
+
548
+ end
549
+ end
550
+
551
+ class BatchCreateConsumerOverridesResponse
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ collection :overrides, as: 'overrides', class: Google::Apis::ServiceusageV1beta1::QuotaOverride, decorator: Google::Apis::ServiceusageV1beta1::QuotaOverride::Representation
555
+
556
+ end
557
+ end
558
+
525
559
  class BatchEnableServicesRequest
526
560
  # @private
527
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1064,6 +1098,15 @@ module Google
1064
1098
  end
1065
1099
  end
1066
1100
 
1101
+ class QuotaOverride
1102
+ # @private
1103
+ class Representation < Google::Apis::Core::JsonRepresentation
1104
+ hash :dimensions, as: 'dimensions'
1105
+ property :name, as: 'name'
1106
+ property :override_value, :numeric_string => true, as: 'overrideValue'
1107
+ end
1108
+ end
1109
+
1067
1110
  class Service
1068
1111
  # @private
1069
1112
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/source-repositories/docs/apis
26
26
  module SourcerepoV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190221'
28
+ REVISION = '20190419'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -316,6 +316,103 @@ module Google
316
316
  end
317
317
  end
318
318
 
319
+ # This resource represents a long-running operation that is the result of a
320
+ # network API call.
321
+ class Operation
322
+ include Google::Apis::Core::Hashable
323
+
324
+ # If the value is `false`, it means the operation is still in progress.
325
+ # If `true`, the operation is completed, and either `error` or `response` is
326
+ # available.
327
+ # Corresponds to the JSON property `done`
328
+ # @return [Boolean]
329
+ attr_accessor :done
330
+ alias_method :done?, :done
331
+
332
+ # The `Status` type defines a logical error model that is suitable for
333
+ # different programming environments, including REST APIs and RPC APIs. It is
334
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
335
+ # - Simple to use and understand for most users
336
+ # - Flexible enough to meet unexpected needs
337
+ # # Overview
338
+ # The `Status` message contains three pieces of data: error code, error
339
+ # message, and error details. The error code should be an enum value of
340
+ # google.rpc.Code, but it may accept additional error codes if needed. The
341
+ # error message should be a developer-facing English message that helps
342
+ # developers *understand* and *resolve* the error. If a localized user-facing
343
+ # error message is needed, put the localized message in the error details or
344
+ # localize it in the client. The optional error details may contain arbitrary
345
+ # information about the error. There is a predefined set of error detail types
346
+ # in the package `google.rpc` that can be used for common error conditions.
347
+ # # Language mapping
348
+ # The `Status` message is the logical representation of the error model, but it
349
+ # is not necessarily the actual wire format. When the `Status` message is
350
+ # exposed in different client libraries and different wire protocols, it can be
351
+ # mapped differently. For example, it will likely be mapped to some exceptions
352
+ # in Java, but more likely mapped to some error codes in C.
353
+ # # Other uses
354
+ # The error model and the `Status` message can be used in a variety of
355
+ # environments, either with or without APIs, to provide a
356
+ # consistent developer experience across different environments.
357
+ # Example uses of this error model include:
358
+ # - Partial errors. If a service needs to return partial errors to the client,
359
+ # it may embed the `Status` in the normal response to indicate the partial
360
+ # errors.
361
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
362
+ # have a `Status` message for error reporting.
363
+ # - Batch operations. If a client uses batch request and batch response, the
364
+ # `Status` message should be used directly inside batch response, one for
365
+ # each error sub-response.
366
+ # - Asynchronous operations. If an API call embeds asynchronous operation
367
+ # results in its response, the status of those operations should be
368
+ # represented directly using the `Status` message.
369
+ # - Logging. If some API errors are stored in logs, the message `Status` could
370
+ # be used directly after any stripping needed for security/privacy reasons.
371
+ # Corresponds to the JSON property `error`
372
+ # @return [Google::Apis::SourcerepoV1::Status]
373
+ attr_accessor :error
374
+
375
+ # Service-specific metadata associated with the operation. It typically
376
+ # contains progress information and common metadata such as create time.
377
+ # Some services might not provide such metadata. Any method that returns a
378
+ # long-running operation should document the metadata type, if any.
379
+ # Corresponds to the JSON property `metadata`
380
+ # @return [Hash<String,Object>]
381
+ attr_accessor :metadata
382
+
383
+ # The server-assigned name, which is only unique within the same service that
384
+ # originally returns it. If you use the default HTTP mapping, the
385
+ # `name` should have the format of `operations/some/unique/name`.
386
+ # Corresponds to the JSON property `name`
387
+ # @return [String]
388
+ attr_accessor :name
389
+
390
+ # The normal response of the operation in case of success. If the original
391
+ # method returns no data on success, such as `Delete`, the response is
392
+ # `google.protobuf.Empty`. If the original method is standard
393
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
394
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
395
+ # is the original method name. For example, if the original method name
396
+ # is `TakeSnapshot()`, the inferred response type is
397
+ # `TakeSnapshotResponse`.
398
+ # Corresponds to the JSON property `response`
399
+ # @return [Hash<String,Object>]
400
+ attr_accessor :response
401
+
402
+ def initialize(**args)
403
+ update!(**args)
404
+ end
405
+
406
+ # Update properties of this object
407
+ def update!(**args)
408
+ @done = args[:done] if args.key?(:done)
409
+ @error = args[:error] if args.key?(:error)
410
+ @metadata = args[:metadata] if args.key?(:metadata)
411
+ @name = args[:name] if args.key?(:name)
412
+ @response = args[:response] if args.key?(:response)
413
+ end
414
+ end
415
+
319
416
  # Defines an Identity and Access Management (IAM) policy. It is used to
320
417
  # specify access control policies for Cloud Platform resources.
321
418
  # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
@@ -583,6 +680,91 @@ module Google
583
680
  end
584
681
  end
585
682
 
683
+ # The `Status` type defines a logical error model that is suitable for
684
+ # different programming environments, including REST APIs and RPC APIs. It is
685
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
686
+ # - Simple to use and understand for most users
687
+ # - Flexible enough to meet unexpected needs
688
+ # # Overview
689
+ # The `Status` message contains three pieces of data: error code, error
690
+ # message, and error details. The error code should be an enum value of
691
+ # google.rpc.Code, but it may accept additional error codes if needed. The
692
+ # error message should be a developer-facing English message that helps
693
+ # developers *understand* and *resolve* the error. If a localized user-facing
694
+ # error message is needed, put the localized message in the error details or
695
+ # localize it in the client. The optional error details may contain arbitrary
696
+ # information about the error. There is a predefined set of error detail types
697
+ # in the package `google.rpc` that can be used for common error conditions.
698
+ # # Language mapping
699
+ # The `Status` message is the logical representation of the error model, but it
700
+ # is not necessarily the actual wire format. When the `Status` message is
701
+ # exposed in different client libraries and different wire protocols, it can be
702
+ # mapped differently. For example, it will likely be mapped to some exceptions
703
+ # in Java, but more likely mapped to some error codes in C.
704
+ # # Other uses
705
+ # The error model and the `Status` message can be used in a variety of
706
+ # environments, either with or without APIs, to provide a
707
+ # consistent developer experience across different environments.
708
+ # Example uses of this error model include:
709
+ # - Partial errors. If a service needs to return partial errors to the client,
710
+ # it may embed the `Status` in the normal response to indicate the partial
711
+ # errors.
712
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
713
+ # have a `Status` message for error reporting.
714
+ # - Batch operations. If a client uses batch request and batch response, the
715
+ # `Status` message should be used directly inside batch response, one for
716
+ # each error sub-response.
717
+ # - Asynchronous operations. If an API call embeds asynchronous operation
718
+ # results in its response, the status of those operations should be
719
+ # represented directly using the `Status` message.
720
+ # - Logging. If some API errors are stored in logs, the message `Status` could
721
+ # be used directly after any stripping needed for security/privacy reasons.
722
+ class Status
723
+ include Google::Apis::Core::Hashable
724
+
725
+ # The status code, which should be an enum value of google.rpc.Code.
726
+ # Corresponds to the JSON property `code`
727
+ # @return [Fixnum]
728
+ attr_accessor :code
729
+
730
+ # A list of messages that carry the error details. There is a common set of
731
+ # message types for APIs to use.
732
+ # Corresponds to the JSON property `details`
733
+ # @return [Array<Hash<String,Object>>]
734
+ attr_accessor :details
735
+
736
+ # A developer-facing error message, which should be in English. Any
737
+ # user-facing error message should be localized and sent in the
738
+ # google.rpc.Status.details field, or localized by the client.
739
+ # Corresponds to the JSON property `message`
740
+ # @return [String]
741
+ attr_accessor :message
742
+
743
+ def initialize(**args)
744
+ update!(**args)
745
+ end
746
+
747
+ # Update properties of this object
748
+ def update!(**args)
749
+ @code = args[:code] if args.key?(:code)
750
+ @details = args[:details] if args.key?(:details)
751
+ @message = args[:message] if args.key?(:message)
752
+ end
753
+ end
754
+
755
+ # Request for SyncRepo.
756
+ class SyncRepoRequest
757
+ include Google::Apis::Core::Hashable
758
+
759
+ def initialize(**args)
760
+ update!(**args)
761
+ end
762
+
763
+ # Update properties of this object
764
+ def update!(**args)
765
+ end
766
+ end
767
+
586
768
  # Request message for `TestIamPermissions` method.
587
769
  class TestIamPermissionsRequest
588
770
  include Google::Apis::Core::Hashable