google-api-client 0.41.2 → 0.44.0

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 (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200612'
28
+ REVISION = '20200819'
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'
@@ -42,9 +42,9 @@ module Google
42
42
  # @return [Google::Apis::HealthcareV1beta1::ImageAnnotation]
43
43
  attr_accessor :image_annotation
44
44
 
45
- # Resource name of the Annotation, of the form
46
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
47
- # annotationStores/`annotation_store_id`/annotations/`annotation_id``.
45
+ # Resource name of the Annotation, of the form `projects/`project_id`/locations/`
46
+ # location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id`/
47
+ # annotations/`annotation_id``.
48
48
  # Corresponds to the JSON property `name`
49
49
  # @return [String]
50
50
  attr_accessor :name
@@ -78,24 +78,19 @@ module Google
78
78
  class AnnotationConfig
79
79
  include Google::Apis::Core::Hashable
80
80
 
81
- # The name of the annotation store, in the form
82
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
83
- # annotationStores/`annotation_store_id``).
84
- # * The destination annotation store must be in the same project as the
85
- # source data. De-identifying data across multiple projects is not
86
- # supported.
87
- # * The destination annotation store must exist when using
88
- # DeidentifyDicomStore or
89
- # DeidentifyFhirStore.
90
- # DeidentifyDataset
91
- # automatically creates the destination annotation store.
81
+ # The name of the annotation store, in the form `projects/`project_id`/locations/
82
+ # `location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id``). *
83
+ # The destination annotation store must be in the same project as the source
84
+ # data. De-identifying data across multiple projects is not supported. * The
85
+ # destination annotation store must exist when using DeidentifyDicomStore or
86
+ # DeidentifyFhirStore. DeidentifyDataset automatically creates the destination
87
+ # annotation store.
92
88
  # Corresponds to the JSON property `annotationStoreName`
93
89
  # @return [String]
94
90
  attr_accessor :annotation_store_name
95
91
 
96
- # If set to true, the sensitive texts are included in
97
- # SensitiveTextAnnotation
98
- # of Annotation.
92
+ # If set to true, the sensitive texts are included in SensitiveTextAnnotation of
93
+ # Annotation.
99
94
  # Corresponds to the JSON property `storeQuote`
100
95
  # @return [Boolean]
101
96
  attr_accessor :store_quote
@@ -131,27 +126,25 @@ module Google
131
126
  end
132
127
  end
133
128
 
134
- # An Annotation store that can store annotation resources such as
135
- # labels and tags for text, image and audio.
129
+ # An Annotation store that can store annotation resources such as labels and
130
+ # tags for text, image and audio.
136
131
  class AnnotationStore
137
132
  include Google::Apis::Core::Hashable
138
133
 
139
134
  # Optional. User-supplied key-value pairs used to organize Annotation stores.
140
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
141
- # of maximum 128 bytes, and must conform to the
142
- # following PCRE regular expression:
143
- # \p`Ll`\p`Lo``0,62`
144
- # Label values must be between 1 and 63 characters long, have
145
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
146
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
147
- # No more than 64 labels can be associated with a given store.
135
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of
136
+ # maximum 128 bytes, and must conform to the following PCRE regular expression: \
137
+ # p`Ll`\p`Lo``0,62` Label values must be between 1 and 63 characters long, have
138
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
139
+ # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
140
+ # associated with a given store.
148
141
  # Corresponds to the JSON property `labels`
149
142
  # @return [Hash<String,String>]
150
143
  attr_accessor :labels
151
144
 
152
- # Resource name of the Annotation store, of the form
153
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
154
- # annotationStores/`annotation_store_id``.
145
+ # Resource name of the Annotation store, of the form `projects/`project_id`/
146
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
147
+ # annotation_store_id``.
155
148
  # Corresponds to the JSON property `name`
156
149
  # @return [String]
157
150
  attr_accessor :name
@@ -167,53 +160,21 @@ module Google
167
160
  end
168
161
  end
169
162
 
170
- # Specifies the audit configuration for a service.
171
- # The configuration determines which permission types are logged, and what
172
- # identities, if any, are exempted from logging.
173
- # An AuditConfig must have one or more AuditLogConfigs.
174
- # If there are AuditConfigs for both `allServices` and a specific service,
175
- # the union of the two AuditConfigs is used for that service: the log_types
176
- # specified in each AuditConfig are enabled, and the exempted_members in each
177
- # AuditLogConfig are exempted.
178
- # Example Policy with multiple AuditConfigs:
179
- # `
180
- # "audit_configs": [
181
- # `
182
- # "service": "allServices",
183
- # "audit_log_configs": [
184
- # `
185
- # "log_type": "DATA_READ",
186
- # "exempted_members": [
187
- # "user:jose@example.com"
188
- # ]
189
- # `,
190
- # `
191
- # "log_type": "DATA_WRITE"
192
- # `,
193
- # `
194
- # "log_type": "ADMIN_READ"
195
- # `
196
- # ]
197
- # `,
198
- # `
199
- # "service": "sampleservice.googleapis.com",
200
- # "audit_log_configs": [
201
- # `
202
- # "log_type": "DATA_READ"
203
- # `,
204
- # `
205
- # "log_type": "DATA_WRITE",
206
- # "exempted_members": [
207
- # "user:aliya@example.com"
208
- # ]
209
- # `
210
- # ]
211
- # `
212
- # ]
213
- # `
214
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
215
- # logging. It also exempts jose@example.com from DATA_READ logging, and
216
- # aliya@example.com from DATA_WRITE logging.
163
+ # Specifies the audit configuration for a service. The configuration determines
164
+ # which permission types are logged, and what identities, if any, are exempted
165
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
166
+ # are AuditConfigs for both `allServices` and a specific service, the union of
167
+ # the two AuditConfigs is used for that service: the log_types specified in each
168
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
169
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
170
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
171
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
172
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
173
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
174
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
175
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
176
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
177
+ # DATA_WRITE logging.
217
178
  class AuditConfig
218
179
  include Google::Apis::Core::Hashable
219
180
 
@@ -222,9 +183,9 @@ module Google
222
183
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditLogConfig>]
223
184
  attr_accessor :audit_log_configs
224
185
 
225
- # Specifies a service that will be enabled for audit logging.
226
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
227
- # `allServices` is a special value that covers all services.
186
+ # Specifies a service that will be enabled for audit logging. For example, `
187
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
188
+ # value that covers all services.
228
189
  # Corresponds to the JSON property `service`
229
190
  # @return [String]
230
191
  attr_accessor :service
@@ -240,28 +201,15 @@ module Google
240
201
  end
241
202
  end
242
203
 
243
- # Provides the configuration for logging a type of permissions.
244
- # Example:
245
- # `
246
- # "audit_log_configs": [
247
- # `
248
- # "log_type": "DATA_READ",
249
- # "exempted_members": [
250
- # "user:jose@example.com"
251
- # ]
252
- # `,
253
- # `
254
- # "log_type": "DATA_WRITE"
255
- # `
256
- # ]
257
- # `
258
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
259
- # jose@example.com from DATA_READ logging.
204
+ # Provides the configuration for logging a type of permissions. Example: ` "
205
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
206
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
207
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
208
+ # DATA_READ logging.
260
209
  class AuditLogConfig
261
210
  include Google::Apis::Core::Hashable
262
211
 
263
- # Specifies the identities that do not cause logging for this type of
264
- # permission.
212
+ # Specifies the identities that do not cause logging for this type of permission.
265
213
  # Follows the same format of Binding.members.
266
214
  # Corresponds to the JSON property `exemptedMembers`
267
215
  # @return [Array<String>]
@@ -287,69 +235,57 @@ module Google
287
235
  class Binding
288
236
  include Google::Apis::Core::Hashable
289
237
 
290
- # Represents a textual expression in the Common Expression Language (CEL)
291
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
292
- # are documented at https://github.com/google/cel-spec.
293
- # Example (Comparison):
294
- # title: "Summary size limit"
295
- # description: "Determines if a summary is less than 100 chars"
296
- # expression: "document.summary.size() < 100"
297
- # Example (Equality):
298
- # title: "Requestor is owner"
299
- # description: "Determines if requestor is the document owner"
300
- # expression: "document.owner == request.auth.claims.email"
301
- # Example (Logic):
302
- # title: "Public documents"
303
- # description: "Determine whether the document should be publicly visible"
304
- # expression: "document.type != 'private' && document.type != 'internal'"
305
- # Example (Data Manipulation):
306
- # title: "Notification string"
307
- # description: "Create a notification string with a timestamp."
308
- # expression: "'New message received at ' + string(document.create_time)"
309
- # The exact variables and functions that may be referenced within an expression
310
- # are determined by the service that evaluates it. See the service
311
- # documentation for additional information.
238
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
239
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
240
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
241
+ # "Summary size limit" description: "Determines if a summary is less than 100
242
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
243
+ # Requestor is owner" description: "Determines if requestor is the document
244
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
245
+ # Logic): title: "Public documents" description: "Determine whether the document
246
+ # should be publicly visible" expression: "document.type != 'private' &&
247
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
248
+ # string" description: "Create a notification string with a timestamp."
249
+ # expression: "'New message received at ' + string(document.create_time)" The
250
+ # exact variables and functions that may be referenced within an expression are
251
+ # determined by the service that evaluates it. See the service documentation for
252
+ # additional information.
312
253
  # Corresponds to the JSON property `condition`
313
254
  # @return [Google::Apis::HealthcareV1beta1::Expr]
314
255
  attr_accessor :condition
315
256
 
316
- # Specifies the identities requesting access for a Cloud Platform resource.
317
- # `members` can have the following values:
318
- # * `allUsers`: A special identifier that represents anyone who is
319
- # on the internet; with or without a Google account.
320
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
321
- # who is authenticated with a Google account or a service account.
322
- # * `user:`emailid``: An email address that represents a specific Google
323
- # account. For example, `alice@example.com` .
324
- # * `serviceAccount:`emailid``: An email address that represents a service
325
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
326
- # * `group:`emailid``: An email address that represents a Google group.
327
- # For example, `admins@example.com`.
328
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
329
- # identifier) representing a user that has been recently deleted. For
330
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
331
- # recovered, this value reverts to `user:`emailid`` and the recovered user
332
- # retains the role in the binding.
333
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
334
- # unique identifier) representing a service account that has been recently
335
- # deleted. For example,
336
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
337
- # If the service account is undeleted, this value reverts to
338
- # `serviceAccount:`emailid`` and the undeleted service account retains the
339
- # role in the binding.
340
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
341
- # identifier) representing a Google group that has been recently
342
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
343
- # the group is recovered, this value reverts to `group:`emailid`` and the
344
- # recovered group retains the role in the binding.
345
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
346
- # users of that domain. For example, `google.com` or `example.com`.
257
+ # Specifies the identities requesting access for a Cloud Platform resource. `
258
+ # members` can have the following values: * `allUsers`: A special identifier
259
+ # that represents anyone who is on the internet; with or without a Google
260
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
261
+ # anyone who is authenticated with a Google account or a service account. * `
262
+ # user:`emailid``: An email address that represents a specific Google account.
263
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
264
+ # address that represents a service account. For example, `my-other-app@appspot.
265
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
266
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
267
+ # `uniqueid``: An email address (plus unique identifier) representing a user
268
+ # that has been recently deleted. For example, `alice@example.com?uid=
269
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
270
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
271
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
272
+ # identifier) representing a service account that has been recently deleted. For
273
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
274
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
275
+ # emailid`` and the undeleted service account retains the role in the binding. *
276
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
277
+ # identifier) representing a Google group that has been recently deleted. For
278
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
279
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
280
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
281
+ # primary) that represents all the users of that domain. For example, `google.
282
+ # com` or `example.com`.
347
283
  # Corresponds to the JSON property `members`
348
284
  # @return [Array<String>]
349
285
  attr_accessor :members
350
286
 
351
- # Role that is assigned to `members`.
352
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
287
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
288
+ # , or `roles/owner`.
353
289
  # Corresponds to the JSON property `role`
354
290
  # @return [String]
355
291
  attr_accessor :role
@@ -446,10 +382,8 @@ module Google
446
382
  class CreateMessageRequest
447
383
  include Google::Apis::Core::Hashable
448
384
 
449
- # A complete HL7v2 message.
450
- # See [Introduction to HL7 Standards]
451
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
452
- # details on the standard.
385
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
386
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
453
387
  # Corresponds to the JSON property `message`
454
388
  # @return [Google::Apis::HealthcareV1beta1::Message]
455
389
  attr_accessor :message
@@ -465,15 +399,14 @@ module Google
465
399
  end
466
400
 
467
401
  # Pseudonymization method that generates surrogates via cryptographic hashing.
468
- # Uses SHA-256.
469
- # Outputs a base64-encoded representation of the hashed output.
402
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
470
403
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
471
404
  class CryptoHashConfig
472
405
  include Google::Apis::Core::Hashable
473
406
 
474
- # An AES 128/192/256 bit key. Causes the hash to be computed based on this
475
- # key. A default key is generated for each Deidentify operation and is used
476
- # wherever crypto_key is not specified.
407
+ # An AES 128/192/256 bit key. Causes the hash to be computed based on this key.
408
+ # A default key is generated for each Deidentify operation and is used wherever
409
+ # crypto_key is not specified.
477
410
  # Corresponds to the JSON property `cryptoKey`
478
411
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
479
412
  # @return [String]
@@ -489,23 +422,23 @@ module Google
489
422
  end
490
423
  end
491
424
 
492
- # A message representing a health dataset.
493
- # A health dataset represents a collection of healthcare data pertaining to one
494
- # or more patients. This may include multiple modalities of healthcare data,
495
- # such as electronic medical records or medical imaging data.
425
+ # A message representing a health dataset. A health dataset represents a
426
+ # collection of healthcare data pertaining to one or more patients. This may
427
+ # include multiple modalities of healthcare data, such as electronic medical
428
+ # records or medical imaging data.
496
429
  class Dataset
497
430
  include Google::Apis::Core::Hashable
498
431
 
499
- # Resource name of the dataset, of the form
500
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
432
+ # Resource name of the dataset, of the form `projects/`project_id`/locations/`
433
+ # location_id`/datasets/`dataset_id``.
501
434
  # Corresponds to the JSON property `name`
502
435
  # @return [String]
503
436
  attr_accessor :name
504
437
 
505
- # The default timezone used by this dataset. Must be a either a valid IANA
506
- # time zone name such as "America/New_York" or empty, which defaults to UTC.
507
- # This is used for parsing times in resources, such as HL7 messages, where no
508
- # explicit timezone is specified.
438
+ # The default timezone used by this dataset. Must be a either a valid IANA time
439
+ # zone name such as "America/New_York" or empty, which defaults to UTC. This is
440
+ # used for parsing times in resources, such as HL7 messages, where no explicit
441
+ # timezone is specified.
509
442
  # Corresponds to the JSON property `timeZone`
510
443
  # @return [String]
511
444
  attr_accessor :time_zone
@@ -526,9 +459,9 @@ module Google
526
459
  class DateShiftConfig
527
460
  include Google::Apis::Core::Hashable
528
461
 
529
- # An AES 128/192/256 bit key. Causes the shift to be computed based on this
530
- # key and the patient ID. A default key is generated for each
531
- # Deidentify operation and is used wherever crypto_key is not specified.
462
+ # An AES 128/192/256 bit key. Causes the shift to be computed based on this key
463
+ # and the patient ID. A default key is generated for each Deidentify operation
464
+ # and is used wherever crypto_key is not specified.
532
465
  # Corresponds to the JSON property `cryptoKey`
533
466
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
534
467
  # @return [String]
@@ -544,10 +477,9 @@ module Google
544
477
  end
545
478
  end
546
479
 
547
- # Configures de-id options specific to different types of content.
548
- # Each submessage customizes the handling of an
549
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
550
- # applied in a nested manner at runtime.
480
+ # Configures de-id options specific to different types of content. Each
481
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
482
+ # media type or subtype. Configs are applied in a nested manner at runtime.
551
483
  class DeidentifyConfig
552
484
  include Google::Apis::Core::Hashable
553
485
 
@@ -595,19 +527,17 @@ module Google
595
527
  class DeidentifyDatasetRequest
596
528
  include Google::Apis::Core::Hashable
597
529
 
598
- # Configures de-id options specific to different types of content.
599
- # Each submessage customizes the handling of an
600
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
601
- # applied in a nested manner at runtime.
530
+ # Configures de-id options specific to different types of content. Each
531
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
532
+ # media type or subtype. Configs are applied in a nested manner at runtime.
602
533
  # Corresponds to the JSON property `config`
603
534
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
604
535
  attr_accessor :config
605
536
 
606
- # The name of the dataset resource to create and write the redacted data to.
607
- # * The destination dataset must not exist.
608
- # * The destination dataset must be in the same project and location as the
609
- # source dataset. De-identifying data across multiple projects or locations
610
- # is not supported.
537
+ # The name of the dataset resource to create and write the redacted data to. *
538
+ # The destination dataset must not exist. * The destination dataset must be in
539
+ # the same project and location as the source dataset. De-identifying data
540
+ # across multiple projects or locations is not supported.
611
541
  # Corresponds to the JSON property `destinationDataset`
