google-api-client 0.43.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (863) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +462 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  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 +17 -6
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  23. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  26. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  27. data/generated/google/apis/admin_directory_v1.rb +6 -8
  28. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  29. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  30. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  31. data/generated/google/apis/admin_reports_v1.rb +6 -5
  32. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  33. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  34. data/generated/google/apis/admob_v1.rb +4 -1
  35. data/generated/google/apis/admob_v1/classes.rb +2 -2
  36. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  37. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  40. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  41. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  43. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  44. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  45. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  48. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  49. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  50. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  51. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  53. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  54. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  55. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  56. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  57. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  58. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  59. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  60. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  61. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  62. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  63. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  64. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  65. data/generated/google/apis/apigee_v1.rb +6 -7
  66. data/generated/google/apis/apigee_v1/classes.rb +432 -82
  67. data/generated/google/apis/apigee_v1/representations.rb +139 -1
  68. data/generated/google/apis/apigee_v1/service.rb +158 -41
  69. data/generated/google/apis/appengine_v1.rb +1 -1
  70. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  71. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  72. data/generated/google/apis/appengine_v1/service.rb +38 -47
  73. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  74. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  75. data/generated/google/apis/appengine_v1beta.rb +1 -1
  76. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  77. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  78. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  79. data/generated/google/apis/appsmarket_v2.rb +1 -1
  80. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  81. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  82. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  83. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  84. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  85. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  86. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  87. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  88. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +403 -553
  91. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  119. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  128. data/generated/google/apis/calendar_v3.rb +1 -1
  129. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  130. data/generated/google/apis/chat_v1.rb +1 -1
  131. data/generated/google/apis/chat_v1/classes.rb +165 -116
  132. data/generated/google/apis/chat_v1/representations.rb +35 -0
  133. data/generated/google/apis/chat_v1/service.rb +30 -42
  134. data/generated/google/apis/civicinfo_v2.rb +1 -1
  135. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  136. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  137. data/generated/google/apis/classroom_v1.rb +7 -1
  138. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  139. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  140. data/generated/google/apis/classroom_v1/service.rb +240 -0
  141. data/generated/google/apis/cloudasset_v1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
  143. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  144. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  145. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  147. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  148. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  149. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  150. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  151. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  152. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  153. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  154. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  156. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  157. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  158. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  159. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  160. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  161. data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
  162. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  163. data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
  164. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  165. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  166. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  167. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  168. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  169. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  170. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  171. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  172. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  173. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  174. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  175. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  176. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  177. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  178. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  179. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  180. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  181. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  182. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  183. data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
  184. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  185. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  186. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  187. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
  188. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  189. data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
  190. data/generated/google/apis/cloudiot_v1.rb +1 -1
  191. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  192. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  193. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  194. data/generated/google/apis/cloudkms_v1.rb +1 -1
  195. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  196. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  197. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  198. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  199. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  200. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  201. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  203. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  204. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  205. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  206. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  207. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  209. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  210. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  211. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  212. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  213. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  214. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  215. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  216. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  217. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  218. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  220. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  221. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  222. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  223. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  224. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  225. data/generated/google/apis/cloudshell_v1.rb +1 -1
  226. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  227. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  228. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  229. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  230. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  231. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  232. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  234. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  235. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  236. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  237. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  238. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  239. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  240. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  241. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  242. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  243. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  244. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  246. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  247. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  248. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  249. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  250. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  251. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  252. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  253. data/generated/google/apis/composer_v1.rb +1 -1
  254. data/generated/google/apis/composer_v1/classes.rb +190 -242
  255. data/generated/google/apis/composer_v1/service.rb +79 -150
  256. data/generated/google/apis/composer_v1beta1.rb +1 -1
  257. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  258. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  259. data/generated/google/apis/compute_alpha.rb +1 -1
  260. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  261. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  262. data/generated/google/apis/compute_alpha/service.rb +695 -692
  263. data/generated/google/apis/compute_beta.rb +1 -1
  264. data/generated/google/apis/compute_beta/classes.rb +570 -70
  265. data/generated/google/apis/compute_beta/representations.rb +112 -1
  266. data/generated/google/apis/compute_beta/service.rb +608 -605
  267. data/generated/google/apis/compute_v1.rb +1 -1
  268. data/generated/google/apis/compute_v1/classes.rb +977 -85
  269. data/generated/google/apis/compute_v1/representations.rb +372 -0
  270. data/generated/google/apis/compute_v1/service.rb +747 -15
  271. data/generated/google/apis/container_v1.rb +1 -1
  272. data/generated/google/apis/container_v1/classes.rb +970 -965
  273. data/generated/google/apis/container_v1/representations.rb +60 -0
  274. data/generated/google/apis/container_v1/service.rb +435 -502
  275. data/generated/google/apis/container_v1beta1.rb +1 -1
  276. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  277. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  278. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  279. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  280. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  281. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  282. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  283. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  284. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  285. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  286. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  287. data/generated/google/apis/content_v2.rb +1 -1
  288. data/generated/google/apis/content_v2/classes.rb +5 -2
  289. data/generated/google/apis/content_v2_1.rb +1 -1
  290. data/generated/google/apis/content_v2_1/classes.rb +107 -5
  291. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  292. data/generated/google/apis/content_v2_1/service.rb +54 -3
  293. data/generated/google/apis/customsearch_v1.rb +1 -1
  294. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  295. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  296. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
  297. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  298. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  299. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  300. data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
  301. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  302. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  303. data/generated/google/apis/datafusion_v1.rb +5 -8
  304. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  305. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  306. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  307. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  308. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  309. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  310. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  311. data/generated/google/apis/dataproc_v1.rb +1 -1
  312. data/generated/google/apis/dataproc_v1/classes.rb +60 -14
  313. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  314. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  315. data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
  316. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  317. data/generated/google/apis/datastore_v1.rb +1 -1
  318. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  319. data/generated/google/apis/datastore_v1/service.rb +52 -63
  320. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  321. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  322. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  323. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  324. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  325. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  326. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  327. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
  335. data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
  336. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  337. data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
  338. data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
  339. data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
  340. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  341. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
  342. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
  343. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  344. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  345. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  346. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  347. data/generated/google/apis/displayvideo_v1.rb +1 -1
  348. data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
  349. data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
  350. data/generated/google/apis/displayvideo_v1/service.rb +47 -35
  351. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  352. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  353. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  354. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  355. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  356. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  357. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  358. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  359. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  360. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  361. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  362. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  363. data/generated/google/apis/dlp_v2.rb +1 -1
  364. data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
  365. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  366. data/generated/google/apis/dlp_v2/service.rb +962 -905
  367. data/generated/google/apis/dns_v1.rb +1 -1
  368. data/generated/google/apis/dns_v1/classes.rb +175 -198
  369. data/generated/google/apis/dns_v1/service.rb +82 -97
  370. data/generated/google/apis/dns_v1beta2.rb +1 -1
  371. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  372. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  373. data/generated/google/apis/docs_v1.rb +1 -1
  374. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  375. data/generated/google/apis/docs_v1/service.rb +17 -22
  376. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  377. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  378. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  379. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  380. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  381. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
  382. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  383. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  384. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
  385. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  386. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  387. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  388. data/generated/google/apis/drive_v2.rb +1 -1
  389. data/generated/google/apis/drive_v2/classes.rb +14 -6
  390. data/generated/google/apis/drive_v2/representations.rb +1 -0
  391. data/generated/google/apis/drive_v2/service.rb +79 -15
  392. data/generated/google/apis/drive_v3.rb +1 -1
  393. data/generated/google/apis/drive_v3/classes.rb +14 -6
  394. data/generated/google/apis/drive_v3/representations.rb +1 -0
  395. data/generated/google/apis/drive_v3/service.rb +59 -11
  396. data/generated/google/apis/file_v1.rb +1 -1
  397. data/generated/google/apis/file_v1/classes.rb +154 -173
  398. data/generated/google/apis/file_v1/service.rb +43 -52
  399. data/generated/google/apis/file_v1beta1.rb +1 -1
  400. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  401. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  402. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  403. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  404. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  405. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  406. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  407. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  409. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  411. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  412. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  413. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  414. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  415. data/generated/google/apis/firebaserules_v1.rb +1 -1
  416. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  417. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  418. data/generated/google/apis/firestore_v1.rb +1 -1
  419. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  420. data/generated/google/apis/firestore_v1/service.rb +165 -201
  421. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  422. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  423. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  424. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  426. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  427. data/generated/google/apis/fitness_v1.rb +85 -0
  428. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  429. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  430. data/generated/google/apis/fitness_v1/service.rb +626 -0
  431. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  432. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  433. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  434. data/generated/google/apis/games_management_v1management.rb +2 -3
  435. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  436. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  437. data/generated/google/apis/games_v1.rb +2 -3
  438. data/generated/google/apis/games_v1/classes.rb +76 -83
  439. data/generated/google/apis/games_v1/representations.rb +2 -0
  440. data/generated/google/apis/games_v1/service.rb +84 -90
  441. data/generated/google/apis/gameservices_v1.rb +1 -1
  442. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  443. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  444. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  445. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  446. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  447. data/generated/google/apis/genomics_v1.rb +1 -1
  448. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  449. data/generated/google/apis/genomics_v1/service.rb +28 -43
  450. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  451. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  452. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  453. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  454. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  455. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  456. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  457. data/generated/google/apis/gmail_v1.rb +1 -1
  458. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  459. data/generated/google/apis/gmail_v1/service.rb +5 -4
  460. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  461. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  462. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  463. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  464. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  465. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  466. data/generated/google/apis/healthcare_v1.rb +1 -1
  467. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  468. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  469. data/generated/google/apis/healthcare_v1/service.rb +840 -854
  470. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
  472. data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
  473. data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
  474. data/generated/google/apis/homegraph_v1.rb +4 -1
  475. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  476. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  477. data/generated/google/apis/iam_v1.rb +5 -2
  478. data/generated/google/apis/iam_v1/classes.rb +395 -592
  479. data/generated/google/apis/iam_v1/representations.rb +1 -0
  480. data/generated/google/apis/iam_v1/service.rb +431 -556
  481. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  482. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  483. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  484. data/generated/google/apis/iap_v1.rb +1 -1
  485. data/generated/google/apis/iap_v1/classes.rb +253 -355
  486. data/generated/google/apis/iap_v1/representations.rb +1 -0
  487. data/generated/google/apis/iap_v1/service.rb +61 -71
  488. data/generated/google/apis/iap_v1beta1.rb +1 -1
  489. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  490. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/jobs_v2.rb +1 -1
  495. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  496. data/generated/google/apis/jobs_v2/service.rb +85 -126
  497. data/generated/google/apis/jobs_v3.rb +1 -1
  498. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  499. data/generated/google/apis/jobs_v3/service.rb +101 -139
  500. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  501. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  502. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  503. data/generated/google/apis/kgsearch_v1.rb +1 -1
  504. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  505. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  506. data/generated/google/apis/licensing_v1.rb +4 -3
  507. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  508. data/generated/google/apis/licensing_v1/service.rb +55 -85
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +230 -227
  518. data/generated/google/apis/logging_v2/representations.rb +47 -0
  519. data/generated/google/apis/logging_v2/service.rb +2056 -673
  520. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  522. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  523. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  525. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  526. data/generated/google/apis/manufacturers_v1.rb +1 -1
  527. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  528. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  529. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  530. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  531. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  532. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  533. data/generated/google/apis/ml_v1.rb +1 -1
  534. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  535. data/generated/google/apis/ml_v1/representations.rb +65 -0
  536. data/generated/google/apis/ml_v1/service.rb +194 -253
  537. data/generated/google/apis/monitoring_v1.rb +1 -1
  538. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  539. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  540. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  541. data/generated/google/apis/monitoring_v3.rb +1 -1
  542. data/generated/google/apis/monitoring_v3/classes.rb +232 -328
  543. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  544. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  545. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  546. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  547. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  548. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  549. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  550. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  551. data/generated/google/apis/osconfig_v1.rb +1 -1
  552. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  553. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  554. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  555. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  556. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  557. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  558. data/generated/google/apis/oslogin_v1.rb +1 -1
  559. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  560. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  561. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  562. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  563. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  564. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  565. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  566. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  567. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  568. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  569. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  570. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  571. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  572. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  573. data/generated/google/apis/people_v1.rb +1 -1
  574. data/generated/google/apis/people_v1/classes.rb +121 -12
  575. data/generated/google/apis/people_v1/representations.rb +41 -0
  576. data/generated/google/apis/people_v1/service.rb +47 -45
  577. data/generated/google/apis/playablelocations_v3.rb +1 -1
  578. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  579. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  580. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  581. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  582. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  583. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  584. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  585. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  586. data/generated/google/apis/pubsub_v1.rb +1 -1
  587. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  588. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  589. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  590. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  591. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  592. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  593. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  594. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  595. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  596. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  597. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  598. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  599. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  600. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
  601. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  602. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  603. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  604. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  605. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  606. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  607. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  608. data/generated/google/apis/redis_v1.rb +1 -1
  609. data/generated/google/apis/redis_v1/classes.rb +91 -513
  610. data/generated/google/apis/redis_v1/representations.rb +0 -139
  611. data/generated/google/apis/redis_v1/service.rb +93 -110
  612. data/generated/google/apis/redis_v1beta1.rb +1 -1
  613. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  614. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  615. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  616. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  617. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  618. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  619. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  620. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  621. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  622. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  623. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  624. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  625. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  626. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  627. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  628. data/generated/google/apis/reseller_v1.rb +2 -2
  629. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  630. data/generated/google/apis/reseller_v1/service.rb +122 -173
  631. data/generated/google/apis/run_v1.rb +1 -1
  632. data/generated/google/apis/run_v1/classes.rb +12 -135
  633. data/generated/google/apis/run_v1/representations.rb +1 -62
  634. data/generated/google/apis/run_v1/service.rb +0 -342
  635. data/generated/google/apis/run_v1alpha1.rb +1 -1
  636. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  637. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  638. data/generated/google/apis/run_v1beta1.rb +1 -1
  639. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  640. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  641. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  642. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  643. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  644. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  645. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  646. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  647. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  648. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  649. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  650. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  651. data/generated/google/apis/script_v1.rb +1 -1
  652. data/generated/google/apis/script_v1/classes.rb +88 -111
  653. data/generated/google/apis/script_v1/service.rb +63 -69
  654. data/generated/google/apis/searchconsole_v1.rb +7 -1
  655. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  656. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  657. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  658. data/generated/google/apis/secretmanager_v1.rb +1 -1
  659. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  660. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  661. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  662. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  663. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  664. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  665. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  666. data/generated/google/apis/securitycenter_v1.rb +1 -1
  667. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  668. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  669. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  670. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  671. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  672. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  673. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  674. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  675. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  676. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  677. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
  678. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  679. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  680. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  681. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  682. data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
  683. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  684. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  685. data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
  686. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  687. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  688. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  689. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  691. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  692. data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
  693. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  694. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  695. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  696. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
  697. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  698. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  699. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  700. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  701. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  702. data/generated/google/apis/serviceusage_v1.rb +1 -1
  703. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  704. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  705. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  706. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  707. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  708. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  709. data/generated/google/apis/sheets_v4.rb +1 -1
  710. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  711. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  712. data/generated/google/apis/sheets_v4/service.rb +113 -149
  713. data/generated/google/apis/site_verification_v1.rb +1 -1
  714. data/generated/google/apis/slides_v1.rb +1 -1
  715. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  716. data/generated/google/apis/slides_v1/service.rb +23 -30
  717. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  718. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  719. data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
  720. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  721. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  722. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  723. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  724. data/generated/google/apis/spanner_v1.rb +1 -1
  725. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  726. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  727. data/generated/google/apis/spanner_v1/service.rb +443 -618
  728. data/generated/google/apis/speech_v1.rb +1 -1
  729. data/generated/google/apis/speech_v1/classes.rb +174 -220
  730. data/generated/google/apis/speech_v1/service.rb +27 -32
  731. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  732. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  733. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  734. data/generated/google/apis/speech_v2beta1.rb +1 -1
  735. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  736. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  737. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  738. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
  739. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
  740. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  741. data/generated/google/apis/storage_v1.rb +1 -1
  742. data/generated/google/apis/storage_v1/classes.rb +8 -7
  743. data/generated/google/apis/storage_v1/representations.rb +2 -2
  744. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  745. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  746. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  747. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  748. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  749. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  750. data/generated/google/apis/sts_v1.rb +32 -0
  751. data/generated/google/apis/sts_v1/classes.rb +120 -0
  752. data/generated/google/apis/sts_v1/representations.rb +59 -0
  753. data/generated/google/apis/sts_v1/service.rb +90 -0
  754. data/generated/google/apis/sts_v1beta.rb +32 -0
  755. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  756. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  757. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  758. data/generated/google/apis/tagmanager_v1.rb +1 -1
  759. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  760. data/generated/google/apis/tagmanager_v2.rb +1 -1
  761. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  762. data/generated/google/apis/tasks_v1.rb +1 -1
  763. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  764. data/generated/google/apis/tasks_v1/service.rb +19 -19
  765. data/generated/google/apis/testing_v1.rb +1 -1
  766. data/generated/google/apis/testing_v1/classes.rb +317 -382
  767. data/generated/google/apis/testing_v1/representations.rb +2 -0
  768. data/generated/google/apis/testing_v1/service.rb +22 -28
  769. data/generated/google/apis/texttospeech_v1.rb +1 -1
  770. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  771. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  772. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  773. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  774. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  775. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  776. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  777. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  778. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  779. data/generated/google/apis/tpu_v1.rb +1 -1
  780. data/generated/google/apis/tpu_v1/classes.rb +54 -0
  781. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  782. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  783. data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
  784. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  785. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  786. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  787. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  788. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  789. data/generated/google/apis/translate_v3.rb +1 -1
  790. data/generated/google/apis/translate_v3/classes.rb +148 -175
  791. data/generated/google/apis/translate_v3/service.rb +122 -151
  792. data/generated/google/apis/translate_v3beta1.rb +1 -1
  793. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  794. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  795. data/generated/google/apis/vault_v1.rb +1 -1
  796. data/generated/google/apis/vault_v1/classes.rb +80 -103
  797. data/generated/google/apis/vault_v1/service.rb +31 -37
  798. data/generated/google/apis/vectortile_v1.rb +1 -1
  799. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  800. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  801. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  802. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  803. data/generated/google/apis/videointelligence_v1.rb +1 -1
  804. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  805. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  806. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  807. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  808. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  809. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  810. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  811. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  812. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  814. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  815. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  817. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  818. data/generated/google/apis/vision_v1.rb +1 -1
  819. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  820. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  821. data/generated/google/apis/webfonts_v1.rb +2 -3
  822. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  823. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  824. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  825. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  826. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  827. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  828. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  829. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  830. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  831. data/generated/google/apis/workflows_v1beta.rb +34 -0
  832. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  833. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  834. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  835. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  836. data/generated/google/apis/youtube_v3.rb +1 -1
  837. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  838. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  839. data/generated/google/apis/youtube_v3/service.rb +0 -117
  840. data/google-api-client.gemspec +2 -1
  841. data/lib/google/apis/version.rb +1 -1
  842. metadata +106 -40
  843. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  844. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  845. data/generated/google/apis/dns_v2beta1.rb +0 -43
  846. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  847. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  848. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  849. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  850. data/generated/google/apis/oauth2_v2.rb +0 -40
  851. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  852. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  853. data/generated/google/apis/plus_v1.rb +0 -43
  854. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  855. data/generated/google/apis/plus_v1/representations.rb +0 -907
  856. data/generated/google/apis/plus_v1/service.rb +0 -451
  857. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  858. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  859. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  860. data/generated/google/apis/storage_v1beta2.rb +0 -40
  861. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  862. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  863. 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 = '20200723'
28
+ REVISION = '20200917'
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'
@@ -22,6 +22,43 @@ module Google
22
22
  module Apis
23
23
  module HealthcareV1beta1
24
24
 
25
+ # Activates the latest revision of the specified Consent by committing a new
26
+ # revision with `state` updated to `ACTIVE`. If the latest revision of the given
27
+ # consent is in the `ACTIVE` state, no new revision is committed.
28
+ class ActivateConsentRequest
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Required. The resource name of the consent artifact that contains proof of the
32
+ # end user's consent, of the form `projects/`project_id`/locations/`location_id`/
33
+ # datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
34
+ # consent_artifact_id``. If the draft consent had a consent artifact, this
35
+ # consent artifact overwrites it.
36
+ # Corresponds to the JSON property `consentArtifact`
37
+ # @return [String]
38
+ attr_accessor :consent_artifact
39
+
40
+ # Timestamp in UTC of when this consent is considered expired.
41
+ # Corresponds to the JSON property `expireTime`
42
+ # @return [String]
43
+ attr_accessor :expire_time
44
+
45
+ # The time to live for this consent from when it is marked as active.
46
+ # Corresponds to the JSON property `ttl`
47
+ # @return [String]
48
+ attr_accessor :ttl
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
57
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
58
+ @ttl = args[:ttl] if args.key?(:ttl)
59
+ end
60
+ end
61
+
25
62
  # An annotation record.
26
63
  class Annotation
27
64
  include Google::Apis::Core::Hashable
@@ -42,9 +79,9 @@ module Google
42
79
  # @return [Google::Apis::HealthcareV1beta1::ImageAnnotation]
43
80
  attr_accessor :image_annotation
44
81
 
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``.
82
+ # Resource name of the Annotation, of the form `projects/`project_id`/locations/`
83
+ # location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id`/
84
+ # annotations/`annotation_id``.
48
85
  # Corresponds to the JSON property `name`
49
86
  # @return [String]
50
87
  attr_accessor :name
@@ -78,24 +115,19 @@ module Google
78
115
  class AnnotationConfig
79
116
  include Google::Apis::Core::Hashable
80
117
 
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.
118
+ # The name of the annotation store, in the form `projects/`project_id`/locations/
119
+ # `location_id`/datasets/`dataset_id`/annotationStores/`annotation_store_id``). *
120
+ # The destination annotation store must be in the same project as the source
121
+ # data. De-identifying data across multiple projects is not supported. * The
122
+ # destination annotation store must exist when using DeidentifyDicomStore or
123
+ # DeidentifyFhirStore. DeidentifyDataset automatically creates the destination
124
+ # annotation store.
92
125
  # Corresponds to the JSON property `annotationStoreName`
93
126
  # @return [String]
94
127
  attr_accessor :annotation_store_name
95
128
 
96
- # If set to true, the sensitive texts are included in
97
- # SensitiveTextAnnotation
98
- # of Annotation.
129
+ # If set to true, the sensitive texts are included in SensitiveTextAnnotation of
130
+ # Annotation.
99
131
  # Corresponds to the JSON property `storeQuote`
100
132
  # @return [Boolean]
101
133
  attr_accessor :store_quote
@@ -131,27 +163,25 @@ module Google
131
163
  end
132
164
  end
133
165
 
134
- # An Annotation store that can store annotation resources such as
135
- # labels and tags for text, image and audio.
166
+ # An Annotation store that can store annotation resources such as labels and
167
+ # tags for text, image and audio.
136
168
  class AnnotationStore
