google-api-client 0.37.3 → 0.38.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +146 -0
  3. data/api_list_config.yaml +2 -0
  4. data/api_names.yaml +2 -0
  5. data/bin/generate-api +9 -1
  6. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  18. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  19. data/generated/google/apis/adsense_v1_4.rb +1 -1
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
  24. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  26. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
  28. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  29. data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  32. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  33. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
  34. data/generated/google/apis/appengine_v1.rb +1 -1
  35. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  36. data/generated/google/apis/appengine_v1beta.rb +1 -1
  37. data/generated/google/apis/bigquery_v2.rb +1 -1
  38. data/generated/google/apis/bigquery_v2/classes.rb +224 -5
  39. data/generated/google/apis/bigquery_v2/representations.rb +65 -0
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
  43. data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
  44. data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
  45. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
  47. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
  48. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
  49. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  50. data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
  51. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
  53. data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
  54. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  55. data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
  56. data/generated/google/apis/blogger_v2.rb +5 -4
  57. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  58. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  59. data/generated/google/apis/blogger_v2/service.rb +79 -134
  60. data/generated/google/apis/blogger_v3.rb +4 -3
  61. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  62. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  63. data/generated/google/apis/blogger_v3/service.rb +183 -463
  64. data/generated/google/apis/calendar_v3.rb +1 -1
  65. data/generated/google/apis/calendar_v3/classes.rb +1 -14
  66. data/generated/google/apis/chat_v1.rb +1 -1
  67. data/generated/google/apis/chat_v1/classes.rb +1 -1
  68. data/generated/google/apis/cloudasset_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
  70. data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
  71. data/generated/google/apis/cloudasset_v1/service.rb +2 -2
  72. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  73. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
  74. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
  75. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
  76. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  77. data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
  78. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  79. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
  81. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  82. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
  87. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  88. data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
  89. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
  90. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  91. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
  92. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
  93. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
  94. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  95. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
  98. data/generated/google/apis/cloudshell_v1.rb +1 -1
  99. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  102. data/generated/google/apis/cloudtrace_v1.rb +3 -3
  103. data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
  104. data/generated/google/apis/cloudtrace_v2.rb +3 -3
  105. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  106. data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
  107. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
  108. data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
  109. data/generated/google/apis/composer_v1.rb +1 -1
  110. data/generated/google/apis/composer_v1/classes.rb +178 -0
  111. data/generated/google/apis/composer_v1/representations.rb +54 -0
  112. data/generated/google/apis/composer_v1beta1.rb +1 -1
  113. data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
  114. data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
  115. data/generated/google/apis/compute_alpha.rb +1 -1
  116. data/generated/google/apis/compute_alpha/classes.rb +1320 -307
  117. data/generated/google/apis/compute_alpha/representations.rb +284 -18
  118. data/generated/google/apis/compute_alpha/service.rb +4914 -3211
  119. data/generated/google/apis/compute_beta.rb +1 -1
  120. data/generated/google/apis/compute_beta/classes.rb +819 -236
  121. data/generated/google/apis/compute_beta/representations.rb +245 -16
  122. data/generated/google/apis/compute_beta/service.rb +3369 -2227
  123. data/generated/google/apis/compute_v1.rb +1 -1
  124. data/generated/google/apis/compute_v1/classes.rb +837 -133
  125. data/generated/google/apis/compute_v1/representations.rb +307 -0
  126. data/generated/google/apis/compute_v1/service.rb +3155 -2026
  127. data/generated/google/apis/container_v1.rb +1 -1
  128. data/generated/google/apis/container_v1/classes.rb +42 -22
  129. data/generated/google/apis/container_v1/service.rb +2 -2
  130. data/generated/google/apis/container_v1beta1.rb +1 -1
  131. data/generated/google/apis/container_v1beta1/classes.rb +116 -136
  132. data/generated/google/apis/container_v1beta1/representations.rb +23 -51
  133. data/generated/google/apis/container_v1beta1/service.rb +2 -2
  134. data/generated/google/apis/content_v2.rb +1 -1
  135. data/generated/google/apis/content_v2/classes.rb +1030 -113
  136. data/generated/google/apis/content_v2_1.rb +1 -1
  137. data/generated/google/apis/content_v2_1/classes.rb +987 -138
  138. data/generated/google/apis/content_v2_1/representations.rb +87 -0
  139. data/generated/google/apis/content_v2_1/service.rb +73 -0
  140. data/generated/google/apis/customsearch_v1.rb +3 -3
  141. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  142. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  143. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  144. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  145. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
  146. data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
  147. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  148. data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
  149. data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
  150. data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
  151. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  152. data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
  153. data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
  154. data/generated/google/apis/dataproc_v1.rb +1 -1
  155. data/generated/google/apis/dataproc_v1/classes.rb +76 -7
  156. data/generated/google/apis/dataproc_v1/representations.rb +21 -0
  157. data/generated/google/apis/dataproc_v1/service.rb +72 -15
  158. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  159. data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
  160. data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
  161. data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
  167. data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
  168. data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
  169. data/generated/google/apis/dialogflow_v2.rb +1 -1
  170. data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
  171. data/generated/google/apis/dialogflow_v2/service.rb +49 -49
  172. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  173. data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
  175. data/generated/google/apis/dlp_v2.rb +1 -1
  176. data/generated/google/apis/dlp_v2/classes.rb +80 -14
  177. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  178. data/generated/google/apis/dlp_v2/service.rb +3 -0
  179. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  180. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
  181. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  182. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  183. data/generated/google/apis/drive_v2.rb +1 -1
  184. data/generated/google/apis/drive_v2/classes.rb +54 -2
  185. data/generated/google/apis/drive_v2/representations.rb +18 -0
  186. data/generated/google/apis/drive_v2/service.rb +81 -9
  187. data/generated/google/apis/drive_v3.rb +1 -1
  188. data/generated/google/apis/drive_v3/classes.rb +54 -2
  189. data/generated/google/apis/drive_v3/representations.rb +18 -0
  190. data/generated/google/apis/drive_v3/service.rb +37 -4
  191. data/generated/google/apis/file_v1.rb +1 -1
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +2 -2
  194. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  195. data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
  196. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  197. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
  198. data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
  199. data/generated/google/apis/firestore_v1.rb +1 -1
  200. data/generated/google/apis/firestore_v1/classes.rb +11 -2
  201. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  202. data/generated/google/apis/firestore_v1/service.rb +2 -2
  203. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  204. data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
  205. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  206. data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
  207. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  208. data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
  209. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  210. data/generated/google/apis/games_management_v1management.rb +1 -1
  211. data/generated/google/apis/games_management_v1management/classes.rb +7 -0
  212. data/generated/google/apis/games_management_v1management/representations.rb +1 -0
  213. data/generated/google/apis/games_v1.rb +1 -1
  214. data/generated/google/apis/games_v1/classes.rb +13 -0
  215. data/generated/google/apis/games_v1/representations.rb +2 -0
  216. data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
  217. data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
  218. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  219. data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
  220. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  221. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  222. data/generated/google/apis/gmail_v1.rb +3 -2
  223. data/generated/google/apis/gmail_v1/classes.rb +258 -199
  224. data/generated/google/apis/gmail_v1/service.rb +552 -744
  225. data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
  226. data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
  227. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  228. data/generated/google/apis/healthcare_v1/service.rb +3470 -0
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
  231. data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
  232. data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
  233. data/generated/google/apis/homegraph_v1.rb +1 -1
  234. data/generated/google/apis/homegraph_v1/classes.rb +67 -63
  235. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  236. data/generated/google/apis/iap_v1.rb +1 -1
  237. data/generated/google/apis/iap_v1/classes.rb +190 -0
  238. data/generated/google/apis/iap_v1/representations.rb +66 -0
  239. data/generated/google/apis/jobs_v2.rb +1 -1
  240. data/generated/google/apis/language_v1.rb +1 -1
  241. data/generated/google/apis/language_v1/classes.rb +6 -6
  242. data/generated/google/apis/language_v1beta1.rb +1 -1
  243. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  244. data/generated/google/apis/language_v1beta2.rb +1 -1
  245. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  246. data/generated/google/apis/logging_v2.rb +3 -3
  247. data/generated/google/apis/logging_v2/classes.rb +3 -4
  248. data/generated/google/apis/logging_v2/service.rb +2 -2
  249. data/generated/google/apis/managedidentities_v1.rb +1 -1
  250. data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
  251. data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
  252. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  253. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
  254. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
  255. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  256. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
  257. data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
  258. data/generated/google/apis/manufacturers_v1.rb +1 -1
  259. data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
  260. data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
  261. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  262. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
  263. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  264. data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
  265. data/generated/google/apis/ml_v1.rb +1 -1
  266. data/generated/google/apis/ml_v1/classes.rb +47 -7
  267. data/generated/google/apis/ml_v1/representations.rb +4 -0
  268. data/generated/google/apis/monitoring_v1.rb +7 -8
  269. data/generated/google/apis/monitoring_v1/classes.rb +54 -15
  270. data/generated/google/apis/monitoring_v1/representations.rb +3 -0
  271. data/generated/google/apis/monitoring_v1/service.rb +7 -8
  272. data/generated/google/apis/monitoring_v3.rb +7 -8
  273. data/generated/google/apis/monitoring_v3/classes.rb +300 -27
  274. data/generated/google/apis/monitoring_v3/representations.rb +128 -0
  275. data/generated/google/apis/monitoring_v3/service.rb +52 -17
  276. data/generated/google/apis/oauth2_v2.rb +4 -4
  277. data/generated/google/apis/oauth2_v2/classes.rb +1 -13
  278. data/generated/google/apis/oauth2_v2/representations.rb +2 -4
  279. data/generated/google/apis/oauth2_v2/service.rb +10 -12
  280. data/generated/google/apis/osconfig_v1.rb +35 -0
  281. data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
  282. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  283. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  284. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  285. data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
  286. data/generated/google/apis/people_v1.rb +1 -1
  287. data/generated/google/apis/people_v1/classes.rb +30 -12
  288. data/generated/google/apis/people_v1/representations.rb +1 -0
  289. data/generated/google/apis/people_v1/service.rb +12 -24
  290. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  291. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
  292. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
  293. data/generated/google/apis/pubsub_v1.rb +1 -1
  294. data/generated/google/apis/pubsub_v1/classes.rb +9 -5
  295. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  296. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  297. data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
  298. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  299. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
  300. data/generated/google/apis/redis_v1.rb +1 -1
  301. data/generated/google/apis/redis_v1/classes.rb +30 -7
  302. data/generated/google/apis/redis_v1/representations.rb +13 -0
  303. data/generated/google/apis/redis_v1/service.rb +36 -0
  304. data/generated/google/apis/redis_v1beta1.rb +1 -1
  305. data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
  306. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  307. data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
  308. data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
  309. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  310. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
  311. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
  312. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  313. data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
  314. data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
  315. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  316. data/generated/google/apis/run_v1.rb +1 -1
  317. data/generated/google/apis/run_v1/classes.rb +6 -13
  318. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  319. data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
  320. data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
  321. data/generated/google/apis/secretmanager_v1.rb +2 -2
  322. data/generated/google/apis/secretmanager_v1/service.rb +4 -1
  323. data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
  324. data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
  325. data/generated/google/apis/securitycenter_v1.rb +4 -4
  326. data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
  327. data/generated/google/apis/securitycenter_v1/service.rb +11 -3
  328. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  329. data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
  330. data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
  331. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  332. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
  333. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  334. data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
  335. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
  336. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
  337. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  338. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
  339. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  340. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
  341. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
  342. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
  343. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  344. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  345. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
  346. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
  347. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
  348. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
  349. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  350. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  351. data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
  352. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  353. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  354. data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
  355. data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
  356. data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
  357. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  358. data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
  359. data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
  360. data/generated/google/apis/serviceusage_v1.rb +1 -1
  361. data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
  362. data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
  363. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  364. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  365. data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
  366. data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
  367. data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
  368. data/generated/google/apis/sheets_v4.rb +1 -1
  369. data/generated/google/apis/sheets_v4/classes.rb +2 -2
  370. data/generated/google/apis/spanner_v1.rb +1 -1
  371. data/generated/google/apis/spanner_v1/classes.rb +463 -1
  372. data/generated/google/apis/spanner_v1/representations.rb +178 -0
  373. data/generated/google/apis/spanner_v1/service.rb +498 -10
  374. data/generated/google/apis/speech_v1.rb +1 -1
  375. data/generated/google/apis/speech_v1/classes.rb +7 -3
  376. data/generated/google/apis/speech_v1/representations.rb +1 -0
  377. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  378. data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
  379. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  380. data/generated/google/apis/speech_v2beta1.rb +1 -1
  381. data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
  382. data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
  383. data/generated/google/apis/sql_v1beta4.rb +1 -1
  384. data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
  385. data/generated/google/apis/sql_v1beta4/service.rb +54 -384
  386. data/generated/google/apis/storage_v1.rb +1 -1
  387. data/generated/google/apis/storage_v1/classes.rb +18 -0
  388. data/generated/google/apis/storage_v1/representations.rb +2 -0
  389. data/generated/google/apis/storage_v1/service.rb +28 -3
  390. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  391. data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
  392. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  393. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  394. data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
  395. data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
  396. data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
  397. data/generated/google/apis/vault_v1.rb +1 -1
  398. data/generated/google/apis/videointelligence_v1.rb +1 -1
  399. data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
  400. data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
  401. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  402. data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
  403. data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
  404. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  405. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
  406. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
  407. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  408. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
  409. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
  410. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  411. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
  412. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
  413. data/generated/google/apis/vision_v1.rb +1 -1
  414. data/generated/google/apis/vision_v1/classes.rb +1 -1
  415. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  416. data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
  417. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  418. data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
  419. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  420. data/generated/google/apis/youtube_v3.rb +4 -1
  421. data/generated/google/apis/youtube_v3/classes.rb +7 -0
  422. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  423. data/lib/google/apis/generator/annotator.rb +1 -1
  424. data/lib/google/apis/version.rb +1 -1
  425. metadata +32 -23
  426. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  427. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
  428. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  429. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
  430. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  431. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  432. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  433. data/generated/google/apis/mirror_v1/service.rb +0 -928
  434. data/generated/google/apis/oauth2_v1.rb +0 -40
  435. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  436. data/generated/google/apis/oauth2_v1/representations.rb +0 -73
  437. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  438. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  439. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  440. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/data-catalog/docs/