612
542
  # @return [String]
613
543
  attr_accessor :destination_dataset
@@ -627,24 +557,20 @@ module Google
627
557
  class DeidentifyDicomStoreRequest
628
558
  include Google::Apis::Core::Hashable
629
559
 
630
- # Configures de-id options specific to different types of content.
631
- # Each submessage customizes the handling of an
632
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
633
- # applied in a nested manner at runtime.
560
+ # Configures de-id options specific to different types of content. Each
561
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
562
+ # media type or subtype. Configs are applied in a nested manner at runtime.
634
563
  # Corresponds to the JSON property `config`
635
564
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
636
565
  attr_accessor :config
637
566
 
638
- # The name of the DICOM store to create and write the redacted data to.
639
- # For example,
640
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
641
- # dicomStores/`dicom_store_id``.
642
- # * The destination dataset must exist.
643
- # * The source dataset and destination dataset must both reside in the same
644
- # project. De-identifying data across multiple projects is not supported.
645
- # * The destination DICOM store must not exist.
646
- # * The caller must have the necessary permissions to create the destination
647
- # DICOM store.
567
+ # The name of the DICOM store to create and write the redacted data to. For
568
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
569
+ # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
570
+ # source dataset and destination dataset must both reside in the same project.
571
+ # De-identifying data across multiple projects is not supported. * The
572
+ # destination DICOM store must not exist. * The caller must have the necessary
573
+ # permissions to create the destination DICOM store.
648
574
  # Corresponds to the JSON property `destinationStore`
649
575
  # @return [String]
650
576
  attr_accessor :destination_store
@@ -666,7 +592,7 @@ module Google
666
592
  end
667
593
  end
668
594
 
669
- # Contains the status of the Deidentify operation.
595
+ # Deprecated. Contains the status of the Deidentify operation.
670
596
  class DeidentifyErrorDetails
671
597
  include Google::Apis::Core::Hashable
672
598
 
@@ -707,24 +633,20 @@ module Google
707
633
  class DeidentifyFhirStoreRequest
708
634
  include Google::Apis::Core::Hashable
709
635
 
710
- # Configures de-id options specific to different types of content.
711
- # Each submessage customizes the handling of an
712
- # https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are
713
- # applied in a nested manner at runtime.
636
+ # Configures de-id options specific to different types of content. Each
637
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
638
+ # media type or subtype. Configs are applied in a nested manner at runtime.
714
639
  # Corresponds to the JSON property `config`
715
640
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
716
641
  attr_accessor :config
717
642
 
718
- # The name of the FHIR store to create and write the redacted data to.
719
- # For example,
720
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
721
- # fhirStores/`fhir_store_id``.
722
- # * The destination dataset must exist.
723
- # * The source dataset and destination dataset must both reside in the same
724
- # project. De-identifying data across multiple projects is not supported.
725
- # * The destination FHIR store must exist.
726
- # * The caller must have the healthcare.fhirResources.update permission to
727
- # write to the destination FHIR store.
643
+ # The name of the FHIR store to create and write the redacted data to. For
644
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
645
+ # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
646
+ # source dataset and destination dataset must both reside in the same project.
647
+ # De-identifying data across multiple projects is not supported. * The
648
+ # destination FHIR store must exist. * The caller must have the healthcare.
649
+ # fhirResources.update permission to write to the destination FHIR store.
728
650
  # Corresponds to the JSON property `destinationStore`
729
651
  # @return [String]
730
652
  attr_accessor :destination_store
@@ -750,10 +672,8 @@ module Google
750
672
  class DeidentifySummary
751
673
  include Google::Apis::Core::Hashable
752
674
 
753
- # Number of resources that failed to process.
754
- # The failures might be caused by:
755
- # * Invalid user input data
756
- # * Transient errors that could be skipped
675
+ # Number of resources that failed to process. The failures might be caused by: *
676
+ # Invalid user input data * Transient errors that could be skipped
757
677
  # Corresponds to the JSON property `failureResourceCount`
758
678
  # @return [Fixnum]
759
679
  attr_accessor :failure_resource_count
@@ -818,14 +738,13 @@ module Google
818
738
  # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
819
739
  attr_accessor :remove_list
820
740
 
821
- # If true, skip replacing StudyInstanceUID, SeriesInstanceUID,
822
- # SOPInstanceUID, and MediaStorageSOPInstanceUID and leave them untouched.
823
- # The Cloud Healthcare API regenerates these UIDs by default based on the
824
- # DICOM Standard's reasoning: "Whilst these UIDs cannot be mapped directly
825
- # to an individual out of context, given access to the original images, or
826
- # to a database of the original images containing the UIDs, it would be
827
- # possible to recover the individual's identity."
828
- # http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.
741
+ # If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID,
742
+ # and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare
743
+ # API regenerates these UIDs by default based on the DICOM Standard's reasoning:
744
+ # "Whilst these UIDs cannot be mapped directly to an individual out of context,
745
+ # given access to the original images, or to a database of the original images
746
+ # containing the UIDs, it would be possible to recover the individual's identity.
747
+ # " http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.
829
748
  # html
830
749
  # Corresponds to the JSON property `skipIdRedaction`
831
750
  # @return [Boolean]
@@ -849,15 +768,13 @@ module Google
849
768
  class DicomFilterConfig
850
769
  include Google::Apis::Core::Hashable
851
770
 
852
- # The Cloud Storage location of the filter configuration file.
853
- # The `gcs_uri` must be in the format `gs://bucket/path/to/object`.
854
- # The filter configuration file must contain a list of resource paths
855
- # separated by newline characters (\n or \r\n). Each resource path
856
- # must be in the format
857
- # "/studies/`studyUID`[/series/`seriesUID`[/instances/`instanceUID`]]"
858
- # The Cloud Healthcare API service account must have the
859
- # `roles/storage.objectViewer` Cloud IAM role for this Cloud Storage
860
- # location.
771
+ # The Cloud Storage location of the filter configuration file. The `gcs_uri`
772
+ # must be in the format `gs://bucket/path/to/object`. The filter configuration
773
+ # file must contain a list of resource paths separated by newline characters (\n
774
+ # or \r\n). Each resource path must be in the format "/studies/`studyUID`[/
775
+ # series/`seriesUID`[/instances/`instanceUID`]]" The Cloud Healthcare API
776
+ # service account must have the `roles/storage.objectViewer` Cloud IAM role for
777
+ # this Cloud Storage location.
861
778
  # Corresponds to the JSON property `resourcePathsGcsUri`
862
779
  # @return [String]
863
780
  attr_accessor :resource_paths_gcs_uri
@@ -876,22 +793,19 @@ module Google
876
793
  class DicomStore
877
794
  include Google::Apis::Core::Hashable
878
795
 
879
- # User-supplied key-value pairs used to organize DICOM stores.
880
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
881
- # of maximum 128 bytes, and must conform to the
882
- # following PCRE regular expression:
883
- # \p`Ll`\p`Lo``0,62`
884
- # Label values are optional, must be between 1 and 63 characters long, have
885
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
886
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
887
- # No more than 64 labels can be associated with a given store.
796
+ # User-supplied key-value pairs used to organize DICOM stores. Label keys must
797
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
798
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
799
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
800
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
801
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
802
+ # can be associated with a given store.
888
803
  # Corresponds to the JSON property `labels`
889
804
  # @return [Hash<String,String>]
890
805
  attr_accessor :labels
891
806
 
892
- # Resource name of the DICOM store, of the form
893
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
894
- # dicomStores/`dicom_store_id``.
807
+ # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
808
+ # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
895
809
  # Corresponds to the JSON property `name`
896
810
  # @return [String]
897
811
  attr_accessor :name
@@ -901,6 +815,16 @@ module Google
901
815
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
902
816
  attr_accessor :notification_config
903
817
 
818
+ # A list of streaming configs used to configure the destination of streaming
819
+ # exports for every DICOM instance insertion in this DICOM store. After a new
820
+ # config is added to `stream_configs`, DICOM instance insertions are streamed to
821
+ # the new destination. When a config is removed from `stream_configs`, the
822
+ # server stops streaming to that destination. Each config must contain a unique
823
+ # destination.
824
+ # Corresponds to the JSON property `streamConfigs`
825
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig>]
826
+ attr_accessor :stream_configs
827
+
904
828
  def initialize(**args)
905
829
  update!(**args)
906
830
  end
@@ -910,16 +834,15 @@ module Google
910
834
  @labels = args[:labels] if args.key?(:labels)
911
835
  @name = args[:name] if args.key?(:name)
912
836
  @notification_config = args[:notification_config] if args.key?(:notification_config)
837
+ @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
913
838
  end
914
839
  end
915
840
 
916
- # A generic empty message that you can re-use to avoid defining duplicated
917
- # empty messages in your APIs. A typical example is to use it as the request
918
- # or the response type of an API method. For instance:
919
- # service Foo `
920
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
921
- # `
922
- # The JSON representation for `Empty` is empty JSON object ````.
841
+ # A generic empty message that you can re-use to avoid defining duplicated empty
842
+ # messages in your APIs. A typical example is to use it as the request or the
843
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
844
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
845
+ # `Empty` is empty JSON object ````.
923
846
  class Empty
924
847
  include Google::Apis::Core::Hashable
925
848
 
@@ -933,17 +856,17 @@ module Google
933
856
  end
934
857
 
935
858
  # Structure to describe the error encountered during batch operation on one
936
- # resource. This is used both for sample errors in operation response, and
937
- # for format of errors in error reports.
859
+ # resource. This is used both for sample errors in operation response, and for
860
+ # format of errors in error reports.
938
861
  class ErrorDetail
939
862
  include Google::Apis::Core::Hashable
940
863
 
941
- # The `Status` type defines a logical error model that is suitable for
942
- # different programming environments, including REST APIs and RPC APIs. It is
943
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
944
- # three pieces of data: error code, error message, and error details.
945
- # You can find out more about this error model and how to work with it in the
946
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
864
+ # The `Status` type defines a logical error model that is suitable for different
865
+ # programming environments, including REST APIs and RPC APIs. It is used by [
866
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
867
+ # data: error code, error message, and error details. You can find out more
868
+ # about this error model and how to work with it in the [API Design Guide](https:
869
+ # //cloud.google.com/apis/design/errors).
947
870
  # Corresponds to the JSON property `error`
948
871
  # @return [Google::Apis::HealthcareV1beta1::Status]
949
872
  attr_accessor :error
@@ -964,8 +887,8 @@ module Google
964
887
  end
965
888
  end
966
889
 
967
- # Request to evaluate an Annotation store against a
968
- # ground truth [Annotation store].
890
+ # Request to evaluate an Annotation store against a ground truth [Annotation
891
+ # store].
969
892
  class EvaluateAnnotationStoreRequest
970
893
  include Google::Apis::Core::Hashable
971
894
 
@@ -975,43 +898,43 @@ module Google
975
898
  attr_accessor :bigquery_destination
976
899
 
977
900
  # Optional. InfoType mapping for `eval_store`. Different resources can map to
978
- # the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and
979
- # `HUMAN` are different. To map all of these into a single
980
- # infoType (such as `PERSON_NAME`), specify the following mapping:
981
- # ```
982
- # info_type_mapping["PERSON"] = "PERSON_NAME"
983
- # info_type_mapping["NAME"] = "PERSON_NAME"
984
- # info_type_mapping["HUMAN"] = "PERSON_NAME"
985
- # ```
986
- # Unmentioned infoTypes, such as `DATE`, are treated as identity
987
- # mapping. For example:
988
- # ```
989
- # info_type_mapping["DATE"] = "DATE"
990
- # ```
901
+ # the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and `HUMAN`
902
+ # are different. To map all of these into a single infoType (such as `
903
+ # PERSON_NAME`), specify the following mapping: ``` info_type_mapping["PERSON"] =
904
+ # "PERSON_NAME" info_type_mapping["NAME"] = "PERSON_NAME" info_type_mapping["
905
+ # HUMAN"] = "PERSON_NAME" ``` Unmentioned infoTypes, such as `DATE`, are treated
906
+ # as identity mapping. For example: ``` info_type_mapping["DATE"] = "DATE" ```
991
907
  # InfoTypes are case-insensitive.
992
908
  # Corresponds to the JSON property `evalInfoTypeMapping`
993
909
  # @return [Hash<String,String>]
994
910
  attr_accessor :eval_info_type_mapping
995
911
 
996
- # Optional. Similar to `eval_info_type_mapping`, infoType mapping for
997
- # `golden_store`.
912
+ # Optional. Similar to `eval_info_type_mapping`, infoType mapping for `
913
+ # golden_store`.
998
914
  # Corresponds to the JSON property `goldenInfoTypeMapping`
999
915
  # @return [Hash<String,String>]
1000
916
  attr_accessor :golden_info_type_mapping
1001
917
 
1002
- # The Annotation store to use as ground truth, in the format of
1003
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1004
- # annotationStores/`annotation_store_id``.
918
+ # The Annotation store to use as ground truth, in the format of `projects/`
919
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
920
+ # annotation_store_id``.
1005
921
  # Corresponds to the JSON property `goldenStore`
1006
922
  # @return [String]
1007
923
  attr_accessor :golden_store
1008
924
 
1009
- # Specifies how to use infoTypes for evaluation. For example, a user might
1010
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
925
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
926
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
1011
927
  # Corresponds to the JSON property `infoTypeConfig`
1012
928
  # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
1013
929
  attr_accessor :info_type_config
1014
930
 
931
+ # The Annotation store to compare against `golden_store`, in the format of `
932
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
933
+ # annotationStores/`annotation_store_id``.
934
+ # Corresponds to the JSON property `name`
935
+ # @return [String]
936
+ attr_accessor :name
937
+
1015
938
  def initialize(**args)
1016
939
  update!(**args)
1017
940
  end
@@ -1023,41 +946,38 @@ module Google
1023
946
  @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
1024
947
  @golden_store = args[:golden_store] if args.key?(:golden_store)
1025
948
  @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
949
+ @name = args[:name] if args.key?(:name)
1026
950
  end
1027
951
  end
1028
952
 
1029
- # Response for successful Annotation store evaluation operations. This
1030
- # structure is included in the
1031
- # response upon operation completion.
953
+ # Response for successful Annotation store evaluation operations. This structure
954
+ # is included in the response upon operation completion.
1032
955
  class EvaluateAnnotationStoreResponse
1033
956
  include Google::Apis::Core::Hashable
1034
957
 
1035
- # The evaluated Annotation store, in the format of
1036
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1037
- # annotationStores/`annotation_store_id``.
958
+ # The evaluated Annotation store, in the format of `projects/`project_id`/
959
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
960
+ # annotation_store_id``.
1038
961
  # Corresponds to the JSON property `evalStore`
1039
962
  # @return [String]
1040
963
  attr_accessor :eval_store
1041
964
 
1042
- # The number of Annotations in the ground
1043
- # truth Annotation store successfully
965
+ # The number of Annotations in the ground truth Annotation store successfully
1044
966
  # processed.
1045
967
  # Corresponds to the JSON property `goldenCount`
1046
968
  # @return [Fixnum]
1047
969
  attr_accessor :golden_count
1048
970
 
1049
- # The ground truth Annotation store, in the format of
1050
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1051
- # annotationStores/`annotation_store_id``.
971
+ # The ground truth Annotation store, in the format of `projects/`project_id`/
972
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
973
+ # annotation_store_id``.
1052
974
  # Corresponds to the JSON property `goldenStore`
1053
975
  # @return [String]
1054
976
  attr_accessor :golden_store
1055
977
 
1056
- # The number of Annotations
1057
- # in the eval store that match with corresponding annotations
1058
- # in the ground truth Annotation store. Two matched
1059
- # annotations both annotate the same resource defined in
1060
- # AnnotationSource.
978
+ # The number of Annotations in the eval store that match with corresponding
979
+ # annotations in the ground truth Annotation store. Two matched annotations both
980
+ # annotate the same resource defined in AnnotationSource.
1061
981
  # Corresponds to the JSON property `matchedCount`
1062
982
  # @return [Fixnum]
1063
983
  attr_accessor :matched_count
@@ -1075,15 +995,14 @@ module Google
1075
995
  end
1076
996
  end
1077
997
 
1078
- # Response for failed annotation export operations. This structure is
1079
- # included in error
1080
- # details upon operation completion.
998
+ # Deprecated. Response for failed annotation export operations. This structure
999
+ # is included in error details upon operation completion.
1081
1000
  class ExportAnnotationsErrorDetails
1082
1001
  include Google::Apis::Core::Hashable
1083
1002
 
1084
- # The annotation_store used for the export operation, in the format of
1085
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1086
- # annotationStores/`annotation_store_id``.
1003
+ # The annotation_store used for the export operation, in the format of `projects/
1004
+ # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1005
+ # annotation_store_id``.
1087
1006
  # Corresponds to the JSON property `annotationStore`
1088
1007
  # @return [String]
1089
1008
  attr_accessor :annotation_store
@@ -1110,9 +1029,7 @@ module Google
1110
1029
  end
1111
1030
  end
1112
1031
 
1113
- # Request to export
1114
- # Annotations. The
1115
- # export operation is not atomic. If a
1032
+ # Request to export Annotations. The export operation is not atomic. If a
1116
1033
  # failure occurs, any annotations already exported are not removed.