137
169
  include Google::Apis::Core::Hashable
138
170
 
139
171
  # 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.
172
+ # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of
173
+ # maximum 128 bytes, and must conform to the following PCRE regular expression: \
174
+ # p`Ll`\p`Lo``0,62` Label values must be between 1 and 63 characters long, have
175
+ # a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
176
+ # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
177
+ # associated with a given store.
148
178
  # Corresponds to the JSON property `labels`
149
179
  # @return [Hash<String,String>]
150
180
  attr_accessor :labels
151
181
 
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``.
182
+ # Resource name of the Annotation store, of the form `projects/`project_id`/
183
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
184
+ # annotation_store_id``.
155
185
  # Corresponds to the JSON property `name`
156
186
  # @return [String]
157
187
  attr_accessor :name
@@ -167,53 +197,133 @@ module Google
167
197
  end
168
198
  end
169
199
 
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.
200
+ # Archives the specified User data mapping.
201
+ class ArchiveUserDataMappingRequest
202
+ include Google::Apis::Core::Hashable
203
+
204
+ def initialize(**args)
205
+ update!(**args)
206
+ end
207
+
208
+ # Update properties of this object
209
+ def update!(**args)
210
+ end
211
+ end
212
+
213
+ # Archives the specified User data mapping.
214
+ class ArchiveUserDataMappingResponse
215
+ include Google::Apis::Core::Hashable
216
+
217
+ def initialize(**args)
218
+ update!(**args)
219
+ end
220
+
221
+ # Update properties of this object
222
+ def update!(**args)
223
+ end
224
+ end
225
+
226
+ # An attribute value for a consent or data mapping. Each Attribute must have a
227
+ # corresponding AttributeDefinition in the consent store that defines the
228
+ # default and allowed values.
229
+ class Attribute
230
+ include Google::Apis::Core::Hashable
231
+
232
+ # Indicates the name of an attribute defined at the consent store.
233
+ # Corresponds to the JSON property `attributeDefinitionId`
234
+ # @return [String]
235
+ attr_accessor :attribute_definition_id
236
+
237
+ # The value of the attribute. Must be an acceptable value as defined in the
238
+ # consent store. For example, if the consent store defines "data type" with
239
+ # acceptable values "questionnaire" and "step-count", when the attribute name is
240
+ # data type, this field must contain one of those values.
241
+ # Corresponds to the JSON property `values`
242
+ # @return [Array<String>]
243
+ attr_accessor :values
244
+
245
+ def initialize(**args)
246
+ update!(**args)
247
+ end
248
+
249
+ # Update properties of this object
250
+ def update!(**args)
251
+ @attribute_definition_id = args[:attribute_definition_id] if args.key?(:attribute_definition_id)
252
+ @values = args[:values] if args.key?(:values)
253
+ end
254
+ end
255
+
256
+ # A client-defined consent attribute.
257
+ class AttributeDefinition
258
+ include Google::Apis::Core::Hashable
259
+
260
+ # Required. Possible values for the attribute. An empty list is invalid. The
261
+ # list can only be expanded after creation.
262
+ # Corresponds to the JSON property `allowedValues`
263
+ # @return [Array<String>]
264
+ attr_accessor :allowed_values
265
+
266
+ # Required. The category of the attribute. The value of this field cannot be
267
+ # changed after creation.
268
+ # Corresponds to the JSON property `category`
269
+ # @return [String]
270
+ attr_accessor :category
271
+
272
+ # Default values of the attribute in consents. If no default values are
273
+ # specified, it defaults to an empty value.
274
+ # Corresponds to the JSON property `consentDefaultValues`
275
+ # @return [Array<String>]
276
+ attr_accessor :consent_default_values
277
+
278
+ # Default value of the attribute in user data mappings. If no default value is
279
+ # specified, it defaults to an empty value. This field is only applicable to
280
+ # attributes of the category `RESOURCE`.
281
+ # Corresponds to the JSON property `dataMappingDefaultValue`
282
+ # @return [String]
283
+ attr_accessor :data_mapping_default_value
284
+
285
+ # A description of the attribute.
286
+ # Corresponds to the JSON property `description`
287
+ # @return [String]
288
+ attr_accessor :description
289
+
290
+ # Resource name of the attribute definition, of the form `projects/`project_id`/
291
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
292
+ # attributeDefinitions/`attribute_definition_id``.
293
+ # Corresponds to the JSON property `name`
294
+ # @return [String]
295
+ attr_accessor :name
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @allowed_values = args[:allowed_values] if args.key?(:allowed_values)
304
+ @category = args[:category] if args.key?(:category)
305
+ @consent_default_values = args[:consent_default_values] if args.key?(:consent_default_values)
306
+ @data_mapping_default_value = args[:data_mapping_default_value] if args.key?(:data_mapping_default_value)
307
+ @description = args[:description] if args.key?(:description)
308
+ @name = args[:name] if args.key?(:name)
309
+ end
310
+ end
311
+
312
+ # Specifies the audit configuration for a service. The configuration determines
313
+ # which permission types are logged, and what identities, if any, are exempted
314
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
315
+ # are AuditConfigs for both `allServices` and a specific service, the union of
316
+ # the two AuditConfigs is used for that service: the log_types specified in each
317
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
318
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
319
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
320
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
321
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
322
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
323
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
324
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
325
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
326
+ # DATA_WRITE logging.
217
327
  class AuditConfig
218
328
  include Google::Apis::Core::Hashable
219
329
 
@@ -222,9 +332,9 @@ module Google
222
332
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditLogConfig>]
223
333
  attr_accessor :audit_log_configs
224
334
 
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.
335
+ # Specifies a service that will be enabled for audit logging. For example, `
336
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
337
+ # value that covers all services.
228
338
  # Corresponds to the JSON property `service`
229
339
  # @return [String]
230
340
  attr_accessor :service
@@ -240,28 +350,15 @@ module Google
240
350
  end
241
351
  end
242
352
 
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.
353
+ # Provides the configuration for logging a type of permissions. Example: ` "
354
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
355
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
356
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
357
+ # DATA_READ logging.
260
358
  class AuditLogConfig
261
359
  include Google::Apis::Core::Hashable
262
360
 
263
- # Specifies the identities that do not cause logging for this type of
264
- # permission.
361
+ # Specifies the identities that do not cause logging for this type of permission.
265
362
  # Follows the same format of Binding.members.
266
363
  # Corresponds to the JSON property `exemptedMembers`
267
364
  # @return [Array<String>]
@@ -287,69 +384,57 @@ module Google
287
384
  class Binding
288
385
  include Google::Apis::Core::Hashable
289
386
 
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.
387
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
388
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
389
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
390
+ # "Summary size limit" description: "Determines if a summary is less than 100
391
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
392
+ # Requestor is owner" description: "Determines if requestor is the document
393
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
394
+ # Logic): title: "Public documents" description: "Determine whether the document
395
+ # should be publicly visible" expression: "document.type != 'private' &&
396
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
397
+ # string" description: "Create a notification string with a timestamp."
398
+ # expression: "'New message received at ' + string(document.create_time)" The
399
+ # exact variables and functions that may be referenced within an expression are
400
+ # determined by the service that evaluates it. See the service documentation for
401
+ # additional information.
312
402
  # Corresponds to the JSON property `condition`
313
403
  # @return [Google::Apis::HealthcareV1beta1::Expr]
314
404
  attr_accessor :condition
315
405
 
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`.
406
+ # Specifies the identities requesting access for a Cloud Platform resource. `
407
+ # members` can have the following values: * `allUsers`: A special identifier
408
+ # that represents anyone who is on the internet; with or without a Google
409
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
410
+ # anyone who is authenticated with a Google account or a service account. * `
411
+ # user:`emailid``: An email address that represents a specific Google account.
412
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
413
+ # address that represents a service account. For example, `my-other-app@appspot.
414
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
415
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
416
+ # `uniqueid``: An email address (plus unique identifier) representing a user
417
+ # that has been recently deleted. For example, `alice@example.com?uid=
418
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
419
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
420
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
421
+ # identifier) representing a service account that has been recently deleted. For
422
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
423
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
424
+ # emailid`` and the undeleted service account retains the role in the binding. *
425
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
426
+ # identifier) representing a Google group that has been recently deleted. For
427
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
428
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
429
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
430
+ # primary) that represents all the users of that domain. For example, `google.
431
+ # com` or `example.com`.
347
432
  # Corresponds to the JSON property `members`
348
433
  # @return [Array<String>]
349
434
  attr_accessor :members
350
435
 
351
- # Role that is assigned to `members`.
352
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
436
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
437
+ # , or `roles/owner`.
353
438
  # Corresponds to the JSON property `role`
354
439
  # @return [String]
355
440
  attr_accessor :role
@@ -423,6 +508,72 @@ module Google
423
508
  end
424
509
  end
425
510
 
511
+ # Checks if a particular data_id of a User data mapping in the given Consent
512
+ # store is consented for a given use.
513
+ class CheckDataAccessRequest
514
+ include Google::Apis::Core::Hashable
515
+
516
+ # List of resource names of Consent resources.
517
+ # Corresponds to the JSON property `consentList`
518
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
519
+ attr_accessor :consent_list
520
+
521
+ # The unique identifier of the data to check access for. It must exist in the
522
+ # given `consent_store`.
523
+ # Corresponds to the JSON property `dataId`
524
+ # @return [String]
525
+ attr_accessor :data_id
526
+
527
+ # The values of request attributes associated with this access request.
528
+ # Corresponds to the JSON property `requestAttributes`
529
+ # @return [Hash<String,String>]
530
+ attr_accessor :request_attributes
531
+
532
+ # The view for CheckDataAccessResponse.
533
+ # Corresponds to the JSON property `responseView`
534
+ # @return [String]
535
+ attr_accessor :response_view
536
+
537
+ def initialize(**args)
538
+ update!(**args)
539
+ end
540
+
541
+ # Update properties of this object
542
+ def update!(**args)
543
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
544
+ @data_id = args[:data_id] if args.key?(:data_id)
545
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
546
+ @response_view = args[:response_view] if args.key?(:response_view)
547
+ end
548
+ end
549
+
550
+ # Checks if a particular data_id of a User data mapping in the given Consent
551
+ # store is consented for a given use.
552
+ class CheckDataAccessResponse
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # The resource names of all evaluated Consents mapped to their evaluation.
556
+ # Corresponds to the JSON property `consentDetails`
557
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
558
+ attr_accessor :consent_details
559
+
560
+ # Whether the requested data is consented for the given use.
561
+ # Corresponds to the JSON property `consented`
562
+ # @return [Boolean]
563
+ attr_accessor :consented
564
+ alias_method :consented?, :consented
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
573
+ @consented = args[:consented] if args.key?(:consented)
574
+ end
575
+ end
576
+
426
577
  # Cloud Healthcare API resource.
427
578
  class CloudHealthcareSource
428
579
  include Google::Apis::Core::Hashable
@@ -442,14 +593,238 @@ module Google
442
593
  end
443
594
  end
444
595
 
596
+ # Represents an end user's consent.
597
+ class Consent
598
+ include Google::Apis::Core::Hashable
599
+
600
+ # Required. The resource name of the consent artifact that contains proof of the
601
+ # end user's consent, of the form `projects/`project_id`/locations/`location_id`/
602
+ # datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
603
+ # consent_artifact_id``.
604
+ # Corresponds to the JSON property `consentArtifact`
605
+ # @return [String]
606
+ attr_accessor :consent_artifact
607
+
608
+ # Timestamp in UTC of when this consent is considered expired.
609
+ # Corresponds to the JSON property `expireTime`
610
+ # @return [String]
611
+ attr_accessor :expire_time
612
+
613
+ # Resource name of the Consent, of the form `projects/`project_id`/locations/`
614
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
615
+ # consent_id``.
616
+ # Corresponds to the JSON property `name`
617
+ # @return [String]
618
+ attr_accessor :name
619
+
620
+ # Represents an end user's consent in terms of the resources that can be
621
+ # accessed and under what conditions.
622
+ # Corresponds to the JSON property `policies`
623
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy>]
624
+ attr_accessor :policies
625
+
626
+ # Output only. The timestamp that the revision was created.
627
+ # Corresponds to the JSON property `revisionCreateTime`
628
+ # @return [String]
629
+ attr_accessor :revision_create_time
630
+
631
+ # Output only. The revision ID of the consent. The format is an 8-character
632
+ # hexadecimal string. Refer to a specific revision of a Consent by appending `@`
633
+ # revision_id`` to the Consent's resource name.
634
+ # Corresponds to the JSON property `revisionId`
635
+ # @return [String]
636
+ attr_accessor :revision_id
637
+
638
+ # Indicates the current state of this consent.
639
+ # Corresponds to the JSON property `state`
640
+ # @return [String]
641
+ attr_accessor :state
642
+
643
+ # Input only. The time to live for this consent from when it is created.
644
+ # Corresponds to the JSON property `ttl`
645
+ # @return [String]
646
+ attr_accessor :ttl
647
+
648
+ # Required. User's UUID provided by the client.
649
+ # Corresponds to the JSON property `userId`
650
+ # @return [String]
651
+ attr_accessor :user_id
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
660
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
661
+ @name = args[:name] if args.key?(:name)
662
+ @policies = args[:policies] if args.key?(:policies)
663
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
664
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
665
+ @state = args[:state] if args.key?(:state)
666
+ @ttl = args[:ttl] if args.key?(:ttl)
667
+ @user_id = args[:user_id] if args.key?(:user_id)
668
+ end
669
+ end
670
+
671
+ # Proof of an end user's consent.
672
+ class ConsentArtifact
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # Screenshots of the consent content.
676
+ # Corresponds to the JSON property `consentContentScreenshots`
677
+ # @return [Array<Google::Apis::HealthcareV1beta1::Image>]
678
+ attr_accessor :consent_content_screenshots
679
+
680
+ # An string indicating the version of the consent content.
681
+ # Corresponds to the JSON property `consentContentVersion`
682
+ # @return [String]
683
+ attr_accessor :consent_content_version
684
+
685
+ # User signature.
686
+ # Corresponds to the JSON property `guardianSignature`
687
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
688
+ attr_accessor :guardian_signature
689
+
690
+ # Metadata associated with the consent artifact. For example, the consent locale
691
+ # or user agent version.
692
+ # Corresponds to the JSON property `metadata`
693
+ # @return [Hash<String,String>]
694
+ attr_accessor :metadata
695
+
696
+ # Resource name of the Consent artifact, of the form `projects/`project_id`/
697
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
698
+ # consentArtifacts/`consent_artifact_id``.
699
+ # Corresponds to the JSON property `name`
700
+ # @return [String]
701
+ attr_accessor :name
702
+
703
+ # Required. User's UUID provided by the client.
704
+ # Corresponds to the JSON property `userId`
705
+ # @return [String]
706
+ attr_accessor :user_id
707
+
708
+ # User signature.
709
+ # Corresponds to the JSON property `userSignature`
710
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
711
+ attr_accessor :user_signature
712
+
713
+ # User signature.
714
+ # Corresponds to the JSON property `witnessSignature`
715
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
716
+ attr_accessor :witness_signature
717
+
718
+ def initialize(**args)
719
+ update!(**args)
720
+ end
721
+
722
+ # Update properties of this object
723
+ def update!(**args)
724
+ @consent_content_screenshots = args[:consent_content_screenshots] if args.key?(:consent_content_screenshots)
725
+ @consent_content_version = args[:consent_content_version] if args.key?(:consent_content_version)
726
+ @guardian_signature = args[:guardian_signature] if args.key?(:guardian_signature)
727
+ @metadata = args[:metadata] if args.key?(:metadata)
728
+ @name = args[:name] if args.key?(:name)
729
+ @user_id = args[:user_id] if args.key?(:user_id)
730
+ @user_signature = args[:user_signature] if args.key?(:user_signature)
731
+ @witness_signature = args[:witness_signature] if args.key?(:witness_signature)
732
+ end
733
+ end
734
+
735
+ # The detailed evaluation of a particular Consent.
736
+ class ConsentEvaluation
737
+ include Google::Apis::Core::Hashable
738
+
739
+ # The evaluation result.
740
+ # Corresponds to the JSON property `evaluationResult`
741
+ # @return [String]
742
+ attr_accessor :evaluation_result
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @evaluation_result = args[:evaluation_result] if args.key?(:evaluation_result)
751
+ end
752
+ end
753
+
754
+ # List of resource names of Consent resources.
755
+ class ConsentList
756
+ include Google::Apis::Core::Hashable
757
+
758
+ # The resource names of the Consents to evaluate against, of the form `projects/`
759
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
760
+ # consent_store_id`/consents/`consent_id``.
761
+ # Corresponds to the JSON property `consents`
762
+ # @return [Array<String>]
763
+ attr_accessor :consents
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @consents = args[:consents] if args.key?(:consents)
772
+ end
773
+ end
774
+
775
+ # Represents a Consent store.
776
+ class ConsentStore
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # Default time to live for consents in this store. Must be at least 24 hours.
780
+ # Updating this field will not affect the expiration time of existing consents.
781
+ # Corresponds to the JSON property `defaultConsentTtl`
782
+ # @return [String]
783
+ attr_accessor :default_consent_ttl
784
+
785
+ # If true, UpdateConsent creates the consent if it does not already exist.
786
+ # Corresponds to the JSON property `enableConsentCreateOnUpdate`
787
+ # @return [Boolean]
788
+ attr_accessor :enable_consent_create_on_update
789
+ alias_method :enable_consent_create_on_update?, :enable_consent_create_on_update
790
+
791
+ # User-supplied key-value pairs used to organize Consent stores. Label keys must
792
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
793
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
794
+ # 0,62` Label values must be between 1 and 63 characters long, have a UTF-8
795
+ # encoding of maximum 128 bytes, and must conform to the following PCRE regular
796
+ # expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
797
+ # associated with a given store.
798
+ # Corresponds to the JSON property `labels`
799
+ # @return [Hash<String,String>]
800
+ attr_accessor :labels
801
+
802
+ # Resource name of the Consent store, of the form `projects/`project_id`/
803
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
804
+ # .
805
+ # Corresponds to the JSON property `name`
806
+ # @return [String]
807
+ attr_accessor :name
808
+
809
+ def initialize(**args)
810
+ update!(**args)
811
+ end
812
+
813
+ # Update properties of this object
814
+ def update!(**args)
815
+ @default_consent_ttl = args[:default_consent_ttl] if args.key?(:default_consent_ttl)
816
+ @enable_consent_create_on_update = args[:enable_consent_create_on_update] if args.key?(:enable_consent_create_on_update)
817
+ @labels = args[:labels] if args.key?(:labels)
818
+ @name = args[:name] if args.key?(:name)
819
+ end
820
+ end
821
+
445
822
  # Creates a new message.
446
823
  class CreateMessageRequest
447
824
  include Google::Apis::Core::Hashable
448
825
 
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.
826
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
827
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
453
828
  # Corresponds to the JSON property `message`
454
829
  # @return [Google::Apis::HealthcareV1beta1::Message]
455
830
  attr_accessor :message
@@ -465,15 +840,14 @@ module Google
465
840
  end
466
841
 
467
842
  # Pseudonymization method that generates surrogates via cryptographic hashing.
468
- # Uses SHA-256.
469
- # Outputs a base64-encoded representation of the hashed output.
843
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
470
844
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
471
845
  class CryptoHashConfig
472
846
  include Google::Apis::Core::Hashable
473
847
 
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.
848
+ # An AES 128/192/256 bit key. Causes the hash to be computed based on this key.
849
+ # A default key is generated for each Deidentify operation and is used wherever
850
+ # crypto_key is not specified.
477
851
  # Corresponds to the JSON property `cryptoKey`
478
852
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
479
853
  # @return [String]
@@ -489,23 +863,23 @@ module Google
489
863
  end
490
864
  end
491
865
 
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.
866
+ # A message representing a health dataset. A health dataset represents a
867
+ # collection of healthcare data pertaining to one or more patients. This may
868
+ # include multiple modalities of healthcare data, such as electronic medical
869
+ # records or medical imaging data.
496
870
  class Dataset
497
871
  include Google::Apis::Core::Hashable
498
872
 
499
- # Resource name of the dataset, of the form
500
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
873
+ # Resource name of the dataset, of the form `projects/`project_id`/locations/`
874
+ # location_id`/datasets/`dataset_id``.
501
875
  # Corresponds to the JSON property `name`
502
876
  # @return [String]
503
877
  attr_accessor :name
504
878
 
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.
879
+ # The default timezone used by this dataset. Must be a either a valid IANA time
880
+ # zone name such as "America/New_York" or empty, which defaults to UTC. This is
881
+ # used for parsing times in resources, such as HL7 messages, where no explicit
882
+ # timezone is specified.
509
883
  # Corresponds to the JSON property `timeZone`
510
884
  # @return [String]
511
885
  attr_accessor :time_zone
@@ -526,9 +900,9 @@ module Google
526
900
  class DateShiftConfig
527
901
  include Google::Apis::Core::Hashable
528
902
 
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.
903
+ # An AES 128/192/256 bit key. Causes the shift to be computed based on this key
904
+ # and the patient ID. A default key is generated for each Deidentify operation
905
+ # and is used wherever crypto_key is not specified.
532
906
  # Corresponds to the JSON property `cryptoKey`
533
907
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
534
908
  # @return [String]
@@ -544,10 +918,9 @@ module Google
544
918
  end
545
919
  end
546
920
 
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.
921
+ # Configures de-id options specific to different types of content. Each
922
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
923
+ # media type or subtype. Configs are applied in a nested manner at runtime.
551
924
  class DeidentifyConfig
552
925
  include Google::Apis::Core::Hashable
553
926
 
@@ -595,19 +968,17 @@ module Google
595
968
  class DeidentifyDatasetRequest
596
969
  include Google::Apis::Core::Hashable
597
970
 
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.
971
+ # Configures de-id options specific to different types of content. Each
972
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
973
+ # media type or subtype. Configs are applied in a nested manner at runtime.
602
974
  # Corresponds to the JSON property `config`
603
975
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
604
976
  attr_accessor :config
605
977
 
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.
978
+ # The name of the dataset resource to create and write the redacted data to. *
979
+ # The destination dataset must not exist. * The destination dataset must be in
980
+ # the same project and location as the source dataset. De-identifying data
981
+ # across multiple projects or locations is not supported.
611
982
  # Corresponds to the JSON property `destinationDataset`
612
983
  # @return [String]
613
984
  attr_accessor :destination_dataset
@@ -627,24 +998,20 @@ module Google
627
998
  class DeidentifyDicomStoreRequest
628
999
  include Google::Apis::Core::Hashable
629
1000
 
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.
1001
+ # Configures de-id options specific to different types of content. Each
1002
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
1003
+ # media type or subtype. Configs are applied in a nested manner at runtime.
634
1004
  # Corresponds to the JSON property `config`
635
1005
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
636
1006
  attr_accessor :config
