google-api-client 0.23.4 → 0.23.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +171 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  9. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  12. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  13. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  16. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1.rb +1 -1
  18. data/generated/google/apis/admin_directory_v1/classes.rb +7 -0
  19. data/generated/google/apis/admin_directory_v1/representations.rb +1 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/adsense_v1_4.rb +1 -1
  22. data/generated/google/apis/adsense_v1_4/classes.rb +13 -1
  23. data/generated/google/apis/adsense_v1_4/representations.rb +2 -0
  24. data/generated/google/apis/adsense_v1_4/service.rb +36 -0
  25. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  26. data/generated/google/apis/analytics_v2_4.rb +1 -1
  27. data/generated/google/apis/analytics_v3.rb +1 -1
  28. data/generated/google/apis/analytics_v3/classes.rb +68 -0
  29. data/generated/google/apis/analytics_v3/representations.rb +31 -0
  30. data/generated/google/apis/analytics_v3/service.rb +33 -0
  31. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  32. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  33. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +108 -28
  34. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +32 -0
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +73 -0
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +0 -70
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +2 -5
  40. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/appengine_v1.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +3 -4
  47. data/generated/google/apis/appsactivity_v1.rb +2 -2
  48. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  49. data/generated/google/apis/appsmarket_v2.rb +1 -1
  50. data/generated/google/apis/appstate_v1.rb +1 -1
  51. data/generated/google/apis/bigquery_v2.rb +1 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +103 -61
  53. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  54. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +35 -0
  56. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +597 -0
  57. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +238 -0
  58. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +523 -0
  59. data/generated/google/apis/blogger_v2.rb +1 -1
  60. data/generated/google/apis/blogger_v3.rb +1 -1
  61. data/generated/google/apis/books_v1.rb +1 -1
  62. data/generated/google/apis/books_v1/classes.rb +7 -0
  63. data/generated/google/apis/books_v1/representations.rb +1 -0
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +44 -12
  66. data/generated/google/apis/calendar_v3/service.rb +7 -7
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/civicinfo_v2.rb +1 -1
  69. data/generated/google/apis/civicinfo_v2/classes.rb +641 -0
  70. data/generated/google/apis/civicinfo_v2/representations.rb +215 -0
  71. data/generated/google/apis/classroom_v1.rb +1 -1
  72. data/generated/google/apis/classroom_v1/classes.rb +25 -0
  73. data/generated/google/apis/classroom_v1/representations.rb +15 -0
  74. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  75. data/generated/google/apis/cloudbilling_v1/classes.rb +85 -10
  76. data/generated/google/apis/cloudbilling_v1/representations.rb +18 -0
  77. data/generated/google/apis/cloudbilling_v1/service.rb +3 -13
  78. data/generated/google/apis/cloudbuild_v1.rb +4 -4
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +37 -3
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +3 -0
  81. data/generated/google/apis/cloudbuild_v1/service.rb +3 -3
  82. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  83. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  84. data/generated/google/apis/clouddebugger_v2/representations.rb +1 -0
  85. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +4 -5
  87. data/generated/google/apis/cloudiot_v1.rb +1 -1
  88. data/generated/google/apis/cloudiot_v1/classes.rb +56 -0
  89. data/generated/google/apis/cloudiot_v1/representations.rb +18 -0
  90. data/generated/google/apis/cloudiot_v1/service.rb +355 -0
  91. data/generated/google/apis/cloudkms_v1.rb +6 -3
  92. data/generated/google/apis/cloudkms_v1/classes.rb +340 -14
  93. data/generated/google/apis/cloudkms_v1/representations.rb +147 -0
  94. data/generated/google/apis/cloudkms_v1/service.rb +126 -6
  95. data/generated/google/apis/cloudprofiler_v2.rb +3 -3
  96. data/generated/google/apis/cloudprofiler_v2/classes.rb +0 -6
  97. data/generated/google/apis/cloudprofiler_v2/representations.rb +0 -2
  98. data/generated/google/apis/cloudprofiler_v2/service.rb +2 -2
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +57 -1
  101. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +18 -0
  102. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  103. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +56 -0
  104. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +18 -0
  105. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +57 -1
  107. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +18 -0
  108. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +57 -1
  111. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +18 -0
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  114. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +28 -0
  115. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +14 -0
  116. data/generated/google/apis/cloudshell_v1alpha1/service.rb +37 -0
  117. data/generated/google/apis/cloudtasks_v2beta2.rb +2 -2
  118. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +167 -103
  119. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +18 -0
  120. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -21
  121. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  122. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  123. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  124. data/generated/google/apis/{spectrum_v1explorer.rb → composer_v1.rb} +12 -9
  125. data/generated/google/apis/composer_v1/classes.rb +640 -0
  126. data/generated/google/apis/composer_v1/representations.rb +195 -0
  127. data/generated/google/apis/composer_v1/service.rb +462 -0
  128. data/generated/google/apis/composer_v1beta1.rb +1 -1
  129. data/generated/google/apis/composer_v1beta1/classes.rb +13 -10
  130. data/generated/google/apis/composer_v1beta1/service.rb +6 -6
  131. data/generated/google/apis/compute_alpha.rb +1 -1
  132. data/generated/google/apis/compute_alpha/classes.rb +5135 -4250
  133. data/generated/google/apis/compute_alpha/representations.rb +644 -216
  134. data/generated/google/apis/compute_alpha/service.rb +2308 -1655
  135. data/generated/google/apis/compute_beta.rb +1 -1
  136. data/generated/google/apis/compute_beta/classes.rb +1070 -62
  137. data/generated/google/apis/compute_beta/representations.rb +435 -0
  138. data/generated/google/apis/compute_beta/service.rb +1758 -321
  139. data/generated/google/apis/compute_v1.rb +1 -1
  140. data/generated/google/apis/compute_v1/classes.rb +1984 -210
  141. data/generated/google/apis/compute_v1/representations.rb +754 -9
  142. data/generated/google/apis/compute_v1/service.rb +1299 -12
  143. data/generated/google/apis/container_v1.rb +1 -1
  144. data/generated/google/apis/container_v1/classes.rb +43 -0
  145. data/generated/google/apis/container_v1/representations.rb +17 -0
  146. data/generated/google/apis/container_v1beta1.rb +1 -1
  147. data/generated/google/apis/container_v1beta1/classes.rb +193 -231
  148. data/generated/google/apis/container_v1beta1/representations.rb +72 -82
  149. data/generated/google/apis/container_v1beta1/service.rb +0 -112
  150. data/generated/google/apis/content_v2.rb +1 -1
  151. data/generated/google/apis/content_v2/classes.rb +199 -29
  152. data/generated/google/apis/content_v2/representations.rb +59 -0
  153. data/generated/google/apis/content_v2/service.rb +8 -3
  154. data/generated/google/apis/content_v2sandbox.rb +1 -1
  155. data/generated/google/apis/content_v2sandbox/classes.rb +32 -19
  156. data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
  157. data/generated/google/apis/content_v2sandbox/service.rb +8 -3
  158. data/generated/google/apis/customsearch_v1.rb +1 -1
  159. data/generated/google/apis/customsearch_v1/service.rb +7 -7
  160. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  161. data/generated/google/apis/dataproc_v1beta2/classes.rb +112 -43
  162. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -0
  163. data/generated/google/apis/datastore_v1.rb +1 -1
  164. data/generated/google/apis/datastore_v1/classes.rb +140 -0
  165. data/generated/google/apis/datastore_v1/representations.rb +65 -0
  166. data/generated/google/apis/datastore_v1/service.rb +74 -0
  167. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  168. data/generated/google/apis/datastore_v1beta1/classes.rb +31 -0
  169. data/generated/google/apis/datastore_v1beta1/representations.rb +17 -0
  170. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  171. data/generated/google/apis/datastore_v1beta3/classes.rb +31 -0
  172. data/generated/google/apis/datastore_v1beta3/representations.rb +17 -0
  173. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  174. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/dfareporting_v2_8.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_0.rb +1 -1
  178. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  179. data/generated/google/apis/dfareporting_v3_2.rb +40 -0
  180. data/generated/google/apis/dfareporting_v3_2/classes.rb +12297 -0
  181. data/generated/google/apis/dfareporting_v3_2/representations.rb +4397 -0
  182. data/generated/google/apis/dfareporting_v3_2/service.rb +8790 -0
  183. data/generated/google/apis/dialogflow_v2.rb +1 -1
  184. data/generated/google/apis/dialogflow_v2/classes.rb +304 -12
  185. data/generated/google/apis/dialogflow_v2/representations.rb +113 -0
  186. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  187. data/generated/google/apis/dialogflow_v2beta1/classes.rb +656 -26
  188. data/generated/google/apis/dialogflow_v2beta1/representations.rb +248 -0
  189. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -0
  190. data/generated/google/apis/discovery_v1.rb +1 -1
  191. data/generated/google/apis/dlp_v2.rb +1 -1
  192. data/generated/google/apis/dlp_v2/classes.rb +357 -6
  193. data/generated/google/apis/dlp_v2/representations.rb +161 -0
  194. data/generated/google/apis/dlp_v2/service.rb +366 -0
  195. data/generated/google/apis/dns_v1.rb +1 -1
  196. data/generated/google/apis/dns_v1/classes.rb +0 -7
  197. data/generated/google/apis/dns_v1/representations.rb +0 -1
  198. data/generated/google/apis/dns_v1beta2.rb +1 -1
  199. data/generated/google/apis/dns_v1beta2/classes.rb +0 -7
  200. data/generated/google/apis/dns_v1beta2/representations.rb +0 -1
  201. data/generated/google/apis/dns_v2beta1.rb +1 -1
  202. data/generated/google/apis/dns_v2beta1/classes.rb +0 -7
  203. data/generated/google/apis/dns_v2beta1/representations.rb +0 -1
  204. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/drive_v2.rb +1 -1
  207. data/generated/google/apis/drive_v2/service.rb +3 -2
  208. data/generated/google/apis/drive_v3.rb +1 -1
  209. data/generated/google/apis/firestore_v1.rb +37 -0
  210. data/generated/google/apis/firestore_v1/classes.rb +324 -0
  211. data/generated/google/apis/firestore_v1/representations.rb +130 -0
  212. data/generated/google/apis/firestore_v1/service.rb +282 -0
  213. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  214. data/generated/google/apis/firestore_v1beta1/classes.rb +290 -0
  215. data/generated/google/apis/firestore_v1beta1/representations.rb +128 -0
  216. data/generated/google/apis/firestore_v1beta1/service.rb +79 -0
  217. data/generated/google/apis/firestore_v1beta2.rb +37 -0
  218. data/generated/google/apis/firestore_v1beta2/classes.rb +531 -0
  219. data/generated/google/apis/firestore_v1beta2/representations.rb +189 -0
  220. data/generated/google/apis/firestore_v1beta2/service.rb +213 -0
  221. data/generated/google/apis/fitness_v1.rb +1 -1
  222. data/generated/google/apis/fusiontables_v1.rb +1 -1
  223. data/generated/google/apis/fusiontables_v2.rb +1 -1
  224. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  225. data/generated/google/apis/games_management_v1management.rb +1 -1
  226. data/generated/google/apis/games_v1.rb +1 -1
  227. data/generated/google/apis/genomics_v1.rb +1 -1
  228. data/generated/google/apis/genomics_v1/classes.rb +113 -36
  229. data/generated/google/apis/genomics_v1/representations.rb +31 -0
  230. data/generated/google/apis/genomics_v1/service.rb +2 -0
  231. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  232. data/generated/google/apis/genomics_v1alpha2/classes.rb +57 -36
  233. data/generated/google/apis/genomics_v1alpha2/representations.rb +13 -0
  234. data/generated/google/apis/genomics_v1alpha2/service.rb +2 -0
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -137
  237. data/generated/google/apis/genomics_v2alpha1/representations.rb +50 -0
  238. data/generated/google/apis/genomics_v2alpha1/service.rb +7 -5
  239. data/generated/google/apis/gmail_v1.rb +1 -1
  240. data/generated/google/apis/groupsmigration_v1.rb +1 -1
  241. data/generated/google/apis/groupssettings_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1/classes.rb +258 -3
  244. data/generated/google/apis/iam_v1/representations.rb +73 -0
  245. data/generated/google/apis/iam_v1/service.rb +50 -2
  246. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  247. data/generated/google/apis/iamcredentials_v1/classes.rb +2 -2
  248. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  249. data/generated/google/apis/iap_v1beta1.rb +34 -0
  250. data/generated/google/apis/iap_v1beta1/classes.rb +440 -0
  251. data/generated/google/apis/iap_v1beta1/representations.rb +158 -0
  252. data/generated/google/apis/iap_v1beta1/service.rb +398 -0
  253. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  254. data/generated/google/apis/jobs_v2.rb +3 -3
  255. data/generated/google/apis/jobs_v2/classes.rb +61 -5
  256. data/generated/google/apis/jobs_v2/representations.rb +18 -0
  257. data/generated/google/apis/jobs_v2/service.rb +3 -3
  258. data/generated/google/apis/licensing_v1.rb +1 -1
  259. data/generated/google/apis/logging_v2.rb +2 -2
  260. data/generated/google/apis/logging_v2/classes.rb +64 -58
  261. data/generated/google/apis/logging_v2/representations.rb +1 -0
  262. data/generated/google/apis/logging_v2/service.rb +39 -40
  263. data/generated/google/apis/logging_v2beta1.rb +2 -2
  264. data/generated/google/apis/logging_v2beta1/classes.rb +59 -53
  265. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  266. data/generated/google/apis/logging_v2beta1/service.rb +15 -16
  267. data/generated/google/apis/mirror_v1.rb +1 -1
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +87 -0
  270. data/generated/google/apis/ml_v1/representations.rb +34 -0
  271. data/generated/google/apis/ml_v1/service.rb +53 -0
  272. data/generated/google/apis/monitoring_v3.rb +1 -1
  273. data/generated/google/apis/monitoring_v3/classes.rb +68 -15
  274. data/generated/google/apis/monitoring_v3/representations.rb +26 -0
  275. data/generated/google/apis/mybusiness_v3/classes.rb +1 -1
  276. data/generated/google/apis/oauth2_v1.rb +1 -1
  277. data/generated/google/apis/oauth2_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  279. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  280. data/generated/google/apis/pagespeedonline_v4.rb +1 -1
  281. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  282. data/generated/google/apis/plus_domains_v1.rb +1 -1
  283. data/generated/google/apis/plus_v1.rb +1 -1
  284. data/generated/google/apis/poly_v1.rb +4 -3
  285. data/generated/google/apis/poly_v1/classes.rb +28 -0
  286. data/generated/google/apis/poly_v1/representations.rb +15 -0
  287. data/generated/google/apis/poly_v1/service.rb +3 -2
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +63 -8
  290. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +7 -8
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +56 -0
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +18 -0
  295. data/generated/google/apis/redis_v1beta1.rb +2 -2
  296. data/generated/google/apis/redis_v1beta1/classes.rb +38 -119
  297. data/generated/google/apis/redis_v1beta1/representations.rb +10 -43
  298. data/generated/google/apis/redis_v1beta1/service.rb +73 -1
  299. data/generated/google/apis/replicapool_v1beta1.rb +1 -1
  300. data/generated/google/apis/replicapoolupdater_v1beta1.rb +1 -1
  301. data/generated/google/apis/reseller_v1.rb +1 -1
  302. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  303. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +57 -1
  304. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +18 -0
  305. data/generated/google/apis/script_v1.rb +1 -1
  306. data/generated/google/apis/script_v1/classes.rb +1 -57
  307. data/generated/google/apis/script_v1/representations.rb +0 -32
  308. data/generated/google/apis/servicebroker_v1.rb +1 -1
  309. data/generated/google/apis/servicebroker_v1/classes.rb +56 -1
  310. data/generated/google/apis/servicebroker_v1/representations.rb +18 -0
  311. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  312. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +56 -1
  313. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +18 -0
  314. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  315. data/generated/google/apis/servicebroker_v1beta1/classes.rb +56 -1
  316. data/generated/google/apis/servicebroker_v1beta1/representations.rb +18 -0
  317. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +13 -4
  319. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  320. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  321. data/generated/google/apis/servicecontrol_v1/classes.rb +259 -0
  322. data/generated/google/apis/servicecontrol_v1/representations.rb +68 -0
  323. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  324. data/generated/google/apis/servicemanagement_v1/classes.rb +68 -4
  325. data/generated/google/apis/servicemanagement_v1/representations.rb +19 -0
  326. data/generated/google/apis/serviceusage_v1.rb +1 -1
  327. data/generated/google/apis/serviceusage_v1/classes.rb +13 -4
  328. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  329. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceusage_v1beta1/classes.rb +13 -4
  331. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/serviceuser_v1.rb +1 -1
  333. data/generated/google/apis/serviceuser_v1/classes.rb +12 -3
  334. data/generated/google/apis/serviceuser_v1/representations.rb +1 -0
  335. data/generated/google/apis/sheets_v4.rb +1 -1
  336. data/generated/google/apis/sheets_v4/classes.rb +22 -22
  337. data/generated/google/apis/site_verification_v1.rb +1 -1
  338. data/generated/google/apis/slides_v1.rb +1 -1
  339. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  340. data/generated/google/apis/sourcerepo_v1/classes.rb +56 -1
  341. data/generated/google/apis/sourcerepo_v1/representations.rb +18 -0
  342. data/generated/google/apis/sqladmin_v1beta3.rb +38 -0
  343. data/generated/google/apis/sqladmin_v1beta3/classes.rb +1632 -0
  344. data/generated/google/apis/sqladmin_v1beta3/representations.rb +733 -0
  345. data/generated/google/apis/sqladmin_v1beta3/service.rb +995 -0
  346. data/generated/google/apis/sqladmin_v1beta4.rb +4 -4
  347. data/generated/google/apis/sqladmin_v1beta4/classes.rb +30 -14
  348. data/generated/google/apis/sqladmin_v1beta4/service.rb +7 -7
  349. data/generated/google/apis/storage_v1.rb +1 -1
  350. data/generated/google/apis/storage_v1beta1.rb +1 -1
  351. data/generated/google/apis/storage_v1beta2.rb +1 -1
  352. data/generated/google/apis/surveys_v2.rb +1 -1
  353. data/generated/google/apis/tagmanager_v1.rb +1 -1
  354. data/generated/google/apis/tagmanager_v2.rb +1 -1
  355. data/generated/google/apis/tasks_v1.rb +1 -1
  356. data/generated/google/apis/testing_v1.rb +1 -1
  357. data/generated/google/apis/testing_v1/classes.rb +2 -2
  358. data/generated/google/apis/texttospeech_v1.rb +34 -0
  359. data/generated/google/apis/texttospeech_v1/classes.rb +278 -0
  360. data/generated/google/apis/texttospeech_v1/representations.rb +133 -0
  361. data/generated/google/apis/texttospeech_v1/service.rb +127 -0
  362. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  363. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -2
  364. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  365. data/generated/google/apis/toolresults_v1beta3/classes.rb +0 -12
  366. data/generated/google/apis/toolresults_v1beta3/representations.rb +0 -2
  367. data/generated/google/apis/tpu_v1.rb +1 -1
  368. data/generated/google/apis/tpu_v1/classes.rb +0 -13
  369. data/generated/google/apis/tpu_v1/representations.rb +0 -12
  370. data/generated/google/apis/tpu_v1/service.rb +0 -33
  371. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  372. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -13
  373. data/generated/google/apis/tpu_v1alpha1/representations.rb +0 -12
  374. data/generated/google/apis/tpu_v1alpha1/service.rb +0 -33
  375. data/generated/google/apis/urlshortener_v1.rb +1 -1
  376. data/generated/google/apis/vault_v1.rb +1 -1
  377. data/generated/google/apis/vault_v1/classes.rb +803 -0
  378. data/generated/google/apis/vault_v1/representations.rb +384 -0
  379. data/generated/google/apis/vault_v1/service.rb +211 -0
  380. data/generated/google/apis/vision_v1.rb +1 -1
  381. data/generated/google/apis/vision_v1/classes.rb +3342 -227
  382. data/generated/google/apis/vision_v1/representations.rb +1696 -365
  383. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  384. data/generated/google/apis/vision_v1p1beta1/classes.rb +1826 -94
  385. data/generated/google/apis/vision_v1p1beta1/representations.rb +754 -1
  386. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/vision_v1p2beta1/classes.rb +3712 -597
  388. data/generated/google/apis/vision_v1p2beta1/representations.rb +1606 -275
  389. data/generated/google/apis/webfonts_v1.rb +1 -1
  390. data/generated/google/apis/webmasters_v3.rb +1 -1
  391. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  392. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +58 -2
  393. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +32 -0
  394. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  395. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  396. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  397. data/generated/google/apis/youtube_v3.rb +1 -1
  398. data/lib/google/apis/core/http_command.rb +1 -1
  399. data/lib/google/apis/version.rb +1 -1
  400. metadata +34 -6
  401. data/generated/google/apis/spectrum_v1explorer/classes.rb +0 -1612
  402. data/generated/google/apis/spectrum_v1explorer/representations.rb +0 -611
  403. data/generated/google/apis/spectrum_v1explorer/service.rb +0 -271
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class ContainerKilledEvent
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class ContainerStartedEvent
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -254,6 +260,13 @@ module Google
254
260
  end