1117
1034
  class ExportAnnotationsRequest
1118
1035
  include Google::Apis::Core::Hashable
@@ -1127,6 +1044,13 @@ module Google
1127
1044
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
1128
1045
  attr_accessor :gcs_destination
1129
1046
 
1047
+ # The name of the Annotation store to export annotations to, in the format of `
1048
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1049
+ # annotationStores/`annotation_store_id``.
1050
+ # Corresponds to the JSON property `name`
1051
+ # @return [String]
1052
+ attr_accessor :name
1053
+
1130
1054
  def initialize(**args)
1131
1055
  update!(**args)
1132
1056
  end
@@ -1135,18 +1059,18 @@ module Google
1135
1059
  def update!(**args)
1136
1060
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1137
1061
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1062
+ @name = args[:name] if args.key?(:name)
1138
1063
  end
1139
1064
  end
1140
1065
 
1141
1066
  # Response for successful annotation export operations. This structure is
1142
- # included in response upon operation
1143
- # completion.
1067
+ # included in response upon operation completion.
1144
1068
  class ExportAnnotationsResponse
1145
1069
  include Google::Apis::Core::Hashable
1146
1070
 
1147
- # The annotation_store used for the export operation, in the format of
1148
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1149
- # annotationStores/`annotation_store_id``.
1071
+ # The annotation_store used for the export operation, in the format of `projects/
1072
+ # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1073
+ # annotation_store_id``.
1150
1074
  # Corresponds to the JSON property `annotationStore`
1151
1075
  # @return [String]
1152
1076
  attr_accessor :annotation_store
@@ -1167,16 +1091,14 @@ module Google
1167
1091
  end
1168
1092
  end
1169
1093
 
1170
- # Exports data from the specified DICOM store.
1171
- # If a given resource, such as a DICOM object with the same SOPInstance UID,
1172
- # already exists in the output, it is overwritten with the version
1173
- # in the source dataset.
1174
- # Exported DICOM data persists when the DICOM store from which it was
1175
- # exported is deleted.
1094
+ # Exports data from the specified DICOM store. If a given resource, such as a
1095
+ # DICOM object with the same SOPInstance UID, already exists in the output, it
1096
+ # is overwritten with the version in the source dataset. Exported DICOM data
1097
+ # persists when the DICOM store from which it was exported is deleted.
1176
1098
  class ExportDicomDataRequest
1177
1099
  include Google::Apis::Core::Hashable
1178
1100
 
1179
- # The BigQuery table where the server writes the output.
1101
+ # The BigQuery table where the server writes output.
1180
1102
  # Corresponds to the JSON property `bigqueryDestination`
1181
1103
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination]
1182
1104
  attr_accessor :bigquery_destination
@@ -1236,52 +1158,43 @@ module Google
1236
1158
  end
1237
1159
  end
1238
1160
 
1239
- # Represents a textual expression in the Common Expression Language (CEL)
1240
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1241
- # are documented at https://github.com/google/cel-spec.
1242
- # Example (Comparison):
1243
- # title: "Summary size limit"
1244
- # description: "Determines if a summary is less than 100 chars"
1245
- # expression: "document.summary.size() < 100"
1246
- # Example (Equality):
1247
- # title: "Requestor is owner"
1248
- # description: "Determines if requestor is the document owner"
1249
- # expression: "document.owner == request.auth.claims.email"
1250
- # Example (Logic):
1251
- # title: "Public documents"
1252
- # description: "Determine whether the document should be publicly visible"
1253
- # expression: "document.type != 'private' && document.type != 'internal'"
1254
- # Example (Data Manipulation):
1255
- # title: "Notification string"
1256
- # description: "Create a notification string with a timestamp."
1257
- # expression: "'New message received at ' + string(document.create_time)"
1258
- # The exact variables and functions that may be referenced within an expression
1259
- # are determined by the service that evaluates it. See the service
1260
- # documentation for additional information.
1161
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1162
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1163
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1164
+ # "Summary size limit" description: "Determines if a summary is less than 100
1165
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1166
+ # Requestor is owner" description: "Determines if requestor is the document
1167
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1168
+ # Logic): title: "Public documents" description: "Determine whether the document
1169
+ # should be publicly visible" expression: "document.type != 'private' &&
1170
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1171
+ # string" description: "Create a notification string with a timestamp."
1172
+ # expression: "'New message received at ' + string(document.create_time)" The
1173
+ # exact variables and functions that may be referenced within an expression are
1174
+ # determined by the service that evaluates it. See the service documentation for
1175
+ # additional information.
1261
1176
  class Expr
1262
1177
  include Google::Apis::Core::Hashable
1263
1178
 
1264
- # Optional. Description of the expression. This is a longer text which
1265
- # describes the expression, e.g. when hovered over it in a UI.
1179
+ # Optional. Description of the expression. This is a longer text which describes
1180
+ # the expression, e.g. when hovered over it in a UI.
1266
1181
  # Corresponds to the JSON property `description`
1267
1182
  # @return [String]
1268
1183
  attr_accessor :description
1269
1184
 
1270
- # Textual representation of an expression in Common Expression Language
1271
- # syntax.
1185
+ # Textual representation of an expression in Common Expression Language syntax.
1272
1186
  # Corresponds to the JSON property `expression`
1273
1187
  # @return [String]
1274
1188
  attr_accessor :expression
1275
1189
 
1276
- # Optional. String indicating the location of the expression for error
1277
- # reporting, e.g. a file name and a position in the file.
1190
+ # Optional. String indicating the location of the expression for error reporting,
1191
+ # e.g. a file name and a position in the file.
1278
1192
  # Corresponds to the JSON property `location`
1279
1193
  # @return [String]
1280
1194
  attr_accessor :location
1281
1195
 
1282
- # Optional. Title for the expression, i.e. a short string describing
1283
- # its purpose. This can be used e.g. in UIs which allow to enter the
1284
- # expression.
1196
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
1197
+ # This can be used e.g. in UIs which allow to enter the expression.
1285
1198
  # Corresponds to the JSON property `title`
1286
1199
  # @return [String]
1287
1200
  attr_accessor :title
@@ -1303,11 +1216,10 @@ module Google
1303
1216
  class FhirConfig
1304
1217
  include Google::Apis::Core::Hashable
1305
1218
 
1306
- # Specifies FHIR paths to match and how to transform them. Any field that
1307
- # is not matched by a FieldMetadata is passed through to the output
1308
- # dataset unmodified. All extensions are removed in the output.
1309
- # If a field can be matched by more than one FieldMetadata, the first
1310
- # FieldMetadata.Action is applied.
1219
+ # Specifies FHIR paths to match and how to transform them. Any field that is not
1220
+ # matched by a FieldMetadata is passed through to the output dataset unmodified.
1221
+ # All extensions are removed in the output. If a field can be matched by more
1222
+ # than one FieldMetadata, the first FieldMetadata.Action is applied.
1311
1223
  # Corresponds to the JSON property `fieldMetadataList`
1312
1224
  # @return [Array<Google::Apis::HealthcareV1beta1::FieldMetadata>]
1313
1225
  attr_accessor :field_metadata_list
@@ -1345,74 +1257,67 @@ module Google
1345
1257
  class FhirStore
1346
1258
  include Google::Apis::Core::Hashable
1347
1259
 
1348
- # If true, overrides the default search behavior for this FHIR store to
1349
- # `handling=strict` which returns an error for unrecognized search
1350
- # parameters. If false, uses the FHIR specification default
1351
- # `handling=lenient` which ignores unrecognized search parameters.
1352
- # The handling can always be changed from the default on an individual API
1353
- # call by setting the HTTP header `Prefer: handling=strict` or
1354
- # `Prefer: handling=lenient`.
1260
+ # If true, overrides the default search behavior for this FHIR store to `
1261
+ # handling=strict` which returns an error for unrecognized search parameters. If
1262
+ # false, uses the FHIR specification default `handling=lenient` which ignores
1263
+ # unrecognized search parameters. The handling can always be changed from the
1264
+ # default on an individual API call by setting the HTTP header `Prefer: handling=
1265
+ # strict` or `Prefer: handling=lenient`.
1355
1266
  # Corresponds to the JSON property `defaultSearchHandlingStrict`
1356
1267
  # @return [Boolean]
1357
1268
  attr_accessor :default_search_handling_strict
1358
1269
  alias_method :default_search_handling_strict?, :default_search_handling_strict
1359
1270
 
1360
1271
  # Whether to disable referential integrity in this FHIR store. This field is
1361
- # immutable after FHIR store creation.
1362
- # The default value is false, meaning that the API enforces referential
1363
- # integrity and fails the requests that result in inconsistent state in
1364
- # the FHIR store.
1365
- # When this field is set to true, the API skips referential integrity
1366
- # checks. Consequently, operations that rely on references, such as
1367
- # GetPatientEverything, do not return all the results if broken references
1368
- # exist.
1272
+ # immutable after FHIR store creation. The default value is false, meaning that
1273
+ # the API enforces referential integrity and fails the requests that result in
1274
+ # inconsistent state in the FHIR store. When this field is set to true, the API
1275
+ # skips referential integrity checks. Consequently, operations that rely on
1276
+ # references, such as GetPatientEverything, do not return all the results if
1277
+ # broken references exist.
1369
1278
  # Corresponds to the JSON property `disableReferentialIntegrity`
1370
1279
  # @return [Boolean]
1371
1280
  attr_accessor :disable_referential_integrity
1372
1281
  alias_method :disable_referential_integrity?, :disable_referential_integrity
1373
1282
 
1374
- # Whether to disable resource versioning for this FHIR store. This field can
1375
- # not be changed after the creation of FHIR store.
1376
- # If set to false, which is the default behavior, all write operations
1377
- # cause historical versions to be recorded automatically. The historical
1378
- # versions can be fetched through the history APIs, but cannot be updated.
1379
- # If set to true, no historical versions are kept. The server sends
1380
- # errors for attempts to read the historical versions.
1283
+ # Whether to disable resource versioning for this FHIR store. This field can not
1284
+ # be changed after the creation of FHIR store. If set to false, which is the
1285
+ # default behavior, all write operations cause historical versions to be
1286
+ # recorded automatically. The historical versions can be fetched through the
1287
+ # history APIs, but cannot be updated. If set to true, no historical versions
1288
+ # are kept. The server sends errors for attempts to read the historical versions.
1381
1289
  # Corresponds to the JSON property `disableResourceVersioning`
1382
1290
  # @return [Boolean]
1383
1291
  attr_accessor :disable_resource_versioning
1384
1292
  alias_method :disable_resource_versioning?, :disable_resource_versioning
1385
1293
 
1386
- # Whether this FHIR store has the [updateCreate
1387
- # capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#
1388
- # CapabilityStatement.rest.resource.updateCreate).
1389
- # This determines if the client can use an Update operation to create a new
1390
- # resource with a client-specified ID. If false, all IDs are server-assigned
1391
- # through the Create operation and attempts to update a non-existent resource
1392
- # return errors. Please treat the audit logs with appropriate levels of
1393
- # care if client-specified resource IDs contain sensitive data such as
1394
- # patient identifiers, those IDs are part of the FHIR resource path
1395
- # recorded in Cloud audit logs and Cloud Pub/Sub notifications.
1294
+ # Whether this FHIR store has the [updateCreate capability](https://www.hl7.org/
1295
+ # fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.
1296
+ # updateCreate). This determines if the client can use an Update operation to
1297
+ # create a new resource with a client-specified ID. If false, all IDs are server-
1298
+ # assigned through the Create operation and attempts to update a non-existent
1299
+ # resource return errors. Please treat the audit logs with appropriate levels of
1300
+ # care if client-specified resource IDs contain sensitive data such as patient
1301
+ # identifiers, those IDs are part of the FHIR resource path recorded in Cloud
1302
+ # audit logs and Cloud Pub/Sub notifications.
1396
1303
  # Corresponds to the JSON property `enableUpdateCreate`
1397
1304
  # @return [Boolean]
1398
1305
  attr_accessor :enable_update_create
1399
1306
  alias_method :enable_update_create?, :enable_update_create
1400
1307
 
1401
- # User-supplied key-value pairs used to organize FHIR stores.
1402
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
1403
- # of maximum 128 bytes, and must conform to the
1404
- # following PCRE regular expression:
1405
- # \p`Ll`\p`Lo``0,62`
1406
- # Label values are optional, must be between 1 and 63 characters long, have
1407
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
1408
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
1409
- # No more than 64 labels can be associated with a given store.
1308
+ # User-supplied key-value pairs used to organize FHIR stores. Label keys must be
1309
+ # between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
1310
+ # and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``0,62`
1311
+ # Label values are optional, must be between 1 and 63 characters long, have a
1312
+ # UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
1313
+ # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
1314
+ # associated with a given store.
1410
1315
  # Corresponds to the JSON property `labels`
1411
1316
  # @return [Hash<String,String>]
1412
1317
  attr_accessor :labels
1413
1318
 
1414
- # Output only. Resource name of the FHIR store, of the form
1415
- # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1319
+ # Output only. Resource name of the FHIR store, of the form `projects/`
1320
+ # project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1416
1321
  # Corresponds to the JSON property `name`
1417
1322
  # @return [String]
1418
1323
  attr_accessor :name
@@ -1423,27 +1328,24 @@ module Google
1423
1328
  attr_accessor :notification_config
1424
1329
 
1425
1330
  # A list of streaming configs that configure the destinations of streaming
1426
- # export for every resource mutation in this FHIR store. Each store is
1427
- # allowed to have up to 10 streaming configs.
1428
- # After a new config is added, the next resource mutation is streamed to
1429
- # the new location in addition to the existing ones.
1430
- # When a location is removed from the list, the server stops
1431
- # streaming to that location. Before adding a new config, you must add the
1432
- # required
1433
- # [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
1434
- # bigquery.dataEditor)
1435
- # role to your project's **Cloud Healthcare Service Agent**
1436
- # [service account](https://cloud.google.com/iam/docs/service-accounts).
1437
- # Some lag (typically on the order of dozens of seconds) is expected before
1438
- # the results show up in the streaming destination.
1331
+ # export for every resource mutation in this FHIR store. Each store is allowed
1332
+ # to have up to 10 streaming configs. After a new config is added, the next
1333
+ # resource mutation is streamed to the new location in addition to the existing
1334
+ # ones. When a location is removed from the list, the server stops streaming to
1335
+ # that location. Before adding a new config, you must add the required [`
1336
+ # bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
1337
+ # bigquery.dataEditor) role to your project's **Cloud Healthcare Service Agent**
1338
+ # [service account](https://cloud.google.com/iam/docs/service-accounts). Some
1339
+ # lag (typically on the order of dozens of seconds) is expected before the
1340
+ # results show up in the streaming destination.
1439
1341
  # Corresponds to the JSON property `streamConfigs`
1440
1342
  # @return [Array<Google::Apis::HealthcareV1beta1::StreamConfig>]
1441
1343
  attr_accessor :stream_configs
1442
1344
 
1443
1345
  # The FHIR specification version that this FHIR store supports natively. This
1444
- # field is immutable after store creation. Requests are rejected if they
1445
- # contain FHIR resources of a different version.
1446
- # An empty value is treated as STU3.
1346
+ # field is immutable after store creation. Requests are rejected if they contain
1347
+ # FHIR resources of a different version. Version is required for every FHIR
1348
+ # store.
1447
1349
  # Corresponds to the JSON property `version`
1448
1350
  # @return [String]
1449
1351
  attr_accessor :version
@@ -1486,8 +1388,8 @@ module Google
1486
1388
  # @return [String]
1487
1389
  attr_accessor :name
1488
1390
 
1489
- # The HL7v2 table this field refers to. For example, PID-15 (Patient's
1490
- # Primary Language) usually refers to table "0296".
1391
+ # The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary
1392
+ # Language) usually refers to table "0296".
1491
1393
  # Corresponds to the JSON property `table`
1492
1394
  # @return [String]
1493
1395
  attr_accessor :table
@@ -1512,8 +1414,8 @@ module Google
1512
1414
  end
1513
1415
  end
1514
1416
 
1515
- # Specifies FHIR paths to match, and how to handle de-identification of
1516
- # matching fields.
1417
+ # Specifies FHIR paths to match, and how to handle de-identification of matching
1418
+ # fields.
1517
1419
  class FieldMetadata
1518
1420
  include Google::Apis::Core::Hashable
1519
1421
 
@@ -1522,21 +1424,19 @@ module Google
1522
1424
  # @return [String]
1523
1425
  attr_accessor :action
1524
1426
 