27
27
  module DatacatalogV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200302'
29
+ REVISION = '20200402'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -351,7 +351,7 @@ module Google
351
351
 
352
352
  # Entry Metadata.
353
353
  # A Data Catalog Entry resource represents another resource in Google
354
- # Cloud Platform (such as a BigQuery dataset or a Cloud Pub/Sub topic), or
354
+ # Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or
355
355
  # outside of Google Cloud Platform. Clients can use the `linked_resource` field
356
356
  # in the Entry resource to refer to the original resource ID of the source
357
357
  # system.
@@ -393,7 +393,7 @@ module Google
393
393
  attr_accessor :gcs_fileset_spec
394
394
 
395
395
  # Output only. This field indicates the entry's source system that Data Catalog
396
- # integrates with, such as BigQuery or Cloud Pub/Sub.
396
+ # integrates with, such as BigQuery or Pub/Sub.
397
397
  # Corresponds to the JSON property `integratedSystem`
398
398
  # @return [String]
399
399
  attr_accessor :integrated_system
@@ -262,9 +262,8 @@ module Google
262
262
  # - Tag templates.
263
263
  # - Entries.
264
264
  # - Entry groups.
265
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
266
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
267
- # Data Catalog.
265
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
266
+ # and any external Google Cloud Platform resources synced to Data Catalog.
268
267
  # Callers must have following Google IAM permission