255
261
  end
256
262
 
263
+ class ContainerKilledEvent
264
+ # @private
265
+ class Representation < Google::Apis::Core::JsonRepresentation
266
+ property :action_id, as: 'actionId'
267
+ end
268
+ end
269
+
257
270
  class ContainerStartedEvent
258
271
  # @private
259
272
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -128,6 +128,8 @@ module Google
128
128
  # * error&#58; If the pipeline is running, this value is NULL. Once the
129
129
  # pipeline finishes, the value is the standard Google error code.
130
130
  # * labels.key or labels."key with space" where key is a label key.
131
+ # * done&#58; If the pipeline is running, this value is false. Once the
132
+ # pipeline finishes, the value is true.
131
133
  # In v1 and v1alpha2, the following filter fields are supported&#58;
132
134
  # * projectId&#58; Required. Corresponds to
133
135
  # OperationMetadata.projectId.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV2alpha1
27
27
  VERSION = 'V2alpha1'
28
- REVISION = '20180623'
28
+ REVISION = '20180807'
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'
@@ -31,12 +31,12 @@ module Google
31
31
  # @return [Fixnum]
32
32
  attr_accessor :count
33
33
 
34
- # The accelerator type string (eg nvidia-tesla-k80).
35
- # Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
34
+ # The accelerator type string (for example, "nvidia-tesla-k80").
35
+ # Only NVIDIA GPU accelerators are currently supported. If an NVIDIA GPU is
36
36
  # attached, the required runtime libraries will be made available to all