1525
- # List of paths to FHIR fields to redact. Each path is a
1526
- # period-separated list where each component is either a field name or
1527
- # FHIR type name. All types begin with an upper case letter. For example,
1528
- # the resource field "Patient.Address.city", which uses a string type,
1529
- # can be matched by "Patient.Address.String". Path also supports partial
1530
- # matching. For example, "Patient.Address.city" can be matched by
1531
- # "Address.city" (Patient omitted). Partial matching and type matching
1532
- # can be combined. For example, "Patient.Address.city" can be matched by
1533
- # "Address.String". For "choice" types (those defined in the FHIR spec
1534
- # with the form: field[x]), use two separate components. For example,
1535
- # "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types
1536
- # are: AdministrativeGenderCode, Code, Date, DateTime, Decimal,
1537
- # HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
1538
- # The sub-type for HumanName, such as HumanName.given or
1539
- # HumanName.family, can be omitted.
1427
+ # List of paths to FHIR fields to redact. Each path is a period-separated list
1428
+ # where each component is either a field name or FHIR type name. All types begin
1429
+ # with an upper case letter. For example, the resource field "Patient.Address.
1430
+ # city", which uses a string type, can be matched by "Patient.Address.String".
1431
+ # Path also supports partial matching. For example, "Patient.Address.city" can
1432
+ # be matched by "Address.city" (Patient omitted). Partial matching and type
1433
+ # matching can be combined. For example, "Patient.Address.city" can be matched
1434
+ # by "Address.String". For "choice" types (those defined in the FHIR spec with
1435
+ # the form: field[x]), use two separate components. For example, "deceasedAge.
1436
+ # unit" is matched by "Deceased.Age.unit". Supported types are:
1437
+ # AdministrativeGenderCode, Code, Date, DateTime, Decimal, HumanName, Id,
1438
+ # LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml. The sub-type for
1439
+ # HumanName, such as HumanName.given or HumanName.family, can be omitted.
1540
1440
  # Corresponds to the JSON property `paths`
1541
1441
  # @return [Array<String>]
1542
1442
  attr_accessor :paths
@@ -1556,8 +1456,8 @@ module Google
1556
1456
  class FilterList
1557
1457
  include Google::Apis::Core::Hashable
1558
1458
 
1559
- # These infoTypes are based on after the `eval_info_type_mapping` and
1560
- # `golden_info_type_mapping`.
1459
+ # These infoTypes are based on after the `eval_info_type_mapping` and `
1460
+ # golden_info_type_mapping`.
1561
1461
  # Corresponds to the JSON property `infoTypes`
1562
1462
  # @return [Array<String>]
1563
1463
  attr_accessor :info_types
@@ -1581,8 +1481,8 @@ module Google
1581
1481
  # @return [Fixnum]
1582
1482
  attr_accessor :end
1583
1483
 
1584
- # The type of information stored in this text range. For example,
1585
- # HumanName, BirthDate, or Address.
1484
+ # The type of information stored in this text range. For example, HumanName,
1485
+ # BirthDate, or Address.
1586
1486
  # Corresponds to the JSON property `infoType`
1587
1487
  # @return [String]
1588
1488
  attr_accessor :info_type
@@ -1611,14 +1511,42 @@ module Google
1611
1511
  end
1612
1512
  end
1613
1513
 
1514
+ # Specifies the configuration for importing data from Cloud Storage.
1515
+ class GcsSource
1516
+ include Google::Apis::Core::Hashable
1517
+
1518
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
1519
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
1520
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
1521
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
1522
+ # characters (including separators). Must be used at the end of a path and with
1523
+ # no other wildcards in the path. Can also be used with a file extension (such
1524
+ # as .ndjson), which imports all files with the extension in the specified
1525
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1526
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
1527
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
1528
+ # are expected to contain content only, no metadata.
1529
+ # Corresponds to the JSON property `uri`
1530
+ # @return [String]
1531
+ attr_accessor :uri
1532
+
1533
+ def initialize(**args)
1534
+ update!(**args)
1535
+ end
1536
+
1537
+ # Update properties of this object
1538
+ def update!(**args)
1539
+ @uri = args[:uri] if args.key?(:uri)
1540
+ end
1541
+ end
1542
+
1614
1543
  # The BigQuery table for export.
1615
1544
  class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
1616
1545
  include Google::Apis::Core::Hashable
1617
1546
 
1618
- # If the destination table already exists and this flag is `TRUE`, the table
1619
- # is overwritten by the contents of the input store. If the flag is not
1620
- # set and the destination table already exists, the export call returns an
1621
- # error.
1547
+ # If the destination table already exists and this flag is `TRUE`, the table is
1548
+ # overwritten by the contents of the input store. If the flag is not set and the
1549
+ # destination table already exists, the export call returns an error.
1622
1550
  # Corresponds to the JSON property `force`
1623
1551
  # @return [Boolean]
1624
1552
  attr_accessor :force
@@ -1629,8 +1557,8 @@ module Google
1629
1557
  # @return [String]
1630
1558
  attr_accessor :schema_type
1631
1559
 
1632
- # BigQuery URI to a table, up to 2000 characters long, must be of the form
1633
- # bq://projectId.bqDatasetId.tableId.
1560
+ # BigQuery URI to a table, up to 2000 characters long, must be of the form bq://
1561
+ # projectId.bqDatasetId.tableId.
1634
1562
  # Corresponds to the JSON property `tableUri`
1635
1563
  # @return [String]
1636
1564
  attr_accessor :table_uri
@@ -1651,12 +1579,11 @@ module Google
1651
1579
  class GoogleCloudHealthcareV1beta1AnnotationGcsDestination
1652
1580
  include Google::Apis::Core::Hashable
1653
1581
 
1654
- # The Cloud Storage destination to export to.
1655
- # URI for a Cloud Storage directory where the server writes result files, in
1656
- # the format `gs://`bucket-id`/`path/to/destination/dir``. If there is no
1657
- # trailing slash, the service appends one when composing the object path.
1658
- # The user is responsible for creating the Cloud Storage bucket referenced in
1659
- # `uri_prefix`.
1582
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
1583
+ # where the server writes result files, in the format `gs://`bucket-id`/`path/to/
1584
+ # destination/dir``. If there is no trailing slash, the service appends one when
1585
+ # composing the object path. The user is responsible for creating the Cloud
1586
+ # Storage bucket referenced in `uri_prefix`.
1660
1587
  # Corresponds to the JSON property `uriPrefix`
1661
1588
  # @return [String]
1662
1589
  attr_accessor :uri_prefix
@@ -1675,23 +1602,17 @@ module Google
1675
1602
  class GoogleCloudHealthcareV1beta1AnnotationGcsSource
1676
1603
  include Google::Apis::Core::Hashable
1677
1604
 
1678
- # Points to a Cloud Storage URI containing file(s) with
1679
- # content only. The URI must be in the following format:
1680
- # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
1681
- # `object_id` and thus identify multiple files. Supported wildcards:
1682
- # '*' to match 0 or more non-separator characters
1683
- # '**' to match 0 or more characters (including separators). Must be used
1684
- # at
1685
- # the end of a path and with no other wildcards in the
1686
- # path. Can also be used with a file extension (such as .dcm), which
1687
- # imports all files with the extension in the specified directory and
1688
- # its sub-directories. For example,
1689
- # `gs://my-bucket/my-directory/**.json` imports all files with .json
1690
- # extensions in `my-directory/` and its sub-directories.
1691
- # '?' to match 1 character
1692
- # All other URI formats are invalid.
1693
- # Files matching the wildcard are expected to contain content only, no
1694
- # metadata.
1605
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
1606
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
1607
+ # include wildcards in `object_id` and thus identify multiple files. Supported
1608
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
1609
+ # more characters (including separators). Must be used at the end of a path and
1610
+ # with no other wildcards in the path. Can also be used with a file extension (
1611
+ # such as .dcm), which imports all files with the extension in the specified
1612
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1613
+ # .json` imports all files with .json extensions in `my-directory/` and its sub-
1614
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
1615
+ # matching the wildcard are expected to contain content only, no metadata.
1695
1616
  # Corresponds to the JSON property `uri`
1696
1617
  # @return [String]
1697
1618
  attr_accessor :uri
@@ -1750,21 +1671,20 @@ module Google
1750
1671
  end
1751
1672
  end
1752
1673
 
1753
- # The BigQuery table where the server writes the output.
1674
+ # The BigQuery table where the server writes output.
1754
1675
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1755
1676
  include Google::Apis::Core::Hashable
1756
1677
 
1757
- # If the destination table already exists and this flag is `TRUE`, the table
1758
- # is overwritten by the contents of the DICOM store. If the flag is not
1759
- # set and the destination table already exists, the export call returns an
1760
- # error.
1678
+ # If the destination table already exists and this flag is `TRUE`, the table is
1679
+ # overwritten by the contents of the DICOM store. If the flag is not set and the
1680
+ # destination table already exists, the export call returns an error.
1761
1681
  # Corresponds to the JSON property `force`
1762
1682
  # @return [Boolean]
1763
1683
  attr_accessor :force
1764
1684
  alias_method :force?, :force
1765
1685
 
1766
- # BigQuery URI to a table, up to 2000 characters long, in the format
1767
- # `bq://projectId.bqDatasetId.tableId`
1686
+ # BigQuery URI to a table, up to 2000 characters long, in the format `bq://
1687
+ # projectId.bqDatasetId.tableId`
1768
1688
  # Corresponds to the JSON property `tableUri`
1769
1689
  # @return [String]
1770
1690
  attr_accessor :table_uri
@@ -1785,47 +1705,33 @@ module Google
1785
1705
  class GoogleCloudHealthcareV1beta1DicomGcsDestination
1786
1706
  include Google::Apis::Core::Hashable
1787
1707
 
1788
- # MIME types supported by DICOM spec.
1789
- # Each file is written in the following format:
1790
- # `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
1791
- # The frame_number component exists only for multi-frame instances.
1792
- # Supported MIME types are consistent with supported formats in DICOMweb:
1793
- # https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction.
1794
- # Specifically, the following are supported:
1795
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.1
1796
- # (uncompressed DICOM)
1797
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.50
1798
- # (DICOM with embedded JPEG Baseline)
1799
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.90
1800
- # (DICOM with embedded JPEG 2000 Lossless Only)
1801
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91
1802
- # (DICOM with embedded JPEG 2000)h
1803
- # - application/dicom; transfer-syntax=*
1804
- # (DICOM with no transcoding)
1805
- # - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1
1806
- # (raw uncompressed PixelData)
1807
- # - application/octet-stream; transfer-syntax=*
1808
- # (raw PixelData in whatever format it was uploaded in)
1809
- # - image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50
1810
- # (Consumer JPEG)
1811
- # - image/png
1812
- # The following extensions are used for output files:
1813
- # - application/dicom -> .dcm
1814
- # - image/jpeg -> .jpg
1815
- # - image/png -> .png
1816
- # - application/octet-stream -> no extension
1817
- # If unspecified, the instances are exported in the original
1818
- # DICOM format they were uploaded in.
1708
+ # MIME types supported by DICOM spec. Each file is written in the following
1709
+ # format: `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
1710
+ # The frame_number component exists only for multi-frame instances. Supported
1711
+ # MIME types are consistent with supported formats in DICOMweb: https://cloud.
1712
+ # google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the
1713
+ # following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.
1714
+ # 2.1 (uncompressed DICOM) - application/dicom; transfer-syntax=1.2.840.10008.1.
1715
+ # 2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-
1716
+ # syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) -
1717
+ # application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded
1718
+ # JPEG 2000)h - application/dicom; transfer-syntax=* (DICOM with no transcoding)
1719
+ # - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw
1720
+ # uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw
1721
+ # PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=
1722
+ # 1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions
1723
+ # are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg -
1724
+ # image/png -> .png - application/octet-stream -> no extension If unspecified,
1725
+ # the instances are exported in the original DICOM format they were uploaded in.
1819
1726
  # Corresponds to the JSON property `mimeType`
1820
1727
  # @return [String]
1821
1728
  attr_accessor :mime_type
1822
1729
 
1823
- # The Cloud Storage destination to export to.
1824
- # URI for a Cloud Storage directory where the server writes the result files,
1825
- # in the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
1826
- # trailing slash, the service appends one when composing the object path.
1827
- # The user is responsible for creating the Cloud Storage bucket referenced in
1828
- # `uri_prefix`.
1730
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
1731
+ # where the server writes the result files, in the format `gs://`bucket-id`/`
1732
+ # path/to/destination/dir``). If there is no trailing slash, the service appends
1733
+ # one when composing the object path. The user is responsible for creating the
1734
+ # Cloud Storage bucket referenced in `uri_prefix`.
1829
1735
  # Corresponds to the JSON property `uriPrefix`
1830
1736
  # @return [String]
1831
1737
  attr_accessor :uri_prefix
@@ -1845,22 +1751,17 @@ module Google
1845
1751
  class GoogleCloudHealthcareV1beta1DicomGcsSource
1846
1752
  include Google::Apis::Core::Hashable
1847
1753
 
1848
- # Points to a Cloud Storage URI containing file(s) with
1849
- # content only. The URI must be in the following format:
1850
- # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
1851
- # `object_id` and thus identify multiple files. Supported wildcards:
1852
- # '*' to match 0 or more non-separator characters
1853
- # '**' to match 0 or more characters (including separators). Must be used at
1854
- # the end of a path and with no other wildcards in the
1855
- # path. Can also be used with a file extension (such as .dcm), which
1856
- # imports all files with the extension in the specified directory and
1857
- # its sub-directories. For example,
1858
- # `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm
1859
- # extensions in `my-directory/` and its sub-directories.
1860
- # '?' to match 1 character
1861
- # All other URI formats are invalid.
1862
- # Files matching the wildcard are expected to contain content only, no
1863
- # metadata.
1754
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
1755
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
1756
+ # include wildcards in `object_id` and thus identify multiple files. Supported
1757
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
1758
+ # more characters (including separators). Must be used at the end of a path and
1759
+ # with no other wildcards in the path. Can also be used with a file extension (
1760
+ # such as .dcm), which imports all files with the extension in the specified
1761
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1762
+ # .dcm` imports all files with .dcm extensions in `my-directory/` and its sub-
1763
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
1764
+ # matching the wildcard are expected to contain content only, no metadata.
1864
1765
  # Corresponds to the JSON property `uri`
1865
1766
  # @return [String]
1866
1767
  attr_accessor :uri
@@ -1875,19 +1776,39 @@ module Google
1875
1776
  end
1876
1777
  end
1877
1778
 
1779
+ # StreamConfig specifies configuration for a streaming DICOM export.
1780
+ class GoogleCloudHealthcareV1beta1DicomStreamConfig
1781
+ include Google::Apis::Core::Hashable
1782
+
1783
+ # The BigQuery table where the server writes output.
1784
+ # Corresponds to the JSON property `bigqueryDestination`
1785
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination]
1786
+ attr_accessor :bigquery_destination
1787
+
1788
+ def initialize(**args)
1789
+ update!(**args)
1790
+ end
1791
+
1792
+ # Update properties of this object
1793
+ def update!(**args)
1794
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1795
+ end
1796
+ end
1797
+
1878
1798
  # The configuration for exporting to BigQuery.
1879
1799
  class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
1880
1800
  include Google::Apis::Core::Hashable
1881
1801
 
1882
- # BigQuery URI to a dataset, up to 2000 characters long, in the format
1883
- # `bq://projectId.bqDatasetId`
1802
+ # BigQuery URI to an existing dataset, up to 2000 characters long, in the format
1803
+ # `bq://projectId.bqDatasetId`.
1884
1804
  # Corresponds to the JSON property `datasetUri`
1885
1805
  # @return [String]
1886
1806
  attr_accessor :dataset_uri
1887
1807
 
1888
- # If this flag is `TRUE`, all tables will be deleted from the dataset before
1889
- # the new exported tables are written. If the flag is not set and the
1890
- # destination dataset contains tables, the export call returns an error.
1808
+ # If this flag is `TRUE`, all tables will be deleted from the dataset before the
1809
+ # new exported tables are written. If the flag is not set and the destination
1810
+ # dataset contains tables, the export call returns an error. This option is not
1811
+ # used for the streaming export.
1891
1812
  # Corresponds to the JSON property `force`
1892
1813
  # @return [Boolean]
1893
1814
  attr_accessor :force
@@ -1911,11 +1832,9 @@ module Google
1911
1832
  end
1912
1833
  end
1913
1834
 
1914
- # Response when errors occur while exporting resources.
1915
- # This structure is included in the
1916
- # error
1917
- # details to describe the detailed outcome. It is
1918
- # only included when the operation finishes with errors.
1835
+ # Response when errors occur while exporting resources. This structure is
1836
+ # included in the error details to describe the detailed outcome. It is only
1837
+ # included when the operation finishes with errors.
1919
1838
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
1920
1839
  include Google::Apis::Core::Hashable
1921
1840
 
@@ -1924,16 +1843,15 @@ module Google
1924
1843
  # @return [Fixnum]
1925
1844
  attr_accessor :error_count
1926
1845
 
1927
- # The name of the FHIR store where resources have been exported, in the
1928
- # format
1929
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1930
- # fhirStores/`fhir_store_id``.
1846
+ # The name of the FHIR store where resources have been exported, in the format `
1847
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
1848
+ # `fhir_store_id``.
1931
1849
  # Corresponds to the JSON property `fhirStore`
1932
1850
  # @return [String]
1933
1851
  attr_accessor :fhir_store
1934
1852
 
1935
- # The total number of resources included in the export operation. This is
1936
- # the sum of the success and error counts.
1853
+ # The total number of resources included in the export operation. This is the
1854
+ # sum of the success and error counts.
1937
1855
  # Corresponds to the JSON property `resourceCount`