637
1007
 
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.
1008
+ # The name of the DICOM store to create and write the redacted data to. For
1009
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1010
+ # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
1011
+ # source dataset and destination dataset must both reside in the same project.
1012
+ # De-identifying data across multiple projects is not supported. * The
1013
+ # destination DICOM store must not exist. * The caller must have the necessary
1014
+ # permissions to create the destination DICOM store.
648
1015
  # Corresponds to the JSON property `destinationStore`
649
1016
  # @return [String]
650
1017
  attr_accessor :destination_store
@@ -666,7 +1033,7 @@ module Google
666
1033
  end
667
1034
  end
668
1035
 
669
- # Contains the status of the Deidentify operation.
1036
+ # Deprecated. Contains the status of the Deidentify operation.
670
1037
  class DeidentifyErrorDetails
671
1038
  include Google::Apis::Core::Hashable
672
1039
 
@@ -707,24 +1074,20 @@ module Google
707
1074
  class DeidentifyFhirStoreRequest
708
1075
  include Google::Apis::Core::Hashable
709
1076
 
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.
1077
+ # Configures de-id options specific to different types of content. Each
1078
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
1079
+ # media type or subtype. Configs are applied in a nested manner at runtime.
714
1080
  # Corresponds to the JSON property `config`
715
1081
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
716
1082
  attr_accessor :config
717
1083
 
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.
1084
+ # The name of the FHIR store to create and write the redacted data to. For
1085
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1086
+ # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
1087
+ # source dataset and destination dataset must both reside in the same project.
1088
+ # De-identifying data across multiple projects is not supported. * The
1089
+ # destination FHIR store must exist. * The caller must have the healthcare.
1090
+ # fhirResources.update permission to write to the destination FHIR store.
728
1091
  # Corresponds to the JSON property `destinationStore`
729
1092
  # @return [String]
730
1093
  attr_accessor :destination_store
@@ -750,10 +1113,8 @@ module Google
750
1113
  class DeidentifySummary
751
1114
  include Google::Apis::Core::Hashable
752
1115
 
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
1116
+ # Number of resources that failed to process. The failures might be caused by: *
1117
+ # Invalid user input data * Transient errors that could be skipped
757
1118
  # Corresponds to the JSON property `failureResourceCount`
758
1119
  # @return [Fixnum]
759
1120
  attr_accessor :failure_resource_count
@@ -818,14 +1179,13 @@ module Google
818
1179
  # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
819
1180
  attr_accessor :remove_list
820
1181
 
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.
1182
+ # If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID,
1183
+ # and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare
1184
+ # API regenerates these UIDs by default based on the DICOM Standard's reasoning:
1185
+ # "Whilst these UIDs cannot be mapped directly to an individual out of context,
1186
+ # given access to the original images, or to a database of the original images
1187
+ # containing the UIDs, it would be possible to recover the individual's identity.
1188
+ # " http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.
829
1189
  # html
830
1190
  # Corresponds to the JSON property `skipIdRedaction`
831
1191
  # @return [Boolean]
@@ -849,15 +1209,13 @@ module Google
849
1209
  class DicomFilterConfig
850
1210
  include Google::Apis::Core::Hashable
851
1211
 
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.
1212
+ # The Cloud Storage location of the filter configuration file. The `gcs_uri`
1213
+ # must be in the format `gs://bucket/path/to/object`. The filter configuration
1214
+ # file must contain a list of resource paths separated by newline characters (\n
1215
+ # or \r\n). Each resource path must be in the format "/studies/`studyUID`[/
1216
+ # series/`seriesUID`[/instances/`instanceUID`]]" The Cloud Healthcare API
1217
+ # service account must have the `roles/storage.objectViewer` Cloud IAM role for
1218
+ # this Cloud Storage location.
861
1219
  # Corresponds to the JSON property `resourcePathsGcsUri`
862
1220
  # @return [String]
863
1221
  attr_accessor :resource_paths_gcs_uri
@@ -876,22 +1234,19 @@ module Google
876
1234
  class DicomStore
877
1235
  include Google::Apis::Core::Hashable
878
1236
 
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.
1237
+ # User-supplied key-value pairs used to organize DICOM stores. Label keys must
1238
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
1239
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
1240
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
1241
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
1242
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
1243
+ # can be associated with a given store.
888
1244
  # Corresponds to the JSON property `labels`
889
1245
  # @return [Hash<String,String>]
890
1246
  attr_accessor :labels
891
1247
 
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``.
1248
+ # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
1249
+ # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
895
1250
  # Corresponds to the JSON property `name`
896
1251
  # @return [String]
897
1252
  attr_accessor :name
@@ -901,6 +1256,16 @@ module Google
901
1256
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
902
1257
  attr_accessor :notification_config
903
1258
 
1259
+ # A list of streaming configs used to configure the destination of streaming
1260
+ # exports for every DICOM instance insertion in this DICOM store. After a new
1261
+ # config is added to `stream_configs`, DICOM instance insertions are streamed to
1262
+ # the new destination. When a config is removed from `stream_configs`, the
1263
+ # server stops streaming to that destination. Each config must contain a unique
1264
+ # destination.
1265
+ # Corresponds to the JSON property `streamConfigs`
1266
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig>]
1267
+ attr_accessor :stream_configs
1268
+
904
1269
  def initialize(**args)
905
1270
  update!(**args)
906
1271
  end
@@ -910,16 +1275,15 @@ module Google
910
1275
  @labels = args[:labels] if args.key?(:labels)
911
1276
  @name = args[:name] if args.key?(:name)
912
1277
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1278
+ @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
913
1279
  end
914
1280
  end
915
1281
 
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 ````.
1282
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1283
+ # messages in your APIs. A typical example is to use it as the request or the
1284
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1285
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1286
+ # `Empty` is empty JSON object ````.
923
1287
  class Empty
924
1288
  include Google::Apis::Core::Hashable
925
1289
 
@@ -933,17 +1297,17 @@ module Google
933
1297
  end
934
1298
 
935
1299
  # 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.
1300
+ # resource. This is used both for sample errors in operation response, and for
1301
+ # format of errors in error reports.
938
1302
  class ErrorDetail
939
1303
  include Google::Apis::Core::Hashable
940
1304
 
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).
1305
+ # The `Status` type defines a logical error model that is suitable for different
1306
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1307
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1308
+ # data: error code, error message, and error details. You can find out more
1309
+ # about this error model and how to work with it in the [API Design Guide](https:
1310
+ # //cloud.google.com/apis/design/errors).
947
1311
  # Corresponds to the JSON property `error`
948
1312
  # @return [Google::Apis::HealthcareV1beta1::Status]
949
1313
  attr_accessor :error
@@ -964,8 +1328,8 @@ module Google
964
1328
  end
965
1329
  end
966
1330
 
967
- # Request to evaluate an Annotation store against a
968
- # ground truth [Annotation store].
1331
+ # Request to evaluate an Annotation store against a ground truth [Annotation
1332
+ # store].
969
1333
  class EvaluateAnnotationStoreRequest
970
1334
  include Google::Apis::Core::Hashable
971
1335
 
@@ -975,43 +1339,43 @@ module Google
975
1339
  attr_accessor :bigquery_destination
976
1340
 
977
1341
  # 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
- # ```
1342
+ # the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and `HUMAN`
1343
+ # are different. To map all of these into a single infoType (such as `
1344
+ # PERSON_NAME`), specify the following mapping: ``` info_type_mapping["PERSON"] =
1345
+ # "PERSON_NAME" info_type_mapping["NAME"] = "PERSON_NAME" info_type_mapping["
1346
+ # HUMAN"] = "PERSON_NAME" ``` Unmentioned infoTypes, such as `DATE`, are treated
1347
+ # as identity mapping. For example: ``` info_type_mapping["DATE"] = "DATE" ```
991
1348
  # InfoTypes are case-insensitive.
992
1349
  # Corresponds to the JSON property `evalInfoTypeMapping`
993
1350
  # @return [Hash<String,String>]
994
1351
  attr_accessor :eval_info_type_mapping
995
1352
 
996
- # Optional. Similar to `eval_info_type_mapping`, infoType mapping for
997
- # `golden_store`.
1353
+ # Optional. Similar to `eval_info_type_mapping`, infoType mapping for `
1354
+ # golden_store`.
998
1355
  # Corresponds to the JSON property `goldenInfoTypeMapping`
999
1356
  # @return [Hash<String,String>]
1000
1357
  attr_accessor :golden_info_type_mapping
1001
1358
 
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``.
1359
+ # The Annotation store to use as ground truth, in the format of `projects/`
1360
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1361
+ # annotation_store_id``.
1005
1362
  # Corresponds to the JSON property `goldenStore`
1006
1363
  # @return [String]
1007
1364
  attr_accessor :golden_store
1008
1365
 
1009
- # Specifies how to use infoTypes for evaluation. For example, a user might
1010
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
1366
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
1367
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
1011
1368
  # Corresponds to the JSON property `infoTypeConfig`
1012
1369
  # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
1013
1370
  attr_accessor :info_type_config
1014
1371
 
1372
+ # The Annotation store to compare against `golden_store`, in the format of `
1373
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1374
+ # annotationStores/`annotation_store_id``.
1375
+ # Corresponds to the JSON property `name`
1376
+ # @return [String]
1377
+ attr_accessor :name
1378
+
1015
1379
  def initialize(**args)
1016
1380
  update!(**args)
1017
1381
  end
@@ -1023,41 +1387,38 @@ module Google
1023
1387
  @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
1024
1388
  @golden_store = args[:golden_store] if args.key?(:golden_store)
1025
1389
  @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
1390
+ @name = args[:name] if args.key?(:name)
1026
1391
  end
1027
1392
  end
1028
1393
 
1029
- # Response for successful Annotation store evaluation operations. This
1030
- # structure is included in the
1031
- # response upon operation completion.
1394
+ # Response for successful Annotation store evaluation operations. This structure
1395
+ # is included in the response upon operation completion.
1032
1396
  class EvaluateAnnotationStoreResponse
1033
1397
  include Google::Apis::Core::Hashable
1034
1398
 
1035
- # The evaluated Annotation store, in the format of
1036
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1037
- # annotationStores/`annotation_store_id``.
1399
+ # The evaluated Annotation store, in the format of `projects/`project_id`/
1400
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1401
+ # annotation_store_id``.
1038
1402
  # Corresponds to the JSON property `evalStore`
1039
1403
  # @return [String]
1040
1404
  attr_accessor :eval_store
1041
1405
 
1042
- # The number of Annotations in the ground
1043
- # truth Annotation store successfully
1406
+ # The number of Annotations in the ground truth Annotation store successfully
1044
1407
  # processed.
1045
1408
  # Corresponds to the JSON property `goldenCount`
1046
1409
  # @return [Fixnum]
1047
1410
  attr_accessor :golden_count
1048
1411
 
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``.
1412
+ # The ground truth Annotation store, in the format of `projects/`project_id`/
1413
+ # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1414
+ # annotation_store_id``.
1052
1415
  # Corresponds to the JSON property `goldenStore`
1053
1416
  # @return [String]
1054
1417
  attr_accessor :golden_store
1055
1418
 
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.
1419
+ # The number of Annotations in the eval store that match with corresponding
1420
+ # annotations in the ground truth Annotation store. Two matched annotations both
1421
+ # annotate the same resource defined in AnnotationSource.
1061
1422
  # Corresponds to the JSON property `matchedCount`
1062
1423
  # @return [Fixnum]
1063
1424
  attr_accessor :matched_count
@@ -1075,15 +1436,97 @@ module Google
1075
1436
  end
1076
1437
  end
1077
1438
 
1078
- # Response for failed annotation export operations. This structure
1079
- # is included in error
1080
- # details upon operation completion.
1439
+ # Evaluate an end user's Consents for all matching User data mappings.
1440
+ class EvaluateUserConsentsRequest
1441
+ include Google::Apis::Core::Hashable
1442
+
1443
+ # List of resource names of Consent resources.
1444
+ # Corresponds to the JSON property `consentList`
1445
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
1446
+ attr_accessor :consent_list
1447
+
1448
+ # Limit on the number of user data mappings to return in a single response. If
1449
+ # zero the default page size of 100 is used.
1450
+ # Corresponds to the JSON property `pageSize`
1451
+ # @return [Fixnum]
1452
+ attr_accessor :page_size
1453
+
1454
+ # Token to retrieve the next page of results to get the first page.
1455
+ # Corresponds to the JSON property `pageToken`
1456
+ # @return [String]
1457
+ attr_accessor :page_token
1458
+
1459
+ # The values of request attributes associated with this access request.
1460
+ # Corresponds to the JSON property `requestAttributes`
1461
+ # @return [Hash<String,String>]
1462
+ attr_accessor :request_attributes
1463
+
1464
+ # The values of resources attributes associated with the type of data being
1465
+ # requested. If no values are specified, then all data types are queried.
1466
+ # Corresponds to the JSON property `resourceAttributes`
1467
+ # @return [Hash<String,String>]
1468
+ attr_accessor :resource_attributes
1469
+
1470
+ # The view for EvaluateUserConsentsResponse.
1471
+ # Corresponds to the JSON property `responseView`
1472
+ # @return [String]
1473
+ attr_accessor :response_view
1474
+
1475
+ # Required. User ID to evaluate consents for.
1476
+ # Corresponds to the JSON property `userId`
1477
+ # @return [String]
1478
+ attr_accessor :user_id
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
1487
+ @page_size = args[:page_size] if args.key?(:page_size)
1488
+ @page_token = args[:page_token] if args.key?(:page_token)
1489
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
1490
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
1491
+ @response_view = args[:response_view] if args.key?(:response_view)
1492
+ @user_id = args[:user_id] if args.key?(:user_id)
1493
+ end
1494
+ end
1495
+
1496
+ # Evaluate an end user's Consents for all matching User data mappings.
1497
+ class EvaluateUserConsentsResponse
1498
+ include Google::Apis::Core::Hashable
1499
+
1500
+ # Token to retrieve the next page of results or empty if there are no more
1501
+ # results in the list. This token is valid for 72 hours after it is created.
1502
+ # Corresponds to the JSON property `nextPageToken`
1503
+ # @return [String]
1504
+ attr_accessor :next_page_token
1505
+
1506
+ # The consent evaluation result for each `data_id`.
1507
+ # Corresponds to the JSON property `results`
1508
+ # @return [Array<Google::Apis::HealthcareV1beta1::Result>]
1509
+ attr_accessor :results
1510
+
1511
+ def initialize(**args)
1512
+ update!(**args)
1513
+ end
1514
+
1515
+ # Update properties of this object
1516
+ def update!(**args)
1517
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1518
+ @results = args[:results] if args.key?(:results)
1519
+ end
1520
+ end
1521
+
1522
+ # Deprecated. Response for failed annotation export operations. This structure
1523
+ # is included in error details upon operation completion.
1081
1524
  class ExportAnnotationsErrorDetails
1082
1525
  include Google::Apis::Core::Hashable
1083
1526
 
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``.
1527
+ # The annotation_store used for the export operation, in the format of `projects/
1528
+ # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1529
+ # annotation_store_id``.
1087
1530
  # Corresponds to the JSON property `annotationStore`
1088
1531
  # @return [String]
1089
1532
  attr_accessor :annotation_store
@@ -1110,9 +1553,7 @@ module Google
1110
1553
  end
1111
1554
  end
1112
1555
 
1113
- # Request to export
1114
- # Annotations. The
1115
- # export operation is not atomic. If a
1556
+ # Request to export Annotations. The export operation is not atomic. If a
1116
1557
  # failure occurs, any annotations already exported are not removed.
1117
1558
  class ExportAnnotationsRequest
1118
1559
  include Google::Apis::Core::Hashable
@@ -1127,6 +1568,13 @@ module Google
1127
1568
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
1128
1569
  attr_accessor :gcs_destination
1129
1570
 
1571
+ # The name of the Annotation store to export annotations to, in the format of `
1572
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1573
+ # annotationStores/`annotation_store_id``.
1574
+ # Corresponds to the JSON property `name`
1575
+ # @return [String]
1576
+ attr_accessor :name
1577
+
1130
1578
  def initialize(**args)
1131
1579
  update!(**args)
1132
1580
  end
@@ -1135,19 +1583,18 @@ module Google
1135
1583
  def update!(**args)
1136
1584
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1137
1585
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1586
+ @name = args[:name] if args.key?(:name)
1138
1587
  end
1139
1588
  end
1140
1589
 
1141
1590
  # Response for successful annotation export operations. This structure is
1142
- # included in response upon operation
1143
- # completion.
1591
+ # included in response upon operation completion.
1144
1592
  class ExportAnnotationsResponse
1145
1593
  include Google::Apis::Core::Hashable
1146
1594
 
1147
- # The annotation_store used for the export operation,
1148
- # in the format of
1149
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1150
- # annotationStores/`annotation_store_id``.
1595
+ # The annotation_store used for the export operation, in the format of `projects/
1596
+ # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1597
+ # annotation_store_id``.
1151
1598
  # Corresponds to the JSON property `annotationStore`
1152
1599
  # @return [String]
1153
1600
  attr_accessor :annotation_store
@@ -1168,12 +1615,10 @@ module Google
1168
1615
  end
1169
1616
  end
1170
1617
 
1171
- # Exports data from the specified DICOM store.
1172
- # If a given resource, such as a DICOM object with the same SOPInstance UID,
1173
- # already exists in the output, it is overwritten with the version
1174
- # in the source dataset.
1175
- # Exported DICOM data persists when the DICOM store from which it was
1176
- # exported is deleted.
1618
+ # Exports data from the specified DICOM store. If a given resource, such as a
1619
+ # DICOM object with the same SOPInstance UID, already exists in the output, it
1620
+ # is overwritten with the version in the source dataset. Exported DICOM data
1621
+ # persists when the DICOM store from which it was exported is deleted.
1177
1622
  class ExportDicomDataRequest
1178
1623
  include Google::Apis::Core::Hashable
1179
1624
 
@@ -1237,52 +1682,43 @@ module Google
1237
1682
  end
1238
1683
  end
1239
1684
 
1240
- # Represents a textual expression in the Common Expression Language (CEL)
1241
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1242
- # are documented at https://github.com/google/cel-spec.
1243
- # Example (Comparison):
1244
- # title: "Summary size limit"
1245
- # description: "Determines if a summary is less than 100 chars"
1246
- # expression: "document.summary.size() < 100"
1247
- # Example (Equality):
1248
- # title: "Requestor is owner"
1249
- # description: "Determines if requestor is the document owner"
1250
- # expression: "document.owner == request.auth.claims.email"
1251
- # Example (Logic):
1252
- # title: "Public documents"
1253
- # description: "Determine whether the document should be publicly visible"
1254
- # expression: "document.type != 'private' && document.type != 'internal'"
1255
- # Example (Data Manipulation):
1256
- # title: "Notification string"
1257
- # description: "Create a notification string with a timestamp."
1258
- # expression: "'New message received at ' + string(document.create_time)"
1259
- # The exact variables and functions that may be referenced within an expression
1260
- # are determined by the service that evaluates it. See the service
1261
- # documentation for additional information.
1685
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1686
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1687
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1688
+ # "Summary size limit" description: "Determines if a summary is less than 100
1689
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1690
+ # Requestor is owner" description: "Determines if requestor is the document
1691
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1692
+ # Logic): title: "Public documents" description: "Determine whether the document
1693
+ # should be publicly visible" expression: "document.type != 'private' &&
1694
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1695
+ # string" description: "Create a notification string with a timestamp."
1696
+ # expression: "'New message received at ' + string(document.create_time)" The
1697
+ # exact variables and functions that may be referenced within an expression are
1698
+ # determined by the service that evaluates it. See the service documentation for
1699
+ # additional information.
1262
1700
  class Expr
1263
1701
  include Google::Apis::Core::Hashable
1264
1702
 
1265
- # Optional. Description of the expression. This is a longer text which
1266
- # describes the expression, e.g. when hovered over it in a UI.
1703
+ # Optional. Description of the expression. This is a longer text which describes
1704
+ # the expression, e.g. when hovered over it in a UI.
1267
1705
  # Corresponds to the JSON property `description`
1268
1706
  # @return [String]
1269
1707
  attr_accessor :description
1270
1708
 
1271
- # Textual representation of an expression in Common Expression Language
1272
- # syntax.
1709
+ # Textual representation of an expression in Common Expression Language syntax.
1273
1710
  # Corresponds to the JSON property `expression`
1274
1711
  # @return [String]
1275
1712
  attr_accessor :expression
1276
1713
 
1277
- # Optional. String indicating the location of the expression for error
1278
- # reporting, e.g. a file name and a position in the file.
1714
+ # Optional. String indicating the location of the expression for error reporting,
1715
+ # e.g. a file name and a position in the file.
1279
1716
  # Corresponds to the JSON property `location`
1280
1717
  # @return [String]
1281
1718
  attr_accessor :location
1282
1719
 
1283
- # Optional. Title for the expression, i.e. a short string describing
1284
- # its purpose. This can be used e.g. in UIs which allow to enter the
1285
- # expression.
1720
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
1721
+ # This can be used e.g. in UIs which allow to enter the expression.
1286
1722
  # Corresponds to the JSON property `title`
1287
1723
  # @return [String]
1288
1724
  attr_accessor :title
@@ -1304,11 +1740,10 @@ module Google
1304
1740
  class FhirConfig
1305
1741
  include Google::Apis::Core::Hashable
1306
1742
 
1307
- # Specifies FHIR paths to match and how to transform them. Any field that
1308
- # is not matched by a FieldMetadata is passed through to the output
1309
- # dataset unmodified. All extensions are removed in the output.
1310
- # If a field can be matched by more than one FieldMetadata, the first
1311
- # FieldMetadata.Action is applied.
1743
+ # Specifies FHIR paths to match and how to transform them. Any field that is not
1744
+ # matched by a FieldMetadata is passed through to the output dataset unmodified.
1745
+ # All extensions are removed in the output. If a field can be matched by more
1746
+ # than one FieldMetadata, the first FieldMetadata.Action is applied.
1312
1747
  # Corresponds to the JSON property `fieldMetadataList`
1313
1748
  # @return [Array<Google::Apis::HealthcareV1beta1::FieldMetadata>]
1314
1749
  attr_accessor :field_metadata_list
@@ -1346,74 +1781,67 @@ module Google
1346
1781
  class FhirStore
1347
1782
  include Google::Apis::Core::Hashable
1348
1783
 
1349
- # If true, overrides the default search behavior for this FHIR store to
1350
- # `handling=strict` which returns an error for unrecognized search
1351
- # parameters. If false, uses the FHIR specification default
1352
- # `handling=lenient` which ignores unrecognized search parameters.
1353
- # The handling can always be changed from the default on an individual API
1354
- # call by setting the HTTP header `Prefer: handling=strict` or
1355
- # `Prefer: handling=lenient`.
1784
+ # If true, overrides the default search behavior for this FHIR store to `
1785
+ # handling=strict` which returns an error for unrecognized search parameters. If
1786
+ # false, uses the FHIR specification default `handling=lenient` which ignores
1787
+ # unrecognized search parameters. The handling can always be changed from the
1788
+ # default on an individual API call by setting the HTTP header `Prefer: handling=
1789
+ # strict` or `Prefer: handling=lenient`.
1356
1790
  # Corresponds to the JSON property `defaultSearchHandlingStrict`