37
- # containers under `/usr/local/nvidia`. The driver version to install must
37
+ # containers under `/usr/local/nvidia`. The driver version to install must
38
38
  # be specified using the NVIDIA driver version parameter on the virtual
39
- # machine specification. Note that attaching a GPU increases the worker VM
39
+ # machine specification. Note that attaching a GPU increases the worker VM
40
40
  # startup time by a few minutes.
41
41
  # Corresponds to the JSON property `type`
42
42
  # @return [String]
@@ -53,41 +53,41 @@ module Google
53
53
  end
54
54
  end
55
55
 
56
- # Action specifies a single action that runs a docker container.
56
+ # Specifies a single action that runs a Docker container.
57
57
  class Action
58
58
  include Google::Apis::Core::Hashable
59
59
 
60
- # If specified, overrides the CMD specified in the container. If the
61
- # container also has an ENTRYPOINT the values are used as entrypoint
62
- # arguments. Otherwise, they are used as a command and arguments to run
60
+ # If specified, overrides the `CMD` specified in the container. If the
61
+ # container also has an `ENTRYPOINT` the values are used as entrypoint
62
+ # arguments. Otherwise, they are used as a command and arguments to run
63
63
  # inside the container.
64
64
  # Corresponds to the JSON property `commands`
65
65
  # @return [Array<String>]