1938
1856
  # @return [Fixnum]
1939
1857
  attr_accessor :resource_count
@@ -1956,17 +1874,15 @@ module Google
1956
1874
  end
1957
1875
  end
1958
1876
 
1959
- # Response when all resources export successfully.
1960
- # This structure is included in the
1961
- # response to describe the detailed
1962
- # outcome after the operation finishes successfully.
1877
+ # Response when all resources export successfully. This structure is included
1878
+ # in the response to describe the detailed outcome after the operation finishes
1879
+ # successfully.
1963
1880
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
1964
1881
  include Google::Apis::Core::Hashable
1965
1882
 
1966
- # The name of the FHIR store where resources have been exported, in the
1967
- # format
1968
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1969
- # fhirStores/`fhir_store_id``.
1883
+ # The name of the FHIR store where resources have been exported, in the format `
1884
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
1885
+ # `fhir_store_id``.
1970
1886
  # Corresponds to the JSON property `fhirStore`
1971
1887
  # @return [String]
1972
1888
  attr_accessor :fhir_store
@@ -1991,11 +1907,10 @@ module Google
1991
1907
  class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
1992
1908
  include Google::Apis::Core::Hashable
1993
1909
 
1994
- # URI for a Cloud Storage directory where result files should be written (in
1995
- # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
1996
- # trailing slash, the service appends one when composing the object path.
1997
- # The user is responsible for creating the Cloud Storage bucket referenced in
1998
- # `uri_prefix`.
1910
+ # URI for a Cloud Storage directory where result files should be written (in the
1911
+ # format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
1912
+ # slash, the service appends one when composing the object path. The user is
1913
+ # responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.
1999
1914
  # Corresponds to the JSON property `uriPrefix`
2000
1915
  # @return [String]
2001
1916
  attr_accessor :uri_prefix
@@ -2014,21 +1929,17 @@ module Google
2014
1929
  class GoogleCloudHealthcareV1beta1FhirRestGcsSource
2015
1930
  include Google::Apis::Core::Hashable
2016
1931
 
2017
- # Points to a Cloud Storage URI containing file(s) to import.
2018
- # The URI must be in the following format: `gs://`bucket_id`/`object_id``.
2019
- # The URI can include wildcards in `object_id` and thus identify multiple
2020
- # files. Supported wildcards:
2021
- # * `*` to match 0 or more non-separator characters
2022
- # * `**` to match 0 or more characters (including separators). Must be used
2023
- # at the end of a path and with no other wildcards in the
2024
- # path. Can also be used with a file extension (such as .ndjson), which
2025
- # imports all files with the extension in the specified directory and
2026
- # its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson`
2027
- # imports all files with `.ndjson` extensions in `my-directory/` and its
2028
- # sub-directories.
2029
- # * `?` to match 1 character
2030
- # Files matching the wildcard are expected to contain content only, no
2031
- # metadata.
1932
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
1933
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
1934
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
1935
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
1936
+ # characters (including separators). Must be used at the end of a path and with
1937
+ # no other wildcards in the path. Can also be used with a file extension (such
1938
+ # as .ndjson), which imports all files with the extension in the specified
1939
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1940
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
1941
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
1942
+ # are expected to contain content only, no metadata.
2032
1943
  # Corresponds to the JSON property `uri`
2033
1944
  # @return [String]
2034
1945
  attr_accessor :uri
@@ -2043,11 +1954,9 @@ module Google
2043
1954
  end
2044
1955
  end
2045
1956
 
2046
- # Error response of importing resources.
2047
- # This structure is included in the
2048
- # error
2049
- # details to describe the detailed error
2050
- # after the operation finishes with some failure.
1957
+ # Error response of importing resources. This structure is included in the
1958
+ # error details to describe the detailed error after the operation finishes with
1959
+ # some failure.
2051
1960
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
2052
1961
  include Google::Apis::Core::Hashable
2053
1962
 
@@ -2056,16 +1965,15 @@ module Google
2056
1965
  # @return [Fixnum]
2057
1966
  attr_accessor :error_count
2058
1967
 
2059
- # The name of the FHIR store where resources have been imported, in the
2060
- # format
2061
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2062
- # fhirStores/`fhir_store_id``.
1968
+ # The name of the FHIR store where resources have been imported, in the format `
1969
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
1970
+ # `fhir_store_id``.
2063
1971
  # Corresponds to the JSON property `fhirStore`
2064
1972
  # @return [String]
2065
1973
  attr_accessor :fhir_store
2066
1974
 
2067
- # The total number of resources included in the source data. This is the sum
2068
- # of the success and error counts.
1975
+ # The total number of resources included in the source data. This is the sum of
1976
+ # the success and error counts.
2069
1977
  # Corresponds to the JSON property `inputSize`
2070
1978
  # @return [Fixnum]
2071
1979
  attr_accessor :input_size
@@ -2088,16 +1996,14 @@ module Google
2088
1996
  end
2089
1997
  end
2090
1998
 
2091
- # Final response of importing resources.
2092
- # This structure is included in the
2093
- # response to describe the detailed
2094
- # outcome after the operation finishes successfully.
1999
+ # Final response of importing resources. This structure is included in the
2000
+ # response to describe the detailed outcome after the operation finishes
2001
+ # successfully.
2095
2002
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
2096
2003
  include Google::Apis::Core::Hashable
2097
2004
 
2098
2005
  # The name of the FHIR store where the resources have been imported, in the
2099
- # format
2100
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2006
+ # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2101
2007
  # fhirStores/`fhir_store_id``.
2102
2008
  # Corresponds to the JSON property `fhirStore`
2103
2009
  # @return [String]
@@ -2150,14 +2056,14 @@ module Google
2150
2056
  class Hl7SchemaConfig
2151
2057
  include Google::Apis::Core::Hashable
2152
2058
 
2153
- # Map from each HL7v2 message type and trigger event pair, such as ADT_A04,
2154
- # to its schema configuration root group.
2059
+ # Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to
2060
+ # its schema configuration root group.
2155
2061
  # Corresponds to the JSON property `messageSchemaConfigs`
2156
2062
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::SchemaGroup>]
2157
2063
  attr_accessor :message_schema_configs
2158
2064
 
2159
- # Each VersionSource is tested and only if they all match is the schema used
2160
- # for the message.
2065
+ # Each VersionSource is tested and only if they all match is the schema used for
2066
+ # the message.
2161
2067
  # Corresponds to the JSON property `version`
2162
2068
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2163
2069
  attr_accessor :version
@@ -2182,8 +2088,8 @@ module Google
2182
2088
  # @return [Array<Google::Apis::HealthcareV1beta1::Type>]
2183
2089
  attr_accessor :type
2184
2090
 
2185
- # The version selectors that this config applies to. A message must match
2186
- # ALL version sources to apply.
2091
+ # The version selectors that this config applies to. A message must match ALL
2092
+ # version sources to apply.
2187
2093
  # Corresponds to the JSON property `version`
2188
2094
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2189
2095
  attr_accessor :version
@@ -2199,53 +2105,44 @@ module Google
2199
2105
  end
2200
2106
  end
2201
2107
 
2202
- # Specifies where and whether to send notifications upon changes to a
2203
- # data store.
2108
+ # Specifies where and whether to send notifications upon changes to a data store.
2204
2109
  class Hl7V2NotificationConfig
2205
2110
  include Google::Apis::Core::Hashable
2206
2111
 
2207
- # Restricts notifications sent for messages matching a filter. If this is
2208
- # empty, all messages are matched. Syntax:
2209
- # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
2210
- # The following fields and functions are available for filtering:
2211
- # * `message_type`, from the MSH-9.1 field. For example,
2212
- # `NOT message_type = "ADT"`.
2213
- # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
2214
- # the dataset's time_zone, from the MSH-7 segment. For example,
2215
- # `send_date < "2017-01-02"`.
2216
- # * `send_time`, the timestamp when the message was sent, using the
2217
- # RFC3339 time format for comparisons, from the MSH-7 segment. For example,
2218
- # `send_time < "2017-01-02T00:00:00-05:00"`.
2219
- # * `send_facility`, the care center that the message came from, from the
2220
- # MSH-4 segment. For example, `send_facility = "ABC"`.
2221
- # * `PatientId(value, type)`, which matches if the message lists a patient
2222
- # having an ID of the given value and type in the PID-2, PID-3, or PID-4
2223
- # segments. For example, `PatientId("123456", "MRN")`.
2224
- # * `labels.x`, a string value of the label with key `x` as set using the
2225
- # Message.labels
2226
- # map. For example, `labels."priority"="high"`. The operator `:*` can be
2227
- # used to assert the existence of a label. For example,
2228
- # `labels."priority":*`.
2112
+ # Restricts notifications sent for messages matching a filter. If this is empty,
2113
+ # all messages are matched. Syntax: https://cloud.google.com/appengine/docs/
2114
+ # standard/python/search/query_strings The following fields and functions are
2115
+ # available for filtering: * `message_type`, from the MSH-9.1 field. For example,
2116
+ # `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date
2117
+ # the message was sent in the dataset's time_zone, from the MSH-7 segment. For
2118
+ # example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the
2119
+ # message was sent, using the RFC3339 time format for comparisons, from the MSH-
2120
+ # 7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `
2121
+ # send_facility`, the care center that the message came from, from the MSH-4
2122
+ # segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`,
2123
+ # which matches if the message lists a patient having an ID of the given value
2124
+ # and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("
2125
+ # 123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as
2126
+ # set using the Message.labels map. For example, `labels."priority"="high"`. The
2127
+ # operator `:*` can be used to assert the existence of a label. For example, `
2128
+ # labels."priority":*`.
2229
2129
  # Corresponds to the JSON property `filter`
2230
2130
  # @return [String]
2231
2131
  attr_accessor :filter
2232
2132
 
2233
2133
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
2234
2134
  # notifications of changes are published on. Supplied by the client. The
2235
- # notification is a `PubsubMessage` with the following fields:
2236
- # * `PubsubMessage.Data` contains the resource name.
2237
- # * `PubsubMessage.MessageId` is the ID of this notification. It is
2238
- # guaranteed to be unique within the topic.
2239
- # * `PubsubMessage.PublishTime` is the time when the message was
2240
- # published.
2241
- # Note that notifications are only sent if the topic is non-empty. [Topic
2242
- # names](https://cloud.google.com/pubsub/docs/overview#names) must be
2243
- # scoped to a project. Cloud Healthcare API service account must have
2244
- # publisher permissions on the given Pub/Sub topic. Not having adequate
2245
- # permissions causes the calls that send notifications to fail.
2246
- # If a notification can't be published to Cloud Pub/Sub, errors are
2247
- # logged to Cloud Logging. For more information, see
2248
- # [Viewing error logs in Cloud Logging](/healthcare/docs/how-tos/logging).
2135
+ # notification is a `PubsubMessage` with the following fields: * `PubsubMessage.
2136
+ # Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of
2137
+ # this notification. It is guaranteed to be unique within the topic. * `
2138
+ # PubsubMessage.PublishTime` is the time when the message was published. Note
2139
+ # that notifications are only sent if the topic is non-empty. [Topic names](
2140
+ # https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a
2141
+ # project. Cloud Healthcare API service account must have publisher permissions
2142
+ # on the given Pub/Sub topic. Not having adequate permissions causes the calls
2143
+ # that send notifications to fail. If a notification can't be published to Cloud
2144
+ # Pub/Sub, errors are logged to Cloud Logging. For more information, see [
2145
+ # Viewing error logs in Cloud Logging](/healthcare/docs/how-tos/logging).
2249
2146
  # Corresponds to the JSON property `pubsubTopic`
2250
2147
  # @return [String]
2251
2148
  attr_accessor :pubsub_topic
@@ -2265,21 +2162,19 @@ module Google
2265
2162
  class Hl7V2Store
2266
2163
  include Google::Apis::Core::Hashable
2267
2164
 
2268
- # User-supplied key-value pairs used to organize HL7v2 stores.
2269
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
2270
- # of maximum 128 bytes, and must conform to the
2271
- # following PCRE regular expression:
2272
- # \p`Ll`\p`Lo``0,62`
2273
- # Label values are optional, must be between 1 and 63 characters long, have
2274
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
2275
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
2276
- # No more than 64 labels can be associated with a given store.
2165
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
2166
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
2167
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
2168
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
2169
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
2170
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
2171
+ # can be associated with a given store.
2277
2172
  # Corresponds to the JSON property `labels`
2278
2173
  # @return [Hash<String,String>]
2279
2174
  attr_accessor :labels
2280
2175
 
2281
- # Resource name of the HL7v2 store, of the form
2282
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2176
+ # Resource name of the HL7v2 store, of the form `projects/`project_id`/datasets/`
2177
+ # dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2283
2178
  # Corresponds to the JSON property `name`
2284
2179
  # @return [String]
2285
2180
  attr_accessor :name
@@ -2289,10 +2184,10 @@ module Google
2289
2184
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
2290
2185
  attr_accessor :notification_config
2291
2186
 
2292
- # A list of notification configs. Each configuration uses a filter to
2293
- # determine whether to publish a message (both Ingest & Create) on
2294
- # the corresponding notification destination. Only the message name is sent
2295
- # as part of the notification. Supplied by the client.
2187
+ # A list of notification configs. Each configuration uses a filter to determine
2188
+ # whether to publish a message (both Ingest & Create) on the corresponding
2189
+ # notification destination. Only the message name is sent as part of the
2190
+ # notification. Supplied by the client.
2296
2191
  # Corresponds to the JSON property `notificationConfigs`
2297
2192
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7V2NotificationConfig>]
2298
2193
  attr_accessor :notification_configs
@@ -2303,17 +2198,15 @@ module Google
2303
2198
  # @return [Google::Apis::HealthcareV1beta1::ParserConfig]
2304
2199
  attr_accessor :parser_config
2305
2200
 
2306
- # Determines whether to reject duplicate messages. A duplicate
2307
- # message is a message with the same raw bytes as a message that has already
2308
- # been ingested/created in this HL7v2 store.
2309
- # The default value is false, meaning that the store accepts the duplicate
2310
- # messages and it also returns the same ACK message in the
2311
- # IngestMessageResponse as has been returned previously. Note that only
2312
- # one resource is created in the store.
2313
- # When this field is set to true,
2314
- # CreateMessage/IngestMessage
2315
- # requests with a duplicate message will be rejected by the store, and
2316
- # IngestMessageErrorDetail returns a NACK message upon rejection.
2201
+ # Determines whether to reject duplicate messages. A duplicate message is a
2202
+ # message with the same raw bytes as a message that has already been ingested/
2203
+ # created in this HL7v2 store. The default value is false, meaning that the
2204
+ # store accepts the duplicate messages and it also returns the same ACK message
2205
+ # in the IngestMessageResponse as has been returned previously. Note that only
2206
+ # one resource is created in the store. When this field is set to true,
2207
+ # CreateMessage/IngestMessage requests with a duplicate message will be rejected
2208
+ # by the store, and IngestMessageErrorDetail returns a NACK message upon
2209
+ # rejection.
2317
2210
  # Corresponds to the JSON property `rejectDuplicateMessage`
2318
2211
  # @return [Boolean]
2319
2212
  attr_accessor :reject_duplicate_message
@@ -2335,34 +2228,21 @@ module Google
2335
2228
  end
2336
2229
 
2337
2230
  # Message that represents an arbitrary HTTP body. It should only be used for
2338
- # payload formats that can't be represented as JSON, such as raw binary or
2339
- # an HTML page.
2340
- # This message can be used both in streaming and non-streaming API methods in
2341
- # the request as well as the response.
2342
- # It can be used as a top-level request field, which is convenient if one
2343
- # wants to extract parameters from either the URL or HTTP template into the
2344
- # request fields and also want access to the raw HTTP body.
2345
- # Example:
2346
- # message GetResourceRequest `
2347
- # // A unique request id.
2348
- # string request_id = 1;
2349
- # // The raw HTTP body is bound to this field.
2350
- # google.api.HttpBody http_body = 2;
2351
- # `
2352
- # service ResourceService `
2353
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
2354
- # rpc UpdateResource(google.api.HttpBody) returns
2355
- # (google.protobuf.Empty);
2356
- # `
2357
- # Example with streaming methods:
2358
- # service CaldavService `
2359
- # rpc GetCalendar(stream google.api.HttpBody)
2360
- # returns (stream google.api.HttpBody);
2361
- # rpc UpdateCalendar(stream google.api.HttpBody)
2362
- # returns (stream google.api.HttpBody);
2363
- # `
2364
- # Use of this type only changes how the request and response bodies are
2365
- # handled, all other features will continue to work unchanged.
2231
+ # payload formats that can't be represented as JSON, such as raw binary or an
2232
+ # HTML page. This message can be used both in streaming and non-streaming API
2233
+ # methods in the request as well as the response. It can be used as a top-level
2234
+ # request field, which is convenient if one wants to extract parameters from
2235
+ # either the URL or HTTP template into the request fields and also want access
2236
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
2237
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
2238
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
2239
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
2240
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
2241
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
2242
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
2243
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
2244
+ # only changes how the request and response bodies are handled, all other
2245
+ # features will continue to work unchanged.
2366
2246
  class HttpBody