1357
1791
  # @return [Boolean]
1358
1792
  attr_accessor :default_search_handling_strict
1359
1793
  alias_method :default_search_handling_strict?, :default_search_handling_strict
1360
1794
 
1361
1795
  # Whether to disable referential integrity in this FHIR store. This field is
1362
- # immutable after FHIR store creation.
1363
- # The default value is false, meaning that the API enforces referential
1364
- # integrity and fails the requests that result in inconsistent state in
1365
- # the FHIR store.
1366
- # When this field is set to true, the API skips referential integrity
1367
- # checks. Consequently, operations that rely on references, such as
1368
- # GetPatientEverything, do not return all the results if broken references
1369
- # exist.
1796
+ # immutable after FHIR store creation. The default value is false, meaning that
1797
+ # the API enforces referential integrity and fails the requests that result in
1798
+ # inconsistent state in the FHIR store. When this field is set to true, the API
1799
+ # skips referential integrity checks. Consequently, operations that rely on
1800
+ # references, such as GetPatientEverything, do not return all the results if
1801
+ # broken references exist.
1370
1802
  # Corresponds to the JSON property `disableReferentialIntegrity`
1371
1803
  # @return [Boolean]
1372
1804
  attr_accessor :disable_referential_integrity
1373
1805
  alias_method :disable_referential_integrity?, :disable_referential_integrity
1374
1806
 
1375
- # Whether to disable resource versioning for this FHIR store. This field can
1376
- # not be changed after the creation of FHIR store.
1377
- # If set to false, which is the default behavior, all write operations
1378
- # cause historical versions to be recorded automatically. The historical
1379
- # versions can be fetched through the history APIs, but cannot be updated.
1380
- # If set to true, no historical versions are kept. The server sends
1381
- # errors for attempts to read the historical versions.
1807
+ # Whether to disable resource versioning for this FHIR store. This field can not
1808
+ # be changed after the creation of FHIR store. If set to false, which is the
1809
+ # default behavior, all write operations cause historical versions to be
1810
+ # recorded automatically. The historical versions can be fetched through the
1811
+ # history APIs, but cannot be updated. If set to true, no historical versions
1812
+ # are kept. The server sends errors for attempts to read the historical versions.
1382
1813
  # Corresponds to the JSON property `disableResourceVersioning`
1383
1814
  # @return [Boolean]
1384
1815
  attr_accessor :disable_resource_versioning
1385
1816
  alias_method :disable_resource_versioning?, :disable_resource_versioning
1386
1817
 
1387
- # Whether this FHIR store has the [updateCreate
1388
- # capability](https://www.hl7.org/fhir/capabilitystatement-definitions.html#
1389
- # CapabilityStatement.rest.resource.updateCreate).
1390
- # This determines if the client can use an Update operation to create a new
1391
- # resource with a client-specified ID. If false, all IDs are server-assigned
1392
- # through the Create operation and attempts to update a non-existent resource
1393
- # return errors. Please treat the audit logs with appropriate levels of
1394
- # care if client-specified resource IDs contain sensitive data such as
1395
- # patient identifiers, those IDs are part of the FHIR resource path
1396
- # recorded in Cloud audit logs and Cloud Pub/Sub notifications.
1818
+ # Whether this FHIR store has the [updateCreate capability](https://www.hl7.org/
1819
+ # fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.
1820
+ # updateCreate). This determines if the client can use an Update operation to
1821
+ # create a new resource with a client-specified ID. If false, all IDs are server-
1822
+ # assigned through the Create operation and attempts to update a non-existent
1823
+ # resource return errors. Please treat the audit logs with appropriate levels of
1824
+ # care if client-specified resource IDs contain sensitive data such as patient
1825
+ # identifiers, those IDs are part of the FHIR resource path recorded in Cloud
1826
+ # audit logs and Cloud Pub/Sub notifications.
1397
1827
  # Corresponds to the JSON property `enableUpdateCreate`
1398
1828
  # @return [Boolean]
1399
1829
  attr_accessor :enable_update_create
1400
1830
  alias_method :enable_update_create?, :enable_update_create
1401
1831
 
1402
- # User-supplied key-value pairs used to organize FHIR stores.
1403
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
1404
- # of maximum 128 bytes, and must conform to the
1405
- # following PCRE regular expression:
1406
- # \p`Ll`\p`Lo``0,62`
1407
- # Label values are optional, must be between 1 and 63 characters long, have
1408
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
1409
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
1410
- # No more than 64 labels can be associated with a given store.
1832
+ # User-supplied key-value pairs used to organize FHIR stores. Label keys must be
1833
+ # between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
1834
+ # and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``0,62`
1835
+ # Label values are optional, must be between 1 and 63 characters long, have a
1836
+ # UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
1837
+ # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
1838
+ # associated with a given store.
1411
1839
  # Corresponds to the JSON property `labels`
1412
1840
  # @return [Hash<String,String>]
1413
1841
  attr_accessor :labels
1414
1842
 
1415
- # Output only. Resource name of the FHIR store, of the form
1416
- # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1843
+ # Output only. Resource name of the FHIR store, of the form `projects/`
1844
+ # project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1417
1845
  # Corresponds to the JSON property `name`
1418
1846
  # @return [String]
1419
1847
  attr_accessor :name
@@ -1424,27 +1852,24 @@ module Google
1424
1852
  attr_accessor :notification_config
1425
1853
 
1426
1854
  # A list of streaming configs that configure the destinations of streaming
1427
- # export for every resource mutation in this FHIR store. Each store is
1428
- # allowed to have up to 10 streaming configs.
1429
- # After a new config is added, the next resource mutation is streamed to
1430
- # the new location in addition to the existing ones.
1431
- # When a location is removed from the list, the server stops
1432
- # streaming to that location. Before adding a new config, you must add the
1433
- # required
1434
- # [`bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
1435
- # bigquery.dataEditor)
1436
- # role to your project's **Cloud Healthcare Service Agent**
1437
- # [service account](https://cloud.google.com/iam/docs/service-accounts).
1438
- # Some lag (typically on the order of dozens of seconds) is expected before
1439
- # the results show up in the streaming destination.
1855
+ # export for every resource mutation in this FHIR store. Each store is allowed
1856
+ # to have up to 10 streaming configs. After a new config is added, the next
1857
+ # resource mutation is streamed to the new location in addition to the existing
1858
+ # ones. When a location is removed from the list, the server stops streaming to
1859
+ # that location. Before adding a new config, you must add the required [`
1860
+ # bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
1861
+ # bigquery.dataEditor) role to your project's **Cloud Healthcare Service Agent**
1862
+ # [service account](https://cloud.google.com/iam/docs/service-accounts). Some
1863
+ # lag (typically on the order of dozens of seconds) is expected before the
1864
+ # results show up in the streaming destination.
1440
1865
  # Corresponds to the JSON property `streamConfigs`
1441
1866
  # @return [Array<Google::Apis::HealthcareV1beta1::StreamConfig>]
1442
1867
  attr_accessor :stream_configs
1443
1868
 
1444
1869
  # The FHIR specification version that this FHIR store supports natively. This
1445
- # field is immutable after store creation. Requests are rejected if they
1446
- # contain FHIR resources of a different version.
1447
- # An empty value is treated as STU3.
1870
+ # field is immutable after store creation. Requests are rejected if they contain
1871
+ # FHIR resources of a different version. Version is required for every FHIR
1872
+ # store.
1448
1873
  # Corresponds to the JSON property `version`
1449
1874
  # @return [String]
1450
1875
  attr_accessor :version
@@ -1487,8 +1912,8 @@ module Google
1487
1912
  # @return [String]
1488
1913
  attr_accessor :name
1489
1914
 
1490
- # The HL7v2 table this field refers to. For example, PID-15 (Patient's
1491
- # Primary Language) usually refers to table "0296".
1915
+ # The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary
1916
+ # Language) usually refers to table "0296".
1492
1917
  # Corresponds to the JSON property `table`
1493
1918
  # @return [String]
1494
1919
  attr_accessor :table
@@ -1513,8 +1938,8 @@ module Google
1513
1938
  end
1514
1939
  end
1515
1940
 
1516
- # Specifies FHIR paths to match, and how to handle de-identification of
1517
- # matching fields.
1941
+ # Specifies FHIR paths to match, and how to handle de-identification of matching
1942
+ # fields.
1518
1943
  class FieldMetadata
1519
1944
  include Google::Apis::Core::Hashable
1520
1945
 
@@ -1523,21 +1948,19 @@ module Google
1523
1948
  # @return [String]
1524
1949
  attr_accessor :action
1525
1950
 
1526
- # List of paths to FHIR fields to redact. Each path is a
1527
- # period-separated list where each component is either a field name or
1528
- # FHIR type name. All types begin with an upper case letter. For example,
1529
- # the resource field "Patient.Address.city", which uses a string type,
1530
- # can be matched by "Patient.Address.String". Path also supports partial
1531
- # matching. For example, "Patient.Address.city" can be matched by
1532
- # "Address.city" (Patient omitted). Partial matching and type matching
1533
- # can be combined. For example, "Patient.Address.city" can be matched by
1534
- # "Address.String". For "choice" types (those defined in the FHIR spec
1535
- # with the form: field[x]), use two separate components. For example,
1536
- # "deceasedAge.unit" is matched by "Deceased.Age.unit". Supported types
1537
- # are: AdministrativeGenderCode, Code, Date, DateTime, Decimal,
1538
- # HumanName, Id, LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml.
1539
- # The sub-type for HumanName, such as HumanName.given or
1540
- # HumanName.family, can be omitted.
1951
+ # List of paths to FHIR fields to redact. Each path is a period-separated list
1952
+ # where each component is either a field name or FHIR type name. All types begin
1953
+ # with an upper case letter. For example, the resource field "Patient.Address.
1954
+ # city", which uses a string type, can be matched by "Patient.Address.String".
1955
+ # Path also supports partial matching. For example, "Patient.Address.city" can
1956
+ # be matched by "Address.city" (Patient omitted). Partial matching and type
1957
+ # matching can be combined. For example, "Patient.Address.city" can be matched
1958
+ # by "Address.String". For "choice" types (those defined in the FHIR spec with
1959
+ # the form: field[x]), use two separate components. For example, "deceasedAge.
1960
+ # unit" is matched by "Deceased.Age.unit". Supported types are:
1961
+ # AdministrativeGenderCode, Code, Date, DateTime, Decimal, HumanName, Id,
1962
+ # LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml. The sub-type for
1963
+ # HumanName, such as HumanName.given or HumanName.family, can be omitted.
1541
1964
  # Corresponds to the JSON property `paths`
1542
1965
  # @return [Array<String>]
1543
1966
  attr_accessor :paths
@@ -1557,8 +1980,8 @@ module Google
1557
1980
  class FilterList
1558
1981
  include Google::Apis::Core::Hashable
1559
1982
 
1560
- # These infoTypes are based on after the `eval_info_type_mapping` and
1561
- # `golden_info_type_mapping`.
1983
+ # These infoTypes are based on after the `eval_info_type_mapping` and `
1984
+ # golden_info_type_mapping`.
1562
1985
  # Corresponds to the JSON property `infoTypes`
1563
1986
  # @return [Array<String>]
1564
1987
  attr_accessor :info_types
@@ -1582,8 +2005,8 @@ module Google
1582
2005
  # @return [Fixnum]
1583
2006
  attr_accessor :end
1584
2007
 
1585
- # The type of information stored in this text range. For example,
1586
- # HumanName, BirthDate, or Address.
2008
+ # The type of information stored in this text range. For example, HumanName,
2009
+ # BirthDate, or Address.
1587
2010
  # Corresponds to the JSON property `infoType`
1588
2011
  # @return [String]
1589
2012
  attr_accessor :info_type
@@ -1616,21 +2039,17 @@ module Google
1616
2039
  class GcsSource
1617
2040
  include Google::Apis::Core::Hashable
1618
2041
 
1619
- # Points to a Cloud Storage URI containing file(s) to import.
1620
- # The URI must be in the following format: `gs://`bucket_id`/`object_id``.
1621
- # The URI can include wildcards in `object_id` and thus identify multiple
1622
- # files. Supported wildcards:
1623
- # * `*` to match 0 or more non-separator characters
1624
- # * `**` to match 0 or more characters (including separators). Must be used
1625
- # at the end of a path and with no other wildcards in the
1626
- # path. Can also be used with a file extension (such as .ndjson), which
1627
- # imports all files with the extension in the specified directory and
1628
- # its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson`
1629
- # imports all files with `.ndjson` extensions in `my-directory/` and its
1630
- # sub-directories.
1631
- # * `?` to match 1 character
1632
- # Files matching the wildcard are expected to contain content only, no
1633
- # metadata.
2042
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
2043
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
2044
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
2045
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
2046
+ # characters (including separators). Must be used at the end of a path and with
2047
+ # no other wildcards in the path. Can also be used with a file extension (such
2048
+ # as .ndjson), which imports all files with the extension in the specified
2049
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2050
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
2051
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
2052
+ # are expected to contain content only, no metadata.
1634
2053
  # Corresponds to the JSON property `uri`
1635
2054
  # @return [String]
1636
2055
  attr_accessor :uri
@@ -1649,10 +2068,9 @@ module Google
1649
2068
  class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
1650
2069
  include Google::Apis::Core::Hashable
1651
2070
 
1652
- # If the destination table already exists and this flag is `TRUE`, the table
1653
- # is overwritten by the contents of the input store. If the flag is not
1654
- # set and the destination table already exists, the export call returns an
1655
- # error.
2071
+ # If the destination table already exists and this flag is `TRUE`, the table is
2072
+ # overwritten by the contents of the input store. If the flag is not set and the
2073
+ # destination table already exists, the export call returns an error.
1656
2074
  # Corresponds to the JSON property `force`
1657
2075
  # @return [Boolean]
1658
2076
  attr_accessor :force
@@ -1663,8 +2081,8 @@ module Google
1663
2081
  # @return [String]
1664
2082
  attr_accessor :schema_type
1665
2083
 
1666
- # BigQuery URI to a table, up to 2000 characters long, must be of the form
1667
- # bq://projectId.bqDatasetId.tableId.
2084
+ # BigQuery URI to a table, up to 2000 characters long, must be of the form bq://
2085
+ # projectId.bqDatasetId.tableId.
1668
2086
  # Corresponds to the JSON property `tableUri`
1669
2087
  # @return [String]
1670
2088
  attr_accessor :table_uri
@@ -1685,12 +2103,11 @@ module Google
1685
2103
  class GoogleCloudHealthcareV1beta1AnnotationGcsDestination
1686
2104
  include Google::Apis::Core::Hashable
1687
2105
 
1688
- # The Cloud Storage destination to export to.
1689
- # URI for a Cloud Storage directory where the server writes result files, in
1690
- # the format `gs://`bucket-id`/`path/to/destination/dir``. If there is no
1691
- # trailing slash, the service appends one when composing the object path.
1692
- # The user is responsible for creating the Cloud Storage bucket referenced in
1693
- # `uri_prefix`.
2106
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
2107
+ # where the server writes result files, in the format `gs://`bucket-id`/`path/to/
2108
+ # destination/dir``. If there is no trailing slash, the service appends one when
2109
+ # composing the object path. The user is responsible for creating the Cloud
2110
+ # Storage bucket referenced in `uri_prefix`.
1694
2111
  # Corresponds to the JSON property `uriPrefix`
1695
2112
  # @return [String]
1696
2113
  attr_accessor :uri_prefix
@@ -1709,23 +2126,17 @@ module Google
1709
2126
  class GoogleCloudHealthcareV1beta1AnnotationGcsSource
1710
2127
  include Google::Apis::Core::Hashable
1711
2128
 
1712
- # Points to a Cloud Storage URI containing file(s) with
1713
- # content only. The URI must be in the following format:
1714
- # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
1715
- # `object_id` and thus identify multiple files. Supported wildcards:
1716
- # '*' to match 0 or more non-separator characters
1717
- # '**' to match 0 or more characters (including separators). Must be used
1718
- # at
1719
- # the end of a path and with no other wildcards in the
1720
- # path. Can also be used with a file extension (such as .dcm), which
1721
- # imports all files with the extension in the specified directory and
1722
- # its sub-directories. For example,
1723
- # `gs://my-bucket/my-directory/**.json` imports all files with .json
1724
- # extensions in `my-directory/` and its sub-directories.
1725
- # '?' to match 1 character
1726
- # All other URI formats are invalid.
1727
- # Files matching the wildcard are expected to contain content only, no
1728
- # metadata.
2129
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
2130
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
2131
+ # include wildcards in `object_id` and thus identify multiple files. Supported
2132
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
2133
+ # more characters (including separators). Must be used at the end of a path and
2134
+ # with no other wildcards in the path. Can also be used with a file extension (
2135
+ # such as .dcm), which imports all files with the extension in the specified
2136
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2137
+ # .json` imports all files with .json extensions in `my-directory/` and its sub-
2138
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
2139
+ # matching the wildcard are expected to contain content only, no metadata.
1729
2140
  # Corresponds to the JSON property `uri`
1730
2141
  # @return [String]
1731
2142
  attr_accessor :uri
@@ -1740,6 +2151,70 @@ module Google
1740
2151
  end
1741
2152
  end
1742
2153
 
2154
+ # The Cloud Storage location for export.
2155
+ class GoogleCloudHealthcareV1beta1ConsentGcsDestination
2156
+ include Google::Apis::Core::Hashable
2157
+
2158
+ # URI for a Cloud Storage directory where the server writes result files, in the
2159
+ # format `gs://`bucket-id`/`path/to/destination/dir``. If there is no trailing
2160
+ # slash, the service appends one when composing the object path. The user is
2161
+ # responsible for creating the Cloud Storage bucket and directory referenced in `
2162
+ # uri_prefix`.
2163
+ # Corresponds to the JSON property `uriPrefix`
2164
+ # @return [String]
2165
+ attr_accessor :uri_prefix
2166
+
2167
+ def initialize(**args)
2168
+ update!(**args)
2169
+ end
2170
+
2171
+ # Update properties of this object
2172
+ def update!(**args)
2173
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2174
+ end
2175
+ end
2176
+
2177
+ # Represents an end user's consent in terms of the resources that can be
2178
+ # accessed and under what conditions.
2179
+ class GoogleCloudHealthcareV1beta1ConsentPolicy
2180
+ include Google::Apis::Core::Hashable
2181
+
2182
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
2183
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
2184
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
2185
+ # "Summary size limit" description: "Determines if a summary is less than 100
2186
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
2187
+ # Requestor is owner" description: "Determines if requestor is the document
2188
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
2189
+ # Logic): title: "Public documents" description: "Determine whether the document
2190
+ # should be publicly visible" expression: "document.type != 'private' &&
2191
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
2192
+ # string" description: "Create a notification string with a timestamp."
2193
+ # expression: "'New message received at ' + string(document.create_time)" The
2194
+ # exact variables and functions that may be referenced within an expression are
2195
+ # determined by the service that evaluates it. See the service documentation for
2196
+ # additional information.
2197
+ # Corresponds to the JSON property `authorizationRule`
2198
+ # @return [Google::Apis::HealthcareV1beta1::Expr]
2199
+ attr_accessor :authorization_rule
2200
+
2201
+ # The data resources that this policy applies to. A data resource is a match if
2202
+ # it matches all the attributes listed here.
2203
+ # Corresponds to the JSON property `resourceAttributes`
2204
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
2205
+ attr_accessor :resource_attributes
2206
+
2207
+ def initialize(**args)
2208
+ update!(**args)
2209
+ end
2210
+
2211
+ # Update properties of this object
2212
+ def update!(**args)
2213
+ @authorization_rule = args[:authorization_rule] if args.key?(:authorization_rule)
2214
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
2215
+ end
2216
+ end
2217
+
1743
2218
  # Contains a summary of the DeidentifyDicomStore operation.
1744
2219
  class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
1745
2220
  include Google::Apis::Core::Hashable
@@ -1788,16 +2263,16 @@ module Google
1788
2263
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1789
2264
  include Google::Apis::Core::Hashable
1790
2265
 
1791
- # This flag is being replaced by write_disposition which provides additional
1792
- # options. force=false is equivalent to WRITE_EMPTY and force=true is
1793
- # equivalent to WRITE_TRUNCATE.
2266
+ # If the destination table already exists and this flag is `TRUE`, the table is
2267
+ # overwritten by the contents of the DICOM store. If the flag is not set and the
2268
+ # destination table already exists, the export call returns an error.
1794
2269
  # Corresponds to the JSON property `force`
1795
2270
  # @return [Boolean]
1796
2271
  attr_accessor :force
1797
2272
  alias_method :force?, :force
1798
2273
 
1799
- # BigQuery URI to a table, up to 2000 characters long, in the format
1800
- # `bq://projectId.bqDatasetId.tableId`
2274
+ # BigQuery URI to a table, up to 2000 characters long, in the format `bq://
2275
+ # projectId.bqDatasetId.tableId`
1801
2276
  # Corresponds to the JSON property `tableUri`
1802
2277
  # @return [String]
1803
2278
  attr_accessor :table_uri
@@ -1818,47 +2293,33 @@ module Google
1818
2293
  class GoogleCloudHealthcareV1beta1DicomGcsDestination
1819
2294
  include Google::Apis::Core::Hashable
1820
2295
 
1821
- # MIME types supported by DICOM spec.
1822
- # Each file is written in the following format:
1823
- # `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
1824
- # The frame_number component exists only for multi-frame instances.
1825
- # Supported MIME types are consistent with supported formats in DICOMweb:
1826
- # https://cloud.google.com/healthcare/docs/dicom#retrieve_transaction.
1827
- # Specifically, the following are supported:
1828
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.1
1829
- # (uncompressed DICOM)
1830
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.50
1831
- # (DICOM with embedded JPEG Baseline)
1832
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.90
1833
- # (DICOM with embedded JPEG 2000 Lossless Only)
1834
- # - application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91
1835
- # (DICOM with embedded JPEG 2000)h
1836
- # - application/dicom; transfer-syntax=*
1837
- # (DICOM with no transcoding)
1838
- # - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1
1839
- # (raw uncompressed PixelData)
1840
- # - application/octet-stream; transfer-syntax=*
1841
- # (raw PixelData in whatever format it was uploaded in)
1842
- # - image/jpeg; transfer-syntax=1.2.840.10008.1.2.4.50
1843
- # (Consumer JPEG)
1844
- # - image/png
1845
- # The following extensions are used for output files:
1846
- # - application/dicom -> .dcm
1847
- # - image/jpeg -> .jpg
1848
- # - image/png -> .png
1849
- # - application/octet-stream -> no extension
1850
- # If unspecified, the instances are exported in the original
1851
- # DICOM format they were uploaded in.
2296
+ # MIME types supported by DICOM spec. Each file is written in the following
2297
+ # format: `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
2298
+ # The frame_number component exists only for multi-frame instances. Supported
2299
+ # MIME types are consistent with supported formats in DICOMweb: https://cloud.
2300
+ # google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the
2301
+ # following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.
2302
+ # 2.1 (uncompressed DICOM) - application/dicom; transfer-syntax=1.2.840.10008.1.
2303
+ # 2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-
2304
+ # syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) -
2305
+ # application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded
2306
+ # JPEG 2000)h - application/dicom; transfer-syntax=* (DICOM with no transcoding)
2307
+ # - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw
2308
+ # uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw
2309
+ # PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=
2310
+ # 1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions
2311
+ # are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg -
2312
+ # image/png -> .png - application/octet-stream -> no extension If unspecified,
2313
+ # the instances are exported in the original DICOM format they were uploaded in.
1852
2314
  # Corresponds to the JSON property `mimeType`