66
66
  attr_accessor :commands
67
67
 
68
- # Secret holds encrypted information that is only decrypted and stored in RAM
68
+ # Holds encrypted information that is only decrypted and stored in RAM
69
69
  # by the worker VM when running the pipeline.
70
70
  # Corresponds to the JSON property `credentials`
71
71
  # @return [Google::Apis::GenomicsV2alpha1::Secret]
72
72
  attr_accessor :credentials
73
73
 
74
- # If specified, overrides the ENTRYPOINT specified in the container.
74
+ # If specified, overrides the `ENTRYPOINT` specified in the container.
75
75
  # Corresponds to the JSON property `entrypoint`
76
76
  # @return [String]
77
77
  attr_accessor :entrypoint
78
78
 
79
- # The environment to pass into the container. This environment is merged
80
- # with any values specified in the Pipeline message. These values overwrite
81
- # any in the Pipeline message.
79
+ # The environment to pass into the container. This environment is merged
80
+ # with any values specified in the `Pipeline` message. These values
81
+ # overwrite any in the `Pipeline` message.
82
82
  # In addition to the values passed here, a few other values are
83
- # automatically injected into the environment. These cannot be hidden or
83
+ # automatically injected into the environment. These cannot be hidden or
84
84
  # overwritten.
85
- # `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline has failed
85
+ # `GOOGLE_PIPELINE_FAILED` will be set to "1" if the pipeline failed
86
86
  # because an action has exited with a non-zero status (and did not have the
87
- # IGNORE_EXIT_STATUS flag set). This can be used to determine if additional
87
+ # `IGNORE_EXIT_STATUS` flag set). This can be used to determine if additional
88
88
  # debug or logging actions should execute.
89
89
  # `GOOGLE_LAST_EXIT_STATUS` will be set to the exit status of the last
90
- # non-background action that executed. This can be used by workflow engine
90
+ # non-background action that executed. This can be used by workflow engine
91
91
  # authors to determine whether an individual action has succeeded or failed.
92
92
  # Corresponds to the JSON property `environment`
93
93
  # @return [Hash<String,String>]
@@ -98,65 +98,73 @@ module Google
98
98
  # @return [Array<String>]
99
99
  attr_accessor :flags
100
100
 
101
- # The URI to pull the container image from. Note that all images referenced
102
- # by actions in the pipeline are pulled before the first action runs. If
101
+ # The URI to pull the container image from. Note that all images referenced
102
+ # by actions in the pipeline are pulled before the first action runs. If
103
103
  # multiple actions reference the same image, it is only pulled once,
104
104
  # ensuring that the same image is used for all actions in a single pipeline.
105
105
  # Corresponds to the JSON property `imageUri`
106
106
  # @return [String]
107
107
  attr_accessor :image_uri
108
108
 
109
- # Labels to associate with the action. This field is provided to assist
109
+ # Labels to associate with the action. This field is provided to assist
110
110
  # workflow engine authors in identifying actions (for example, to indicate
111
- # what sort of action they perform: eg. localization, debugging, etc). They
112
- # are returned in the operation metadata but are otherwise ignored.
111
+ # what sort of action they perform, such as localization or debugging).
112
+ # They are returned in the operation metadata, but are otherwise ignored.
113
113
  # Corresponds to the JSON property `labels`
114
114
  # @return [Hash<String,String>]
115
115
  attr_accessor :labels
116
116
 
117
117
  # A list of mounts to make available to the action.
118
118
  # In addition to the values specified here, every action has a special
119
- # virtual disk mounted under /google that contains log files and other
119
+ # virtual disk mounted under `/google` that contains log files and other
120
120
  # operational components.
121
121
  # <ul>
122
- # <li><code>/google/logs</code>: all logs written during the pipeline
123
- # execution are stored here.</li>
124
- # <li><code>/google/logs/output</code>: the combined standard output and
122
+ # <li><code>/google/logs</code> All logs written during the pipeline
123
+ # execution.</li>
124
+ # <li><code>/google/logs/output</code> The combined standard output and
125
125
  # standard error of all actions run as part of the pipeline
126
126
  # execution.</li>
127
- # <li><code>/google/logs/action/*/stdout</code>: the complete contents of
128
- # each individual action's standard output</li>
129
- # <li><code>/google/logs/action/*/stderr</code>: the complete contents of
130
- # each individual action's standard error output</li>
127
+ # <li><code>/google/logs/action/*/stdout</code> The complete contents of
128
+ # each individual action's standard output.</li>
129
+ # <li><code>/google/logs/action/*/stderr</code> The complete contents of
130
+ # each individual action's standard error output.</li>
131
131
  # </ul>
132
132
  # Corresponds to the JSON property `mounts`
133
133
  # @return [Array<Google::Apis::GenomicsV2alpha1::Mount>]
134
134
  attr_accessor :mounts
135
135
 
136
- # An optional name for the container. The container hostname will be set to
137
- # this name, making it useful for inter-container communication. The name
136
+ # An optional name for the container. The container hostname will be set to
137
+ # this name, making it useful for inter-container communication. The name
138
138
  # must contain only upper and lowercase alphanumeric characters and hypens
139
139
  # and cannot start with a hypen.
140
140
  # Corresponds to the JSON property `name`
141
141
  # @return [String]
142
142
  attr_accessor :name
143
143
 
144
- # The PID namespace to run the action inside. If unspecified, a separate
144
+ # The PID namespace to run the action inside. If unspecified, a separate
145
145
  # isolated namespace is used.
146
146
  # Corresponds to the JSON property `pidNamespace`
147
147
  # @return [String]
148
148
  attr_accessor :pid_namespace
149
149
 
150
- # A map of container to host port mappings for this container. Note that if
151
- # the container already specifies exposed ports, the PUBLISH_EXPOSED_PORTS
152
- # flag should be used instead.
153
- # The host port number must be less than 65536. If it is zero, an unused
154
- # random port is assigned. To determine the resulting port number, consult
155
- # the ContainerStartedEvent in the operation metadata.
150
+ # A map of containers to host port mappings for this container. If the
151
+ # container already specifies exposed ports, use the
152
+ # `PUBLISH_EXPOSED_PORTS` flag instead.
153
+ # The host port number must be less than 65536. If it is zero, an unused
154
+ # random port is assigned. To determine the resulting port number, consult
155
+ # the `ContainerStartedEvent` in the operation metadata.
156
156
  # Corresponds to the JSON property `portMappings`
157
157
  # @return [Hash<String,Fixnum>]
158
158
  attr_accessor :port_mappings
159
159
 
160
+ # The maximum amount of time to give the action to complete. If the action
161
+ # fails to complete before the timeout, it will be terminated and the exit
162
+ # status will be non-zero. The pipeline will continue or terminate based
163
+ # on the rules defined by the `ALWAYS_RUN` and `IGNORE_EXIT_STATUS` flags.
164
+ # Corresponds to the JSON property `timeout`
165
+ # @return [String]
166
+ attr_accessor :timeout
167
+
160
168
  def initialize(**args)