269
268
  # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
270
269
  # templates.
@@ -395,9 +394,8 @@ module Google
395
394
  # - Tag templates.
396
395
  # - Entries.
397
396
  # - Entry groups.
398
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
399
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
400
- # Data Catalog.
397
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
398
+ # and any external Google Cloud Platform resources synced to Data Catalog.
401
399
  # Callers must have following Google IAM permission
402
400
  # - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
403
401
  # templates.
@@ -443,9 +441,8 @@ module Google
443
441
  # - Tag templates.
444
442
  # - Entries.
445
443
  # - Entry groups.
446
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
447
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
448
- # Data Catalog.
444
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
445
+ # and any external Google Cloud Platform resources synced to Data Catalog.
449
446
  # A caller is not required to have Google IAM permission to make this
450
447
  # request.
451
448
  # @param [String] resource
@@ -601,9 +598,8 @@ module Google
601
598
  # - Tag templates.
602
599
  # - Entries.
603
600
  # - Entry groups.
604
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
605
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
606
- # Data Catalog.
601
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
602
+ # and any external Google Cloud Platform resources synced to Data Catalog.
607
603
  # Callers must have following Google IAM permission
608
604
  # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
609
605
  # templates.
@@ -756,9 +752,8 @@ module Google
756
752
  # - Tag templates.