1853
2315
  # @return [String]
1854
2316
  attr_accessor :mime_type
1855
2317
 
1856
- # The Cloud Storage destination to export to.
1857
- # URI for a Cloud Storage directory where the server writes the result files,
1858
- # in the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
1859
- # trailing slash, the service appends one when composing the object path.
1860
- # The user is responsible for creating the Cloud Storage bucket referenced in
1861
- # `uri_prefix`.
2318
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
2319
+ # where the server writes the result files, in the format `gs://`bucket-id`/`
2320
+ # path/to/destination/dir``). If there is no trailing slash, the service appends
2321
+ # one when composing the object path. The user is responsible for creating the
2322
+ # Cloud Storage bucket referenced in `uri_prefix`.
1862
2323
  # Corresponds to the JSON property `uriPrefix`
1863
2324
  # @return [String]
1864
2325
  attr_accessor :uri_prefix
@@ -1878,22 +2339,17 @@ module Google
1878
2339
  class GoogleCloudHealthcareV1beta1DicomGcsSource
1879
2340
  include Google::Apis::Core::Hashable
1880
2341
 
1881
- # Points to a Cloud Storage URI containing file(s) with
1882
- # content only. The URI must be in the following format:
1883
- # `gs://`bucket_id`/`object_id``. The URI can include wildcards in
1884
- # `object_id` and thus identify multiple files. Supported wildcards:
1885
- # '*' to match 0 or more non-separator characters
1886
- # '**' to match 0 or more characters (including separators). Must be used at
1887
- # the end of a path and with no other wildcards in the
1888
- # path. Can also be used with a file extension (such as .dcm), which
1889
- # imports all files with the extension in the specified directory and
1890
- # its sub-directories. For example,
1891
- # `gs://my-bucket/my-directory/**.dcm` imports all files with .dcm
1892
- # extensions in `my-directory/` and its sub-directories.
1893
- # '?' to match 1 character
1894
- # All other URI formats are invalid.
1895
- # Files matching the wildcard are expected to contain content only, no
1896
- # metadata.
2342
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
2343
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
2344
+ # include wildcards in `object_id` and thus identify multiple files. Supported
2345
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
2346
+ # more characters (including separators). Must be used at the end of a path and
2347
+ # with no other wildcards in the path. Can also be used with a file extension (
2348
+ # such as .dcm), which imports all files with the extension in the specified
2349
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2350
+ # .dcm` imports all files with .dcm extensions in `my-directory/` and its sub-
2351
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
2352
+ # matching the wildcard are expected to contain content only, no metadata.
1897
2353
  # Corresponds to the JSON property `uri`
1898
2354
  # @return [String]
1899
2355
  attr_accessor :uri
@@ -1908,19 +2364,39 @@ module Google
1908
2364
  end
1909
2365
  end
1910
2366
 
2367
+ # StreamConfig specifies configuration for a streaming DICOM export.
2368
+ class GoogleCloudHealthcareV1beta1DicomStreamConfig
2369
+ include Google::Apis::Core::Hashable
2370
+
2371
+ # The BigQuery table where the server writes output.
2372
+ # Corresponds to the JSON property `bigqueryDestination`
2373
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination]
2374
+ attr_accessor :bigquery_destination
2375
+
2376
+ def initialize(**args)
2377
+ update!(**args)
2378
+ end
2379
+
2380
+ # Update properties of this object
2381
+ def update!(**args)
2382
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2383
+ end
2384
+ end
2385
+
1911
2386
  # The configuration for exporting to BigQuery.
1912
2387
  class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
1913
2388
  include Google::Apis::Core::Hashable
1914
2389
 
1915
- # BigQuery URI to a dataset, up to 2000 characters long, in the format
1916
- # `bq://projectId.bqDatasetId`
2390
+ # BigQuery URI to an existing dataset, up to 2000 characters long, in the format
2391
+ # `bq://projectId.bqDatasetId`.
1917
2392
  # Corresponds to the JSON property `datasetUri`
1918
2393
  # @return [String]
1919
2394
  attr_accessor :dataset_uri
1920
2395
 
1921
- # This flag is being replaced by write_disposition which provides additional
1922
- # options. force=false is equivalent to WRITE_EMPTY and force=true is
1923
- # equivalent to WRITE_TRUNCATE.
2396
+ # If this flag is `TRUE`, all tables will be deleted from the dataset before the
2397
+ # new exported tables are written. If the flag is not set and the destination
2398
+ # dataset contains tables, the export call returns an error. This option is not
2399
+ # used for the streaming export.
1924
2400
  # Corresponds to the JSON property `force`
1925
2401
  # @return [Boolean]
1926
2402
  attr_accessor :force
@@ -1944,11 +2420,9 @@ module Google
1944
2420
  end
1945
2421
  end
1946
2422
 
1947
- # Response when errors occur while exporting resources.
1948
- # This structure is included in the
1949
- # error
1950
- # details to describe the detailed outcome. It is
1951
- # only included when the operation finishes with errors.
2423
+ # Response when errors occur while exporting resources. This structure is
2424
+ # included in the error details to describe the detailed outcome. It is only
2425
+ # included when the operation finishes with errors.
1952
2426
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
1953
2427
  include Google::Apis::Core::Hashable
1954
2428
 
@@ -1957,16 +2431,15 @@ module Google
1957
2431
  # @return [Fixnum]
1958
2432
  attr_accessor :error_count
1959
2433
 
1960
- # The name of the FHIR store where resources have been exported, in the
1961
- # format
1962
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1963
- # fhirStores/`fhir_store_id``.
2434
+ # The name of the FHIR store where resources have been exported, in the format `
2435
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2436
+ # `fhir_store_id``.
1964
2437
  # Corresponds to the JSON property `fhirStore`
1965
2438
  # @return [String]
1966
2439
  attr_accessor :fhir_store
1967
2440
 
1968
- # The total number of resources included in the export operation. This is
1969
- # the sum of the success and error counts.
2441
+ # The total number of resources included in the export operation. This is the
2442
+ # sum of the success and error counts.
1970
2443
  # Corresponds to the JSON property `resourceCount`
1971
2444
  # @return [Fixnum]
1972
2445
  attr_accessor :resource_count
@@ -1989,17 +2462,15 @@ module Google
1989
2462
  end
1990
2463
  end
1991
2464
 
1992
- # Response when all resources export successfully.
1993
- # This structure is included in the
1994
- # response to describe the detailed
1995
- # outcome after the operation finishes successfully.
2465
+ # Response when all resources export successfully. This structure is included
2466
+ # in the response to describe the detailed outcome after the operation finishes
2467
+ # successfully.
1996
2468
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
1997
2469
  include Google::Apis::Core::Hashable
1998
2470
 
1999
- # The name of the FHIR store where resources have been exported, in the
2000
- # format
2001
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2002
- # fhirStores/`fhir_store_id``.
2471
+ # The name of the FHIR store where resources have been exported, in the format `
2472
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2473
+ # `fhir_store_id``.
2003
2474
  # Corresponds to the JSON property `fhirStore`
2004
2475
  # @return [String]
2005
2476
  attr_accessor :fhir_store
@@ -2024,11 +2495,10 @@ module Google
2024
2495
  class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
2025
2496
  include Google::Apis::Core::Hashable
2026
2497
 
2027
- # URI for a Cloud Storage directory where result files should be written (in
2028
- # the format `gs://`bucket-id`/`path/to/destination/dir``). If there is no
2029
- # trailing slash, the service appends one when composing the object path.
2030
- # The user is responsible for creating the Cloud Storage bucket referenced in
2031
- # `uri_prefix`.
2498
+ # URI for a Cloud Storage directory where result files should be written (in the
2499
+ # format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
2500
+ # slash, the service appends one when composing the object path. The user is
2501
+ # responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.
2032
2502
  # Corresponds to the JSON property `uriPrefix`
2033
2503
  # @return [String]
2034
2504
  attr_accessor :uri_prefix
@@ -2047,21 +2517,17 @@ module Google
2047
2517
  class GoogleCloudHealthcareV1beta1FhirRestGcsSource
2048
2518
  include Google::Apis::Core::Hashable
2049
2519
 
2050
- # Points to a Cloud Storage URI containing file(s) to import.
2051
- # The URI must be in the following format: `gs://`bucket_id`/`object_id``.
2052
- # The URI can include wildcards in `object_id` and thus identify multiple
2053
- # files. Supported wildcards:
2054
- # * `*` to match 0 or more non-separator characters
2055
- # * `**` to match 0 or more characters (including separators). Must be used
2056
- # at the end of a path and with no other wildcards in the
2057
- # path. Can also be used with a file extension (such as .ndjson), which
2058
- # imports all files with the extension in the specified directory and
2059
- # its sub-directories. For example, `gs://my-bucket/my-directory/**.ndjson`
2060
- # imports all files with `.ndjson` extensions in `my-directory/` and its
2061
- # sub-directories.
2062
- # * `?` to match 1 character
2063
- # Files matching the wildcard are expected to contain content only, no
2064
- # metadata.
2520
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
2521
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
2522
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
2523
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
2524
+ # characters (including separators). Must be used at the end of a path and with
2525
+ # no other wildcards in the path. Can also be used with a file extension (such
2526
+ # as .ndjson), which imports all files with the extension in the specified
2527
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2528
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
2529
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
2530
+ # are expected to contain content only, no metadata.
2065
2531
  # Corresponds to the JSON property `uri`
2066
2532
  # @return [String]
2067
2533
  attr_accessor :uri
@@ -2076,11 +2542,9 @@ module Google
2076
2542
  end
2077
2543
  end
2078
2544
 
2079
- # Error response of importing resources.
2080
- # This structure is included in the
2081
- # error
2082
- # details to describe the detailed error
2083
- # after the operation finishes with some failure.
2545
+ # Error response of importing resources. This structure is included in the
2546
+ # error details to describe the detailed error after the operation finishes with
2547
+ # some failure.
2084
2548
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
2085
2549
  include Google::Apis::Core::Hashable
2086
2550
 
@@ -2089,16 +2553,15 @@ module Google
2089
2553
  # @return [Fixnum]
2090
2554
  attr_accessor :error_count
2091
2555
 
2092
- # The name of the FHIR store where resources have been imported, in the
2093
- # format
2094
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2095
- # fhirStores/`fhir_store_id``.
2556
+ # The name of the FHIR store where resources have been imported, in the format `
2557
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2558
+ # `fhir_store_id``.
2096
2559
  # Corresponds to the JSON property `fhirStore`
2097
2560
  # @return [String]
2098
2561
  attr_accessor :fhir_store
2099
2562
 
2100
- # The total number of resources included in the source data. This is the sum
2101
- # of the success and error counts.
2563
+ # The total number of resources included in the source data. This is the sum of
2564
+ # the success and error counts.
2102
2565
  # Corresponds to the JSON property `inputSize`
2103
2566
  # @return [Fixnum]
2104
2567
  attr_accessor :input_size
@@ -2121,16 +2584,14 @@ module Google
2121
2584
  end
2122
2585
  end
2123
2586
 
2124
- # Final response of importing resources.
2125
- # This structure is included in the
2126
- # response to describe the detailed
2127
- # outcome after the operation finishes successfully.
2587
+ # Final response of importing resources. This structure is included in the
2588
+ # response to describe the detailed outcome after the operation finishes
2589
+ # successfully.
2128
2590
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
2129
2591
  include Google::Apis::Core::Hashable
2130
2592
 
2131
2593
  # The name of the FHIR store where the resources have been imported, in the
2132
- # format
2133
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2594
+ # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2134
2595
  # fhirStores/`fhir_store_id``.
2135
2596
  # Corresponds to the JSON property `fhirStore`
2136
2597
  # @return [String]
@@ -2183,14 +2644,14 @@ module Google
2183
2644
  class Hl7SchemaConfig
2184
2645
  include Google::Apis::Core::Hashable
2185
2646
 
2186
- # Map from each HL7v2 message type and trigger event pair, such as ADT_A04,
2187
- # to its schema configuration root group.
2647
+ # Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to
2648
+ # its schema configuration root group.
2188
2649
  # Corresponds to the JSON property `messageSchemaConfigs`
2189
2650
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::SchemaGroup>]
2190
2651
  attr_accessor :message_schema_configs
2191
2652
 
2192
- # Each VersionSource is tested and only if they all match is the schema used
2193
- # for the message.
2653
+ # Each VersionSource is tested and only if they all match is the schema used for
2654
+ # the message.
2194
2655
  # Corresponds to the JSON property `version`
2195
2656
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2196
2657
  attr_accessor :version
@@ -2215,8 +2676,8 @@ module Google
2215
2676
  # @return [Array<Google::Apis::HealthcareV1beta1::Type>]
2216
2677
  attr_accessor :type
2217
2678
 
2218
- # The version selectors that this config applies to. A message must match
2219
- # ALL version sources to apply.
2679
+ # The version selectors that this config applies to. A message must match ALL
2680
+ # version sources to apply.
2220
2681
  # Corresponds to the JSON property `version`
2221
2682
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2222
2683
  attr_accessor :version
@@ -2232,53 +2693,44 @@ module Google
2232
2693
  end
2233
2694
  end
2234
2695
 
2235
- # Specifies where and whether to send notifications upon changes to a
2236
- # data store.
2696
+ # Specifies where and whether to send notifications upon changes to a data store.
2237
2697
  class Hl7V2NotificationConfig
2238
2698
  include Google::Apis::Core::Hashable
2239
2699
 
2240
- # Restricts notifications sent for messages matching a filter. If this is
2241
- # empty, all messages are matched. Syntax:
2242
- # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
2243
- # The following fields and functions are available for filtering:
2244
- # * `message_type`, from the MSH-9.1 field. For example,
2245
- # `NOT message_type = "ADT"`.
2246
- # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
2247
- # the dataset's time_zone, from the MSH-7 segment. For example,
2248
- # `send_date < "2017-01-02"`.
2249
- # * `send_time`, the timestamp when the message was sent, using the
2250
- # RFC3339 time format for comparisons, from the MSH-7 segment. For example,
2251
- # `send_time < "2017-01-02T00:00:00-05:00"`.
2252
- # * `send_facility`, the care center that the message came from, from the
2253
- # MSH-4 segment. For example, `send_facility = "ABC"`.
2254
- # * `PatientId(value, type)`, which matches if the message lists a patient
2255
- # having an ID of the given value and type in the PID-2, PID-3, or PID-4
2256
- # segments. For example, `PatientId("123456", "MRN")`.
2257
- # * `labels.x`, a string value of the label with key `x` as set using the
2258
- # Message.labels
2259
- # map. For example, `labels."priority"="high"`. The operator `:*` can be
2260
- # used to assert the existence of a label. For example,
2261
- # `labels."priority":*`.
2700
+ # Restricts notifications sent for messages matching a filter. If this is empty,
2701
+ # all messages are matched. Syntax: https://cloud.google.com/appengine/docs/
2702
+ # standard/python/search/query_strings The following fields and functions are
2703
+ # available for filtering: * `message_type`, from the MSH-9.1 field. For example,
2704
+ # `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date
2705
+ # the message was sent in the dataset's time_zone, from the MSH-7 segment. For
2706
+ # example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the
2707
+ # message was sent, using the RFC3339 time format for comparisons, from the MSH-
2708
+ # 7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `
2709
+ # send_facility`, the care center that the message came from, from the MSH-4
2710
+ # segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`,
2711
+ # which matches if the message lists a patient having an ID of the given value
2712
+ # and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("
2713
+ # 123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as
2714
+ # set using the Message.labels map. For example, `labels."priority"="high"`. The
2715
+ # operator `:*` can be used to assert the existence of a label. For example, `
2716
+ # labels."priority":*`.
2262
2717
  # Corresponds to the JSON property `filter`
2263
2718
  # @return [String]
2264
2719
  attr_accessor :filter
2265
2720
 
2266
2721
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
2267
2722
  # notifications of changes are published on. Supplied by the client. The
2268
- # notification is a `PubsubMessage` with the following fields:
2269
- # * `PubsubMessage.Data` contains the resource name.
2270
- # * `PubsubMessage.MessageId` is the ID of this notification. It is
2271
- # guaranteed to be unique within the topic.
2272
- # * `PubsubMessage.PublishTime` is the time when the message was
2273
- # published.
2274
- # Note that notifications are only sent if the topic is non-empty. [Topic
2275
- # names](https://cloud.google.com/pubsub/docs/overview#names) must be
2276
- # scoped to a project. Cloud Healthcare API service account must have
2277
- # publisher permissions on the given Pub/Sub topic. Not having adequate
2278
- # permissions causes the calls that send notifications to fail.
2279
- # If a notification can't be published to Cloud Pub/Sub, errors are
2280
- # logged to Cloud Logging. For more information, see
2281
- # [Viewing error logs in Cloud Logging](/healthcare/docs/how-tos/logging).
2723
+ # notification is a `PubsubMessage` with the following fields: * `PubsubMessage.
2724
+ # Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of
2725
+ # this notification. It is guaranteed to be unique within the topic. * `
2726
+ # PubsubMessage.PublishTime` is the time when the message was published. Note
2727
+ # that notifications are only sent if the topic is non-empty. [Topic names](
2728
+ # https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a
2729
+ # project. Cloud Healthcare API service account must have publisher permissions
2730
+ # on the given Pub/Sub topic. Not having adequate permissions causes the calls
2731
+ # that send notifications to fail. If a notification can't be published to Cloud
2732
+ # Pub/Sub, errors are logged to Cloud Logging. For more information, see [
2733
+ # Viewing error logs in Cloud Logging](/healthcare/docs/how-tos/logging).
2282
2734
  # Corresponds to the JSON property `pubsubTopic`
2283
2735
  # @return [String]
2284
2736
  attr_accessor :pubsub_topic
@@ -2298,21 +2750,19 @@ module Google
2298
2750
  class Hl7V2Store
2299
2751
  include Google::Apis::Core::Hashable
2300
2752
 
2301
- # User-supplied key-value pairs used to organize HL7v2 stores.
2302
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
2303
- # of maximum 128 bytes, and must conform to the
2304
- # following PCRE regular expression:
2305
- # \p`Ll`\p`Lo``0,62`
2306
- # Label values are optional, must be between 1 and 63 characters long, have
2307
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
2308
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
2309
- # No more than 64 labels can be associated with a given store.
2753
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
2754
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
2755
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
2756
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
2757
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
2758
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
2759
+ # can be associated with a given store.
2310
2760
  # Corresponds to the JSON property `labels`
2311
2761
  # @return [Hash<String,String>]
2312
2762
  attr_accessor :labels
2313
2763
 
2314
- # Resource name of the HL7v2 store, of the form
2315
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2764
+ # Resource name of the HL7v2 store, of the form `projects/`project_id`/datasets/`
2765
+ # dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2316
2766
  # Corresponds to the JSON property `name`
2317
2767
  # @return [String]
2318
2768
  attr_accessor :name
@@ -2322,10 +2772,10 @@ module Google
2322
2772
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
2323
2773
  attr_accessor :notification_config
2324
2774
 
2325
- # A list of notification configs. Each configuration uses a filter to
2326
- # determine whether to publish a message (both Ingest & Create) on
2327
- # the corresponding notification destination. Only the message name is sent
2328
- # as part of the notification. Supplied by the client.
2775
+ # A list of notification configs. Each configuration uses a filter to determine
2776
+ # whether to publish a message (both Ingest & Create) on the corresponding
2777
+ # notification destination. Only the message name is sent as part of the
2778
+ # notification. Supplied by the client.
2329
2779
  # Corresponds to the JSON property `notificationConfigs`
2330
2780
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7V2NotificationConfig>]
2331
2781
  attr_accessor :notification_configs
@@ -2336,17 +2786,15 @@ module Google
2336
2786
  # @return [Google::Apis::HealthcareV1beta1::ParserConfig]
2337
2787
  attr_accessor :parser_config
2338
2788
 
2339
- # Determines whether to reject duplicate messages. A duplicate
2340
- # message is a message with the same raw bytes as a message that has already
2341
- # been ingested/created in this HL7v2 store.
2342
- # The default value is false, meaning that the store accepts the duplicate
2343
- # messages and it also returns the same ACK message in the
2344
- # IngestMessageResponse as has been returned previously. Note that only
2345
- # one resource is created in the store.
2346
- # When this field is set to true,
2347
- # CreateMessage/IngestMessage
2348
- # requests with a duplicate message will be rejected by the store, and
2349
- # IngestMessageErrorDetail returns a NACK message upon rejection.
2789
+ # Determines whether to reject duplicate messages. A duplicate message is a
2790
+ # message with the same raw bytes as a message that has already been ingested/
2791
+ # created in this HL7v2 store. The default value is false, meaning that the
2792
+ # store accepts the duplicate messages and it also returns the same ACK message
2793
+ # in the IngestMessageResponse as has been returned previously. Note that only
2794
+ # one resource is created in the store. When this field is set to true,
2795
+ # CreateMessage/IngestMessage requests with a duplicate message will be rejected
2796
+ # by the store, and IngestMessageErrorDetail returns a NACK message upon
2797
+ # rejection.
2350
2798
  # Corresponds to the JSON property `rejectDuplicateMessage`
2351
2799
  # @return [Boolean]
2352
2800
  attr_accessor :reject_duplicate_message
@@ -2368,34 +2816,21 @@ module Google
2368
2816
  end
2369
2817
 
2370
2818
  # Message that represents an arbitrary HTTP body. It should only be used for
2371
- # payload formats that can't be represented as JSON, such as raw binary or
2372
- # an HTML page.
2373
- # This message can be used both in streaming and non-streaming API methods in
2374
- # the request as well as the response.
2375
- # It can be used as a top-level request field, which is convenient if one
2376
- # wants to extract parameters from either the URL or HTTP template into the
2377
- # request fields and also want access to the raw HTTP body.
2378
- # Example:
2379
- # message GetResourceRequest `
2380
- # // A unique request id.
2381
- # string request_id = 1;
2382
- # // The raw HTTP body is bound to this field.
2383
- # google.api.HttpBody http_body = 2;
2384
- # `
2385
- # service ResourceService `
2386
- # rpc GetResource(GetResourceRequest) returns (google.api.HttpBody);
2387
- # rpc UpdateResource(google.api.HttpBody) returns
2388
- # (google.protobuf.Empty);
2389
- # `
2390
- # Example with streaming methods:
2391
- # service CaldavService `
2392
- # rpc GetCalendar(stream google.api.HttpBody)
2393
- # returns (stream google.api.HttpBody);
2394
- # rpc UpdateCalendar(stream google.api.HttpBody)
2395
- # returns (stream google.api.HttpBody);
2396
- # `
2397
- # Use of this type only changes how the request and response bodies are
2398
- # handled, all other features will continue to work unchanged.
2819
+ # payload formats that can't be represented as JSON, such as raw binary or an
2820
+ # HTML page. This message can be used both in streaming and non-streaming API
2821
+ # methods in the request as well as the response. It can be used as a top-level
2822
+ # request field, which is convenient if one wants to extract parameters from
2823
+ # either the URL or HTTP template into the request fields and also want access
2824
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
2825
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
2826
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
2827
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
2828
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
2829
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
2830
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
2831
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
2832
+ # only changes how the request and response bodies are handled, all other
2833
+ # features will continue to work unchanged.
2399
2834
  class HttpBody