161
169
  update!(**args)
162
170
  end
@@ -174,6 +182,7 @@ module Google
174
182
  @name = args[:name] if args.key?(:name)
175
183
  @pid_namespace = args[:pid_namespace] if args.key?(:pid_namespace)
176
184
  @port_mappings = args[:port_mappings] if args.key?(:port_mappings)
185
+ @timeout = args[:timeout] if args.key?(:timeout)
177
186
  end
178
187
  end
179
188
 
@@ -253,6 +262,11 @@ module Google
253
262
  # @return [Google::Apis::GenomicsV2alpha1::Status]
254
263
  attr_accessor :result
255
264
 
265
+ # The status of the worker VM.
266
+ # Corresponds to the JSON property `workerStatus`
267
+ # @return [Google::Apis::GenomicsV2alpha1::WorkerStatus]
268
+ attr_accessor :worker_status
269
+
256
270
  def initialize(**args)
257
271
  update!(**args)
258
272
  end
@@ -262,6 +276,7 @@ module Google
262
276
  @deadline_expired = args[:deadline_expired] if args.key?(:deadline_expired)
263
277
  @event = args[:event] if args.key?(:event)
264
278
  @result = args[:result] if args.key?(:result)
279
+ @worker_status = args[:worker_status] if args.key?(:worker_status)
265
280
  end
266
281
  end
267
282
 
@@ -330,7 +345,28 @@ module Google
330
345
  end
331
346
  end
332
347
 
333
- # This event is generated when a container starts.
348
+ # An event generated when a container is forcibly terminated by the
349
+ # worker. Currently, this only occurs when the container outlives the
350
+ # timeout specified by the user.
351
+ class ContainerKilledEvent
352
+ include Google::Apis::Core::Hashable
353
+
354
+ # The numeric ID of the action that started the container.
355
+ # Corresponds to the JSON property `actionId`
356
+ # @return [Fixnum]
357
+ attr_accessor :action_id
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @action_id = args[:action_id] if args.key?(:action_id)
366
+ end
367
+ end
368
+
369
+ # An event generated when a container starts.
334
370
  class ContainerStartedEvent
335
371
  include Google::Apis::Core::Hashable
336
372
 
@@ -339,17 +375,17 @@ module Google
339
375
  # @return [Fixnum]
340
376
  attr_accessor :action_id
341
377
 
342
- # The public IP address that can be used to connect to the container. This
343
- # field is only populated when at least one port mapping is present. If the
344
- # instance was created with a private address this field will be empty even
378
+ # The public IP address that can be used to connect to the container. This
379
+ # field is only populated when at least one port mapping is present. If the
380
+ # instance was created with a private address, this field will be empty even
345
381
  # if port mappings exist.
346
382
  # Corresponds to the JSON property `ipAddress`
347
383
  # @return [String]
348
384
  attr_accessor :ip_address
349
385
 
350
- # The container to host port mappings installed for this container. This
351
- # set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as
352
- # well as any specified in the Action definition.
386
+ # The container-to-host port mappings installed for this container. This
387
+ # set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag
388
+ # as well as any specified in the `Action` definition.
353
389
  # Corresponds to the JSON property `portMappings`
354
390
  # @return [Hash<String,Fixnum>]
355
391
  attr_accessor :port_mappings
@@ -366,7 +402,7 @@ module Google
366
402
  end
367
403
  end
368
404
 
369
- # This event is generated when a container exits.
405
+ # An event generated when a container exits.
370
406
  class ContainerStoppedEvent
371
407
  include Google::Apis::Core::Hashable
372
408
 
@@ -381,12 +417,12 @@ module Google
381
417
  attr_accessor :exit_status
382
418
 
383
419
  # The tail end of any content written to standard error by the container.
384
- # To prevent this from being recorded if the action is known to emit
385
- # large amounts of debugging noise or sensitive information, set the
386
- # DISABLE_STANDARD_ERROR_CAPTURE flag.
420
+ # If the content emits large amounts of debugging noise or contains
421
+ # sensitive information, you can prevent the content from being printed by
422
+ # setting the `DISABLE_STANDARD_ERROR_CAPTURE` flag.
387
423
  # Note that only a small amount of the end of the stream is captured here.
388
- # The entire stream is stored in the /google/logs directory mounted into
389
- # each action, and may be copied off the machine as described elsewhere.
424
+ # The entire stream is stored in the `/google/logs` directory mounted into
425
+ # each action, and can be copied off the machine as described elsewhere.
390
426
  # Corresponds to the JSON property `stderr`
391
427
  # @return [String]
392
428
  attr_accessor :stderr
@@ -403,13 +439,13 @@ module Google
403
439
  end
404
440
  end
405
441
 
406
- # This event is generated whenever a resource limitation or transient error
442
+ # An event generated whenever a resource limitation or transient error
407
443
  # delays execution of a pipeline that was otherwise ready to run.
408
444
  class DelayedEvent
409
445
  include Google::Apis::Core::Hashable
410
446
 
411
- # A textual description of the cause of the delay. The string may change
412
- # without notice since it is often generated by another service (such as
447
+ # A textual description of the cause of the delay. The string can change
448
+ # without notice because it is often generated by another service (such as
413
449
  # Compute Engine).
414
450
  # Corresponds to the JSON property `cause`
415
451
  # @return [String]
@@ -417,8 +453,8 @@ module Google
417
453
 
418
454
  # If the delay was caused by a resource shortage, this field lists the
419
455
  # Compute Engine metrics that are preventing this operation from running
420
- # (for example, CPUS or INSTANCES). If the particular metric is not known,
421
- # a single UNKNOWN metric will be present.
456
+ # (for example, `CPUS` or `INSTANCES`). If the particular metric is not
457
+ # known, a single `UNKNOWN` metric will be present.
422
458
  # Corresponds to the JSON property `metrics`
423
459
  # @return [Array<String>]
424
460
  attr_accessor :metrics
@@ -435,20 +471,24 @@ module Google
435
471
  end
436
472
 
437
473
  # Carries information about a disk that can be attached to a VM.
474
+ # See https://cloud.google.com/compute/docs/disks/performance for more
475
+ # information about disk type, size, and performance considerations.
438
476
  class Disk
439
477
  include Google::Apis::Core::Hashable
440
478
 
441
- # A user supplied name for the disk, used when mounting it into actions.
442
- # The name must contain only upper and lowercase alphanumeric characters and
443
- # hypens and cannot start with a hypen.
479
+ # A user-supplied name for the disk. Used when mounting the disk into
480
+ # actions. The name must contain only upper and lowercase alphanumeric
481
+ # characters and hypens and cannot start with a hypen.
444
482
  # Corresponds to the JSON property `name`
445
483
  # @return [String]
446
484
  attr_accessor :name
447
485
 
448
- # The size, in gigabytes, of the disk to attach. Note that this value is
449
- # not configurable for some disk types such as local-ssd. If the size is
450
- # not specified, a size of at least 500gb is used to ensure reasonable I/O
451
- # performance.
486
+ # The size, in GB, of the disk to attach. If the size is not
487
+ # specified, a default is chosen to ensure reasonable I/O performance.
488
+ # If the disk type is specified as `local-ssd`, multiple local drives are
489
+ # automatically combined to provide the requested size. Note, however, that
490
+ # each physical SSD is 375GB in size, and no more than 8 drives can be
491
+ # attached to a single instance.
452
492
  # Corresponds to the JSON property `sizeGb`
453
493
  # @return [Fixnum]
454
494
  attr_accessor :size_gb
@@ -458,7 +498,7 @@ module Google
458
498
  # @return [String]
459
499
  attr_accessor :source_image
460
500
 
461
- # The Compute Engine disk type. If unspecified, 'pd-standard' is used.
501
+ # The Compute Engine disk type. If unspecified, `pd-standard` is used.
462
502
  # Corresponds to the JSON property `type`