757
753
  # - Entries.
758
754
  # - Entry groups.
759
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
760
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
761
- # Data Catalog.
755
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
756
+ # and any external Google Cloud Platform resources synced to Data Catalog.
762
757
  # A caller is not required to have Google IAM permission to make this
763
758
  # request.
764
759
  # @param [String] resource
@@ -1242,9 +1237,8 @@ module Google
1242
1237
  # - Tag templates.
1243
1238
  # - Entries.
1244
1239
  # - Entry groups.
1245
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
1246
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
1247
- # Data Catalog.
1240
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
1241
+ # and any external Google Cloud Platform resources synced to Data Catalog.
1248
1242
  # Callers must have following Google IAM permission
1249
1243
  # - `datacatalog.tagTemplates.getIamPolicy` to get policies on tag
1250
1244
  # templates.
@@ -1336,9 +1330,8 @@ module Google
1336
1330
  # - Tag templates.
1337
1331
  # - Entries.
1338
1332
  # - Entry groups.
1339
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
1340
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
1341
- # Data Catalog.
1333
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
1334
+ # and any external Google Cloud Platform resources synced to Data Catalog.
1342
1335
  # Callers must have following Google IAM permission
1343
1336
  # - `datacatalog.tagTemplates.setIamPolicy` to set policies on tag