2367
2247
  include Google::Apis::Core::Hashable
2368
2248
 
@@ -2377,8 +2257,8 @@ module Google
2377
2257
  # @return [String]
2378
2258
  attr_accessor :data
2379
2259
 
2380
- # Application specific response metadata. Must be set in the first response
2381
- # for streaming APIs.
2260
+ # Application specific response metadata. Must be set in the first response for
2261
+ # streaming APIs.
2382
2262
  # Corresponds to the JSON property `extensions`
2383
2263
  # @return [Array<Hash<String,Object>>]
2384
2264
  attr_accessor :extensions
@@ -2440,18 +2320,14 @@ module Google
2440
2320
  end
2441
2321
  end
2442
2322
 
2443
- # Final response of importing
2444
- # Annotations in
2445
- # partial or total failure case. This structure is included in the
2446
- # error
2447
- # details. It is only included when the operation
2448
- # finishes.
2323
+ # Deprecated. Final response of importing Annotations in partial or total
2324
+ # failure case. This structure is included in the error details. It is only
2325
+ # included when the operation finishes.
2449
2326
  class ImportAnnotationsErrorDetails
2450
2327
  include Google::Apis::Core::Hashable
2451
2328
 
2452
- # The annotation_store that the annotations were imported to. The name
2453
- # is in the format
2454
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2329
+ # The annotation_store that the annotations were imported to. The name is in the
2330
+ # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2455
2331
  # annotationStores/`annotation_store_id``.
2456
2332
  # Corresponds to the JSON property `annotationStore`
2457
2333
  # @return [String]
@@ -2479,11 +2355,10 @@ module Google
2479
2355
  end
2480
2356
  end
2481
2357
 
2482
- # Request to import
2483
- # Annotations. The
2484
- # Annotations to be imported must have client-supplied resource names which
2485
- # indicate the annotation resource. The import operation is not atomic. If a
2486
- # failure occurs, any annotations already imported are not removed.
2358
+ # Request to import Annotations. The Annotations to be imported must have client-
2359
+ # supplied resource names which indicate the annotation resource. The import
2360
+ # operation is not atomic. If a failure occurs, any annotations already imported
2361
+ # are not removed.
2487
2362
  class ImportAnnotationsRequest
2488
2363
  include Google::Apis::Core::Hashable
2489
2364
 
@@ -2492,6 +2367,13 @@ module Google
2492
2367
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
2493
2368
  attr_accessor :gcs_source
2494
2369
 
2370
+ # The name of the Annotation store to which the server imports annotations, in
2371
+ # the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
2372
+ # /annotationStores/`annotation_store_id``.
2373
+ # Corresponds to the JSON property `name`
2374
+ # @return [String]
2375
+ attr_accessor :name
2376
+
2495
2377
  def initialize(**args)
2496
2378
  update!(**args)
2497
2379
  end
@@ -2499,27 +2381,23 @@ module Google
2499
2381
  # Update properties of this object
2500
2382
  def update!(**args)
2501
2383
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2384
+ @name = args[:name] if args.key?(:name)
2502
2385
  end
2503
2386
  end
2504
2387
 
2505
- # Final response of importing
2506
- # Annotations in
2507
- # successful case. This structure is included in the
2508
- # response. It is only included
2509
- # when the operation finishes.
2388
+ # Final response of importing Annotations in successful case. This structure is
2389
+ # included in the response. It is only included when the operation finishes.
2510
2390
  class ImportAnnotationsResponse
2511
2391
  include Google::Apis::Core::Hashable
2512
2392
 
2513
- # The annotation_store that the annotations were imported to. The name
2514
- # is in the format
2515
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2393
+ # The annotation_store that the annotations were imported to, in the format `
2394
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2516
2395
  # annotationStores/`annotation_store_id``.
2517
2396
  # Corresponds to the JSON property `annotationStore`
2518
2397
  # @return [String]
2519
2398
  attr_accessor :annotation_store
2520
2399
 
2521
- # The number of the input annotations. All input have been imported
2522
- # successfully.
2400
+ # The number of the input annotations. All input have been imported successfully.
2523
2401
  # Corresponds to the JSON property `successCount`
2524
2402
  # @return [Fixnum]
2525
2403
  attr_accessor :success_count
@@ -2535,13 +2413,14 @@ module Google
2535
2413
  end
2536
2414
  end
2537
2415
 
2538
- # Returns the errors encountered during DICOM store import.
2416
+ # Deprecated. Error details are in [Cloud Logging](/healthcare/docs/how-tos/
2417
+ # logging). Returns the errors encountered during DICOM store import.
2539
2418
  class ImportDicomDataErrorDetails
2540
2419
  include Google::Apis::Core::Hashable
2541
2420
 
2542
- # Deprecated. Use only for debugging purposes.
2543
- # Contains sample errors encountered in imports of individual resources.
2544
- # For example, a Cloud Storage object.
2421
+ # Deprecated. Use only for debugging purposes. Contains sample errors
2422
+ # encountered in imports of individual resources. For example, a Cloud Storage
2423
+ # object.
2545
2424
  # Corresponds to the JSON property `sampleErrors`
2546
2425
  # @return [Array<Google::Apis::HealthcareV1beta1::ErrorDetail>]
2547
2426
  attr_accessor :sample_errors
@@ -2556,10 +2435,9 @@ module Google
2556
2435
  end
2557
2436
  end
2558
2437
 
2559
- # Imports data into the specified DICOM store.
2560
- # Returns an error if any of the files to import are not DICOM files. This
2561
- # API accepts duplicate DICOM instances by ignoring the newly-pushed instance.
2562
- # It does not overwrite.
2438
+ # Imports data into the specified DICOM store. Returns an error if any of the
2439
+ # files to import are not DICOM files. This API accepts duplicate DICOM
2440
+ # instances by ignoring the newly-pushed instance. It does not overwrite.
2563
2441
  class ImportDicomDataRequest
2564
2442
  include Google::Apis::Core::Hashable
2565
2443
 
@@ -2591,6 +2469,40 @@ module Google
2591
2469
  end
2592
2470
  end
2593
2471
 
2472
+ # Request to import messages.
2473
+ class ImportMessagesRequest
2474
+ include Google::Apis::Core::Hashable
2475
+
2476
+ # Specifies the configuration for importing data from Cloud Storage.
2477
+ # Corresponds to the JSON property `gcsSource`
2478
+ # @return [Google::Apis::HealthcareV1beta1::GcsSource]
2479
+ attr_accessor :gcs_source
2480
+
2481
+ def initialize(**args)
2482
+ update!(**args)
2483
+ end
2484
+
2485
+ # Update properties of this object
2486
+ def update!(**args)
2487
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2488
+ end
2489
+ end
2490
+
2491
+ # Final response of importing messages. This structure is included in the
2492
+ # response to describe the detailed outcome. It is only included when the
2493
+ # operation finishes successfully.
2494
+ class ImportMessagesResponse
2495
+ include Google::Apis::Core::Hashable
2496
+
2497
+ def initialize(**args)
2498
+ update!(**args)
2499
+ end
2500
+
2501
+ # Update properties of this object
2502
+ def update!(**args)
2503
+ end
2504
+ end
2505
+
2594
2506
  # Request to import resources.
2595
2507
  class ImportResourcesRequest
2596
2508
  include Google::Apis::Core::Hashable
@@ -2617,8 +2529,8 @@ module Google
2617
2529
  end
2618
2530
  end
2619
2531
 
2620
- # Specifies how to use infoTypes for evaluation. For example, a user might
2621
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
2532
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
2533
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
2622
2534
  class InfoTypeConfig
2623
2535
  include Google::Apis::Core::Hashable
2624
2536
 
@@ -2632,27 +2544,15 @@ module Google
2632
2544
  # @return [Google::Apis::HealthcareV1beta1::FilterList]
2633
2545
  attr_accessor :ignore_list
2634
2546
 
2635
- # If `TRUE`, infoTypes described by `filter` are used for evaluation.
2636
- # Otherwise, infoTypes are not considered for evaluation.
2637
- # For example:
2638
- # * Annotated text:
2639
- # "Toronto is a location"
2640
- # * Finding 1:
2641
- # ``"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7``
2642
- # * Finding 2:
2643
- # ``"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7``
2644
- # * Finding 3:
2645
- # ````
2646
- # * Ground truth:
2647
- # ``"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7``
2648
- # When `strict_matching` is `TRUE`:
2649
- # * Finding 1: 1 false positive
2650
- # * Finding 2: 1 false positive
2651
- # * Finding 3: 1 false negative
2652
- # When `strict_matching` is `FALSE`:
2653
- # * Finding 1: 1 true positive
2654
- # * Finding 2: 1 true positive
2655
- # * Finding 3: 1 false negative
2547
+ # If `TRUE`, infoTypes described by `filter` are used for evaluation. Otherwise,
2548
+ # infoTypes are not considered for evaluation. For example: * Annotated text: "
2549
+ # Toronto is a location" * Finding 1: ``"infoType": "PERSON", "quote": "Toronto",
2550
+ # "start": 0, "end": 7`` * Finding 2: ``"infoType": "CITY", "quote": "Toronto",
2551
+ # "start": 0, "end": 7`` * Finding 3: ```` * Ground truth: ``"infoType": "
2552
+ # LOCATION", "quote": "Toronto", "start": 0, "end": 7`` When `strict_matching`
2553
+ # is `TRUE`: * Finding 1: 1 false positive * Finding 2: 1 false positive *
2554
+ # Finding 3: 1 false negative When `strict_matching` is `FALSE`: * Finding 1: 1
2555
+ # true positive * Finding 2: 1 true positive * Finding 3: 1 false negative
2656
2556
  # Corresponds to the JSON property `strictMatching`
2657
2557
  # @return [Boolean]
2658
2558
  attr_accessor :strict_matching
@@ -2670,8 +2570,7 @@ module Google
2670
2570
  end
2671
2571
  end
2672
2572
 
2673
- # A transformation to apply to text that is identified as a specific
2674
- # info_type.
2573
+ # A transformation to apply to text that is identified as a specific info_type.
2675
2574
  class InfoTypeTransformation
2676
2575
  include Google::Apis::Core::Hashable
2677
2576
 
@@ -2681,8 +2580,7 @@ module Google
2681
2580
  attr_accessor :character_mask_config
2682
2581
 
2683
2582
  # Pseudonymization method that generates surrogates via cryptographic hashing.
2684
- # Uses SHA-256.
2685
- # Outputs a base64-encoded representation of the hashed output.
2583
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
2686
2584
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
2687
2585
  # Corresponds to the JSON property `cryptoHashConfig`
2688
2586
  # @return [Google::Apis::HealthcareV1beta1::CryptoHashConfig]
@@ -2701,18 +2599,15 @@ module Google
2701
2599
  # @return [Array<String>]
2702
2600
  attr_accessor :info_types
2703
2601
 
2704
- # Define how to redact sensitive values. Default behaviour is erase.
2705
- # For example, "My name is Jane." becomes "My name is ."
2602
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
2603
+ # "My name is Jane." becomes "My name is ."
2706
2604
  # Corresponds to the JSON property `redactConfig`
2707
2605
  # @return [Google::Apis::HealthcareV1beta1::RedactConfig]
2708
2606
  attr_accessor :redact_config
2709
2607
 
2710
- # When using the
2711
- # INSPECT_AND_TRANSFORM
2712
- # action, each match is replaced with the name of the info_type. For example,
2713
- # "My name is Jane" becomes "My name is [PERSON_NAME]." The
2714
- # TRANSFORM
2715
- # action is equivalent to redacting.
2608
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
2609
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
2610
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2716
2611
  # Corresponds to the JSON property `replaceWithInfoTypeConfig`
2717
2612
  # @return [Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig]
2718
2613
  attr_accessor :replace_with_info_type_config
@@ -2736,10 +2631,8 @@ module Google
2736
2631
  class IngestMessageRequest
2737
2632
  include Google::Apis::Core::Hashable
2738
2633
 
2739
- # A complete HL7v2 message.
2740
- # See [Introduction to HL7 Standards]
2741
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
2742
- # details on the standard.
2634
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
2635
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2743
2636
  # Corresponds to the JSON property `message`
2744
2637
  # @return [Google::Apis::HealthcareV1beta1::Message]
2745
2638
  attr_accessor :message
@@ -2754,8 +2647,7 @@ module Google
2754
2647
  end
2755
2648
  end
2756
2649
 
2757
- # Acknowledges that a message has been ingested into the specified
2758
- # HL7v2 store.
2650
+ # Acknowledges that a message has been ingested into the specified HL7v2 store.
2759
2651
  class IngestMessageResponse
2760
2652
  include Google::Apis::Core::Hashable
2761
2653
 
@@ -2765,10 +2657,8 @@ module Google
2765
2657
  # @return [String]
2766
2658
  attr_accessor :hl7_ack
2767
2659
 
2768
- # A complete HL7v2 message.
2769
- # See [Introduction to HL7 Standards]
2770
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
2771
- # details on the standard.
2660
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
2661
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2772
2662
  # Corresponds to the JSON property `message`
2773
2663
  # @return [Google::Apis::HealthcareV1beta1::Message]
2774
2664
  attr_accessor :message
@@ -2784,13 +2674,12 @@ module Google
2784
2674
  end
2785
2675
  end
2786
2676
 
2787
- # Lists the Annotation stores
2788
- # in the given dataset.
2677
+ # Lists the Annotation stores in the given dataset.
2789
2678
  class ListAnnotationStoresResponse
2790
2679
  include Google::Apis::Core::Hashable
2791
2680
 
2792
- # The returned Annotation stores. Won't be more Annotation stores than the
2793
- # value of page_size in the request.
2681
+ # The returned Annotation stores. Won't be more Annotation stores than the value
2682
+ # of page_size in the request.
2794
2683
  # Corresponds to the JSON property `annotationStores`
2795
2684
  # @return [Array<Google::Apis::HealthcareV1beta1::AnnotationStore>]
2796
2685
  attr_accessor :annotation_stores
@@ -2812,14 +2701,12 @@ module Google
2812
2701
  end
2813
2702
  end
2814
2703
 
2815
- # Lists the Annotations in the specified
2816
- # Annotation store.
2704
+ # Lists the Annotations in the specified Annotation store.
2817
2705
  class ListAnnotationsResponse
2818
2706
  include Google::Apis::Core::Hashable
2819
2707
 
2820
- # The returned Annotations. Won't be more values than the value of
2821
- # page_size in the request. See `AnnotationView` in the request for
2822
- # populated fields.
2708
+ # The returned Annotations. Won't be more values than the value of page_size in
2709
+ # the request. See `AnnotationView` in the request for populated fields.
2823
2710
  # Corresponds to the JSON property `annotations`
2824
2711
  # @return [Array<Google::Apis::HealthcareV1beta1::Annotation>]
2825
2712
  attr_accessor :annotations
@@ -2850,8 +2737,8 @@ module Google
2850
2737
  # @return [Array<Google::Apis::HealthcareV1beta1::Dataset>]
2851
2738
  attr_accessor :datasets
2852
2739
 
2853
- # Token to retrieve the next page of results, or empty if there are no
2854
- # more results in the list.
2740
+ # Token to retrieve the next page of results, or empty if there are no more
2741
+ # results in the list.
2855
2742
  # Corresponds to the JSON property `nextPageToken`
2856
2743
  # @return [String]
2857
2744
  attr_accessor :next_page_token
@@ -2977,10 +2864,8 @@ module Google
2977
2864
  class ListMessagesResponse
2978
2865
  include Google::Apis::Core::Hashable
2979
2866
 
2980
- # The returned Messages. Won't be more Messages than the value of
2981
- # page_size in the request. See
2982
- # view for
2983
- # populated fields.
2867
+ # The returned Messages. Won't be more Messages than the value of page_size in
2868
+ # the request. See view for populated fields.
2984
2869
  # Corresponds to the JSON property `hl7V2Messages`
2985
2870
  # @return [Array<Google::Apis::HealthcareV1beta1::Message>]
2986
2871
  attr_accessor :hl7_v2_messages
@@ -3031,14 +2916,14 @@ module Google
3031
2916
  class Location
3032
2917
  include Google::Apis::Core::Hashable
3033
2918
 
3034
- # The friendly name for this location, typically a nearby city name.
3035
- # For example, "Tokyo".
2919
+ # The friendly name for this location, typically a nearby city name. For example,
2920
+ # "Tokyo".
3036
2921
  # Corresponds to the JSON property `displayName`
3037
2922
  # @return [String]
3038
2923
  attr_accessor :display_name
3039
2924
 
3040
- # Cross-service attributes for the location. For example
3041
- # `"cloud.googleapis.com/region": "us-east1"`
2925
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
2926
+ # region": "us-east1"`
3042
2927
  # Corresponds to the JSON property `labels`
3043
2928
  # @return [Hash<String,String>]
3044
2929
  attr_accessor :labels
@@ -3054,8 +2939,8 @@ module Google
3054
2939
  # @return [Hash<String,Object>]
3055
2940
  attr_accessor :metadata
3056
2941
 