463
503
  # @return [String]
464
504
  attr_accessor :type
@@ -476,6 +516,31 @@ module Google
476
516
  end
477
517
  end
478
518
 
519
+ # The status of a disk on a VM.
520
+ class DiskStatus
521
+ include Google::Apis::Core::Hashable
522
+
523
+ # Free disk space.
524
+ # Corresponds to the JSON property `freeSpaceBytes`
525
+ # @return [Fixnum]
526
+ attr_accessor :free_space_bytes
527
+
528
+ # Total disk space.
529
+ # Corresponds to the JSON property `totalSpaceBytes`
530
+ # @return [Fixnum]
531
+ attr_accessor :total_space_bytes
532
+
533
+ def initialize(**args)
534
+ update!(**args)
535
+ end
536
+
537
+ # Update properties of this object
538
+ def update!(**args)
539
+ @free_space_bytes = args[:free_space_bytes] if args.key?(:free_space_bytes)
540
+ @total_space_bytes = args[:total_space_bytes] if args.key?(:total_space_bytes)
541
+ end
542
+ end
543
+
479
544
  # A generic empty message that you can re-use to avoid defining duplicated
480
545
  # empty messages in your APIs. A typical example is to use it as the request
481
546
  # or the response type of an API method. For instance:
@@ -495,23 +560,23 @@ module Google
495
560
  end
496
561
  end
497
562
 
498
- # Event carries information about events that occur during pipeline execution.
563
+ # Carries information about events that occur during pipeline execution.
499
564
  class Event
500
565
  include Google::Apis::Core::Hashable
501
566
 
502
- # A human readable description of the event. Note that these strings may
503
- # change at any time without notice. Any application logic must use the
504
- # information in the details field.
567
+ # A human-readable description of the event. Note that these strings can
568
+ # change at any time without notice. Any application logic must use the
569
+ # information in the `details` field.
505
570
  # Corresponds to the JSON property `description`
506
571
  # @return [String]
507
572
  attr_accessor :description
508
573
 
509
- # Machine readable details about the event.
574
+ # Machine-readable details about the event.
510
575
  # Corresponds to the JSON property `details`
511
576
  # @return [Hash<String,Object>]
512
577
  attr_accessor :details
513
578
 
514
- # The time that the event occurred.
579
+ # The time at which the event occurred.
515
580
  # Corresponds to the JSON property `timestamp`
516
581
  # @return [String]
517
582
  attr_accessor :timestamp
@@ -528,12 +593,12 @@ module Google
528
593
  end
529
594
  end
530
595
 
531
- # This event is generated when the execution of a pipeline has failed. Note
532
- # that other events may continue to occur after this event.
596
+ # An event generated when the execution of a pipeline has failed. Note
597
+ # that other events can continue to occur after this event.
533
598
  class FailedEvent
534
599
  include Google::Apis::Core::Hashable
535
600
 
536
- # The human readable description of the cause of the failure.
601
+ # The human-readable description of the cause of the failure.
537
602
  # Corresponds to the JSON property `cause`
538
603
  # @return [String]
539
604
  attr_accessor :cause
@@ -617,12 +682,12 @@ module Google
617
682
  end
618
683
  end
619
684
 
620
- # Metadata carries information about the pipeline execution that is returned
685
+ # Carries information about the pipeline execution that is returned
621
686
  # in the long running operation's metadata field.
622
687
  class Metadata
623
688
  include Google::Apis::Core::Hashable
624
689
 
625
- # The time that the operation was created by the API.
690
+ # The time at which the operation was created by the API.
626
691
  # Corresponds to the JSON property `createTime`
627
692
  # @return [String]
628
693
  attr_accessor :create_time
@@ -638,13 +703,12 @@ module Google
638
703
  # @return [Array<Google::Apis::GenomicsV2alpha1::Event>]
639
704
  attr_accessor :events
640
705
 
641
- # The user defined labels associated with this operation.
706
+ # The user-defined labels associated with this operation.
642
707
  # Corresponds to the JSON property `labels`
643
708
  # @return [Hash<String,String>]
644
709
  attr_accessor :labels
645
710
 
646
- # The Pipeline object describes a series of actions to execute, expressed as
647
- # docker containers.
711
+ # Specifies a series of actions to execute, expressed as Docker containers.
648
712
  # Corresponds to the JSON property `pipeline`
649
713
  # @return [Google::Apis::GenomicsV2alpha1::Pipeline]
650
714
  attr_accessor :pipeline
@@ -669,7 +733,7 @@ module Google
669
733
  end
670
734
  end
671
735
 
672
- # Mount carries information about a particular disk mount inside a container.
736
+ # Carries information about a particular disk mount inside a container.
673
737
  class Mount
674
738
  include Google::Apis::Core::Hashable
675
739
 
@@ -678,12 +742,12 @@ module Google
678
742
  # @return [String]
679
743
  attr_accessor :disk
680
744
 
681
- # The path to mount the disk at inside the container.
745
+ # The path to mount the disk inside the container.
682
746
  # Corresponds to the JSON property `path`
683
747
  # @return [String]
684
748
  attr_accessor :path
685
749
 
686
- # If true, the disk is mounted read only inside the container.
750
+ # If true, the disk is mounted read-only inside the container.
687
751
  # Corresponds to the JSON property `readOnly`
688
752
  # @return [Boolean]
689
753
  attr_accessor :read_only
@@ -705,9 +769,9 @@ module Google
705
769
  class Network
706
770
  include Google::Apis::Core::Hashable
707
771
 
708
- # The network name to attach the VM's network interface to. The value will
709
- # be prefixed with "global/networks/" unless it contains a "/" in which case
710
- # it is assumed to be a fully specified network resource URL.
772
+ # The network name to attach the VM's network interface to. The value will
773
+ # be prefixed with `global/networks/` unless it contains a `/`, in which
774
+ # case it is assumed to be a fully specified network resource URL.
711
775
  # If unspecified, the global default network is used.
712
776
  # Corresponds to the JSON property `name`
713
777
  # @return [String]
@@ -715,17 +779,17 @@ module Google
715
779
 
716
780
  # If the specified network is configured for custom subnet creation, the
717
781
  # name of the subnetwork to attach the instance to must be specified here.
718
- # The value is prefixed with "regions/*/subnetworks/" unless it contains a
719
- # "/" in which case it is assumed to be a full specified subnetwork resource
720
- # URL.
721
- # If the '*' character appears in the value, it is replaced with the region
782
+ # The value is prefixed with `regions/*/subnetworks/` unless it contains a
783
+ # `/`, in which case it is assumed to be a fully specified subnetwork
784
+ # resource URL.
785
+ # If the `*` character appears in the value, it is replaced with the region
722
786
  # that the virtual machine has been allocated in.
723
787
  # Corresponds to the JSON property `subnetwork`
724
788
  # @return [String]
725
789
  attr_accessor :subnetwork
726
790
 
727
- # If set to true, do not attach a public IP address to the VM. Note that
728
- # without an public IP address, additional configuration is required to
791
+ # If set to true, do not attach a public IP address to the VM. Note that
792
+ # without a public IP address, additional configuration is required to
729
793
  # allow the VM to access Google services.
730
794
  # See https://cloud.google.com/vpc/docs/configure-private-google-access
731
795
  # for more information.
@@ -941,8 +1005,7 @@ module Google
941
1005
  end
942
1006
  end
943
1007
 
944
- # The Pipeline object describes a series of actions to execute, expressed as
945
- # docker containers.
1008
+ # Specifies a series of actions to execute, expressed as Docker containers.
946
1009
  class Pipeline
947
1010
  include Google::Apis::Core::Hashable
948
1011
 
@@ -951,9 +1014,9 @@ module Google
951
1014
  # @return [Array<Google::Apis::GenomicsV2alpha1::Action>]
952
1015
  attr_accessor :actions