1344
1337
  # templates.
@@ -1384,9 +1377,8 @@ module Google
1384
1377
  # - Tag templates.
1385
1378
  # - Entries.
1386
1379
  # - Entry groups.
1387
- # Note, this method cannot be used to manage policies for BigQuery, Cloud
1388
- # Pub/Sub and any external Google Cloud Platform resources synced to Cloud
1389
- # Data Catalog.
1380
+ # Note, this method cannot be used to manage policies for BigQuery, Pub/Sub
1381
+ # and any external Google Cloud Platform resources synced to Data Catalog.
1390
1382
  # A caller is not required to have Google IAM permission to make this
1391
1383
  # request.
1392
1384
  # @param [String] resource
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20200215'
28
+ REVISION = '20200305'
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'
@@ -867,6 +867,19 @@ module Google
867
867
  end
868
868
  end
869
869
 
870
+ # Response from deleting a snapshot.
871
+ class DeleteSnapshotResponse
872
+ include Google::Apis::Core::Hashable
873
+
874
+ def initialize(**args)
875
+ update!(**args)
876
+ end
877
+
878
+ # Update properties of this object
879
+ def update!(**args)
880
+ end
881
+ end
882
+
870
883
  # Specification of one of the bundles produced as a result of splitting
871
884
  # a Source (e.g. when executing a SourceSplitRequest, or when
872
885
  # splitting an active task using WorkItemStatus.dynamic_source_split),
@@ -2541,6 +2554,25 @@ module Google
2541
2554
  end
2542
2555
  end
2543
2556
 
2557
+ # List of snapshots.
2558
+ class ListSnapshotsResponse
2559
+ include Google::Apis::Core::Hashable
2560
+
2561
+ # Returned snapshots.
2562
+ # Corresponds to the JSON property `snapshots`
2563
+ # @return [Array<Google::Apis::DataflowV1b3::Snapshot>]
2564
+ attr_accessor :snapshots
2565
+
2566
+ def initialize(**args)
2567
+ update!(**args)
2568
+ end
2569
+
2570
+ # Update properties of this object
2571
+ def update!(**args)
2572
+ @snapshots = args[:snapshots] if args.key?(:snapshots)
2573
+ end
2574
+ end
2575
+
2544
2576
  # MapTask consists of an ordered set of instructions, each of which
2545
2577
  # describes one particular low-level operation for the worker to
2546
2578
  # perform in order to accomplish the MapTask's WorkItem.
@@ -2585,6 +2617,44 @@ module Google
2585
2617
  end
2586
2618
  end
2587
2619
 
2620
+ # Information about the memory usage of a worker or a container within a
2621
+ # worker.
2622
+ class MemInfo
2623
+ include Google::Apis::Core::Hashable
2624
+
2625
+ # Instantenous memory limit in bytes.
2626
+ # Corresponds to the JSON property `currentLimitBytes`
2627
+ # @return [Fixnum]
2628
+ attr_accessor :current_limit_bytes
2629
+
2630
+ # Instantenous memory (RSS) size in bytes.
2631
+ # Corresponds to the JSON property `currentRssBytes`
2632
+ # @return [Fixnum]
2633
+ attr_accessor :current_rss_bytes
2634
+
2635
+ # Timestamp of the measurement.
2636
+ # Corresponds to the JSON property `timestamp`
2637
+ # @return [String]
2638
+ attr_accessor :timestamp
2639
+
2640
+ # Total memory (RSS) usage since start up in GB * ms.
2641
+ # Corresponds to the JSON property `totalGbMs`
2642
+ # @return [Fixnum]
2643
+ attr_accessor :total_gb_ms
2644
+
2645
+ def initialize(**args)
2646
+ update!(**args)
2647
+ end
2648
+
2649
+ # Update properties of this object
2650
+ def update!(**args)
2651
+ @current_limit_bytes = args[:current_limit_bytes] if args.key?(:current_limit_bytes)
2652
+ @current_rss_bytes = args[:current_rss_bytes] if args.key?(:current_rss_bytes)
2653
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
2654
+ @total_gb_ms = args[:total_gb_ms] if args.key?(:total_gb_ms)
2655
+ end
2656
+ end
2657
+
2588
2658
  # The metric short id is returned to the user alongside an offset into