3057
- # Resource name for the location, which may vary between implementations.
3058
- # For example: `"projects/example-project/locations/us-east1"`
2942
+ # Resource name for the location, which may vary between implementations. For
2943
+ # example: `"projects/example-project/locations/us-east1"`
3059
2944
  # Corresponds to the JSON property `name`
3060
2945
  # @return [String]
3061
2946
  attr_accessor :name
@@ -3074,10 +2959,8 @@ module Google
3074
2959
  end
3075
2960
  end
3076
2961
 
3077
- # A complete HL7v2 message.
3078
- # See [Introduction to HL7 Standards]
3079
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
3080
- # details on the standard.
2962
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
2963
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
3081
2964
  class Message
3082
2965
  include Google::Apis::Core::Hashable
3083
2966
 
@@ -3092,15 +2975,13 @@ module Google
3092
2975
  # @return [String]
3093
2976
  attr_accessor :data
3094
2977
 
3095
- # User-supplied key-value pairs used to organize HL7v2 stores.
3096
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
3097
- # of maximum 128 bytes, and must conform to the
3098
- # following PCRE regular expression:
3099
- # \p`Ll`\p`Lo``0,62`
3100
- # Label values are optional, must be between 1 and 63 characters long, have
3101
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
3102
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
3103
- # No more than 64 labels can be associated with a given store.
2978
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
2979
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
2980
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
2981
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
2982
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
2983
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
2984
+ # can be associated with a given store.
3104
2985
  # Corresponds to the JSON property `labels`
3105
2986
  # @return [Hash<String,String>]
3106
2987
  attr_accessor :labels
@@ -3110,10 +2991,9 @@ module Google
3110
2991
  # @return [String]
3111
2992
  attr_accessor :message_type
3112
2993
 
3113
- # Resource name of the Message, of the form
3114
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
3115
- # messages/`message_id``.
3116
- # Assigned by the server.
2994
+ # Resource name of the Message, of the form `projects/`project_id`/datasets/`
2995
+ # dataset_id`/hl7V2Stores/`hl7_v2_store_id`/messages/`message_id``. Assigned by
2996
+ # the server.
3117
2997
  # Corresponds to the JSON property `name`
3118
2998
  # @return [String]
3119
2999
  attr_accessor :name
@@ -3123,8 +3003,7 @@ module Google
3123
3003
  # @return [Google::Apis::HealthcareV1beta1::ParsedData]
3124
3004
  attr_accessor :parsed_data
3125
3005
 
3126
- # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this
3127
- # message.
3006
+ # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.
3128
3007
  # Corresponds to the JSON property `patientIds`
3129
3008
  # @return [Array<Google::Apis::HealthcareV1beta1::PatientId>]
3130
3009
  attr_accessor :patient_ids
@@ -3170,20 +3049,17 @@ module Google
3170
3049
 
3171
3050
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
3172
3051
  # notifications of changes are published on. Supplied by the client.
3173
- # PubsubMessage.Data contains the resource name.
3174
- # PubsubMessage.MessageId is the ID of this message. It is guaranteed to be
3175
- # unique within the topic.
3052
+ # PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the
3053
+ # ID of this message. It is guaranteed to be unique within the topic.
3176
3054
  # PubsubMessage.PublishTime is the time at which the message was published.
3177
- # Notifications are only sent if the topic is
3178
- # non-empty. [Topic
3179
- # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
3180
- # to a project. Cloud Healthcare API service account must have publisher
3181
- # permissions on the given Cloud Pub/Sub topic. Not having adequate
3182
- # permissions causes the calls that send notifications to fail.
3183
- # If a notification can't be published to Cloud Pub/Sub, errors are logged to
3184
- # Cloud Logging (see [Viewing
3185
- # logs](/healthcare/docs/how-tos/logging)). If the number of
3186
- # errors exceeds a certain rate, some aren't submitted.
3055
+ # Notifications are only sent if the topic is non-empty. [Topic names](https://
3056
+ # cloud.google.com/pubsub/docs/overview#names) must be scoped to a project.
3057
+ # Cloud Healthcare API service account must have publisher permissions on the
3058
+ # given Cloud Pub/Sub topic. Not having adequate permissions causes the calls
3059
+ # that send notifications to fail. If a notification can't be published to Cloud
3060
+ # Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
3061
+ # docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
3062
+ # aren't submitted.
3187
3063
  # Corresponds to the JSON property `pubsubTopic`
3188
3064
  # @return [String]
3189
3065
  attr_accessor :pubsub_topic
@@ -3203,47 +3079,45 @@ module Google
3203
3079
  class Operation
3204
3080
  include Google::Apis::Core::Hashable
3205
3081
 
3206
- # If the value is `false`, it means the operation is still in progress.
3207
- # If `true`, the operation is completed, and either `error` or `response` is
3208
- # available.
3082
+ # If the value is `false`, it means the operation is still in progress. If `true`
3083
+ # , the operation is completed, and either `error` or `response` is available.
3209
3084
  # Corresponds to the JSON property `done`
3210
3085
  # @return [Boolean]
3211
3086
  attr_accessor :done
3212
3087
  alias_method :done?, :done
3213
3088
 
3214
- # The `Status` type defines a logical error model that is suitable for
3215
- # different programming environments, including REST APIs and RPC APIs. It is
3216
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3217
- # three pieces of data: error code, error message, and error details.
3218
- # You can find out more about this error model and how to work with it in the
3219
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3089
+ # The `Status` type defines a logical error model that is suitable for different
3090
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3091
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3092
+ # data: error code, error message, and error details. You can find out more
3093
+ # about this error model and how to work with it in the [API Design Guide](https:
3094
+ # //cloud.google.com/apis/design/errors).
3220
3095
  # Corresponds to the JSON property `error`
3221
3096
  # @return [Google::Apis::HealthcareV1beta1::Status]
3222
3097
  attr_accessor :error
3223
3098
 
3224
- # Service-specific metadata associated with the operation. It typically
3225
- # contains progress information and common metadata such as create time.
3226
- # Some services might not provide such metadata. Any method that returns a
3227
- # long-running operation should document the metadata type, if any.
3099
+ # Service-specific metadata associated with the operation. It typically contains
3100
+ # progress information and common metadata such as create time. Some services
3101
+ # might not provide such metadata. Any method that returns a long-running
3102
+ # operation should document the metadata type, if any.
3228
3103
  # Corresponds to the JSON property `metadata`
3229
3104
  # @return [Hash<String,Object>]
3230
3105
  attr_accessor :metadata
3231
3106
 
3232
3107
  # The server-assigned name, which is only unique within the same service that
3233
- # originally returns it. If you use the default HTTP mapping, the
3234
- # `name` should be a resource name ending with `operations/`unique_id``.
3108
+ # originally returns it. If you use the default HTTP mapping, the `name` should
3109
+ # be a resource name ending with `operations/`unique_id``.
3235
3110
  # Corresponds to the JSON property `name`
3236
3111
  # @return [String]
3237
3112
  attr_accessor :name
3238
3113
 
3239
- # The normal response of the operation in case of success. If the original
3240
- # method returns no data on success, such as `Delete`, the response is
3241
- # `google.protobuf.Empty`. If the original method is standard
3242
- # `Get`/`Create`/`Update`, the response should be the resource. For other
3243
- # methods, the response should have the type `XxxResponse`, where `Xxx`
3244
- # is the original method name. For example, if the original method name
3245
- # is `TakeSnapshot()`, the inferred response type is
3246
- # `TakeSnapshotResponse`.
3114
+ # The normal response of the operation in case of success. If the original
3115
+ # method returns no data on success, such as `Delete`, the response is `google.
3116
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3117
+ # the response should be the resource. For other methods, the response should
3118
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
3119
+ # example, if the original method name is `TakeSnapshot()`, the inferred
3120
+ # response type is `TakeSnapshotResponse`.
3247
3121
  # Corresponds to the JSON property `response`
3248
3122
  # @return [Hash<String,Object>]
3249
3123
  attr_accessor :response
@@ -3262,8 +3136,8 @@ module Google
3262
3136
  end
3263
3137
  end
3264
3138
 
3265
- # OperationMetadata provides information about the operation execution.
3266
- # Returned in the long-running operation's metadata field.
3139
+ # OperationMetadata provides information about the operation execution. Returned
3140
+ # in the long-running operation's metadata field.
3267
3141
  class OperationMetadata
3268
3142
  include Google::Apis::Core::Hashable
3269
3143
 
@@ -3294,8 +3168,8 @@ module Google
3294
3168
  attr_accessor :end_time
3295
3169
 
3296
3170
  # A link to audit and error logs in the log viewer. Error logs are generated
3297
- # only by some operations, listed at
3298
- # [Viewing logs](/healthcare/docs/how-tos/logging).
3171
+ # only by some operations, listed at [Viewing logs](/healthcare/docs/how-tos/
3172
+ # logging).
3299
3173
  # Corresponds to the JSON property `logsUrl`
3300
3174
  # @return [String]
3301
3175
  attr_accessor :logs_url
@@ -3350,9 +3224,8 @@ module Google
3350
3224
  # @return [Google::Apis::HealthcareV1beta1::SchemaPackage]
3351
3225
  attr_accessor :schema
3352
3226
 
3353
- # Byte(s) to use as the segment terminator. If this is unset, '\r' is
3354
- # used as segment terminator, matching the HL7 version 2
3355
- # specification.
3227
+ # Byte(s) to use as the segment terminator. If this is unset, '\r' is used as
3228
+ # segment terminator, matching the HL7 version 2 specification.
3356
3229
  # Corresponds to the JSON property `segmentTerminator`
3357
3230
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3358
3231
  # @return [String]
@@ -3396,66 +3269,32 @@ module Google
3396
3269
  end
3397
3270
 
3398
3271
  # An Identity and Access Management (IAM) policy, which specifies access
3399
- # controls for Google Cloud resources.
3400
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3401
- # `members` to a single `role`. Members can be user accounts, service accounts,
3402
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3403
- # permissions; each `role` can be an IAM predefined role or a user-created
3404
- # custom role.
3405
- # For some types of Google Cloud resources, a `binding` can also specify a
3406
- # `condition`, which is a logical expression that allows access to a resource
3407
- # only if the expression evaluates to `true`. A condition can add constraints
3408
- # based on attributes of the request, the resource, or both. To learn which
3409
- # resources support conditions in their IAM policies, see the
3410
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3411
- # policies).
3412
- # **JSON example:**
3413
- # `
3414
- # "bindings": [
3415
- # `
3416
- # "role": "roles/resourcemanager.organizationAdmin",
3417
- # "members": [
3418
- # "user:mike@example.com",
3419
- # "group:admins@example.com",
3420
- # "domain:google.com",
3421
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3422
- # ]
3423
- # `,
3424
- # `
3425
- # "role": "roles/resourcemanager.organizationViewer",
3426
- # "members": [
3427
- # "user:eve@example.com"
3428
- # ],
3429
- # "condition": `
3430
- # "title": "expirable access",
3431
- # "description": "Does not grant access after Sep 2020",
3432
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3433
- # ",
3434
- # `
3435
- # `
3436
- # ],
3437
- # "etag": "BwWWja0YfJA=",
3438
- # "version": 3
3439
- # `
3440
- # **YAML example:**
3441
- # bindings:
3442
- # - members:
3443
- # - user:mike@example.com
3444
- # - group:admins@example.com
3445
- # - domain:google.com
3446
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3447
- # role: roles/resourcemanager.organizationAdmin
3448
- # - members:
3449
- # - user:eve@example.com
3450
- # role: roles/resourcemanager.organizationViewer
3451
- # condition:
3452
- # title: expirable access
3453
- # description: Does not grant access after Sep 2020
3454
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3455
- # - etag: BwWWja0YfJA=
3456
- # - version: 3
3457
- # For a description of IAM and its features, see the
3458
- # [IAM documentation](https://cloud.google.com/iam/docs/).
3272
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3273
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3274
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3275
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3276
+ # role or a user-created custom role. For some types of Google Cloud resources,
3277
+ # a `binding` can also specify a `condition`, which is a logical expression that
3278
+ # allows access to a resource only if the expression evaluates to `true`. A
3279
+ # condition can add constraints based on attributes of the request, the resource,
3280
+ # or both. To learn which resources support conditions in their IAM policies,
3281
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3282
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3283
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3284
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3285
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3286
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3287
+ # title": "expirable access", "description": "Does not grant access after Sep
3288
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3289
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3290
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3291
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3292
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3293
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3294
+ # description: Does not grant access after Sep 2020 expression: request.time <
3295
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3296
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3297
+ # google.com/iam/docs/).
3459
3298
  class Policy
3460
3299
  include Google::Apis::Core::Hashable
3461
3300
 
@@ -3464,48 +3303,44 @@ module Google
3464
3303
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditConfig>]
3465
3304
  attr_accessor :audit_configs
3466
3305
 
3467
- # Associates a list of `members` to a `role`. Optionally, may specify a
3468
- # `condition` that determines how and when the `bindings` are applied. Each
3469
- # of the `bindings` must contain at least one member.
3306
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
3307
+ # condition` that determines how and when the `bindings` are applied. Each of
3308
+ # the `bindings` must contain at least one member.
3470
3309
  # Corresponds to the JSON property `bindings`
3471
3310
  # @return [Array<Google::Apis::HealthcareV1beta1::Binding>]
3472
3311
  attr_accessor :bindings
3473
3312
 
3474
- # `etag` is used for optimistic concurrency control as a way to help
3475
- # prevent simultaneous updates of a policy from overwriting each other.
3476
- # It is strongly suggested that systems make use of the `etag` in the
3477
- # read-modify-write cycle to perform policy updates in order to avoid race
3478
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
3479
- # systems are expected to put that etag in the request to `setIamPolicy` to
3480
- # ensure that their change will be applied to the same version of the policy.
3481
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3482
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3483
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3484
- # the conditions in the version `3` policy are lost.
3313
+ # `etag` is used for optimistic concurrency control as a way to help prevent
3314
+ # simultaneous updates of a policy from overwriting each other. It is strongly
3315
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
3316
+ # to perform policy updates in order to avoid race conditions: An `etag` is
3317
+ # returned in the response to `getIamPolicy`, and systems are expected to put
3318
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
3319
+ # applied to the same version of the policy. **Important:** If you use IAM
3320
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
3321
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
3322
+ # with a version `1` policy, and all of the conditions in the version `3` policy
3323
+ # are lost.
3485
3324
  # Corresponds to the JSON property `etag`
3486
3325
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3487
3326
  # @return [String]
3488
3327
  attr_accessor :etag
3489
3328
 
3490
- # Specifies the format of the policy.
3491
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3492
- # are rejected.
3493
- # Any operation that affects conditional role bindings must specify version
3494
- # `3`. This requirement applies to the following operations:
3495
- # * Getting a policy that includes a conditional role binding
3496
- # * Adding a conditional role binding to a policy
3497
- # * Changing a conditional role binding in a policy
3498
- # * Removing any role binding, with or without a condition, from a policy
3499
- # that includes conditions
3500
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3501
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3502
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3503
- # the conditions in the version `3` policy are lost.
3504
- # If a policy does not include any conditions, operations on that policy may
3505
- # specify any valid version or leave the field unset.
3506
- # To learn which resources support conditions in their IAM policies, see the
3507
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3508
- # policies).
3329
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
3330
+ # Requests that specify an invalid value are rejected. Any operation that
3331
+ # affects conditional role bindings must specify version `3`. This requirement
3332
+ # applies to the following operations: * Getting a policy that includes a
3333
+ # conditional role binding * Adding a conditional role binding to a policy *
3334
+ # Changing a conditional role binding in a policy * Removing any role binding,
3335
+ # with or without a condition, from a policy that includes conditions **
3336
+ # Important:** If you use IAM Conditions, you must include the `etag` field
3337
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
3338
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
3339
+ # conditions in the version `3` policy are lost. If a policy does not include
3340
+ # any conditions, operations on that policy may specify any valid version or
3341
+ # leave the field unset. To learn which resources support conditions in their
3342
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
3343
+ # conditions/resource-policies).
3509
3344
  # Corresponds to the JSON property `version`
3510
3345
  # @return [Fixnum]
3511
3346
  attr_accessor :version
@@ -3554,8 +3389,8 @@ module Google
3554
3389
  end
3555
3390
  end
3556
3391
 
3557
- # Define how to redact sensitive values. Default behaviour is erase.
3558
- # For example, "My name is Jane." becomes "My name is ."
3392
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
3393
+ # "My name is Jane." becomes "My name is ."
3559
3394
  class RedactConfig
3560
3395
  include Google::Apis::Core::Hashable
3561
3396
 
@@ -3568,12 +3403,9 @@ module Google
3568
3403
  end
3569
3404
  end
3570
3405
 
3571
- # When using the
3572
- # INSPECT_AND_TRANSFORM
3573
- # action, each match is replaced with the name of the info_type. For example,
3574
- # "My name is Jane" becomes "My name is [PERSON_NAME]." The
3575
- # TRANSFORM
3576
- # action is equivalent to redacting.
3406
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
3407
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
3408
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
3577
3409
  class ReplaceWithInfoTypeConfig
3578
3410
  include Google::Apis::Core::Hashable
3579
3411
 
@@ -3629,18 +3461,16 @@ module Google
3629
3461
  class SchemaConfig