953
1016
 
954
- # The environment to pass into every action. Each action may also specify
1017
+ # The environment to pass into every action. Each action can also specify
955
1018
  # additional environment variables but cannot delete an entry from this map
956
- # (though they may overwrite it with a different value).
1019
+ # (though they can overwrite it with a different value).
957
1020
  # Corresponds to the JSON property `environment`
958
1021
  # @return [Hash<String,String>]
959
1022
  attr_accessor :environment
@@ -964,6 +1027,15 @@ module Google
964
1027
  # @return [Google::Apis::GenomicsV2alpha1::Resources]
965
1028
  attr_accessor :resources
966
1029
 
1030
+ # The maximum amount of time to give the pipeline to complete. This includes
1031
+ # the time spent waiting for a worker to be allocated. If the pipeline fails
1032
+ # to complete before the timeout, it will be cancelled and the error code
1033
+ # will be set to DEADLINE_EXCEEDED.
1034
+ # If unspecified, it will default to 7 days.
1035
+ # Corresponds to the JSON property `timeout`
1036
+ # @return [String]
1037
+ attr_accessor :timeout
1038
+
967
1039
  def initialize(**args)
968
1040
  update!(**args)
969
1041
  end
@@ -973,10 +1045,11 @@ module Google
973
1045
  @actions = args[:actions] if args.key?(:actions)
974
1046
  @environment = args[:environment] if args.key?(:environment)
975
1047
  @resources = args[:resources] if args.key?(:resources)
1048
+ @timeout = args[:timeout] if args.key?(:timeout)
976
1049
  end
977
1050
  end
978
1051
 
979
- # This event is generated when the worker starts pulling an image.
1052
+ # An event generated when the worker starts pulling an image.
980
1053
  class PullStartedEvent
981
1054
  include Google::Apis::Core::Hashable
982
1055
 
@@ -995,7 +1068,7 @@ module Google
995
1068
  end
996
1069
  end
997
1070
 
998
- # This event is generated when the worker stops pulling an image.
1071
+ # An event generated when the worker stops pulling an image.
999
1072
  class PullStoppedEvent
1000
1073
  include Google::Apis::Core::Hashable
1001
1074
 
@@ -1019,12 +1092,12 @@ module Google
1019
1092
  class Resources
1020
1093
  include Google::Apis::Core::Hashable
1021
1094
 
1022
- # The customer project ID to allocate resources in.
1095
+ # The project ID to allocate resources in.
1023
1096
  # Corresponds to the JSON property `projectId`
1024
1097
  # @return [String]
1025
1098
  attr_accessor :project_id
1026
1099
 
1027
- # The list of regions allowed for VM allocation. If set, the zones field
1100
+ # The list of regions allowed for VM allocation. If set, the `zones` field
1028
1101
  # must not be set.
1029
1102
  # Corresponds to the JSON property `regions`
1030
1103
  # @return [Array<String>]
@@ -1035,7 +1108,7 @@ module Google
1035
1108
  # @return [Google::Apis::GenomicsV2alpha1::VirtualMachine]
1036
1109
  attr_accessor :virtual_machine
1037
1110
 
1038
- # The list of zones allowed for VM allocation. If set, the regions field
1111
+ # The list of zones allowed for VM allocation. If set, the `regions` field
1039
1112
  # must not be set.
1040
1113
  # Corresponds to the JSON property `zones`
1041
1114
  # @return [Array<String>]
@@ -1054,23 +1127,22 @@ module Google
1054
1127
  end
1055
1128
  end
1056
1129
 
1057
- # The arguments to the RunPipeline method. The requesting user must have
1058
- # the iam.serviceAccounts.actAs permission for the Google Genomics Service
1059
- # Account or the request will fail.
1130
+ # The arguments to the `RunPipeline` method. The requesting user must have
1131
+ # the `iam.serviceAccounts.actAs` permission for the Cloud Genomics service
1132
+ # account or the request will fail.
1060
1133
  class RunPipelineRequest
1061
1134
  include Google::Apis::Core::Hashable
1062
1135
 
1063
- # User defined labels to associate with the returned operation. These
1136
+ # User-defined labels to associate with the returned operation. These
1064
1137
  # labels are not propagated to any Google Cloud Platform resources used by
1065
- # the operation, and may be modified at any time.
1138
+ # the operation, and can be modified at any time.
1066
1139
  # To associate labels with resources created while executing the operation,
1067
- # see the appropriate resource message (i.e., VirtualMachine).
1140
+ # see the appropriate resource message (for example, `VirtualMachine`).
1068
1141
  # Corresponds to the JSON property `labels`
1069
1142
  # @return [Hash<String,String>]
1070
1143
  attr_accessor :labels
1071
1144
 
1072
- # The Pipeline object describes a series of actions to execute, expressed as
1073
- # docker containers.
1145
+ # Specifies a series of actions to execute, expressed as Docker containers.
1074
1146
  # Corresponds to the JSON property `pipeline`
1075
1147
  # @return [Google::Apis::GenomicsV2alpha1::Pipeline]
1076
1148
  attr_accessor :pipeline
@@ -1108,7 +1180,7 @@ module Google
1108
1180
  end
1109
1181
  end
1110
1182
 
1111
- # Secret holds encrypted information that is only decrypted and stored in RAM
1183
+ # Holds encrypted information that is only decrypted and stored in RAM
1112
1184
  # by the worker VM when running the pipeline.
1113
1185
  class Secret
1114
1186
  include Google::Apis::Core::Hashable
@@ -1119,7 +1191,7 @@ module Google
1119
1191
  attr_accessor :cipher_text
1120
1192
 
1121
1193
  # The name of the Cloud KMS key that will be used to decrypt the secret
1122
- # value. The VM service account must have the required permissions and
1194
+ # value. The VM service account must have the required permissions and
1123
1195
  # authentication scopes to invoke the `decrypt` method on the specified key.
1124
1196
  # Corresponds to the JSON property `keyName`
1125
1197
  # @return [String]
@@ -1136,18 +1208,18 @@ module Google
1136
1208
  end
1137
1209
  end
1138
1210
 
1139
- # Carries information about a Google Cloud Service Account.
1211
+ # Carries information about a Google Cloud service account.
1140
1212
  class ServiceAccount
1141
1213
  include Google::Apis::Core::Hashable
1142
1214
 
1143
- # Email address of the service account. If not specified, the default
1144
- # compute engine service account for the project will be used.
1215
+ # Email address of the service account. If not specified, the default
1216
+ # Compute Engine service account for the project will be used.
1145
1217
  # Corresponds to the JSON property `email`
1146
1218
  # @return [String]
1147
1219
  attr_accessor :email
1148
1220
 
1149
1221
  # List of scopes to be enabled for this service account on the VM, in
1150
- # addition to the Google Genomics API scope.
1222
+ # addition to the Cloud Genomics API scope.
1151
1223
  # Corresponds to the JSON property `scopes`
1152
1224
  # @return [Array<String>]
1153
1225
  attr_accessor :scopes
@@ -1235,10 +1307,10 @@ module Google
1235
1307
  end
1236
1308
  end
1237
1309
 
1238
- # This event is generated when the execution of a container results in a
1239
- # non-zero exit status that was not otherwise ignored. Execution will
1240
- # continue, but only actions that are flagged as ALWAYS_RUN will be executed:
1241
- # other actions will be skipped.
1310
+ # An event generated when the execution of a container results in a
1311
+ # non-zero exit status that was not otherwise ignored. Execution will
1312
+ # continue, but only actions that are flagged as `ALWAYS_RUN` will be
1313
+ # executed. Other actions will be skipped.
1242
1314
  class UnexpectedExitStatusEvent
1243
1315
  include Google::Apis::Core::Hashable
1244
1316
 
@@ -1272,8 +1344,8 @@ module Google
1272
1344
  # @return [Array<Google::Apis::GenomicsV2alpha1::Accelerator>]