2589
2659
  # ReportWorkItemStatusRequest
2590
2660
  class MetricShortId
@@ -3281,6 +3351,37 @@ module Google
3281
3351
  end
3282
3352
  end
3283
3353
 
3354
+ # Represents a Pubsub snapshot.
3355
+ class PubsubSnapshotMetadata
3356
+ include Google::Apis::Core::Hashable
3357
+
3358
+ # The expire time of the Pubsub snapshot.
3359
+ # Corresponds to the JSON property `expireTime`
3360
+ # @return [String]
3361
+ attr_accessor :expire_time
3362
+
3363
+ # The name of the Pubsub snapshot.
3364
+ # Corresponds to the JSON property `snapshotName`
3365
+ # @return [String]
3366
+ attr_accessor :snapshot_name
3367
+
3368
+ # The name of the Pubsub topic.
3369
+ # Corresponds to the JSON property `topicName`
3370
+ # @return [String]
3371
+ attr_accessor :topic_name
3372
+
3373
+ def initialize(**args)
3374
+ update!(**args)
3375
+ end
3376
+
3377
+ # Update properties of this object
3378
+ def update!(**args)
3379
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
3380
+ @snapshot_name = args[:snapshot_name] if args.key?(:snapshot_name)
3381
+ @topic_name = args[:topic_name] if args.key?(:topic_name)
3382
+ end
3383
+ end
3384
+
3284
3385
  # An instruction that reads records.
3285
3386
  # Takes no inputs, produces one output.
3286
3387
  class ReadInstruction
@@ -3417,18 +3518,31 @@ module Google
3417
3518
  class ResourceUtilizationReport
3418
3519
  include Google::Apis::Core::Hashable
3419
3520
 
3521
+ # Per container information.
3522
+ # Key: container name.
3523
+ # Corresponds to the JSON property `containers`
3524
+ # @return [Hash<String,Google::Apis::DataflowV1b3::ResourceUtilizationReport>]
3525
+ attr_accessor :containers
3526
+
3420
3527
  # CPU utilization samples.
3421
3528
  # Corresponds to the JSON property `cpuTime`
3422
3529
  # @return [Array<Google::Apis::DataflowV1b3::CpuTime>]
3423
3530
  attr_accessor :cpu_time
3424
3531
 
3532
+ # Memory utilization samples.
3533
+ # Corresponds to the JSON property `memoryInfo`
3534
+ # @return [Array<Google::Apis::DataflowV1b3::MemInfo>]
3535
+ attr_accessor :memory_info
3536
+
3425
3537
  def initialize(**args)
3426
3538
  update!(**args)
3427
3539
  end
3428
3540
 
3429
3541
  # Update properties of this object
3430
3542
  def update!(**args)
3543
+ @containers = args[:containers] if args.key?(:containers)
3431
3544
  @cpu_time = args[:cpu_time] if args.key?(:cpu_time)
3545
+ @memory_info = args[:memory_info] if args.key?(:memory_info)
3432
3546
  end
3433
3547
  end
3434
3548
 
@@ -3944,6 +4058,112 @@ module Google
3944
4058
  end
3945
4059
  end
3946
4060
 