2400
2835
  include Google::Apis::Core::Hashable
2401
2836
 
@@ -2410,8 +2845,8 @@ module Google
2410
2845
  # @return [String]
2411
2846
  attr_accessor :data
2412
2847
 
2413
- # Application specific response metadata. Must be set in the first response
2414
- # for streaming APIs.
2848
+ # Application specific response metadata. Must be set in the first response for
2849
+ # streaming APIs.
2415
2850
  # Corresponds to the JSON property `extensions`
2416
2851
  # @return [Array<Hash<String,Object>>]
2417
2852
  attr_accessor :extensions
@@ -2428,6 +2863,39 @@ module Google
2428
2863
  end
2429
2864
  end
2430
2865
 
2866
+ # An image.
2867
+ class Image
2868
+ include Google::Apis::Core::Hashable
2869
+
2870
+ # Input only. Points to a Cloud Storage URI containing the image. The URI must
2871
+ # be in the following format: `gs://`bucket_id`/`object_id``. The Cloud
2872
+ # Healthcare API service account must have the `roles/storage.objectViewer`
2873
+ # Cloud IAM role for this Cloud Storage location. The image at this URI is
2874
+ # copied to a Cloud Storage location managed by the Cloud Healthcare API.
2875
+ # Responses to image fetching requests return the image in raw_bytes.
2876
+ # Corresponds to the JSON property `gcsUri`
2877
+ # @return [String]
2878
+ attr_accessor :gcs_uri
2879
+
2880
+ # Image content represented as a stream of bytes. This field is populated when
2881
+ # returned in GetConsentArtifact response, but not included in
2882
+ # CreateConsentArtifact and ListConsentArtifact response.
2883
+ # Corresponds to the JSON property `rawBytes`
2884
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2885
+ # @return [String]
2886
+ attr_accessor :raw_bytes
2887
+
2888
+ def initialize(**args)
2889
+ update!(**args)
2890
+ end
2891
+
2892
+ # Update properties of this object
2893
+ def update!(**args)
2894
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
2895
+ @raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
2896
+ end
2897
+ end
2898
+
2431
2899
  # Image annotation.
2432
2900
  class ImageAnnotation
2433
2901
  include Google::Apis::Core::Hashable
@@ -2473,18 +2941,14 @@ module Google
2473
2941
  end
2474
2942
  end
2475
2943
 
2476
- # Final response of importing
2477
- # Annotations in
2478
- # partial or total failure case. This structure is included in the
2479
- # error
2480
- # details. It is only included when the operation
2481
- # finishes.
2944
+ # Deprecated. Final response of importing Annotations in partial or total
2945
+ # failure case. This structure is included in the error details. It is only
2946
+ # included when the operation finishes.
2482
2947
  class ImportAnnotationsErrorDetails
2483
2948
  include Google::Apis::Core::Hashable
2484
2949
 
2485
- # The annotation_store that the annotations were imported to. The name
2486
- # is in the format
2487
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2950
+ # The annotation_store that the annotations were imported to. The name is in the
2951
+ # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2488
2952
  # annotationStores/`annotation_store_id``.
2489
2953
  # Corresponds to the JSON property `annotationStore`
2490
2954
  # @return [String]
@@ -2512,11 +2976,10 @@ module Google
2512
2976
  end
2513
2977
  end
2514
2978
 
2515
- # Request to import
2516
- # Annotations. The
2517
- # Annotations to be imported must have client-supplied resource names which
2518
- # indicate the annotation resource. The import operation is not atomic. If a
2519
- # failure occurs, any annotations already imported are not removed.
2979
+ # Request to import Annotations. The Annotations to be imported must have client-
2980
+ # supplied resource names which indicate the annotation resource. The import
2981
+ # operation is not atomic. If a failure occurs, any annotations already imported
2982
+ # are not removed.
2520
2983
  class ImportAnnotationsRequest
2521
2984
  include Google::Apis::Core::Hashable
2522
2985
 
@@ -2525,6 +2988,13 @@ module Google
2525
2988
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
2526
2989
  attr_accessor :gcs_source
2527
2990
 
2991
+ # The name of the Annotation store to which the server imports annotations, in
2992
+ # the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
2993
+ # /annotationStores/`annotation_store_id``.
2994
+ # Corresponds to the JSON property `name`
2995
+ # @return [String]
2996
+ attr_accessor :name
2997
+
2528
2998
  def initialize(**args)
2529
2999
  update!(**args)
2530
3000
  end
@@ -2532,27 +3002,23 @@ module Google
2532
3002
  # Update properties of this object
2533
3003
  def update!(**args)
2534
3004
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
3005
+ @name = args[:name] if args.key?(:name)
2535
3006
  end
2536
3007
  end
2537
3008
 
2538
- # Final response of importing
2539
- # Annotations in
2540
- # successful case. This structure is included in the
2541
- # response. It is only included
2542
- # when the operation finishes.
3009
+ # Final response of importing Annotations in successful case. This structure is
3010
+ # included in the response. It is only included when the operation finishes.
2543
3011
  class ImportAnnotationsResponse
2544
3012
  include Google::Apis::Core::Hashable
2545
3013
 
2546
- # The annotation_store that the annotations were imported to,
2547
- # in the format
2548
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
3014
+ # The annotation_store that the annotations were imported to, in the format `
3015
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2549
3016
  # annotationStores/`annotation_store_id``.
2550
3017
  # Corresponds to the JSON property `annotationStore`
2551
3018
  # @return [String]
2552
3019
  attr_accessor :annotation_store
2553
3020
 
2554
- # The number of the input annotations. All input have been
2555
- # imported successfully.
3021
+ # The number of the input annotations. All input have been imported successfully.
2556
3022
  # Corresponds to the JSON property `successCount`
2557
3023
  # @return [Fixnum]
2558
3024
  attr_accessor :success_count
@@ -2568,13 +3034,14 @@ module Google
2568
3034
  end
2569
3035
  end
2570
3036
 
2571
- # Returns the errors encountered during DICOM store import.
3037
+ # Deprecated. Error details are in [Cloud Logging](/healthcare/docs/how-tos/
3038
+ # logging). Returns the errors encountered during DICOM store import.
2572
3039
  class ImportDicomDataErrorDetails
2573
3040
  include Google::Apis::Core::Hashable
2574
3041
 
2575
- # Deprecated. Use only for debugging purposes.
2576
- # Contains sample errors encountered in imports of individual resources.
2577
- # For example, a Cloud Storage object.
3042
+ # Deprecated. Use only for debugging purposes. Contains sample errors
3043
+ # encountered in imports of individual resources. For example, a Cloud Storage
3044
+ # object.
2578
3045
  # Corresponds to the JSON property `sampleErrors`
2579
3046
  # @return [Array<Google::Apis::HealthcareV1beta1::ErrorDetail>]
2580
3047
  attr_accessor :sample_errors
@@ -2589,10 +3056,9 @@ module Google
2589
3056
  end
2590
3057
  end
2591
3058
 
2592
- # Imports data into the specified DICOM store.
2593
- # Returns an error if any of the files to import are not DICOM files. This
2594
- # API accepts duplicate DICOM instances by ignoring the newly-pushed instance.
2595
- # It does not overwrite.
3059
+ # Imports data into the specified DICOM store. Returns an error if any of the
3060
+ # files to import are not DICOM files. This API accepts duplicate DICOM
3061
+ # instances by ignoring the newly-pushed instance. It does not overwrite.
2596
3062
  class ImportDicomDataRequest
2597
3063
  include Google::Apis::Core::Hashable
2598
3064
 
@@ -2643,10 +3109,9 @@ module Google
2643
3109
  end
2644
3110
  end
2645
3111
 
2646
- # Final response of importing messages.
2647
- # This structure is included in the
2648
- # response to describe the detailed
2649
- # outcome. It is only included when the operation finishes successfully.
3112
+ # Final response of importing messages. This structure is included in the
3113
+ # response to describe the detailed outcome. It is only included when the
3114
+ # operation finishes successfully.
2650
3115
  class ImportMessagesResponse
2651
3116
  include Google::Apis::Core::Hashable
2652
3117
 
@@ -2685,8 +3150,8 @@ module Google
2685
3150
  end
2686
3151
  end
2687
3152
 
2688
- # Specifies how to use infoTypes for evaluation. For example, a user might
2689
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
3153
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
3154
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
2690
3155
  class InfoTypeConfig
2691
3156
  include Google::Apis::Core::Hashable
2692
3157
 
@@ -2700,27 +3165,15 @@ module Google
2700
3165
  # @return [Google::Apis::HealthcareV1beta1::FilterList]
2701
3166
  attr_accessor :ignore_list
2702
3167
 
2703
- # If `TRUE`, infoTypes described by `filter` are used for evaluation.
2704
- # Otherwise, infoTypes are not considered for evaluation.
2705
- # For example:
2706
- # * Annotated text:
2707
- # "Toronto is a location"
2708
- # * Finding 1:
2709
- # ``"infoType": "PERSON", "quote": "Toronto", "start": 0, "end": 7``
2710
- # * Finding 2:
2711
- # ``"infoType": "CITY", "quote": "Toronto", "start": 0, "end": 7``
2712
- # * Finding 3:
2713
- # ````
2714
- # * Ground truth:
2715
- # ``"infoType": "LOCATION", "quote": "Toronto", "start": 0, "end": 7``
2716
- # When `strict_matching` is `TRUE`:
2717
- # * Finding 1: 1 false positive
2718
- # * Finding 2: 1 false positive
2719
- # * Finding 3: 1 false negative
2720
- # When `strict_matching` is `FALSE`:
2721
- # * Finding 1: 1 true positive
2722
- # * Finding 2: 1 true positive
2723
- # * Finding 3: 1 false negative
3168
+ # If `TRUE`, infoTypes described by `filter` are used for evaluation. Otherwise,
3169
+ # infoTypes are not considered for evaluation. For example: * Annotated text: "
3170
+ # Toronto is a location" * Finding 1: ``"infoType": "PERSON", "quote": "Toronto",
3171
+ # "start": 0, "end": 7`` * Finding 2: ``"infoType": "CITY", "quote": "Toronto",
3172
+ # "start": 0, "end": 7`` * Finding 3: ```` * Ground truth: ``"infoType": "
3173
+ # LOCATION", "quote": "Toronto", "start": 0, "end": 7`` When `strict_matching`
3174
+ # is `TRUE`: * Finding 1: 1 false positive * Finding 2: 1 false positive *
3175
+ # Finding 3: 1 false negative When `strict_matching` is `FALSE`: * Finding 1: 1
3176
+ # true positive * Finding 2: 1 true positive * Finding 3: 1 false negative
2724
3177
  # Corresponds to the JSON property `strictMatching`
2725
3178
  # @return [Boolean]
2726
3179
  attr_accessor :strict_matching
@@ -2738,8 +3191,7 @@ module Google
2738
3191
  end
2739
3192
  end
2740
3193
 
2741
- # A transformation to apply to text that is identified as a specific
2742
- # info_type.
3194
+ # A transformation to apply to text that is identified as a specific info_type.
2743
3195
  class InfoTypeTransformation
2744
3196
  include Google::Apis::Core::Hashable
2745
3197
 
@@ -2749,8 +3201,7 @@ module Google
2749
3201
  attr_accessor :character_mask_config
2750
3202
 
2751
3203
  # Pseudonymization method that generates surrogates via cryptographic hashing.
2752
- # Uses SHA-256.
2753
- # Outputs a base64-encoded representation of the hashed output.
3204
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
2754
3205
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
2755
3206
  # Corresponds to the JSON property `cryptoHashConfig`
2756
3207
  # @return [Google::Apis::HealthcareV1beta1::CryptoHashConfig]
@@ -2769,18 +3220,15 @@ module Google
2769
3220
  # @return [Array<String>]
2770
3221
  attr_accessor :info_types
2771
3222
 
2772
- # Define how to redact sensitive values. Default behaviour is erase.
2773
- # For example, "My name is Jane." becomes "My name is ."
3223
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
3224
+ # "My name is Jane." becomes "My name is ."
2774
3225
  # Corresponds to the JSON property `redactConfig`
2775
3226
  # @return [Google::Apis::HealthcareV1beta1::RedactConfig]
2776
3227
  attr_accessor :redact_config
2777
3228
 
2778
- # When using the
2779
- # INSPECT_AND_TRANSFORM
2780
- # action, each match is replaced with the name of the info_type. For example,
2781
- # "My name is Jane" becomes "My name is [PERSON_NAME]." The
2782
- # TRANSFORM
2783
- # action is equivalent to redacting.
3229
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
3230
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
3231
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2784
3232
  # Corresponds to the JSON property `replaceWithInfoTypeConfig`
2785
3233
  # @return [Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig]
2786
3234
  attr_accessor :replace_with_info_type_config
@@ -2804,10 +3252,8 @@ module Google
2804
3252
  class IngestMessageRequest
2805
3253
  include Google::Apis::Core::Hashable
2806
3254
 
2807
- # A complete HL7v2 message.
2808
- # See [Introduction to HL7 Standards]
2809
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
2810
- # details on the standard.
3255
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3256
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2811
3257
  # Corresponds to the JSON property `message`
2812
3258
  # @return [Google::Apis::HealthcareV1beta1::Message]
2813
3259
  attr_accessor :message
@@ -2822,8 +3268,7 @@ module Google
2822
3268
  end
2823
3269
  end
2824
3270
 
2825
- # Acknowledges that a message has been ingested into the specified
2826
- # HL7v2 store.
3271
+ # Acknowledges that a message has been ingested into the specified HL7v2 store.
2827
3272
  class IngestMessageResponse
2828
3273
  include Google::Apis::Core::Hashable
2829
3274
 
@@ -2833,10 +3278,8 @@ module Google
2833
3278
  # @return [String]
2834
3279
  attr_accessor :hl7_ack
2835
3280
 
2836
- # A complete HL7v2 message.
2837
- # See [Introduction to HL7 Standards]
2838
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
2839
- # details on the standard.
3281
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3282
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2840
3283
  # Corresponds to the JSON property `message`
2841
3284
  # @return [Google::Apis::HealthcareV1beta1::Message]
2842
3285
  attr_accessor :message
@@ -2852,13 +3295,12 @@ module Google
2852
3295
  end
2853
3296
  end
2854
3297
 
2855
- # Lists the Annotation stores
2856
- # in the given dataset.
3298
+ # Lists the Annotation stores in the given dataset.
2857
3299
  class ListAnnotationStoresResponse
2858
3300
  include Google::Apis::Core::Hashable
2859
3301
 
2860
- # The returned Annotation stores. Won't be more Annotation stores than the
2861
- # value of page_size in the request.
3302
+ # The returned Annotation stores. Won't be more Annotation stores than the value
3303
+ # of page_size in the request.
2862
3304
  # Corresponds to the JSON property `annotationStores`
2863
3305
  # @return [Array<Google::Apis::HealthcareV1beta1::AnnotationStore>]
2864
3306
  attr_accessor :annotation_stores
@@ -2880,14 +3322,12 @@ module Google
2880
3322
  end
2881
3323
  end
2882
3324
 
2883
- # Lists the Annotations in the specified
2884
- # Annotation store.
3325
+ # Lists the Annotations in the specified Annotation store.
2885
3326
  class ListAnnotationsResponse
2886
3327
  include Google::Apis::Core::Hashable
2887
3328
 
2888
- # The returned Annotations. Won't be more values than the value of
2889
- # page_size in the request. See `AnnotationView` in the request for
2890
- # populated fields.
3329
+ # The returned Annotations. Won't be more values than the value of page_size in
3330
+ # the request. See `AnnotationView` in the request for populated fields.
2891
3331
  # Corresponds to the JSON property `annotations`
2892
3332
  # @return [Array<Google::Apis::HealthcareV1beta1::Annotation>]
2893
3333
  attr_accessor :annotations
@@ -2909,6 +3349,141 @@ module Google
2909
3349
  end
2910
3350
  end
2911
3351
 
3352
+ # Lists the Attribute definitions in the given Consent store.
3353
+ class ListAttributeDefinitionsResponse
3354
+ include Google::Apis::Core::Hashable
3355
+
3356
+ # The returned attribute definitions. The maximum number of attributes returned
3357
+ # is determined by the value of page_size in the ListAttributeDefinitionsRequest.
3358
+ # Corresponds to the JSON property `attributeDefinitions`
3359
+ # @return [Array<Google::Apis::HealthcareV1beta1::AttributeDefinition>]
3360
+ attr_accessor :attribute_definitions
3361
+
3362
+ # Token to retrieve the next page of results or empty if there are no more
3363
+ # results in the list.
3364
+ # Corresponds to the JSON property `nextPageToken`
3365
+ # @return [String]
3366
+ attr_accessor :next_page_token
3367
+
3368
+ def initialize(**args)
3369
+ update!(**args)
3370
+ end
3371
+
3372
+ # Update properties of this object
3373
+ def update!(**args)
3374
+ @attribute_definitions = args[:attribute_definitions] if args.key?(:attribute_definitions)
3375
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3376
+ end
3377
+ end
3378
+
3379
+ # Lists the Consent artifacts in the given Consent store.
3380
+ class ListConsentArtifactsResponse
3381
+ include Google::Apis::Core::Hashable
3382
+
3383
+ # The returned consent artifacts. The maximum number of artifacts returned is
3384
+ # determined by the value of page_size in the ListConsentArtifactsRequest.
3385
+ # Corresponds to the JSON property `consentArtifacts`
3386
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentArtifact>]
3387
+ attr_accessor :consent_artifacts
3388
+
3389
+ # Token to retrieve the next page of results or empty if there are no more
3390
+ # results in the list.
3391
+ # Corresponds to the JSON property `nextPageToken`
3392
+ # @return [String]
3393
+ attr_accessor :next_page_token
3394
+
3395
+ def initialize(**args)
3396
+ update!(**args)
3397
+ end
3398
+
3399
+ # Update properties of this object
3400
+ def update!(**args)
3401
+ @consent_artifacts = args[:consent_artifacts] if args.key?(:consent_artifacts)
3402
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3403
+ end
3404
+ end
3405
+
3406
+ # Lists the revisions of the given Consent in reverse chronological order.
3407
+ class ListConsentRevisionsResponse
3408
+ include Google::Apis::Core::Hashable
3409
+
3410
+ # The returned consent revisions. The maximum number of revisions returned is
3411
+ # determined by the value of `page_size` in the ListConsentRevisionsRequest.
3412
+ # Corresponds to the JSON property `consents`
3413
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3414
+ attr_accessor :consents
3415
+
3416
+ # Token to retrieve the next page of results or empty if there are no more
3417
+ # results in the list.
3418
+ # Corresponds to the JSON property `nextPageToken`
3419
+ # @return [String]
3420
+ attr_accessor :next_page_token
3421
+
3422
+ def initialize(**args)
3423
+ update!(**args)
3424
+ end
3425
+
3426
+ # Update properties of this object
3427
+ def update!(**args)
3428
+ @consents = args[:consents] if args.key?(:consents)
3429
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3430
+ end
3431
+ end
3432
+
3433
+ # Lists the Consent stores in the given dataset.
3434
+ class ListConsentStoresResponse
3435
+ include Google::Apis::Core::Hashable
3436
+
3437
+ # The returned Consent stores. The maximum number of stores returned is
3438
+ # determined by the value of page_size in the ListConsentStoresRequest.
3439
+ # Corresponds to the JSON property `consentStores`
3440
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentStore>]
3441
+ attr_accessor :consent_stores
3442
+
3443
+ # Token to retrieve the next page of results or empty if there are no more
3444
+ # results in the list.
3445
+ # Corresponds to the JSON property `nextPageToken`
3446
+ # @return [String]
3447
+ attr_accessor :next_page_token
3448
+
3449
+ def initialize(**args)
3450
+ update!(**args)
3451
+ end
3452
+
3453
+ # Update properties of this object
3454
+ def update!(**args)
3455
+ @consent_stores = args[:consent_stores] if args.key?(:consent_stores)
3456
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3457
+ end
3458
+ end
3459
+
3460
+ # Lists the Consents in the given Consent store.
3461
+ class ListConsentsResponse
3462
+ include Google::Apis::Core::Hashable
3463
+
3464
+ # The returned consents. The maximum number of consents returned is determined
3465
+ # by the value of page_size in the ListConsentsRequest.
3466
+ # Corresponds to the JSON property `consents`
3467
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3468
+ attr_accessor :consents
3469
+
3470
+ # Token to retrieve the next page of results or empty if there are no more
3471
+ # results in the list.
3472
+ # Corresponds to the JSON property `nextPageToken`
3473
+ # @return [String]
3474
+ attr_accessor :next_page_token
3475
+
3476
+ def initialize(**args)
3477
+ update!(**args)
3478
+ end
3479
+
3480
+ # Update properties of this object
3481
+ def update!(**args)
3482
+ @consents = args[:consents] if args.key?(:consents)
3483
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3484
+ end
3485
+ end
3486
+
2912
3487
  # Lists the available datasets.
2913
3488
  class ListDatasetsResponse
2914
3489
  include Google::Apis::Core::Hashable
@@ -2918,8 +3493,8 @@ module Google
2918
3493
  # @return [Array<Google::Apis::HealthcareV1beta1::Dataset>]
2919
3494
  attr_accessor :datasets
2920
3495
 
2921
- # Token to retrieve the next page of results, or empty if there are no
2922
- # more results in the list.
3496
+ # Token to retrieve the next page of results, or empty if there are no more
3497
+ # results in the list.
2923
3498
  # Corresponds to the JSON property `nextPageToken`
2924
3499
  # @return [String]
2925
3500
  attr_accessor :next_page_token
@@ -3045,10 +3620,8 @@ module Google
3045
3620
  class ListMessagesResponse
3046
3621
  include Google::Apis::Core::Hashable
3047
3622
 
3048
- # The returned Messages. Won't be more Messages than the value of
3049
- # page_size in the request. See
3050
- # view for
3051
- # populated fields.
3623
+ # The returned Messages. Won't be more Messages than the value of page_size in
3624
+ # the request. See view for populated fields.
3052
3625
  # Corresponds to the JSON property `hl7V2Messages`
3053
3626
  # @return [Array<Google::Apis::HealthcareV1beta1::Message>]
3054
3627
  attr_accessor :hl7_v2_messages