1273
1345
  attr_accessor :accelerators
1274
1346
 
1275
- # The size of the boot disk, in gigabytes. The boot disk must be large
1276
- # enough to accommodate all of the docker images from each action in the
1347
+ # The size of the boot disk, in GB. The boot disk must be large
1348
+ # enough to accommodate all of the Docker images from each action in the
1277
1349
  # pipeline at the same time. If not specified, a small but reasonable
1278
1350
  # default value is used.
1279
1351
  # Corresponds to the JSON property `bootDiskSizeGb`
@@ -1281,24 +1353,24 @@ module Google
1281
1353
  attr_accessor :boot_disk_size_gb
1282
1354
 
1283
1355
  # The host operating system image to use.
1284
- # At present, only Container Optimized OS images may be used.
1285
- # The default value is "projects/cos-cloud/global/images/family/cos-stable"
1286
- # which selects the latest stable release of Container Optimized OS.
1356
+ # Currently, only Container-Optimized OS images can be used.
1357
+ # The default value is `projects/cos-cloud/global/images/family/cos-stable`,
1358
+ # which selects the latest stable release of Container-Optimized OS.
1287
1359
  # This option is provided to allow testing against the beta release of the
1288
1360
  # operating system to ensure that the new version does not interact
1289
1361
  # negatively with production pipelines.
1290
- # To test a pipeline against the beta release of COS, use the value
1291
- # "projects/cos-cloud/global/images/family/cos-beta".
1362
+ # To test a pipeline against the beta release of Container-Optimized OS,
1363
+ # use the value `projects/cos-cloud/global/images/family/cos-beta`.
1292
1364
  # Corresponds to the JSON property `bootImage`
1293
1365
  # @return [String]
1294
1366
  attr_accessor :boot_image
1295
1367
 
1296
- # The CPU platform to request. An instance based on a newer platform may be
1297
- # allocated but never one with less capabilities. The value of this
1368
+ # The CPU platform to request. An instance based on a newer platform can be
1369
+ # allocated, but never one with fewer capabilities. The value of this
1298
1370
  # parameter must be a valid Compute Engine CPU platform name (such as "Intel
1299
- # Skylake"). This parameter is only useful for carefully optimized work
1371
+ # Skylake"). This parameter is only useful for carefully optimized work
1300
1372
  # loads where the CPU platform has a significant impact.
1301
- # For more information about the effect of this parameter, please visit
1373
+ # For more information about the effect of this parameter, see
1302
1374
  # https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform.
1303
1375
  # Corresponds to the JSON property `cpuPlatform`
1304
1376
  # @return [String]
@@ -1312,13 +1384,13 @@ module Google
1312
1384
  # Optional set of labels to apply to the VM and any attached disk resources.
1313
1385
  # These labels must adhere to the name and value restrictions on VM labels
1314
1386
  # imposed by Compute Engine.
1315
- # These labels are applied at creation time to the VM and are applied on a
1316
- # best-effort basis to attached disk resources shortly after VM creation.
1387
+ # Labels applied at creation time to the VM. Applied on a best-effort basis
1388
+ # to attached disk resources shortly after VM creation.
1317
1389
  # Corresponds to the JSON property `labels`
1318
1390
  # @return [Hash<String,String>]
1319
1391
  attr_accessor :labels
1320
1392
 
1321
- # The machine type of the virtual machine to create. Must be the short name
1393
+ # The machine type of the virtual machine to create. Must be the short name
1322
1394
  # of a standard machine type (such as "n1-standard-1") or a custom machine
1323
1395
  # type (such as "custom-1-4096").
1324
1396
  # Corresponds to the JSON property `machineType`
@@ -1333,7 +1405,7 @@ module Google
1333
1405
  # The NVIDIA driver version to use when attaching an NVIDIA GPU accelerator.
1334
1406
  # The version specified here must be compatible with the GPU libraries
1335
1407
  # contained in the container being executed, and must be one of the drivers
1336
- # hosted in the 'nvidia-drivers-us-public' bucket on Google Cloud Storage.
1408
+ # hosted in the `nvidia-drivers-us-public` bucket on Google Cloud Storage.
1337
1409
  # Corresponds to the JSON property `nvidiaDriverVersion`
1338
1410
  # @return [String]
1339
1411
  attr_accessor :nvidia_driver_version
@@ -1344,7 +1416,7 @@ module Google
1344
1416
  attr_accessor :preemptible
1345
1417
  alias_method :preemptible?, :preemptible
1346
1418
 
1347
- # Carries information about a Google Cloud Service Account.
1419
+ # Carries information about a Google Cloud service account.
1348
1420
  # Corresponds to the JSON property `serviceAccount`
1349
1421
  # @return [Google::Apis::GenomicsV2alpha1::ServiceAccount]
1350
1422
  attr_accessor :service_account
@@ -1369,7 +1441,7 @@ module Google
1369
1441
  end
1370
1442
  end
1371
1443
 
1372
- # This event is generated once a worker VM has been assigned to run the
1444
+ # An event generated after a worker VM has been assigned to run the
1373
1445
  # pipeline.
1374
1446
  class WorkerAssignedEvent
1375
1447
  include Google::Apis::Core::Hashable
@@ -1395,8 +1467,8 @@ module Google
1395
1467
  end
1396
1468
  end
1397
1469
 
1398
- # This event is generated when the worker VM that was assigned to the pipeline
1399
- # has been released (i.e., deleted).
1470
+ # An event generated when the worker VM that was assigned to the pipeline
1471
+ # has been released (deleted).
1400
1472
  class WorkerReleasedEvent
1401
1473
  include Google::Apis::Core::Hashable
1402
1474
 
@@ -1420,6 +1492,49 @@ module Google
1420
1492
  @zone = args[:zone] if args.key?(:zone)
1421
1493
  end
1422
1494
  end
1495
+
1496
+ # The status of the worker VM.
1497
+ class WorkerStatus
1498
+ include Google::Apis::Core::Hashable
1499
+
1500
+ # Status of attached disks.
1501
+ # Corresponds to the JSON property `attachedDisks`
1502
+ # @return [Hash<String,Google::Apis::GenomicsV2alpha1::DiskStatus>]
1503
+ attr_accessor :attached_disks
1504
+
1505
+ # The status of a disk on a VM.
1506
+ # Corresponds to the JSON property `bootDisk`
1507
+ # @return [Google::Apis::GenomicsV2alpha1::DiskStatus]
1508
+ attr_accessor :boot_disk
1509
+
1510
+ # Free RAM.
1511
+ # Corresponds to the JSON property `freeRamBytes`
1512
+ # @return [Fixnum]
1513
+ attr_accessor :free_ram_bytes
1514
+
1515
+ # Total RAM.
1516
+ # Corresponds to the JSON property `totalRamBytes`
1517
+ # @return [Fixnum]
1518
+ attr_accessor :total_ram_bytes
1519
+
1520
+ # System uptime.
1521
+ # Corresponds to the JSON property `uptimeSeconds`
1522
+ # @return [Fixnum]
1523
+ attr_accessor :uptime_seconds
1524
+
1525
+ def initialize(**args)
1526
+ update!(**args)
1527
+ end
1528
+
1529
+ # Update properties of this object
1530
+ def update!(**args)
1531
+ @attached_disks = args[:attached_disks] if args.key?(:attached_disks)
1532
+ @boot_disk = args[:boot_disk] if args.key?(:boot_disk)
1533
+ @free_ram_bytes = args[:free_ram_bytes] if args.key?(:free_ram_bytes)
1534
+ @total_ram_bytes = args[:total_ram_bytes] if args.key?(:total_ram_bytes)
1535
+ @uptime_seconds = args[:uptime_seconds] if args.key?(:uptime_seconds)
1536
+ end
1537
+ end
1423
1538
  end
1424
1539
  end
1425
1540
  end