4061
+ # Represents a snapshot of a job.
4062
+ class Snapshot
4063
+ include Google::Apis::Core::Hashable
4064
+
4065
+ # The time this snapshot was created.
4066
+ # Corresponds to the JSON property `creationTime`
4067
+ # @return [String]
4068
+ attr_accessor :creation_time
4069
+
4070
+ # User specified description of the snapshot. Maybe empty.
4071
+ # Corresponds to the JSON property `description`
4072
+ # @return [String]
4073
+ attr_accessor :description
4074
+
4075
+ # The disk byte size of the snapshot. Only available for snapshots in READY
4076
+ # state.
4077
+ # Corresponds to the JSON property `diskSizeBytes`
4078
+ # @return [Fixnum]
4079
+ attr_accessor :disk_size_bytes
4080
+
4081
+ # The unique ID of this snapshot.
4082
+ # Corresponds to the JSON property `id`
4083
+ # @return [String]
4084
+ attr_accessor :id
4085
+
4086
+ # The project this snapshot belongs to.
4087
+ # Corresponds to the JSON property `projectId`
4088
+ # @return [String]
4089
+ attr_accessor :project_id
4090
+
4091
+ # PubSub snapshot metadata.
4092
+ # Corresponds to the JSON property `pubsubMetadata`
4093
+ # @return [Array<Google::Apis::DataflowV1b3::PubsubSnapshotMetadata>]
4094
+ attr_accessor :pubsub_metadata
4095
+
4096
+ # The job this snapshot was created from.
4097
+ # Corresponds to the JSON property `sourceJobId`
4098
+ # @return [String]
4099
+ attr_accessor :source_job_id
4100
+
4101
+ # State of the snapshot.
4102
+ # Corresponds to the JSON property `state`
4103
+ # @return [String]
4104
+ attr_accessor :state
4105
+
4106
+ # The time after which this snapshot will be automatically deleted.
4107
+ # Corresponds to the JSON property `ttl`
4108
+ # @return [String]
4109
+ attr_accessor :ttl
4110
+
4111
+ def initialize(**args)
4112
+ update!(**args)
4113
+ end
4114
+
4115
+ # Update properties of this object
4116
+ def update!(**args)
4117
+ @creation_time = args[:creation_time] if args.key?(:creation_time)
4118
+ @description = args[:description] if args.key?(:description)
4119
+ @disk_size_bytes = args[:disk_size_bytes] if args.key?(:disk_size_bytes)
4120
+ @id = args[:id] if args.key?(:id)
4121
+ @project_id = args[:project_id] if args.key?(:project_id)
4122
+ @pubsub_metadata = args[:pubsub_metadata] if args.key?(:pubsub_metadata)
4123
+ @source_job_id = args[:source_job_id] if args.key?(:source_job_id)
4124
+ @state = args[:state] if args.key?(:state)
4125
+ @ttl = args[:ttl] if args.key?(:ttl)
4126
+ end
4127
+ end
4128
+
4129
+ # Request to create a snapshot of a job.
4130
+ class SnapshotJobRequest
4131
+ include Google::Apis::Core::Hashable
4132
+
4133
+ # User specified description of the snapshot. Maybe empty.
4134
+ # Corresponds to the JSON property `description`
4135
+ # @return [String]
4136
+ attr_accessor :description
4137
+
4138
+ # The location that contains this job.
4139
+ # Corresponds to the JSON property `location`
4140
+ # @return [String]
4141
+ attr_accessor :location
4142
+
4143
+ # If true, perform snapshots for sources which support this.
4144
+ # Corresponds to the JSON property `snapshotSources`
4145
+ # @return [Boolean]
4146
+ attr_accessor :snapshot_sources
4147
+ alias_method :snapshot_sources?, :snapshot_sources
4148
+
4149
+ # TTL for the snapshot.
4150
+ # Corresponds to the JSON property `ttl`
4151
+ # @return [String]
4152
+ attr_accessor :ttl
4153
+
4154
+ def initialize(**args)
4155
+ update!(**args)
4156
+ end
4157
+
4158
+ # Update properties of this object
4159
+ def update!(**args)
4160
+ @description = args[:description] if args.key?(:description)
4161
+ @location = args[:location] if args.key?(:location)
4162
+ @snapshot_sources = args[:snapshot_sources] if args.key?(:snapshot_sources)
4163
+ @ttl = args[:ttl] if args.key?(:ttl)
4164
+ end
4165
+ end
4166
+
3947
4167
  # A source that records can be read and decoded from.
3948
4168
  class Source
3949
4169
  include Google::Apis::Core::Hashable
@@ -148,6 +148,12 @@ module Google
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
+ class DeleteSnapshotResponse
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
151
157
  class DerivedSource
152
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
159
 
@@ -388,12 +394,24 @@ module Google
388
394
  include Google::Apis::Core::JsonObjectSupport
389
395
  end
390
396
 
397
+ class ListSnapshotsResponse
398
+ class Representation < Google::Apis::Core::JsonRepresentation; end
399
+
400
+ include Google::Apis::Core::JsonObjectSupport
401
+ end
402
+
391
403
  class MapTask
392
404
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
405
 
394
406
  include Google::Apis::Core::JsonObjectSupport
395
407
  end
396
408
 
409
+ class MemInfo
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
397
415
  class MetricShortId
398
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
399
417
 
@@ -490,6 +508,12 @@ module Google
490
508
  include Google::Apis::Core::JsonObjectSupport
491
509
  end
492
510
 
511
+ class PubsubSnapshotMetadata
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
493
517
  class ReadInstruction
494
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
519
 
@@ -610,6 +634,18 @@ module Google
610
634
  include Google::Apis::Core::JsonObjectSupport
611
635
  end
612
636
 
637
+ class Snapshot
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
643
+ class SnapshotJobRequest
644
+ class Representation < Google::Apis::Core::JsonRepresentation; end
645
+
646
+ include Google::Apis::Core::JsonObjectSupport
647
+ end
648
+
613
649
  class Source
614
650
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
651
 