3630
3462
  include Google::Apis::Core::Hashable
3631
3463
 
3632
- # The depth for all recursive structures in the output analytics
3633
- # schema. For example, `concept` in the CodeSystem resource is a recursive
3634
- # structure; when the depth is 2, the CodeSystem table will have a column
3635
- # called `concept.concept` but not `concept.concept.concept`. If not
3636
- # specified or set to 0, the server will use the default value 2. The
3637
- # maximum depth allowed is 5.
3464
+ # The depth for all recursive structures in the output analytics schema. For
3465
+ # example, `concept` in the CodeSystem resource is a recursive structure; when
3466
+ # the depth is 2, the CodeSystem table will have a column called `concept.
3467
+ # concept` but not `concept.concept.concept`. If not specified or set to 0, the
3468
+ # server will use the default value 2. The maximum depth allowed is 5.
3638
3469
  # Corresponds to the JSON property `recursiveStructureDepth`
3639
3470
  # @return [Fixnum]
3640
3471
  attr_accessor :recursive_structure_depth
3641
3472
 
3642
- # Specifies the output schema type. If unspecified, the default is
3643
- # `LOSSLESS`.
3473
+ # Specifies the output schema type. Schema type is required.
3644
3474
  # Corresponds to the JSON property `schemaType`
3645
3475
  # @return [String]
3646
3476
  attr_accessor :schema_type
@@ -3714,27 +3544,33 @@ module Google
3714
3544
  attr_accessor :ignore_min_occurs
3715
3545
  alias_method :ignore_min_occurs?, :ignore_min_occurs
3716
3546
 
3717
- # Schema configs that are layered based on their VersionSources that
3718
- # match the incoming message. Schema configs present in higher indices
3719
- # override those in lower indices with the same message type and trigger
3720
- # event if their VersionSources all match an incoming message.
3547
+ # Schema configs that are layered based on their VersionSources that match the
3548
+ # incoming message. Schema configs present in higher indices override those in
3549
+ # lower indices with the same message type and trigger event if their
3550
+ # VersionSources all match an incoming message.
3721
3551
  # Corresponds to the JSON property `schemas`
3722
3552
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7SchemaConfig>]
3723
3553
  attr_accessor :schemas
3724
3554
 
3725
- # Determines how messages that don't parse successfully are handled.
3555
+ # Determines how messages that fail to parse are handled.
3726
3556
  # Corresponds to the JSON property `schematizedParsingType`
3727
3557
  # @return [String]
3728
3558
  attr_accessor :schematized_parsing_type
3729
3559
 
3730
- # Schema type definitions that are layered based on their VersionSources
3731
- # that match the incoming message. Type definitions present in higher indices
3560
+ # Schema type definitions that are layered based on their VersionSources that
3561
+ # match the incoming message. Type definitions present in higher indices
3732
3562
  # override those in lower indices with the same type name if their
3733
3563
  # VersionSources all match an incoming message.
3734
3564
  # Corresponds to the JSON property `types`
3735
3565
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7TypesConfig>]
3736
3566
  attr_accessor :types
3737
3567
 
3568
+ # Determines how unexpected segments (segments not matched to the schema) are
3569
+ # handled.
3570
+ # Corresponds to the JSON property `unexpectedSegmentHandling`
3571
+ # @return [String]
3572
+ attr_accessor :unexpected_segment_handling
3573
+
3738
3574
  def initialize(**args)
3739
3575
  update!(**args)
3740
3576
  end
@@ -3745,6 +3581,7 @@ module Google
3745
3581
  @schemas = args[:schemas] if args.key?(:schemas)
3746
3582
  @schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
3747
3583
  @types = args[:types] if args.key?(:types)
3584
+ @unexpected_segment_handling = args[:unexpected_segment_handling] if args.key?(:unexpected_segment_handling)
3748
3585
  end
3749
3586
  end
3750
3587
 
@@ -3752,8 +3589,8 @@ module Google
3752
3589
  class SchemaSegment
3753
3590
  include Google::Apis::Core::Hashable
3754
3591
 
3755
- # The maximum number of times this segment can be present in this group.
3756
- # 0 or -1 means unbounded.
3592
+ # The maximum number of times this segment can be present in this group. 0 or -1
3593
+ # means unbounded.
3757
3594
  # Corresponds to the JSON property `maxOccurs`
3758
3595
  # @return [Fixnum]
3759
3596
  attr_accessor :max_occurs
@@ -3811,10 +3648,10 @@ module Google
3811
3648
  include Google::Apis::Core::Hashable
3812
3649
 
3813
3650
  # The FHIR resource type to search, such as Patient or Observation. For a
3814
- # complete list, see the FHIR Resource Index
3815
- # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
3816
- # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
3817
- # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
3651
+ # complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/
3652
+ # standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/
3653
+ # standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/
3654
+ # standards/fhir/R4/resourcelist.html)).
3818
3655
  # Corresponds to the JSON property `resourceType`
3819
3656
  # @return [String]
3820
3657
  attr_accessor :resource_type
@@ -3833,18 +3670,15 @@ module Google
3833
3670
  class Segment
3834
3671
  include Google::Apis::Core::Hashable
3835
3672
 
3836
- # A mapping from the positional location to the value.
3837
- # The key string uses zero-based indexes separated by dots to identify
3838
- # Fields, components and sub-components. A bracket notation is also used to
3839
- # identify different instances of a repeated field.
3840
- # Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)?
3841
- # Examples of (key, value) pairs:
3842
- # * (0.1, "hemoglobin") denotes that the first component of Field 0 has the
3843
- # value "hemoglobin".
3844
- # * (1.1.2, "CBC") denotes that the second sub-component of the first
3845
- # component of Field 1 has the value "CBC".
3846
- # * (1[0].1, "HbA1c") denotes that the first component of the
3847
- # first Instance of Field 1, which is repeated, has the value "HbA1c".
3673
+ # A mapping from the positional location to the value. The key string uses zero-
3674
+ # based indexes separated by dots to identify Fields, components and sub-
3675
+ # components. A bracket notation is also used to identify different instances of
3676
+ # a repeated field. Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? Examples of (
3677
+ # key, value) pairs: * (0.1, "hemoglobin") denotes that the first component of
3678
+ # Field 0 has the value "hemoglobin". * (1.1.2, "CBC") denotes that the second
3679
+ # sub-component of the first component of Field 1 has the value "CBC". * (1[0].1,
3680
+ # "HbA1c") denotes that the first component of the first Instance of Field 1,
3681
+ # which is repeated, has the value "HbA1c".
3848
3682
  # Corresponds to the JSON property `fields`
3849
3683
  # @return [Hash<String,String>]
3850
3684
  attr_accessor :fields
@@ -3854,8 +3688,8 @@ module Google
3854
3688
  # @return [String]
3855
3689
  attr_accessor :segment_id
3856
3690
 
3857
- # Set ID for segments that can be in a set. This can be empty if it's
3858
- # missing or isn't applicable.
3691
+ # Set ID for segments that can be in a set. This can be empty if it's missing or
3692
+ # isn't applicable.
3859
3693
  # Corresponds to the JSON property `setId`
3860
3694
  # @return [String]
3861
3695
  attr_accessor :set_id
@@ -3876,9 +3710,9 @@ module Google
3876
3710
  class SensitiveTextAnnotation
3877
3711
  include Google::Apis::Core::Hashable
3878
3712
 
3879
- # Maps from a resource slice. For example, FHIR resource field path to a set
3880
- # of sensitive text findings. For example,
3881
- # Appointment.Narrative text1 --> `findings_1, findings_2, findings_3`
3713
+ # Maps from a resource slice. For example, FHIR resource field path to a set of
3714
+ # sensitive text findings. For example, Appointment.Narrative text1 --> `
3715
+ # findings_1, findings_2, findings_3`
3882
3716
  # Corresponds to the JSON property `details`
3883
3717
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::Detail>]
3884
3718
  attr_accessor :details
@@ -3898,74 +3732,39 @@ module Google
3898
3732
  include Google::Apis::Core::Hashable
3899
3733
 
3900
3734
  # An Identity and Access Management (IAM) policy, which specifies access
3901
- # controls for Google Cloud resources.
3902
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3903
- # `members` to a single `role`. Members can be user accounts, service accounts,
3904
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3905
- # permissions; each `role` can be an IAM predefined role or a user-created
3906
- # custom role.
3907
- # For some types of Google Cloud resources, a `binding` can also specify a
3908
- # `condition`, which is a logical expression that allows access to a resource
3909
- # only if the expression evaluates to `true`. A condition can add constraints
3910
- # based on attributes of the request, the resource, or both. To learn which
3911
- # resources support conditions in their IAM policies, see the
3912
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3913
- # policies).
3914
- # **JSON example:**
3915
- # `
3916
- # "bindings": [
3917
- # `
3918
- # "role": "roles/resourcemanager.organizationAdmin",
3919
- # "members": [
3920
- # "user:mike@example.com",
3921
- # "group:admins@example.com",
3922
- # "domain:google.com",
3923
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3924
- # ]
3925
- # `,
3926
- # `
3927
- # "role": "roles/resourcemanager.organizationViewer",
3928
- # "members": [
3929
- # "user:eve@example.com"
3930
- # ],
3931
- # "condition": `
3932
- # "title": "expirable access",
3933
- # "description": "Does not grant access after Sep 2020",
3934
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3935
- # ",
3936
- # `
3937
- # `
3938
- # ],
3939
- # "etag": "BwWWja0YfJA=",
3940
- # "version": 3
3941
- # `
3942
- # **YAML example:**
3943
- # bindings:
3944
- # - members:
3945
- # - user:mike@example.com
3946
- # - group:admins@example.com
3947
- # - domain:google.com
3948
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3949
- # role: roles/resourcemanager.organizationAdmin
3950
- # - members:
3951
- # - user:eve@example.com
3952
- # role: roles/resourcemanager.organizationViewer
3953
- # condition:
3954
- # title: expirable access
3955
- # description: Does not grant access after Sep 2020
3956
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3957
- # - etag: BwWWja0YfJA=
3958
- # - version: 3
3959
- # For a description of IAM and its features, see the
3960
- # [IAM documentation](https://cloud.google.com/iam/docs/).
3735
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3736
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3737
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3738
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3739
+ # role or a user-created custom role. For some types of Google Cloud resources,
3740
+ # a `binding` can also specify a `condition`, which is a logical expression that
3741
+ # allows access to a resource only if the expression evaluates to `true`. A
3742
+ # condition can add constraints based on attributes of the request, the resource,
3743
+ # or both. To learn which resources support conditions in their IAM policies,
3744
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3745
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3746
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3747
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3748
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3749
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3750
+ # title": "expirable access", "description": "Does not grant access after Sep
3751
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3752
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3753
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3754
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3755
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3756
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3757
+ # description: Does not grant access after Sep 2020 expression: request.time <
3758
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3759
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3760
+ # google.com/iam/docs/).
3961
3761
  # Corresponds to the JSON property `policy`
3962
3762
  # @return [Google::Apis::HealthcareV1beta1::Policy]
3963
3763
  attr_accessor :policy
3964
3764
 
3965
3765
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3966
- # the fields in the mask will be modified. If no mask is provided, the
3967
- # following default mask is used:
3968
- # `paths: "bindings, etag"`
3766
+ # the fields in the mask will be modified. If no mask is provided, the following
3767
+ # default mask is used: `paths: "bindings, etag"`
3969
3768
  # Corresponds to the JSON property `updateMask`
3970
3769
  # @return [String]
3971
3770
  attr_accessor :update_mask
@@ -3981,12 +3780,12 @@ module Google
3981
3780
  end
3982
3781
  end
3983
3782
 
3984
- # The `Status` type defines a logical error model that is suitable for
3985
- # different programming environments, including REST APIs and RPC APIs. It is
3986
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3987
- # three pieces of data: error code, error message, and error details.
3988
- # You can find out more about this error model and how to work with it in the
3989
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3783
+ # The `Status` type defines a logical error model that is suitable for different
3784
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3785
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3786
+ # data: error code, error message, and error details. You can find out more
3787
+ # about this error model and how to work with it in the [API Design Guide](https:
3788
+ # //cloud.google.com/apis/design/errors).
3990
3789
  class Status
3991
3790
  include Google::Apis::Core::Hashable
3992
3791
 
@@ -3995,15 +3794,15 @@ module Google
3995
3794
  # @return [Fixnum]
3996
3795
  attr_accessor :code
3997
3796
 
3998
- # A list of messages that carry the error details. There is a common set of
3797
+ # A list of messages that carry the error details. There is a common set of
3999
3798
  # message types for APIs to use.
4000
3799
  # Corresponds to the JSON property `details`
4001
3800
  # @return [Array<Hash<String,Object>>]
4002
3801
  attr_accessor :details
4003
3802
 
4004
- # A developer-facing error message, which should be in English. Any
4005
- # user-facing error message should be localized and sent in the
4006
- # google.rpc.Status.details field, or localized by the client.
3803
+ # A developer-facing error message, which should be in English. Any user-facing
3804
+ # error message should be localized and sent in the google.rpc.Status.details
3805
+ # field, or localized by the client.
4007
3806
  # Corresponds to the JSON property `message`
4008
3807
  # @return [String]
4009
3808
  attr_accessor :message
@@ -4029,10 +3828,9 @@ module Google
4029
3828
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination]
4030
3829
  attr_accessor :bigquery_destination
4031
3830
 
4032
- # Supply a FHIR resource type (such as "Patient" or "Observation").
4033
- # See https://www.hl7.org/fhir/valueset-resource-types.html for a list of
4034
- # all FHIR resource types.
4035
- # The server treats an empty list as an intent to stream all the
3831
+ # Supply a FHIR resource type (such as "Patient" or "Observation"). See https://
3832
+ # www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource
3833
+ # types. The server treats an empty list as an intent to stream all the
4036
3834
  # supported resource types in this FHIR store.
4037
3835
  # Corresponds to the JSON property `resourceTypes`
4038
3836
  # @return [Array<String>]
@@ -4053,11 +3851,10 @@ module Google
4053
3851
  class TagFilterList
4054
3852
  include Google::Apis::Core::Hashable
4055
3853
 
4056
- # Tags to be filtered. Tags must be DICOM Data Elements, File Meta
4057
- # Elements, or Directory Structuring Elements, as defined at:
4058
- # http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
4059
- # They may be provided by "Keyword" or "Tag". For example, "PatientID",
4060
- # "00100010".
3854
+ # Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or
3855
+ # Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/
3856
+ # dicom/current/output/html/part06.html#table_6-1,. They may be provided by "
3857
+ # Keyword" or "Tag". For example, "PatientID", "00100010".
4061
3858
  # Corresponds to the JSON property `tags`
4062
3859
  # @return [Array<String>]
4063
3860
  attr_accessor :tags
@@ -4076,10 +3873,9 @@ module Google
4076
3873
  class TestIamPermissionsRequest
4077
3874
  include Google::Apis::Core::Hashable
4078
3875
 
4079
- # The set of permissions to check for the `resource`. Permissions with
4080
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
4081
- # information see
4082
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
3876
+ # The set of permissions to check for the `resource`. Permissions with wildcards
3877
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
3878
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
4083
3879
  # Corresponds to the JSON property `permissions`
4084
3880
  # @return [Array<String>]
4085
3881
  attr_accessor :permissions
@@ -4098,8 +3894,7 @@ module Google
4098
3894
  class TestIamPermissionsResponse
4099
3895
  include Google::Apis::Core::Hashable
4100
3896
 
4101
- # A subset of `TestPermissionsRequest.permissions` that the caller is
4102
- # allowed.
3897
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
4103
3898
  # Corresponds to the JSON property `permissions`
4104
3899
  # @return [Array<String>]
4105
3900
  attr_accessor :permissions
@@ -4142,14 +3937,14 @@ module Google
4142
3937
  # @return [Array<Google::Apis::HealthcareV1beta1::Field>]
4143
3938
  attr_accessor :fields
4144
3939
 
4145
- # The name of this type. This would be the segment or datatype name.
4146
- # For example, "PID" or "XPN".
3940
+ # The name of this type. This would be the segment or datatype name. For example,
3941
+ # "PID" or "XPN".
4147
3942
  # Corresponds to the JSON property `name`
4148
3943
  # @return [String]
4149
3944
  attr_accessor :name
4150
3945
 
4151
- # If this is a primitive type then this field is the type of the primitive
4152
- # For example, STRING. Leave unspecified for composite types.
3946
+ # If this is a primitive type then this field is the type of the primitive For
3947
+ # example, STRING. Leave unspecified for composite types.
4153
3948
  # Corresponds to the JSON property `primitive`
4154
3949
  # @return [String]
4155
3950
  attr_accessor :primitive
@@ -4175,8 +3970,7 @@ module Google
4175
3970
  # @return [String]
4176
3971
  attr_accessor :msh_field
4177
3972
 
4178
- # The value to match with the field. For example, "My Application Name" or
4179
- # "2.3".
3973
+ # The value to match with the field. For example, "My Application Name" or "2.3".
4180
3974
  # Corresponds to the JSON property `value`
4181
3975
  # @return [String]
4182
3976
  attr_accessor :value