@@ -3095,18 +3668,46 @@ module Google
3095
3668
  end
3096
3669
  end
3097
3670
 
3671
+ # Lists the User data mappings in the given Consent store.
3672
+ class ListUserDataMappingsResponse
3673
+ include Google::Apis::Core::Hashable
3674
+
3675
+ # Token to retrieve the next page of results or empty if there are no more
3676
+ # results in the list.
3677
+ # Corresponds to the JSON property `nextPageToken`
3678
+ # @return [String]
3679
+ attr_accessor :next_page_token
3680
+
3681
+ # The returned user data mappings. The maximum number of user data mappings
3682
+ # returned is determined by the value of page_size in the
3683
+ # ListUserDataMappingsRequest.
3684
+ # Corresponds to the JSON property `userDataMappings`
3685
+ # @return [Array<Google::Apis::HealthcareV1beta1::UserDataMapping>]
3686
+ attr_accessor :user_data_mappings
3687
+
3688
+ def initialize(**args)
3689
+ update!(**args)
3690
+ end
3691
+
3692
+ # Update properties of this object
3693
+ def update!(**args)
3694
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3695
+ @user_data_mappings = args[:user_data_mappings] if args.key?(:user_data_mappings)
3696
+ end
3697
+ end
3698
+
3098
3699
  # A resource that represents Google Cloud Platform location.
3099
3700
  class Location
3100
3701
  include Google::Apis::Core::Hashable
3101
3702
 
3102
- # The friendly name for this location, typically a nearby city name.
3103
- # For example, "Tokyo".
3703
+ # The friendly name for this location, typically a nearby city name. For example,
3704
+ # "Tokyo".
3104
3705
  # Corresponds to the JSON property `displayName`
3105
3706
  # @return [String]
3106
3707
  attr_accessor :display_name
3107
3708
 
3108
- # Cross-service attributes for the location. For example
3109
- # `"cloud.googleapis.com/region": "us-east1"`
3709
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
3710
+ # region": "us-east1"`
3110
3711
  # Corresponds to the JSON property `labels`
3111
3712
  # @return [Hash<String,String>]
3112
3713
  attr_accessor :labels
@@ -3122,8 +3723,8 @@ module Google
3122
3723
  # @return [Hash<String,Object>]
3123
3724
  attr_accessor :metadata
3124
3725
 
3125
- # Resource name for the location, which may vary between implementations.
3126
- # For example: `"projects/example-project/locations/us-east1"`
3726
+ # Resource name for the location, which may vary between implementations. For
3727
+ # example: `"projects/example-project/locations/us-east1"`
3127
3728
  # Corresponds to the JSON property `name`
3128
3729
  # @return [String]
3129
3730
  attr_accessor :name
@@ -3142,10 +3743,8 @@ module Google
3142
3743
  end
3143
3744
  end
3144
3745
 
3145
- # A complete HL7v2 message.
3146
- # See [Introduction to HL7 Standards]
3147
- # (https://www.hl7.org/implement/standards/index.cfm?ref=common) for
3148
- # details on the standard.
3746
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3747
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
3149
3748
  class Message
3150
3749
  include Google::Apis::Core::Hashable
3151
3750
 
@@ -3160,15 +3759,13 @@ module Google
3160
3759
  # @return [String]
3161
3760
  attr_accessor :data
3162
3761
 
3163
- # User-supplied key-value pairs used to organize HL7v2 stores.
3164
- # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
3165
- # of maximum 128 bytes, and must conform to the
3166
- # following PCRE regular expression:
3167
- # \p`Ll`\p`Lo``0,62`
3168
- # Label values are optional, must be between 1 and 63 characters long, have
3169
- # a UTF-8 encoding of maximum 128 bytes, and must conform to the
3170
- # following PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
3171
- # No more than 64 labels can be associated with a given store.
3762
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
3763
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
3764
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
3765
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
3766
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
3767
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
3768
+ # can be associated with a given store.
3172
3769
  # Corresponds to the JSON property `labels`
3173
3770
  # @return [Hash<String,String>]
3174
3771
  attr_accessor :labels
@@ -3178,10 +3775,9 @@ module Google
3178
3775
  # @return [String]
3179
3776
  attr_accessor :message_type
3180
3777
 
3181
- # Resource name of the Message, of the form
3182
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
3183
- # messages/`message_id``.
3184
- # Assigned by the server.
3778
+ # Resource name of the Message, of the form `projects/`project_id`/datasets/`
3779
+ # dataset_id`/hl7V2Stores/`hl7_v2_store_id`/messages/`message_id``. Assigned by
3780
+ # the server.
3185
3781
  # Corresponds to the JSON property `name`
3186
3782
  # @return [String]
3187
3783
  attr_accessor :name
@@ -3191,8 +3787,7 @@ module Google
3191
3787
  # @return [Google::Apis::HealthcareV1beta1::ParsedData]
3192
3788
  attr_accessor :parsed_data
3193
3789
 
3194
- # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this
3195
- # message.
3790
+ # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.
3196
3791
  # Corresponds to the JSON property `patientIds`
3197
3792
  # @return [Array<Google::Apis::HealthcareV1beta1::PatientId>]
3198
3793
  attr_accessor :patient_ids
@@ -3238,20 +3833,19 @@ module Google
3238
3833
 
3239
3834
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
3240
3835
  # notifications of changes are published on. Supplied by the client.
3241
- # PubsubMessage.Data contains the resource name.
3242
- # PubsubMessage.MessageId is the ID of this message. It is guaranteed to be
3243
- # unique within the topic.
3836
+ # PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the
3837
+ # ID of this message. It is guaranteed to be unique within the topic.
3244
3838
  # PubsubMessage.PublishTime is the time at which the message was published.
3245
- # Notifications are only sent if the topic is
3246
- # non-empty. [Topic
3247
- # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
3248
- # to a project. Cloud Healthcare API service account must have publisher
3249
- # permissions on the given Cloud Pub/Sub topic. Not having adequate
3250
- # permissions causes the calls that send notifications to fail.
3251
- # If a notification can't be published to Cloud Pub/Sub, errors are logged to
3252
- # Cloud Logging (see [Viewing
3253
- # logs](/healthcare/docs/how-tos/logging)). If the number of
3254
- # errors exceeds a certain rate, some aren't submitted.
3839
+ # Notifications are only sent if the topic is non-empty. [Topic names](https://
3840
+ # cloud.google.com/pubsub/docs/overview#names) must be scoped to a project.
3841
+ # Cloud Healthcare API service account must have publisher permissions on the
3842
+ # given Cloud Pub/Sub topic. Not having adequate permissions causes the calls
3843
+ # that send notifications to fail. If a notification can't be published to Cloud
3844
+ # Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
3845
+ # docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
3846
+ # aren't submitted. Note that not all operations trigger notifications, see [
3847
+ # Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
3848
+ # how-tos/pubsub) for specific details.
3255
3849
  # Corresponds to the JSON property `pubsubTopic`
3256
3850
  # @return [String]
3257
3851
  attr_accessor :pubsub_topic
@@ -3271,47 +3865,45 @@ module Google
3271
3865
  class Operation
3272
3866
  include Google::Apis::Core::Hashable
3273
3867
 
3274
- # If the value is `false`, it means the operation is still in progress.
3275
- # If `true`, the operation is completed, and either `error` or `response` is
3276
- # available.
3868
+ # If the value is `false`, it means the operation is still in progress. If `true`
3869
+ # , the operation is completed, and either `error` or `response` is available.
3277
3870
  # Corresponds to the JSON property `done`
3278
3871
  # @return [Boolean]
3279
3872
  attr_accessor :done
3280
3873
  alias_method :done?, :done
3281
3874
 
3282
- # The `Status` type defines a logical error model that is suitable for
3283
- # different programming environments, including REST APIs and RPC APIs. It is
3284
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3285
- # three pieces of data: error code, error message, and error details.
3286
- # You can find out more about this error model and how to work with it in the
3287
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3875
+ # The `Status` type defines a logical error model that is suitable for different
3876
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3877
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3878
+ # data: error code, error message, and error details. You can find out more
3879
+ # about this error model and how to work with it in the [API Design Guide](https:
3880
+ # //cloud.google.com/apis/design/errors).
3288
3881
  # Corresponds to the JSON property `error`
3289
3882
  # @return [Google::Apis::HealthcareV1beta1::Status]
3290
3883
  attr_accessor :error
3291
3884
 
3292
- # Service-specific metadata associated with the operation. It typically
3293
- # contains progress information and common metadata such as create time.
3294
- # Some services might not provide such metadata. Any method that returns a
3295
- # long-running operation should document the metadata type, if any.
3885
+ # Service-specific metadata associated with the operation. It typically contains
3886
+ # progress information and common metadata such as create time. Some services
3887
+ # might not provide such metadata. Any method that returns a long-running
3888
+ # operation should document the metadata type, if any.
3296
3889
  # Corresponds to the JSON property `metadata`
3297
3890
  # @return [Hash<String,Object>]
3298
3891
  attr_accessor :metadata
3299
3892
 
3300
3893
  # The server-assigned name, which is only unique within the same service that
3301
- # originally returns it. If you use the default HTTP mapping, the
3302
- # `name` should be a resource name ending with `operations/`unique_id``.
3894
+ # originally returns it. If you use the default HTTP mapping, the `name` should
3895
+ # be a resource name ending with `operations/`unique_id``.
3303
3896
  # Corresponds to the JSON property `name`
3304
3897
  # @return [String]
3305
3898
  attr_accessor :name
3306
3899
 
3307
- # The normal response of the operation in case of success. If the original
3308
- # method returns no data on success, such as `Delete`, the response is
3309
- # `google.protobuf.Empty`. If the original method is standard
3310
- # `Get`/`Create`/`Update`, the response should be the resource. For other
3311
- # methods, the response should have the type `XxxResponse`, where `Xxx`
3312
- # is the original method name. For example, if the original method name
3313
- # is `TakeSnapshot()`, the inferred response type is
3314
- # `TakeSnapshotResponse`.
3900
+ # The normal response of the operation in case of success. If the original
3901
+ # method returns no data on success, such as `Delete`, the response is `google.
3902
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3903
+ # the response should be the resource. For other methods, the response should
3904
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
3905
+ # example, if the original method name is `TakeSnapshot()`, the inferred
3906
+ # response type is `TakeSnapshotResponse`.
3315
3907
  # Corresponds to the JSON property `response`
3316
3908
  # @return [Hash<String,Object>]
3317
3909
  attr_accessor :response
@@ -3330,8 +3922,8 @@ module Google
3330
3922
  end
3331
3923
  end
3332
3924
 
3333
- # OperationMetadata provides information about the operation execution.
3334
- # Returned in the long-running operation's metadata field.
3925
+ # OperationMetadata provides information about the operation execution. Returned
3926
+ # in the long-running operation's metadata field.
3335
3927
  class OperationMetadata
3336
3928
  include Google::Apis::Core::Hashable
3337
3929
 
@@ -3362,8 +3954,8 @@ module Google
3362
3954
  attr_accessor :end_time
3363
3955
 
3364
3956
  # A link to audit and error logs in the log viewer. Error logs are generated
3365
- # only by some operations, listed at
3366
- # [Viewing logs](/healthcare/docs/how-tos/logging).
3957
+ # only by some operations, listed at [Viewing logs](/healthcare/docs/how-tos/
3958
+ # logging).
3367
3959
  # Corresponds to the JSON property `logsUrl`
3368
3960
  # @return [String]
3369
3961
  attr_accessor :logs_url
@@ -3418,14 +4010,19 @@ module Google
3418
4010
  # @return [Google::Apis::HealthcareV1beta1::SchemaPackage]
3419
4011
  attr_accessor :schema
3420
4012
 
3421
- # Byte(s) to use as the segment terminator. If this is unset, '\r' is
3422
- # used as segment terminator, matching the HL7 version 2
3423
- # specification.
4013
+ # Byte(s) to use as the segment terminator. If this is unset, '\r' is used as
4014
+ # segment terminator, matching the HL7 version 2 specification.
3424
4015
  # Corresponds to the JSON property `segmentTerminator`
3425
4016
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3426
4017
  # @return [String]
3427
4018
  attr_accessor :segment_terminator
3428
4019
 
4020
+ # Immutable. Determines the version of the unschematized parser to be used when `
4021
+ # schema` is not given. This field is immutable after store creation.
4022
+ # Corresponds to the JSON property `version`
4023
+ # @return [String]
4024
+ attr_accessor :version
4025
+
3429
4026
  def initialize(**args)
3430
4027
  update!(**args)
3431
4028
  end
@@ -3435,6 +4032,7 @@ module Google
3435
4032
  @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
3436
4033
  @schema = args[:schema] if args.key?(:schema)
3437
4034
  @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
4035
+ @version = args[:version] if args.key?(:version)
3438
4036
  end
3439
4037
  end
3440
4038
 
@@ -3464,66 +4062,32 @@ module Google
3464
4062
  end
3465
4063
 
3466
4064
  # An Identity and Access Management (IAM) policy, which specifies access
3467
- # controls for Google Cloud resources.
3468
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3469
- # `members` to a single `role`. Members can be user accounts, service accounts,
3470
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3471
- # permissions; each `role` can be an IAM predefined role or a user-created
3472
- # custom role.
3473
- # For some types of Google Cloud resources, a `binding` can also specify a
3474
- # `condition`, which is a logical expression that allows access to a resource
3475
- # only if the expression evaluates to `true`. A condition can add constraints
3476
- # based on attributes of the request, the resource, or both. To learn which
3477
- # resources support conditions in their IAM policies, see the
3478
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3479
- # policies).
3480
- # **JSON example:**
3481
- # `
3482
- # "bindings": [
3483
- # `
3484
- # "role": "roles/resourcemanager.organizationAdmin",
3485
- # "members": [
3486
- # "user:mike@example.com",
3487
- # "group:admins@example.com",
3488
- # "domain:google.com",
3489
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3490
- # ]
3491
- # `,
3492
- # `
3493
- # "role": "roles/resourcemanager.organizationViewer",
3494
- # "members": [
3495
- # "user:eve@example.com"
3496
- # ],
3497
- # "condition": `
3498
- # "title": "expirable access",
3499
- # "description": "Does not grant access after Sep 2020",
3500
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3501
- # ",
3502
- # `
3503
- # `
3504
- # ],
3505
- # "etag": "BwWWja0YfJA=",
3506
- # "version": 3
3507
- # `
3508
- # **YAML example:**
3509
- # bindings:
3510
- # - members:
3511
- # - user:mike@example.com
3512
- # - group:admins@example.com
3513
- # - domain:google.com
3514
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3515
- # role: roles/resourcemanager.organizationAdmin
3516
- # - members:
3517
- # - user:eve@example.com
3518
- # role: roles/resourcemanager.organizationViewer
3519
- # condition:
3520
- # title: expirable access
3521
- # description: Does not grant access after Sep 2020
3522
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3523
- # - etag: BwWWja0YfJA=
3524
- # - version: 3
3525
- # For a description of IAM and its features, see the
3526
- # [IAM documentation](https://cloud.google.com/iam/docs/).
4065
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4066
+ # A `binding` binds one or more `members` to a single `role`. Members can be
4067
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
4068
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
4069
+ # role or a user-created custom role. For some types of Google Cloud resources,
4070
+ # a `binding` can also specify a `condition`, which is a logical expression that
4071
+ # allows access to a resource only if the expression evaluates to `true`. A
4072
+ # condition can add constraints based on attributes of the request, the resource,
4073
+ # or both. To learn which resources support conditions in their IAM policies,
4074
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
4075
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
4076
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
4077
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
4078
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
4079
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
4080
+ # title": "expirable access", "description": "Does not grant access after Sep
4081
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
4082
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
4083
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
4084
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
4085
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4086
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
4087
+ # description: Does not grant access after Sep 2020 expression: request.time <
4088
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
4089
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
4090
+ # google.com/iam/docs/).
3527
4091
  class Policy
3528
4092
  include Google::Apis::Core::Hashable
3529
4093
 
@@ -3532,48 +4096,44 @@ module Google
3532
4096
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditConfig>]
3533
4097
  attr_accessor :audit_configs
3534
4098
 
3535
- # Associates a list of `members` to a `role`. Optionally, may specify a
3536
- # `condition` that determines how and when the `bindings` are applied. Each
3537
- # of the `bindings` must contain at least one member.
4099
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
4100
+ # condition` that determines how and when the `bindings` are applied. Each of
4101
+ # the `bindings` must contain at least one member.
3538
4102
  # Corresponds to the JSON property `bindings`
3539
4103
  # @return [Array<Google::Apis::HealthcareV1beta1::Binding>]
3540
4104
  attr_accessor :bindings
3541
4105
 
3542
- # `etag` is used for optimistic concurrency control as a way to help
3543
- # prevent simultaneous updates of a policy from overwriting each other.
3544
- # It is strongly suggested that systems make use of the `etag` in the
3545
- # read-modify-write cycle to perform policy updates in order to avoid race
3546
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
3547
- # systems are expected to put that etag in the request to `setIamPolicy` to
3548
- # ensure that their change will be applied to the same version of the policy.
3549
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3550
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3551
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3552
- # the conditions in the version `3` policy are lost.
4106
+ # `etag` is used for optimistic concurrency control as a way to help prevent
4107
+ # simultaneous updates of a policy from overwriting each other. It is strongly
4108
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
4109
+ # to perform policy updates in order to avoid race conditions: An `etag` is
4110
+ # returned in the response to `getIamPolicy`, and systems are expected to put
4111
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
4112
+ # applied to the same version of the policy. **Important:** If you use IAM
4113
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
4114
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
4115
+ # with a version `1` policy, and all of the conditions in the version `3` policy
4116
+ # are lost.
3553
4117
  # Corresponds to the JSON property `etag`
3554
4118
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3555
4119
  # @return [String]
3556
4120
  attr_accessor :etag
3557
4121
 
3558
- # Specifies the format of the policy.
3559
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3560
- # are rejected.
3561
- # Any operation that affects conditional role bindings must specify version
3562
- # `3`. This requirement applies to the following operations:
3563
- # * Getting a policy that includes a conditional role binding
3564
- # * Adding a conditional role binding to a policy
3565
- # * Changing a conditional role binding in a policy
3566
- # * Removing any role binding, with or without a condition, from a policy
3567
- # that includes conditions
3568
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3569
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3570
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3571
- # the conditions in the version `3` policy are lost.
3572
- # If a policy does not include any conditions, operations on that policy may
3573
- # specify any valid version or leave the field unset.
3574
- # To learn which resources support conditions in their IAM policies, see the
3575
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3576
- # policies).
4122
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
4123
+ # Requests that specify an invalid value are rejected. Any operation that
4124
+ # affects conditional role bindings must specify version `3`. This requirement
4125
+ # applies to the following operations: * Getting a policy that includes a
4126
+ # conditional role binding * Adding a conditional role binding to a policy *
4127
+ # Changing a conditional role binding in a policy * Removing any role binding,
4128
+ # with or without a condition, from a policy that includes conditions **
4129
+ # Important:** If you use IAM Conditions, you must include the `etag` field
4130
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
4131
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
4132
+ # conditions in the version `3` policy are lost. If a policy does not include
4133
+ # any conditions, operations on that policy may specify any valid version or
4134
+ # leave the field unset. To learn which resources support conditions in their
4135
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
4136
+ # conditions/resource-policies).
3577
4137
  # Corresponds to the JSON property `version`
3578
4138
  # @return [Fixnum]
3579
4139
  attr_accessor :version
@@ -3622,8 +4182,45 @@ module Google
3622
4182
  end
3623
4183
  end
3624
4184
 
3625
- # Define how to redact sensitive values. Default behaviour is erase.
3626
- # For example, "My name is Jane." becomes "My name is ."
4185
+ # Queries all data_ids that are consented for a given use in the given Consent
4186
+ # store and writes them to a specified destination. The returned Operation
4187
+ # includes a progress counter for the number of User data mappings processed.
4188
+ # Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
4189
+ # tos/logging) and [QueryAccessibleData] for a sample log entry).
4190
+ class QueryAccessibleDataRequest
4191
+ include Google::Apis::Core::Hashable
4192
+
4193
+ # The Cloud Storage location for export.
4194
+ # Corresponds to the JSON property `gcsDestination`
4195
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination]
4196
+ attr_accessor :gcs_destination
4197
+
4198
+ # The values of request attributes associated with this access request.
4199
+ # Corresponds to the JSON property `requestAttributes`
4200
+ # @return [Hash<String,String>]
4201
+ attr_accessor :request_attributes
4202
+
4203
+ # The values of resources attributes associated with the type of data being
4204
+ # requested. If no values are specified, then all data types are included in the
4205
+ # output.
4206
+ # Corresponds to the JSON property `resourceAttributes`
4207
+ # @return [Hash<String,String>]
4208
+ attr_accessor :resource_attributes
4209
+
4210
+ def initialize(**args)
4211
+ update!(**args)
4212
+ end
4213
+
4214
+ # Update properties of this object
4215
+ def update!(**args)
4216
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
4217
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
4218
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4219
+ end
4220
+ end
4221
+
4222
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
4223
+ # "My name is Jane." becomes "My name is ."
3627
4224
  class RedactConfig
3628
4225
  include Google::Apis::Core::Hashable
3629
4226
 
@@ -3636,12 +4233,34 @@ module Google
3636
4233
  end
3637
4234
  end
3638
4235
 
3639
- # When using the
3640
- # INSPECT_AND_TRANSFORM
3641
- # action, each match is replaced with the name of the info_type. For example,
3642
- # "My name is Jane" becomes "My name is [PERSON_NAME]." The
3643
- # TRANSFORM
3644
- # action is equivalent to redacting.
4236
+ # Rejects the latest revision of the specified Consent by committing a new
4237
+ # revision with `state` updated to `REJECTED`. If the latest revision of the
4238
+ # given consent is in the `REJECTED` state, no new revision is committed.
4239
+ class RejectConsentRequest
4240
+ include Google::Apis::Core::Hashable
4241
+
4242
+ # The resource name of the consent artifact that contains proof of the end user'
4243
+ # s rejection of the draft consent, of the form `projects/`project_id`/locations/
4244
+ # `location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4245
+ # consentArtifacts/`consent_artifact_id``. If the draft consent had a consent
4246
+ # artifact, this consent artifact overwrites it.
4247
+ # Corresponds to the JSON property `consentArtifact`
4248
+ # @return [String]
4249
+ attr_accessor :consent_artifact
4250
+
4251
+ def initialize(**args)
4252
+ update!(**args)
4253
+ end
4254
+
4255
+ # Update properties of this object
4256
+ def update!(**args)
4257
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4258
+ end
4259
+ end
4260
+
4261
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
4262
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
4263
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
3645
4264
  class ReplaceWithInfoTypeConfig
3646
4265
  include Google::Apis::Core::Hashable
3647
4266
 
@@ -3692,23 +4311,77 @@ module Google
3692
4311
  end
3693
4312
  end
3694
4313
 