@@ -1130,6 +1166,12 @@ module Google
1130
1166
  end
1131
1167
  end
1132
1168
 
1169
+ class DeleteSnapshotResponse
1170
+ # @private
1171
+ class Representation < Google::Apis::Core::JsonRepresentation
1172
+ end
1173
+ end
1174
+
1133
1175
  class DerivedSource
1134
1176
  # @private
1135
1177
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1573,6 +1615,14 @@ module Google
1573
1615
  end
1574
1616
  end
1575
1617
 
1618
+ class ListSnapshotsResponse
1619
+ # @private
1620
+ class Representation < Google::Apis::Core::JsonRepresentation
1621
+ collection :snapshots, as: 'snapshots', class: Google::Apis::DataflowV1b3::Snapshot, decorator: Google::Apis::DataflowV1b3::Snapshot::Representation
1622
+
1623
+ end
1624
+ end
1625
+
1576
1626
  class MapTask
1577
1627
  # @private
1578
1628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1584,6 +1634,16 @@ module Google
1584
1634
  end
1585
1635
  end
1586
1636
 
1637
+ class MemInfo
1638
+ # @private
1639
+ class Representation < Google::Apis::Core::JsonRepresentation
1640
+ property :current_limit_bytes, :numeric_string => true, as: 'currentLimitBytes'
1641
+ property :current_rss_bytes, :numeric_string => true, as: 'currentRssBytes'
1642
+ property :timestamp, as: 'timestamp'
1643
+ property :total_gb_ms, :numeric_string => true, as: 'totalGbMs'
1644
+ end
1645
+ end
1646
+
1587
1647
  class MetricShortId
1588
1648
  # @private
1589
1649
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1764,6 +1824,15 @@ module Google
1764
1824
  end
1765
1825
  end
1766
1826
 
1827
+ class PubsubSnapshotMetadata
1828
+ # @private
1829
+ class Representation < Google::Apis::Core::JsonRepresentation
1830
+ property :expire_time, as: 'expireTime'
1831
+ property :snapshot_name, as: 'snapshotName'
1832
+ property :topic_name, as: 'topicName'
1833
+ end
1834
+ end
1835
+
1767
1836
  class ReadInstruction
1768
1837
  # @private
1769
1838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1804,8 +1873,12 @@ module Google
1804
1873
  class ResourceUtilizationReport
1805
1874
  # @private
1806
1875
  class Representation < Google::Apis::Core::JsonRepresentation
1876
+ hash :containers, as: 'containers', class: Google::Apis::DataflowV1b3::ResourceUtilizationReport, decorator: Google::Apis::DataflowV1b3::ResourceUtilizationReport::Representation
1877
+
1807
1878
  collection :cpu_time, as: 'cpuTime', class: Google::Apis::DataflowV1b3::CpuTime, decorator: Google::Apis::DataflowV1b3::CpuTime::Representation
1808
1879
 
1880
+ collection :memory_info, as: 'memoryInfo', class: Google::Apis::DataflowV1b3::MemInfo, decorator: Google::Apis::DataflowV1b3::MemInfo::Representation
1881
+
1809
1882
  end
1810
1883
  end
1811
1884
 
@@ -1953,6 +2026,32 @@ module Google
1953
2026
  end
1954
2027
  end
1955
2028
 
2029
+ class Snapshot
2030
+ # @private
2031
+ class Representation < Google::Apis::Core::JsonRepresentation
2032
+ property :creation_time, as: 'creationTime'
2033
+ property :description, as: 'description'
2034
+ property :disk_size_bytes, :numeric_string => true, as: 'diskSizeBytes'
2035
+ property :id, as: 'id'
2036
+ property :project_id, as: 'projectId'
2037
+ collection :pubsub_metadata, as: 'pubsubMetadata', class: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata, decorator: Google::Apis::DataflowV1b3::PubsubSnapshotMetadata::Representation
2038
+
2039
+ property :source_job_id, as: 'sourceJobId'
2040
+ property :state, as: 'state'
2041
+ property :ttl, as: 'ttl'
2042
+ end
2043
+ end
2044
+
2045
+ class SnapshotJobRequest
2046
+ # @private
2047
+ class Representation < Google::Apis::Core::JsonRepresentation
2048
+ property :description, as: 'description'
2049
+ property :location, as: 'location'
2050
+ property :snapshot_sources, as: 'snapshotSources'
2051
+ property :ttl, as: 'ttl'
2052
+ end
2053
+ end
2054
+
1956
2055
  class Source
1957
2056
  # @private
1958
2057
  class Representation < Google::Apis::Core::JsonRepresentation