4314
+ # The consent evaluation result for a single `data_id`.
4315
+ class Result
4316
+ include Google::Apis::Core::Hashable
4317
+
4318
+ # The resource names of all evaluated Consents mapped to their evaluation.
4319
+ # Corresponds to the JSON property `consentDetails`
4320
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
4321
+ attr_accessor :consent_details
4322
+
4323
+ # Whether the requested data is consented for the given use.
4324
+ # Corresponds to the JSON property `consented`
4325
+ # @return [Boolean]
4326
+ attr_accessor :consented
4327
+ alias_method :consented?, :consented
4328
+
4329
+ # The unique identifier of the data the consents were checked for.
4330
+ # Corresponds to the JSON property `dataId`
4331
+ # @return [String]
4332
+ attr_accessor :data_id
4333
+
4334
+ def initialize(**args)
4335
+ update!(**args)
4336
+ end
4337
+
4338
+ # Update properties of this object
4339
+ def update!(**args)
4340
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
4341
+ @consented = args[:consented] if args.key?(:consented)
4342
+ @data_id = args[:data_id] if args.key?(:data_id)
4343
+ end
4344
+ end
4345
+
4346
+ # Revokes the latest revision of the specified Consent by committing a new
4347
+ # revision with `state` updated to `REVOKED`. If the latest revision of the
4348
+ # given consent is in the `REVOKED` state, no new revision is committed.
4349
+ class RevokeConsentRequest
4350
+ include Google::Apis::Core::Hashable
4351
+
4352
+ # The resource name of the consent artifact that contains proof of the end user'
4353
+ # s revocation of the consent, of the form `projects/`project_id`/locations/`
4354
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4355
+ # consentArtifacts/`consent_artifact_id``.
4356
+ # Corresponds to the JSON property `consentArtifact`
4357
+ # @return [String]
4358
+ attr_accessor :consent_artifact
4359
+
4360
+ def initialize(**args)
4361
+ update!(**args)
4362
+ end
4363
+
4364
+ # Update properties of this object
4365
+ def update!(**args)
4366
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4367
+ end
4368
+ end
4369
+
3695
4370
  # Configuration for the FHIR BigQuery schema. Determines how the server
3696
4371
  # generates the schema.
3697
4372
  class SchemaConfig
3698
4373
  include Google::Apis::Core::Hashable
3699
4374
 
3700
- # The depth for all recursive structures in the output analytics
3701
- # schema. For example, `concept` in the CodeSystem resource is a recursive
3702
- # structure; when the depth is 2, the CodeSystem table will have a column
3703
- # called `concept.concept` but not `concept.concept.concept`. If not
3704
- # specified or set to 0, the server will use the default value 2. The
3705
- # maximum depth allowed is 5.
4375
+ # The depth for all recursive structures in the output analytics schema. For
4376
+ # example, `concept` in the CodeSystem resource is a recursive structure; when
4377
+ # the depth is 2, the CodeSystem table will have a column called `concept.
4378
+ # concept` but not `concept.concept.concept`. If not specified or set to 0, the
4379
+ # server will use the default value 2. The maximum depth allowed is 5.
3706
4380
  # Corresponds to the JSON property `recursiveStructureDepth`
3707
4381
  # @return [Fixnum]
3708
4382
  attr_accessor :recursive_structure_depth
3709
4383
 
3710
- # Specifies the output schema type. If unspecified, the default is
3711
- # `LOSSLESS`.
4384
+ # Specifies the output schema type. Schema type is required.
3712
4385
  # Corresponds to the JSON property `schemaType`
3713
4386
  # @return [String]
3714
4387
  attr_accessor :schema_type
@@ -3782,10 +4455,10 @@ module Google
3782
4455
  attr_accessor :ignore_min_occurs
3783
4456
  alias_method :ignore_min_occurs?, :ignore_min_occurs
3784
4457
 
3785
- # Schema configs that are layered based on their VersionSources that
3786
- # match the incoming message. Schema configs present in higher indices
3787
- # override those in lower indices with the same message type and trigger
3788
- # event if their VersionSources all match an incoming message.
4458
+ # Schema configs that are layered based on their VersionSources that match the
4459
+ # incoming message. Schema configs present in higher indices override those in
4460
+ # lower indices with the same message type and trigger event if their
4461
+ # VersionSources all match an incoming message.
3789
4462
  # Corresponds to the JSON property `schemas`
3790
4463
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7SchemaConfig>]
3791
4464
  attr_accessor :schemas
@@ -3795,14 +4468,20 @@ module Google
3795
4468
  # @return [String]
3796
4469
  attr_accessor :schematized_parsing_type
3797
4470
 
3798
- # Schema type definitions that are layered based on their VersionSources
3799
- # that match the incoming message. Type definitions present in higher indices
4471
+ # Schema type definitions that are layered based on their VersionSources that
4472
+ # match the incoming message. Type definitions present in higher indices
3800
4473
  # override those in lower indices with the same type name if their
3801
4474
  # VersionSources all match an incoming message.
3802
4475
  # Corresponds to the JSON property `types`
3803
4476
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7TypesConfig>]
3804
4477
  attr_accessor :types
3805
4478
 
4479
+ # Determines how unexpected segments (segments not matched to the schema) are
4480
+ # handled.
4481
+ # Corresponds to the JSON property `unexpectedSegmentHandling`
4482
+ # @return [String]
4483
+ attr_accessor :unexpected_segment_handling
4484
+
3806
4485
  def initialize(**args)
3807
4486
  update!(**args)
3808
4487
  end
@@ -3813,6 +4492,7 @@ module Google
3813
4492
  @schemas = args[:schemas] if args.key?(:schemas)
3814
4493
  @schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
3815
4494
  @types = args[:types] if args.key?(:types)
4495
+ @unexpected_segment_handling = args[:unexpected_segment_handling] if args.key?(:unexpected_segment_handling)
3816
4496
  end
3817
4497
  end
3818
4498
 
@@ -3820,8 +4500,8 @@ module Google
3820
4500
  class SchemaSegment
3821
4501
  include Google::Apis::Core::Hashable
3822
4502
 
3823
- # The maximum number of times this segment can be present in this group.
3824
- # 0 or -1 means unbounded.
4503
+ # The maximum number of times this segment can be present in this group. 0 or -1
4504
+ # means unbounded.
3825
4505
  # Corresponds to the JSON property `maxOccurs`
3826
4506
  # @return [Fixnum]
3827
4507
  attr_accessor :max_occurs
@@ -3879,10 +4559,10 @@ module Google
3879
4559
  include Google::Apis::Core::Hashable
3880
4560
 
3881
4561
  # The FHIR resource type to search, such as Patient or Observation. For a
3882
- # complete list, see the FHIR Resource Index
3883
- # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
3884
- # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
3885
- # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
4562
+ # complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/
4563
+ # standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/
4564
+ # standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/
4565
+ # standards/fhir/R4/resourcelist.html)).
3886
4566
  # Corresponds to the JSON property `resourceType`
3887
4567
  # @return [String]
3888
4568
  attr_accessor :resource_type
@@ -3901,18 +4581,15 @@ module Google
3901
4581
  class Segment
3902
4582
  include Google::Apis::Core::Hashable
3903
4583
 
3904
- # A mapping from the positional location to the value.
3905
- # The key string uses zero-based indexes separated by dots to identify
3906
- # Fields, components and sub-components. A bracket notation is also used to
3907
- # identify different instances of a repeated field.
3908
- # Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)?
3909
- # Examples of (key, value) pairs:
3910
- # * (0.1, "hemoglobin") denotes that the first component of Field 0 has the
3911
- # value "hemoglobin".
3912
- # * (1.1.2, "CBC") denotes that the second sub-component of the first
3913
- # component of Field 1 has the value "CBC".
3914
- # * (1[0].1, "HbA1c") denotes that the first component of the
3915
- # first Instance of Field 1, which is repeated, has the value "HbA1c".
4584
+ # A mapping from the positional location to the value. The key string uses zero-
4585
+ # based indexes separated by dots to identify Fields, components and sub-
4586
+ # components. A bracket notation is also used to identify different instances of
4587
+ # a repeated field. Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? Examples of (
4588
+ # key, value) pairs: * (0.1, "hemoglobin") denotes that the first component of
4589
+ # Field 0 has the value "hemoglobin". * (1.1.2, "CBC") denotes that the second
4590
+ # sub-component of the first component of Field 1 has the value "CBC". * (1[0].1,
4591
+ # "HbA1c") denotes that the first component of the first Instance of Field 1,
4592
+ # which is repeated, has the value "HbA1c".
3916
4593
  # Corresponds to the JSON property `fields`
3917
4594
  # @return [Hash<String,String>]
3918
4595
  attr_accessor :fields
@@ -3922,8 +4599,8 @@ module Google
3922
4599
  # @return [String]
3923
4600
  attr_accessor :segment_id
3924
4601
 
3925
- # Set ID for segments that can be in a set. This can be empty if it's
3926
- # missing or isn't applicable.
4602
+ # Set ID for segments that can be in a set. This can be empty if it's missing or
4603
+ # isn't applicable.
3927
4604
  # Corresponds to the JSON property `setId`
3928
4605
  # @return [String]
3929
4606
  attr_accessor :set_id
@@ -3944,9 +4621,9 @@ module Google
3944
4621
  class SensitiveTextAnnotation
3945
4622
  include Google::Apis::Core::Hashable
3946
4623
 
3947
- # Maps from a resource slice. For example, FHIR resource field path to a set
3948
- # of sensitive text findings. For example,
3949
- # Appointment.Narrative text1 --> `findings_1, findings_2, findings_3`
4624
+ # Maps from a resource slice. For example, FHIR resource field path to a set of
4625
+ # sensitive text findings. For example, Appointment.Narrative text1 --> `
4626
+ # findings_1, findings_2, findings_3`
3950
4627
  # Corresponds to the JSON property `details`
3951
4628
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::Detail>]
3952
4629
  attr_accessor :details
@@ -3966,74 +4643,39 @@ module Google
3966
4643
  include Google::Apis::Core::Hashable
3967
4644
 
3968
4645
  # An Identity and Access Management (IAM) policy, which specifies access
3969
- # controls for Google Cloud resources.
3970
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3971
- # `members` to a single `role`. Members can be user accounts, service accounts,
3972
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3973
- # permissions; each `role` can be an IAM predefined role or a user-created
3974
- # custom role.
3975
- # For some types of Google Cloud resources, a `binding` can also specify a
3976
- # `condition`, which is a logical expression that allows access to a resource
3977
- # only if the expression evaluates to `true`. A condition can add constraints
3978
- # based on attributes of the request, the resource, or both. To learn which
3979
- # resources support conditions in their IAM policies, see the
3980
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3981
- # policies).
3982
- # **JSON example:**
3983
- # `
3984
- # "bindings": [
3985
- # `
3986
- # "role": "roles/resourcemanager.organizationAdmin",
3987
- # "members": [
3988
- # "user:mike@example.com",
3989
- # "group:admins@example.com",
3990
- # "domain:google.com",
3991
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3992
- # ]
3993
- # `,
3994
- # `
3995
- # "role": "roles/resourcemanager.organizationViewer",
3996
- # "members": [
3997
- # "user:eve@example.com"
3998
- # ],
3999
- # "condition": `
4000
- # "title": "expirable access",
4001
- # "description": "Does not grant access after Sep 2020",
4002
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
4003
- # ",
4004
- # `
4005
- # `
4006
- # ],
4007
- # "etag": "BwWWja0YfJA=",
4008
- # "version": 3
4009
- # `
4010
- # **YAML example:**
4011
- # bindings:
4012
- # - members:
4013
- # - user:mike@example.com
4014
- # - group:admins@example.com
4015
- # - domain:google.com
4016
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
4017
- # role: roles/resourcemanager.organizationAdmin
4018
- # - members:
4019
- # - user:eve@example.com
4020
- # role: roles/resourcemanager.organizationViewer
4021
- # condition:
4022
- # title: expirable access
4023
- # description: Does not grant access after Sep 2020
4024
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
4025
- # - etag: BwWWja0YfJA=
4026
- # - version: 3
4027
- # For a description of IAM and its features, see the
4028
- # [IAM documentation](https://cloud.google.com/iam/docs/).
4646
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4647
+ # A `binding` binds one or more `members` to a single `role`. Members can be
4648
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
4649
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
4650
+ # role or a user-created custom role. For some types of Google Cloud resources,
4651
+ # a `binding` can also specify a `condition`, which is a logical expression that
4652
+ # allows access to a resource only if the expression evaluates to `true`. A
4653
+ # condition can add constraints based on attributes of the request, the resource,
4654
+ # or both. To learn which resources support conditions in their IAM policies,
4655
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
4656
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
4657
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
4658
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
4659
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
4660
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
4661
+ # title": "expirable access", "description": "Does not grant access after Sep
4662
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
4663
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
4664
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
4665
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
4666
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4667
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
4668
+ # description: Does not grant access after Sep 2020 expression: request.time <
4669
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
4670
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
4671
+ # google.com/iam/docs/).
4029
4672
  # Corresponds to the JSON property `policy`
4030
4673
  # @return [Google::Apis::HealthcareV1beta1::Policy]
4031
4674
  attr_accessor :policy
4032
4675
 
4033
4676
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
4034
- # the fields in the mask will be modified. If no mask is provided, the
4035
- # following default mask is used:
4036
- # `paths: "bindings, etag"`
4677
+ # the fields in the mask will be modified. If no mask is provided, the following
4678
+ # default mask is used: `paths: "bindings, etag"`
4037
4679
  # Corresponds to the JSON property `updateMask`
4038
4680
  # @return [String]
4039
4681
  attr_accessor :update_mask
@@ -4049,12 +4691,50 @@ module Google
4049
4691
  end
4050
4692
  end
4051
4693
 
4052
- # The `Status` type defines a logical error model that is suitable for
4053
- # different programming environments, including REST APIs and RPC APIs. It is
4054
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4055
- # three pieces of data: error code, error message, and error details.
4056
- # You can find out more about this error model and how to work with it in the
4057
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
4694
+ # User signature.
4695
+ class Signature
4696
+ include Google::Apis::Core::Hashable
4697
+
4698
+ # An image.
4699
+ # Corresponds to the JSON property `image`
4700
+ # @return [Google::Apis::HealthcareV1beta1::Image]
4701
+ attr_accessor :image
4702
+
4703
+ # Metadata associated with the user's signature. For example, the user's name or
4704
+ # the user's title.
4705
+ # Corresponds to the JSON property `metadata`
4706
+ # @return [Hash<String,String>]
4707
+ attr_accessor :metadata
4708
+
4709
+ # Timestamp of the signature.
4710
+ # Corresponds to the JSON property `signatureTime`
4711
+ # @return [String]
4712
+ attr_accessor :signature_time
4713
+
4714
+ # User's UUID provided by the client.
4715
+ # Corresponds to the JSON property `userId`
4716
+ # @return [String]
4717
+ attr_accessor :user_id
4718
+
4719
+ def initialize(**args)
4720
+ update!(**args)
4721
+ end
4722
+
4723
+ # Update properties of this object
4724
+ def update!(**args)
4725
+ @image = args[:image] if args.key?(:image)
4726
+ @metadata = args[:metadata] if args.key?(:metadata)
4727
+ @signature_time = args[:signature_time] if args.key?(:signature_time)
4728
+ @user_id = args[:user_id] if args.key?(:user_id)
4729
+ end
4730
+ end
4731
+
4732
+ # The `Status` type defines a logical error model that is suitable for different
4733
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4734
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4735
+ # data: error code, error message, and error details. You can find out more
4736
+ # about this error model and how to work with it in the [API Design Guide](https:
4737
+ # //cloud.google.com/apis/design/errors).
4058
4738
  class Status
4059
4739
  include Google::Apis::Core::Hashable
4060
4740
 
@@ -4063,15 +4743,15 @@ module Google
4063
4743
  # @return [Fixnum]
4064
4744
  attr_accessor :code
4065
4745
 
4066
- # A list of messages that carry the error details. There is a common set of
4746
+ # A list of messages that carry the error details. There is a common set of
4067
4747
  # message types for APIs to use.
4068
4748
  # Corresponds to the JSON property `details`
4069
4749
  # @return [Array<Hash<String,Object>>]
4070
4750
  attr_accessor :details
4071
4751
 
4072
- # A developer-facing error message, which should be in English. Any
4073
- # user-facing error message should be localized and sent in the
4074
- # google.rpc.Status.details field, or localized by the client.
4752
+ # A developer-facing error message, which should be in English. Any user-facing
4753
+ # error message should be localized and sent in the google.rpc.Status.details
4754
+ # field, or localized by the client.
4075
4755
  # Corresponds to the JSON property `message`
4076
4756
  # @return [String]
4077
4757
  attr_accessor :message
@@ -4097,10 +4777,9 @@ module Google
4097
4777
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination]
4098
4778
  attr_accessor :bigquery_destination
4099
4779
 
4100
- # Supply a FHIR resource type (such as "Patient" or "Observation").
4101
- # See https://www.hl7.org/fhir/valueset-resource-types.html for a list of
4102
- # all FHIR resource types.
4103
- # The server treats an empty list as an intent to stream all the
4780
+ # Supply a FHIR resource type (such as "Patient" or "Observation"). See https://
4781
+ # www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource
4782
+ # types. The server treats an empty list as an intent to stream all the
4104
4783
  # supported resource types in this FHIR store.
4105
4784
  # Corresponds to the JSON property `resourceTypes`
4106
4785
  # @return [Array<String>]
@@ -4121,11 +4800,10 @@ module Google
4121
4800
  class TagFilterList
4122
4801
  include Google::Apis::Core::Hashable
4123
4802
 
4124
- # Tags to be filtered. Tags must be DICOM Data Elements, File Meta
4125
- # Elements, or Directory Structuring Elements, as defined at:
4126
- # http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
4127
- # They may be provided by "Keyword" or "Tag". For example, "PatientID",
4128
- # "00100010".
4803
+ # Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or
4804
+ # Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/
4805
+ # dicom/current/output/html/part06.html#table_6-1,. They may be provided by "
4806
+ # Keyword" or "Tag". For example, "PatientID", "00100010".
4129
4807
  # Corresponds to the JSON property `tags`
4130
4808
  # @return [Array<String>]
4131
4809
  attr_accessor :tags
@@ -4144,10 +4822,9 @@ module Google
4144
4822
  class TestIamPermissionsRequest
4145
4823
  include Google::Apis::Core::Hashable
4146
4824
 
4147
- # The set of permissions to check for the `resource`. Permissions with
4148
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
4149
- # information see
4150
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
4825
+ # The set of permissions to check for the `resource`. Permissions with wildcards
4826
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
4827
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
4151
4828
  # Corresponds to the JSON property `permissions`
4152
4829
  # @return [Array<String>]
4153
4830
  attr_accessor :permissions
@@ -4166,8 +4843,7 @@ module Google
4166
4843
  class TestIamPermissionsResponse
4167
4844
  include Google::Apis::Core::Hashable
4168
4845
 
4169
- # A subset of `TestPermissionsRequest.permissions` that the caller is
4170
- # allowed.
4846
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
4171
4847
  # Corresponds to the JSON property `permissions`
4172
4848
  # @return [Array<String>]
4173
4849
  attr_accessor :permissions
@@ -4210,14 +4886,14 @@ module Google
4210
4886
  # @return [Array<Google::Apis::HealthcareV1beta1::Field>]
4211
4887
  attr_accessor :fields
4212
4888
 
4213
- # The name of this type. This would be the segment or datatype name.
4214
- # For example, "PID" or "XPN".
4889
+ # The name of this type. This would be the segment or datatype name. For example,
4890
+ # "PID" or "XPN".
4215
4891
  # Corresponds to the JSON property `name`
4216
4892
  # @return [String]
4217
4893
  attr_accessor :name
4218
4894
 
4219
- # If this is a primitive type then this field is the type of the primitive
4220
- # For example, STRING. Leave unspecified for composite types.
4895
+ # If this is a primitive type then this field is the type of the primitive For
4896
+ # example, STRING. Leave unspecified for composite types.
4221
4897
  # Corresponds to the JSON property `primitive`
4222
4898
  # @return [String]
4223
4899
  attr_accessor :primitive
@@ -4234,6 +4910,62 @@ module Google
4234
4910
  end
4235
4911
  end
4236
4912
 
4913
+ # Maps a user data entry to its end user and Attributes.
4914
+ class UserDataMapping
4915
+ include Google::Apis::Core::Hashable
4916
+
4917
+ # Output only. Indicates the time when this data mapping was archived.
4918
+ # Corresponds to the JSON property `archiveTime`
4919
+ # @return [String]
4920
+ attr_accessor :archive_time
4921
+
4922
+ # Output only. Indicates whether this data mapping is archived.
4923
+ # Corresponds to the JSON property `archived`
4924
+ # @return [Boolean]
4925
+ attr_accessor :archived
4926
+ alias_method :archived?, :archived
4927
+
4928
+ # Required. A unique identifier for the mapped data.
4929
+ # Corresponds to the JSON property `dataId`
4930
+ # @return [String]
4931
+ attr_accessor :data_id
4932
+
4933
+ # Resource name of the User data mapping, of the form `projects/`project_id`/
4934
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4935
+ # userDataMappings/`user_data_mapping_id``.
4936
+ # Corresponds to the JSON property `name`
4937
+ # @return [String]
4938
+ attr_accessor :name
4939
+
4940
+ # Attributes of end user data. Each attribute can have exactly one value
4941
+ # specified. Only explicitly set attributes are displayed here. Attribute
4942
+ # definitions with defaults set implicitly apply to these User data mappings.
4943
+ # Attributes listed here must be single valued, that is, exactly one value is
4944
+ # specified for the field "values" in each Attribute.
4945
+ # Corresponds to the JSON property `resourceAttributes`
4946
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
4947
+ attr_accessor :resource_attributes
4948
+
4949
+ # Required. User's UUID provided by the client.
4950
+ # Corresponds to the JSON property `userId`
4951
+ # @return [String]
4952
+ attr_accessor :user_id
4953
+
4954
+ def initialize(**args)
4955
+ update!(**args)
4956
+ end
4957
+
4958
+ # Update properties of this object
4959
+ def update!(**args)
4960
+ @archive_time = args[:archive_time] if args.key?(:archive_time)
4961
+ @archived = args[:archived] if args.key?(:archived)
4962
+ @data_id = args[:data_id] if args.key?(:data_id)
4963
+ @name = args[:name] if args.key?(:name)
4964
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4965
+ @user_id = args[:user_id] if args.key?(:user_id)
4966
+ end
4967
+ end
4968
+
4237
4969
  # Describes a selector for extracting and matching an MSH field to a value.
4238
4970
  class VersionSource
4239
4971
  include Google::Apis::Core::Hashable
@@ -4243,8 +4975,7 @@ module Google
4243
4975
  # @return [String]
4244
4976
  attr_accessor :msh_field
4245
4977
 
4246
- # The value to match with the field. For example, "My Application Name" or
4247
- # "2.3".
4978
+ # The value to match with the field. For example, "My Application Name" or "2.3".
4248
4979
  # Corresponds to the JSON property `value`
4249
4980
  # @return [String]
4250
4981
  attr_accessor :value