google-api-client 0.43.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -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,134 @@ 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. The number of allowed values must
261
+ # not exceed 100. An empty list is invalid. The list can only be expanded after
262
+ # creation.
263
+ # Corresponds to the JSON property `allowedValues`
264
+ # @return [Array<String>]
265
+ attr_accessor :allowed_values
266
+
267
+ # Required. The category of the attribute. The value of this field cannot be
268
+ # changed after creation.
269
+ # Corresponds to the JSON property `category`
270
+ # @return [String]
271
+ attr_accessor :category
272
+
273
+ # Default values of the attribute in consents. If no default values are
274
+ # specified, it defaults to an empty value.
275
+ # Corresponds to the JSON property `consentDefaultValues`
276
+ # @return [Array<String>]
277
+ attr_accessor :consent_default_values
278
+
279
+ # Default value of the attribute in user data mappings. If no default value is
280
+ # specified, it defaults to an empty value. This field is only applicable to
281
+ # attributes of the category `RESOURCE`.
282
+ # Corresponds to the JSON property `dataMappingDefaultValue`
283
+ # @return [String]
284
+ attr_accessor :data_mapping_default_value
285
+
286
+ # A description of the attribute.
287
+ # Corresponds to the JSON property `description`
288
+ # @return [String]
289
+ attr_accessor :description
290
+
291
+ # Resource name of the attribute definition, of the form `projects/`project_id`/
292
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
293
+ # attributeDefinitions/`attribute_definition_id``.
294
+ # Corresponds to the JSON property `name`
295
+ # @return [String]
296
+ attr_accessor :name
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @allowed_values = args[:allowed_values] if args.key?(:allowed_values)
305
+ @category = args[:category] if args.key?(:category)
306
+ @consent_default_values = args[:consent_default_values] if args.key?(:consent_default_values)
307
+ @data_mapping_default_value = args[:data_mapping_default_value] if args.key?(:data_mapping_default_value)
308
+ @description = args[:description] if args.key?(:description)
309
+ @name = args[:name] if args.key?(:name)
310
+ end
311
+ end
312
+
313
+ # Specifies the audit configuration for a service. The configuration determines
314
+ # which permission types are logged, and what identities, if any, are exempted
315
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
316
+ # are AuditConfigs for both `allServices` and a specific service, the union of
317
+ # the two AuditConfigs is used for that service: the log_types specified in each
318
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
319
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
320
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
321
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
322
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
323
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
324
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
325
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
326
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
327
+ # DATA_WRITE logging.
217
328
  class AuditConfig
218
329
  include Google::Apis::Core::Hashable
219
330
 
@@ -222,9 +333,9 @@ module Google
222
333
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditLogConfig>]
223
334
  attr_accessor :audit_log_configs
224
335
 
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.
336
+ # Specifies a service that will be enabled for audit logging. For example, `
337
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
338
+ # value that covers all services.
228
339
  # Corresponds to the JSON property `service`
229
340
  # @return [String]
230
341
  attr_accessor :service
@@ -240,28 +351,15 @@ module Google
240
351
  end
241
352
  end
242
353
 
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.
354
+ # Provides the configuration for logging a type of permissions. Example: ` "
355
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
356
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
357
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
358
+ # DATA_READ logging.
260
359
  class AuditLogConfig
261
360
  include Google::Apis::Core::Hashable
262
361
 
263
- # Specifies the identities that do not cause logging for this type of
264
- # permission.
362
+ # Specifies the identities that do not cause logging for this type of permission.
265
363
  # Follows the same format of Binding.members.
266
364
  # Corresponds to the JSON property `exemptedMembers`
267
365
  # @return [Array<String>]
@@ -287,69 +385,57 @@ module Google
287
385
  class Binding
288
386
  include Google::Apis::Core::Hashable
289
387
 
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.
388
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
389
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
390
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
391
+ # "Summary size limit" description: "Determines if a summary is less than 100
392
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
393
+ # Requestor is owner" description: "Determines if requestor is the document
394
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
395
+ # Logic): title: "Public documents" description: "Determine whether the document
396
+ # should be publicly visible" expression: "document.type != 'private' &&
397
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
398
+ # string" description: "Create a notification string with a timestamp."
399
+ # expression: "'New message received at ' + string(document.create_time)" The
400
+ # exact variables and functions that may be referenced within an expression are
401
+ # determined by the service that evaluates it. See the service documentation for
402
+ # additional information.
312
403
  # Corresponds to the JSON property `condition`
313
404
  # @return [Google::Apis::HealthcareV1beta1::Expr]
314
405
  attr_accessor :condition
315
406
 
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`.
407
+ # Specifies the identities requesting access for a Cloud Platform resource. `
408
+ # members` can have the following values: * `allUsers`: A special identifier
409
+ # that represents anyone who is on the internet; with or without a Google
410
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
411
+ # anyone who is authenticated with a Google account or a service account. * `
412
+ # user:`emailid``: An email address that represents a specific Google account.
413
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
414
+ # address that represents a service account. For example, `my-other-app@appspot.
415
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
416
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
417
+ # `uniqueid``: An email address (plus unique identifier) representing a user
418
+ # that has been recently deleted. For example, `alice@example.com?uid=
419
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
420
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
421
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
422
+ # identifier) representing a service account that has been recently deleted. For
423
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
424
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
425
+ # emailid`` and the undeleted service account retains the role in the binding. *
426
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
427
+ # identifier) representing a Google group that has been recently deleted. For
428
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
429
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
430
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
431
+ # primary) that represents all the users of that domain. For example, `google.
432
+ # com` or `example.com`.
347
433
  # Corresponds to the JSON property `members`
348
434
  # @return [Array<String>]
349
435
  attr_accessor :members
350
436
 
351
- # Role that is assigned to `members`.
352
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
437
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
438
+ # , or `roles/owner`.
353
439
  # Corresponds to the JSON property `role`
354
440
  # @return [String]
355
441
  attr_accessor :role
@@ -423,6 +509,72 @@ module Google
423
509
  end
424
510
  end
425
511
 
512
+ # Checks if a particular data_id of a User data mapping in the given Consent
513
+ # store is consented for a given use.
514
+ class CheckDataAccessRequest
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # List of resource names of Consent resources.
518
+ # Corresponds to the JSON property `consentList`
519
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
520
+ attr_accessor :consent_list
521
+
522
+ # The unique identifier of the data to check access for. It must exist in the
523
+ # given `consent_store`.
524
+ # Corresponds to the JSON property `dataId`
525
+ # @return [String]
526
+ attr_accessor :data_id
527
+
528
+ # The values of request attributes associated with this access request.
529
+ # Corresponds to the JSON property `requestAttributes`
530
+ # @return [Hash<String,String>]
531
+ attr_accessor :request_attributes
532
+
533
+ # The view for CheckDataAccessResponse.
534
+ # Corresponds to the JSON property `responseView`
535
+ # @return [String]
536
+ attr_accessor :response_view
537
+
538
+ def initialize(**args)
539
+ update!(**args)
540
+ end
541
+
542
+ # Update properties of this object
543
+ def update!(**args)
544
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
545
+ @data_id = args[:data_id] if args.key?(:data_id)
546
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
547
+ @response_view = args[:response_view] if args.key?(:response_view)
548
+ end
549
+ end
550
+
551
+ # Checks if a particular data_id of a User data mapping in the given Consent
552
+ # store is consented for a given use.
553
+ class CheckDataAccessResponse
554
+ include Google::Apis::Core::Hashable
555
+
556
+ # The resource names of all evaluated Consents mapped to their evaluation.
557
+ # Corresponds to the JSON property `consentDetails`
558
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
559
+ attr_accessor :consent_details
560
+
561
+ # Whether the requested data is consented for the given use.
562
+ # Corresponds to the JSON property `consented`
563
+ # @return [Boolean]
564
+ attr_accessor :consented
565
+ alias_method :consented?, :consented
566
+
567
+ def initialize(**args)
568
+ update!(**args)
569
+ end
570
+
571
+ # Update properties of this object
572
+ def update!(**args)
573
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
574
+ @consented = args[:consented] if args.key?(:consented)
575
+ end
576
+ end
577
+
426
578
  # Cloud Healthcare API resource.
427
579
  class CloudHealthcareSource
428
580
  include Google::Apis::Core::Hashable
@@ -442,14 +594,238 @@ module Google
442
594
  end
443
595
  end
444
596
 
597
+ # Represents an end user's consent.
598
+ class Consent
599
+ include Google::Apis::Core::Hashable
600
+
601
+ # Required. The resource name of the consent artifact that contains proof of the
602
+ # end user's consent, of the form `projects/`project_id`/locations/`location_id`/
603
+ # datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
604
+ # consent_artifact_id``.
605
+ # Corresponds to the JSON property `consentArtifact`
606
+ # @return [String]
607
+ attr_accessor :consent_artifact
608
+
609
+ # Timestamp in UTC of when this consent is considered expired.
610
+ # Corresponds to the JSON property `expireTime`
611
+ # @return [String]
612
+ attr_accessor :expire_time
613
+
614
+ # Resource name of the Consent, of the form `projects/`project_id`/locations/`
615
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
616
+ # consent_id``.
617
+ # Corresponds to the JSON property `name`
618
+ # @return [String]
619
+ attr_accessor :name
620
+
621
+ # Represents an end user's consent in terms of the resources that can be
622
+ # accessed and under what conditions.
623
+ # Corresponds to the JSON property `policies`
624
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy>]
625
+ attr_accessor :policies
626
+
627
+ # Output only. The timestamp that the revision was created.
628
+ # Corresponds to the JSON property `revisionCreateTime`
629
+ # @return [String]
630
+ attr_accessor :revision_create_time
631
+
632
+ # Output only. The revision ID of the consent. The format is an 8-character
633
+ # hexadecimal string. Refer to a specific revision of a Consent by appending `@`
634
+ # revision_id`` to the Consent's resource name.
635
+ # Corresponds to the JSON property `revisionId`
636
+ # @return [String]
637
+ attr_accessor :revision_id
638
+
639
+ # Indicates the current state of this consent.
640
+ # Corresponds to the JSON property `state`
641
+ # @return [String]
642
+ attr_accessor :state
643
+
644
+ # Input only. The time to live for this consent from when it is created.
645
+ # Corresponds to the JSON property `ttl`
646
+ # @return [String]
647
+ attr_accessor :ttl
648
+
649
+ # Required. User's UUID provided by the client.
650
+ # Corresponds to the JSON property `userId`
651
+ # @return [String]
652
+ attr_accessor :user_id
653
+
654
+ def initialize(**args)
655
+ update!(**args)
656
+ end
657
+
658
+ # Update properties of this object
659
+ def update!(**args)
660
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
661
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
662
+ @name = args[:name] if args.key?(:name)
663
+ @policies = args[:policies] if args.key?(:policies)
664
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
665
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
666
+ @state = args[:state] if args.key?(:state)
667
+ @ttl = args[:ttl] if args.key?(:ttl)
668
+ @user_id = args[:user_id] if args.key?(:user_id)
669
+ end
670
+ end
671
+
672
+ # Proof of an end user's consent.
673
+ class ConsentArtifact
674
+ include Google::Apis::Core::Hashable
675
+
676
+ # Screenshots of the consent content.
677
+ # Corresponds to the JSON property `consentContentScreenshots`
678
+ # @return [Array<Google::Apis::HealthcareV1beta1::Image>]
679
+ attr_accessor :consent_content_screenshots
680
+
681
+ # An string indicating the version of the consent content.
682
+ # Corresponds to the JSON property `consentContentVersion`
683
+ # @return [String]
684
+ attr_accessor :consent_content_version
685
+
686
+ # User signature.
687
+ # Corresponds to the JSON property `guardianSignature`
688
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
689
+ attr_accessor :guardian_signature
690
+
691
+ # Metadata associated with the consent artifact. For example, the consent locale
692
+ # or user agent version.
693
+ # Corresponds to the JSON property `metadata`
694
+ # @return [Hash<String,String>]
695
+ attr_accessor :metadata
696
+
697
+ # Resource name of the Consent artifact, of the form `projects/`project_id`/
698
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
699
+ # consentArtifacts/`consent_artifact_id``.
700
+ # Corresponds to the JSON property `name`
701
+ # @return [String]
702
+ attr_accessor :name
703
+
704
+ # Required. User's UUID provided by the client.
705
+ # Corresponds to the JSON property `userId`
706
+ # @return [String]
707
+ attr_accessor :user_id
708
+
709
+ # User signature.
710
+ # Corresponds to the JSON property `userSignature`
711
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
712
+ attr_accessor :user_signature
713
+
714
+ # User signature.
715
+ # Corresponds to the JSON property `witnessSignature`
716
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
717
+ attr_accessor :witness_signature
718
+
719
+ def initialize(**args)
720
+ update!(**args)
721
+ end
722
+
723
+ # Update properties of this object
724
+ def update!(**args)
725
+ @consent_content_screenshots = args[:consent_content_screenshots] if args.key?(:consent_content_screenshots)
726
+ @consent_content_version = args[:consent_content_version] if args.key?(:consent_content_version)
727
+ @guardian_signature = args[:guardian_signature] if args.key?(:guardian_signature)
728
+ @metadata = args[:metadata] if args.key?(:metadata)
729
+ @name = args[:name] if args.key?(:name)
730
+ @user_id = args[:user_id] if args.key?(:user_id)
731
+ @user_signature = args[:user_signature] if args.key?(:user_signature)
732
+ @witness_signature = args[:witness_signature] if args.key?(:witness_signature)
733
+ end
734
+ end
735
+
736
+ # The detailed evaluation of a particular Consent.
737
+ class ConsentEvaluation
738
+ include Google::Apis::Core::Hashable
739
+
740
+ # The evaluation result.
741
+ # Corresponds to the JSON property `evaluationResult`
742
+ # @return [String]
743
+ attr_accessor :evaluation_result
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @evaluation_result = args[:evaluation_result] if args.key?(:evaluation_result)
752
+ end
753
+ end
754
+
755
+ # List of resource names of Consent resources.
756
+ class ConsentList
757
+ include Google::Apis::Core::Hashable
758
+
759
+ # The resource names of the Consents to evaluate against, of the form `projects/`
760
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
761
+ # consent_store_id`/consents/`consent_id``.
762
+ # Corresponds to the JSON property `consents`
763
+ # @return [Array<String>]
764
+ attr_accessor :consents
765
+
766
+ def initialize(**args)
767
+ update!(**args)
768
+ end
769
+
770
+ # Update properties of this object
771
+ def update!(**args)
772
+ @consents = args[:consents] if args.key?(:consents)
773
+ end
774
+ end
775
+
776
+ # Represents a Consent store.
777
+ class ConsentStore
778
+ include Google::Apis::Core::Hashable
779
+
780
+ # Default time to live for consents in this store. Must be at least 24 hours.
781
+ # Updating this field will not affect the expiration time of existing consents.
782
+ # Corresponds to the JSON property `defaultConsentTtl`
783
+ # @return [String]
784
+ attr_accessor :default_consent_ttl
785
+
786
+ # If true, UpdateConsent creates the consent if it does not already exist.
787
+ # Corresponds to the JSON property `enableConsentCreateOnUpdate`
788
+ # @return [Boolean]
789
+ attr_accessor :enable_consent_create_on_update
790
+ alias_method :enable_consent_create_on_update?, :enable_consent_create_on_update
791
+
792
+ # User-supplied key-value pairs used to organize Consent stores. Label keys must
793
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
794
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
795
+ # 0,62` Label values must be between 1 and 63 characters long, have a UTF-8
796
+ # encoding of maximum 128 bytes, and must conform to the following PCRE regular
797
+ # expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
798
+ # associated with a given store.
799
+ # Corresponds to the JSON property `labels`
800
+ # @return [Hash<String,String>]
801
+ attr_accessor :labels
802
+
803
+ # Resource name of the Consent store, of the form `projects/`project_id`/
804
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
805
+ # .
806
+ # Corresponds to the JSON property `name`
807
+ # @return [String]
808
+ attr_accessor :name
809
+
810
+ def initialize(**args)
811
+ update!(**args)
812
+ end
813
+
814
+ # Update properties of this object
815
+ def update!(**args)
816
+ @default_consent_ttl = args[:default_consent_ttl] if args.key?(:default_consent_ttl)
817
+ @enable_consent_create_on_update = args[:enable_consent_create_on_update] if args.key?(:enable_consent_create_on_update)
818
+ @labels = args[:labels] if args.key?(:labels)
819
+ @name = args[:name] if args.key?(:name)
820
+ end
821
+ end
822
+
445
823
  # Creates a new message.
446
824
  class CreateMessageRequest
447
825
  include Google::Apis::Core::Hashable
448
826
 
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.
827
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
828
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
453
829
  # Corresponds to the JSON property `message`
454
830
  # @return [Google::Apis::HealthcareV1beta1::Message]
455
831
  attr_accessor :message
@@ -465,15 +841,14 @@ module Google
465
841
  end
466
842
 
467
843
  # Pseudonymization method that generates surrogates via cryptographic hashing.
468
- # Uses SHA-256.
469
- # Outputs a base64-encoded representation of the hashed output.
844
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
470
845
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
471
846
  class CryptoHashConfig
472
847
  include Google::Apis::Core::Hashable
473
848
 
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.
849
+ # An AES 128/192/256 bit key. Causes the hash to be computed based on this key.
850
+ # A default key is generated for each Deidentify operation and is used wherever
851
+ # crypto_key is not specified.
477
852
  # Corresponds to the JSON property `cryptoKey`
478
853
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
479
854
  # @return [String]
@@ -489,23 +864,23 @@ module Google
489
864
  end
490
865
  end
491
866
 
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.
867
+ # A message representing a health dataset. A health dataset represents a
868
+ # collection of healthcare data pertaining to one or more patients. This may
869
+ # include multiple modalities of healthcare data, such as electronic medical
870
+ # records or medical imaging data.
496
871
  class Dataset
497
872
  include Google::Apis::Core::Hashable
498
873
 
499
- # Resource name of the dataset, of the form
500
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
874
+ # Resource name of the dataset, of the form `projects/`project_id`/locations/`
875
+ # location_id`/datasets/`dataset_id``.
501
876
  # Corresponds to the JSON property `name`
502
877
  # @return [String]
503
878
  attr_accessor :name
504
879
 
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.
880
+ # The default timezone used by this dataset. Must be a either a valid IANA time
881
+ # zone name such as "America/New_York" or empty, which defaults to UTC. This is
882
+ # used for parsing times in resources, such as HL7 messages, where no explicit
883
+ # timezone is specified.
509
884
  # Corresponds to the JSON property `timeZone`
510
885
  # @return [String]
511
886
  attr_accessor :time_zone
@@ -526,9 +901,9 @@ module Google
526
901
  class DateShiftConfig
527
902
  include Google::Apis::Core::Hashable
528
903
 
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.
904
+ # An AES 128/192/256 bit key. Causes the shift to be computed based on this key
905
+ # and the patient ID. A default key is generated for each Deidentify operation
906
+ # and is used wherever crypto_key is not specified.
532
907
  # Corresponds to the JSON property `cryptoKey`
533
908
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
534
909
  # @return [String]
@@ -544,10 +919,9 @@ module Google
544
919
  end
545
920
  end
546
921
 
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.
922
+ # Configures de-id options specific to different types of content. Each
923
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
924
+ # media type or subtype. Configs are applied in a nested manner at runtime.
551
925
  class DeidentifyConfig
552
926
  include Google::Apis::Core::Hashable
553
927
 
@@ -595,19 +969,17 @@ module Google
595
969
  class DeidentifyDatasetRequest
596
970
  include Google::Apis::Core::Hashable
597
971
 
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.
972
+ # Configures de-id options specific to different types of content. Each
973
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
974
+ # media type or subtype. Configs are applied in a nested manner at runtime.
602
975
  # Corresponds to the JSON property `config`
603
976
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
604
977
  attr_accessor :config
605
978
 
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.
979
+ # The name of the dataset resource to create and write the redacted data to. *
980
+ # The destination dataset must not exist. * The destination dataset must be in
981
+ # the same project and location as the source dataset. De-identifying data
982
+ # across multiple projects or locations is not supported.
611
983
  # Corresponds to the JSON property `destinationDataset`
612
984
  # @return [String]
613
985
  attr_accessor :destination_dataset
@@ -627,24 +999,20 @@ module Google
627
999
  class DeidentifyDicomStoreRequest
628
1000
  include Google::Apis::Core::Hashable
629
1001
 
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.
1002
+ # Configures de-id options specific to different types of content. Each
1003
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
1004
+ # media type or subtype. Configs are applied in a nested manner at runtime.
634
1005
  # Corresponds to the JSON property `config`
635
1006
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
636
1007
  attr_accessor :config
637
1008
 
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.
1009
+ # The name of the DICOM store to create and write the redacted data to. For
1010
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1011
+ # dicomStores/`dicom_store_id``. * The destination dataset must exist. * The
1012
+ # source dataset and destination dataset must both reside in the same project.
1013
+ # De-identifying data across multiple projects is not supported. * The
1014
+ # destination DICOM store must not exist. * The caller must have the necessary
1015
+ # permissions to create the destination DICOM store.
648
1016
  # Corresponds to the JSON property `destinationStore`
649
1017
  # @return [String]
650
1018
  attr_accessor :destination_store
@@ -666,65 +1034,24 @@ module Google
666
1034
  end
667
1035
  end
668
1036
 
669
- # Contains the status of the Deidentify operation.
670
- class DeidentifyErrorDetails
671
- include Google::Apis::Core::Hashable
672
-
673
- # Number of resources that failed to process.
674
- # Corresponds to the JSON property `failureResourceCount`
675
- # @return [Fixnum]
676
- attr_accessor :failure_resource_count
677
-
678
- # Number of stores that failed to process.
679
- # Corresponds to the JSON property `failureStoreCount`
680
- # @return [Fixnum]
681
- attr_accessor :failure_store_count
682
-
683
- # Number of resources successfully processed.
684
- # Corresponds to the JSON property `successResourceCount`
685
- # @return [Fixnum]
686
- attr_accessor :success_resource_count
687
-
688
- # Number of stores successfully processed.
689
- # Corresponds to the JSON property `successStoreCount`
690
- # @return [Fixnum]
691
- attr_accessor :success_store_count
692
-
693
- def initialize(**args)
694
- update!(**args)
695
- end
696
-
697
- # Update properties of this object
698
- def update!(**args)
699
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
700
- @failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
701
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
702
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
703
- end
704
- end
705
-
706
1037
  # Creates a new FHIR store with sensitive information de-identified.
707
1038
  class DeidentifyFhirStoreRequest
708
1039
  include Google::Apis::Core::Hashable
709
1040
 
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.
1041
+ # Configures de-id options specific to different types of content. Each
1042
+ # submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
1043
+ # media type or subtype. Configs are applied in a nested manner at runtime.
714
1044
  # Corresponds to the JSON property `config`
715
1045
  # @return [Google::Apis::HealthcareV1beta1::DeidentifyConfig]
716
1046
  attr_accessor :config
717
1047
 
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.
1048
+ # The name of the FHIR store to create and write the redacted data to. For
1049
+ # example, `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1050
+ # fhirStores/`fhir_store_id``. * The destination dataset must exist. * The
1051
+ # source dataset and destination dataset must both reside in the same project.
1052
+ # De-identifying data across multiple projects is not supported. * The
1053
+ # destination FHIR store must exist. * The caller must have the healthcare.
1054
+ # fhirResources.update permission to write to the destination FHIR store.
728
1055
  # Corresponds to the JSON property `destinationStore`
729
1056
  # @return [String]
730
1057
  attr_accessor :destination_store
@@ -750,33 +1077,12 @@ module Google
750
1077
  class DeidentifySummary
751
1078
  include Google::Apis::Core::Hashable
752
1079
 
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
757
- # Corresponds to the JSON property `failureResourceCount`
758
- # @return [Fixnum]
759
- attr_accessor :failure_resource_count
760
-
761
- # Number of resources successfully processed.
762
- # Corresponds to the JSON property `successResourceCount`
763
- # @return [Fixnum]
764
- attr_accessor :success_resource_count
765
-
766
- # Number of stores successfully processed.
767
- # Corresponds to the JSON property `successStoreCount`
768
- # @return [Fixnum]
769
- attr_accessor :success_store_count
770
-
771
1080
  def initialize(**args)
772
1081
  update!(**args)
773
1082
  end
774
1083
 
775
1084
  # Update properties of this object
776
1085
  def update!(**args)
777
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
778
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
779
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
780
1086
  end
781
1087
  end
782
1088
 
@@ -818,14 +1124,13 @@ module Google
818
1124
  # @return [Google::Apis::HealthcareV1beta1::TagFilterList]
819
1125
  attr_accessor :remove_list
820
1126
 
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.
1127
+ # If true, skip replacing StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID,
1128
+ # and MediaStorageSOPInstanceUID and leave them untouched. The Cloud Healthcare
1129
+ # API regenerates these UIDs by default based on the DICOM Standard's reasoning:
1130
+ # "Whilst these UIDs cannot be mapped directly to an individual out of context,
1131
+ # given access to the original images, or to a database of the original images
1132
+ # containing the UIDs, it would be possible to recover the individual's identity.
1133
+ # " http://dicom.nema.org/medical/dicom/current/output/chtml/part15/sect_E.3.9.
829
1134
  # html
830
1135
  # Corresponds to the JSON property `skipIdRedaction`
831
1136
  # @return [Boolean]
@@ -849,15 +1154,13 @@ module Google
849
1154
  class DicomFilterConfig
850
1155
  include Google::Apis::Core::Hashable
851
1156
 
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.
1157
+ # The Cloud Storage location of the filter configuration file. The `gcs_uri`
1158
+ # must be in the format `gs://bucket/path/to/object`. The filter configuration
1159
+ # file must contain a list of resource paths separated by newline characters (\n
1160
+ # or \r\n). Each resource path must be in the format "/studies/`studyUID`[/
1161
+ # series/`seriesUID`[/instances/`instanceUID`]]" The Cloud Healthcare API
1162
+ # service account must have the `roles/storage.objectViewer` Cloud IAM role for
1163
+ # this Cloud Storage location.
861
1164
  # Corresponds to the JSON property `resourcePathsGcsUri`
862
1165
  # @return [String]
863
1166
  attr_accessor :resource_paths_gcs_uri
@@ -876,22 +1179,19 @@ module Google
876
1179
  class DicomStore
877
1180
  include Google::Apis::Core::Hashable
878
1181
 
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.
1182
+ # User-supplied key-value pairs used to organize DICOM stores. Label keys must
1183
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
1184
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
1185
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
1186
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
1187
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
1188
+ # can be associated with a given store.
888
1189
  # Corresponds to the JSON property `labels`
889
1190
  # @return [Hash<String,String>]
890
1191
  attr_accessor :labels
891
1192
 
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``.
1193
+ # Resource name of the DICOM store, of the form `projects/`project_id`/locations/
1194
+ # `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``.
895
1195
  # Corresponds to the JSON property `name`
896
1196
  # @return [String]
897
1197
  attr_accessor :name
@@ -901,6 +1201,16 @@ module Google
901
1201
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
902
1202
  attr_accessor :notification_config
903
1203
 
1204
+ # A list of streaming configs used to configure the destination of streaming
1205
+ # exports for every DICOM instance insertion in this DICOM store. After a new
1206
+ # config is added to `stream_configs`, DICOM instance insertions are streamed to
1207
+ # the new destination. When a config is removed from `stream_configs`, the
1208
+ # server stops streaming to that destination. Each config must contain a unique
1209
+ # destination.
1210
+ # Corresponds to the JSON property `streamConfigs`
1211
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig>]
1212
+ attr_accessor :stream_configs
1213
+
904
1214
  def initialize(**args)
905
1215
  update!(**args)
906
1216
  end
@@ -910,16 +1220,15 @@ module Google
910
1220
  @labels = args[:labels] if args.key?(:labels)
911
1221
  @name = args[:name] if args.key?(:name)
912
1222
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1223
+ @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
913
1224
  end
914
1225
  end
915
1226
 
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 ````.
1227
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1228
+ # messages in your APIs. A typical example is to use it as the request or the
1229
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1230
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1231
+ # `Empty` is empty JSON object ````.
923
1232
  class Empty
924
1233
  include Google::Apis::Core::Hashable
925
1234
 
@@ -933,17 +1242,17 @@ module Google
933
1242
  end
934
1243
 
935
1244
  # 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.
1245
+ # resource. This is used both for sample errors in operation response, and for
1246
+ # format of errors in error reports.
938
1247
  class ErrorDetail
939
1248
  include Google::Apis::Core::Hashable
940
1249
 
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).
1250
+ # The `Status` type defines a logical error model that is suitable for different
1251
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1252
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1253
+ # data: error code, error message, and error details. You can find out more
1254
+ # about this error model and how to work with it in the [API Design Guide](https:
1255
+ # //cloud.google.com/apis/design/errors).
947
1256
  # Corresponds to the JSON property `error`
948
1257
  # @return [Google::Apis::HealthcareV1beta1::Status]
949
1258
  attr_accessor :error
@@ -964,8 +1273,8 @@ module Google
964
1273
  end
965
1274
  end
966
1275
 
967
- # Request to evaluate an Annotation store against a
968
- # ground truth [Annotation store].
1276
+ # Request to evaluate an Annotation store against a ground truth [Annotation
1277
+ # store].
969
1278
  class EvaluateAnnotationStoreRequest
970
1279
  include Google::Apis::Core::Hashable
971
1280
 
@@ -975,39 +1284,32 @@ module Google
975
1284
  attr_accessor :bigquery_destination
976
1285
 
977
1286
  # 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
- # ```
1287
+ # the same infoType. For example, `PERSON_NAME`, `PERSON`, `NAME`, and `HUMAN`
1288
+ # are different. To map all of these into a single infoType (such as `
1289
+ # PERSON_NAME`), specify the following mapping: ``` info_type_mapping["PERSON"] =
1290
+ # "PERSON_NAME" info_type_mapping["NAME"] = "PERSON_NAME" info_type_mapping["
1291
+ # HUMAN"] = "PERSON_NAME" ``` Unmentioned infoTypes, such as `DATE`, are treated
1292
+ # as identity mapping. For example: ``` info_type_mapping["DATE"] = "DATE" ```
991
1293
  # InfoTypes are case-insensitive.
992
1294
  # Corresponds to the JSON property `evalInfoTypeMapping`
993
1295
  # @return [Hash<String,String>]
994
1296
  attr_accessor :eval_info_type_mapping
995
1297
 
996
- # Optional. Similar to `eval_info_type_mapping`, infoType mapping for
997
- # `golden_store`.
1298
+ # Optional. Similar to `eval_info_type_mapping`, infoType mapping for `
1299
+ # golden_store`.
998
1300
  # Corresponds to the JSON property `goldenInfoTypeMapping`
999
1301
  # @return [Hash<String,String>]
1000
1302
  attr_accessor :golden_info_type_mapping
1001
1303
 
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``.
1304
+ # The Annotation store to use as ground truth, in the format of `projects/`
1305
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1306
+ # annotation_store_id``.
1005
1307
  # Corresponds to the JSON property `goldenStore`
1006
1308
  # @return [String]
1007
1309
  attr_accessor :golden_store
1008
1310
 
1009
- # Specifies how to use infoTypes for evaluation. For example, a user might
1010
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
1311
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
1312
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
1011
1313
  # Corresponds to the JSON property `infoTypeConfig`
1012
1314
  # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
1013
1315
  attr_accessor :info_type_config
@@ -1026,41 +1328,60 @@ module Google
1026
1328
  end
1027
1329
  end
1028
1330
 
1029
- # Response for successful Annotation store evaluation operations. This
1030
- # structure is included in the
1031
- # response upon operation completion.
1331
+ # Response for successful Annotation store evaluation operations. This structure
1332
+ # is included in the response upon operation completion.
1032
1333
  class EvaluateAnnotationStoreResponse
1033
1334
  include Google::Apis::Core::Hashable
1034
1335
 
1035
- # The evaluated Annotation store, in the format of
1036
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1037
- # annotationStores/`annotation_store_id``.
1038
- # Corresponds to the JSON property `evalStore`
1039
- # @return [String]
1040
- attr_accessor :eval_store
1336
+ def initialize(**args)
1337
+ update!(**args)
1338
+ end
1339
+
1340
+ # Update properties of this object
1341
+ def update!(**args)
1342
+ end
1343
+ end
1344
+
1345
+ # Evaluate an end user's Consents for all matching User data mappings.
1346
+ class EvaluateUserConsentsRequest
1347
+ include Google::Apis::Core::Hashable
1041
1348
 
1042
- # The number of Annotations in the ground
1043
- # truth Annotation store successfully
1044
- # processed.
1045
- # Corresponds to the JSON property `goldenCount`
1349
+ # List of resource names of Consent resources.
1350
+ # Corresponds to the JSON property `consentList`
1351
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
1352
+ attr_accessor :consent_list
1353
+
1354
+ # Limit on the number of user data mappings to return in a single response. If
1355
+ # zero the default page size of 100 is used.
1356
+ # Corresponds to the JSON property `pageSize`
1046
1357
  # @return [Fixnum]
1047
- attr_accessor :golden_count
1358
+ attr_accessor :page_size
1048
1359
 
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``.
1052
- # Corresponds to the JSON property `goldenStore`
1360
+ # Token to retrieve the next page of results to get the first page.
1361
+ # Corresponds to the JSON property `pageToken`
1362
+ # @return [String]
1363
+ attr_accessor :page_token
1364
+
1365
+ # The values of request attributes associated with this access request.
1366
+ # Corresponds to the JSON property `requestAttributes`
1367
+ # @return [Hash<String,String>]
1368
+ attr_accessor :request_attributes
1369
+
1370
+ # The values of resources attributes associated with the type of data being
1371
+ # requested. If no values are specified, then all data types are queried.
1372
+ # Corresponds to the JSON property `resourceAttributes`
1373
+ # @return [Hash<String,String>]
1374
+ attr_accessor :resource_attributes
1375
+
1376
+ # The view for EvaluateUserConsentsResponse.
1377
+ # Corresponds to the JSON property `responseView`
1053
1378
  # @return [String]
1054
- attr_accessor :golden_store
1379
+ attr_accessor :response_view
1055
1380
 
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.
1061
- # Corresponds to the JSON property `matchedCount`
1062
- # @return [Fixnum]
1063
- attr_accessor :matched_count
1381
+ # Required. User ID to evaluate consents for.
1382
+ # Corresponds to the JSON property `userId`
1383
+ # @return [String]
1384
+ attr_accessor :user_id
1064
1385
 
1065
1386
  def initialize(**args)
1066
1387
  update!(**args)
@@ -1068,35 +1389,30 @@ module Google
1068
1389
 
1069
1390
  # Update properties of this object
1070
1391
  def update!(**args)
1071
- @eval_store = args[:eval_store] if args.key?(:eval_store)
1072
- @golden_count = args[:golden_count] if args.key?(:golden_count)
1073
- @golden_store = args[:golden_store] if args.key?(:golden_store)
1074
- @matched_count = args[:matched_count] if args.key?(:matched_count)
1392
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
1393
+ @page_size = args[:page_size] if args.key?(:page_size)
1394
+ @page_token = args[:page_token] if args.key?(:page_token)
1395
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
1396
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
1397
+ @response_view = args[:response_view] if args.key?(:response_view)
1398
+ @user_id = args[:user_id] if args.key?(:user_id)
1075
1399
  end
1076
1400
  end
1077
1401
 
1078
- # Response for failed annotation export operations. This structure
1079
- # is included in error
1080
- # details upon operation completion.
1081
- class ExportAnnotationsErrorDetails
1402
+ # Evaluate an end user's Consents for all matching User data mappings.
1403
+ class EvaluateUserConsentsResponse
1082
1404
  include Google::Apis::Core::Hashable
1083
1405
 
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``.
1087
- # Corresponds to the JSON property `annotationStore`
1406
+ # Token to retrieve the next page of results or empty if there are no more
1407
+ # results in the list. This token is valid for 72 hours after it is created.
1408
+ # Corresponds to the JSON property `nextPageToken`
1088
1409
  # @return [String]
1089
- attr_accessor :annotation_store
1090
-
1091
- # The number of annotations that had error.
1092
- # Corresponds to the JSON property `errorCount`
1093
- # @return [Fixnum]
1094
- attr_accessor :error_count
1410
+ attr_accessor :next_page_token
1095
1411
 
1096
- # The number of annotations successfully exported.
1097
- # Corresponds to the JSON property `successCount`
1098
- # @return [Fixnum]
1099
- attr_accessor :success_count
1412
+ # The consent evaluation result for each `data_id`.
1413
+ # Corresponds to the JSON property `results`
1414
+ # @return [Array<Google::Apis::HealthcareV1beta1::Result>]
1415
+ attr_accessor :results
1100
1416
 
1101
1417
  def initialize(**args)
1102
1418
  update!(**args)
@@ -1104,15 +1420,12 @@ module Google
1104
1420
 
1105
1421
  # Update properties of this object
1106
1422
  def update!(**args)
1107
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
1108
- @error_count = args[:error_count] if args.key?(:error_count)
1109
- @success_count = args[:success_count] if args.key?(:success_count)
1423
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1424
+ @results = args[:results] if args.key?(:results)
1110
1425
  end
1111
1426
  end
1112
1427
 
1113
- # Request to export
1114
- # Annotations. The
1115
- # export operation is not atomic. If a
1428
+ # Request to export Annotations. The export operation is not atomic. If a
1116
1429
  # failure occurs, any annotations already exported are not removed.
1117
1430
  class ExportAnnotationsRequest
1118
1431
  include Google::Apis::Core::Hashable
@@ -1139,41 +1452,23 @@ module Google
1139
1452
  end
1140
1453
 
1141
1454
  # Response for successful annotation export operations. This structure is
1142
- # included in response upon operation
1143
- # completion.
1455
+ # included in response upon operation completion.
1144
1456
  class ExportAnnotationsResponse
1145
1457
  include Google::Apis::Core::Hashable
1146
1458
 
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``.
1151
- # Corresponds to the JSON property `annotationStore`
1152
- # @return [String]
1153
- attr_accessor :annotation_store
1154
-
1155
- # The total number of annotations successfully exported.
1156
- # Corresponds to the JSON property `successCount`
1157
- # @return [Fixnum]
1158
- attr_accessor :success_count
1159
-
1160
1459
  def initialize(**args)
1161
1460
  update!(**args)
1162
1461
  end
1163
1462
 
1164
1463
  # Update properties of this object
1165
1464
  def update!(**args)
1166
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
1167
- @success_count = args[:success_count] if args.key?(:success_count)
1168
1465
  end
1169
1466
  end
1170
1467
 
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.
1468
+ # Exports data from the specified DICOM store. If a given resource, such as a
1469
+ # DICOM object with the same SOPInstance UID, already exists in the output, it
1470
+ # is overwritten with the version in the source dataset. Exported DICOM data
1471
+ # persists when the DICOM store from which it was exported is deleted.
1177
1472
  class ExportDicomDataRequest
1178
1473
  include Google::Apis::Core::Hashable
1179
1474
 
@@ -1212,6 +1507,49 @@ module Google
1212
1507
  end
1213
1508
  end
1214
1509
 
1510
+ # Request to schedule an export.
1511
+ class ExportMessagesRequest
1512
+ include Google::Apis::Core::Hashable
1513
+
1514
+ # The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/
1515
+ # public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process.
1516
+ # If not specified, the time when the export is scheduled is used. This value
1517
+ # has to come after the `start_time` defined below. Only messages whose `
1518
+ # send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive)
1519
+ # are exported.
1520
+ # Corresponds to the JSON property `endTime`
1521
+ # @return [String]
1522
+ attr_accessor :end_time
1523
+
1524
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1525
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1526
+ # location.
1527
+ # Corresponds to the JSON property `gcsDestination`
1528
+ # @return [Google::Apis::HealthcareV1beta1::GcsDestination]
1529
+ attr_accessor :gcs_destination
1530
+
1531
+ # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
1532
+ # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
1533
+ # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
1534
+ # used. This value has to come before the `end_time` defined below. Only
1535
+ # messages whose `send_time` lies in the range `start_time` (inclusive) to `
1536
+ # end_time` (exclusive) are exported.
1537
+ # Corresponds to the JSON property `startTime`
1538
+ # @return [String]
1539
+ attr_accessor :start_time
1540
+
1541
+ def initialize(**args)
1542
+ update!(**args)
1543
+ end
1544
+
1545
+ # Update properties of this object
1546
+ def update!(**args)
1547
+ @end_time = args[:end_time] if args.key?(:end_time)
1548
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1549
+ @start_time = args[:start_time] if args.key?(:start_time)
1550
+ end
1551
+ end
1552
+
1215
1553
  # Request to export resources.
1216
1554
  class ExportResourcesRequest
1217
1555
  include Google::Apis::Core::Hashable
@@ -1223,7 +1561,7 @@ module Google
1223
1561
 
1224
1562
  # The configuration for exporting to Cloud Storage.
1225
1563
  # Corresponds to the JSON property `gcsDestination`
1226
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination]
1564
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
1227
1565
  attr_accessor :gcs_destination
1228
1566
 
1229
1567
  def initialize(**args)
@@ -1237,52 +1575,43 @@ module Google
1237
1575
  end
1238
1576
  end
1239
1577
 
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.
1578
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1579
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1580
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1581
+ # "Summary size limit" description: "Determines if a summary is less than 100
1582
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1583
+ # Requestor is owner" description: "Determines if requestor is the document
1584
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1585
+ # Logic): title: "Public documents" description: "Determine whether the document
1586
+ # should be publicly visible" expression: "document.type != 'private' &&
1587
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1588
+ # string" description: "Create a notification string with a timestamp."
1589
+ # expression: "'New message received at ' + string(document.create_time)" The
1590
+ # exact variables and functions that may be referenced within an expression are
1591
+ # determined by the service that evaluates it. See the service documentation for
1592
+ # additional information.
1262
1593
  class Expr
1263
1594
  include Google::Apis::Core::Hashable
1264
1595
 
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.
1596
+ # Optional. Description of the expression. This is a longer text which describes
1597
+ # the expression, e.g. when hovered over it in a UI.
1267
1598
  # Corresponds to the JSON property `description`
1268
1599
  # @return [String]
1269
1600
  attr_accessor :description
1270
1601
 
1271
- # Textual representation of an expression in Common Expression Language
1272
- # syntax.
1602
+ # Textual representation of an expression in Common Expression Language syntax.
1273
1603
  # Corresponds to the JSON property `expression`
1274
1604
  # @return [String]
1275
1605
  attr_accessor :expression
1276
1606
 
1277
- # Optional. String indicating the location of the expression for error
1278
- # reporting, e.g. a file name and a position in the file.
1607
+ # Optional. String indicating the location of the expression for error reporting,
1608
+ # e.g. a file name and a position in the file.
1279
1609
  # Corresponds to the JSON property `location`
1280
1610
  # @return [String]
1281
1611
  attr_accessor :location
1282
1612
 
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.
1613
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
1614
+ # This can be used e.g. in UIs which allow to enter the expression.
1286
1615
  # Corresponds to the JSON property `title`
1287
1616
  # @return [String]
1288
1617
  attr_accessor :title
@@ -1304,11 +1633,10 @@ module Google
1304
1633
  class FhirConfig
1305
1634
  include Google::Apis::Core::Hashable
1306
1635
 
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.
1636
+ # Specifies FHIR paths to match and how to transform them. Any field that is not
1637
+ # matched by a FieldMetadata is passed through to the output dataset unmodified.
1638
+ # All extensions are removed in the output. If a field can be matched by more
1639
+ # than one FieldMetadata, the first FieldMetadata.Action is applied.
1312
1640
  # Corresponds to the JSON property `fieldMetadataList`
1313
1641
  # @return [Array<Google::Apis::HealthcareV1beta1::FieldMetadata>]
1314
1642
  attr_accessor :field_metadata_list
@@ -1346,74 +1674,67 @@ module Google
1346
1674
  class FhirStore
1347
1675
  include Google::Apis::Core::Hashable
1348
1676
 
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`.
1677
+ # If true, overrides the default search behavior for this FHIR store to `
1678
+ # handling=strict` which returns an error for unrecognized search parameters. If
1679
+ # false, uses the FHIR specification default `handling=lenient` which ignores
1680
+ # unrecognized search parameters. The handling can always be changed from the
1681
+ # default on an individual API call by setting the HTTP header `Prefer: handling=
1682
+ # strict` or `Prefer: handling=lenient`.
1356
1683
  # Corresponds to the JSON property `defaultSearchHandlingStrict`
1357
1684
  # @return [Boolean]
1358
1685
  attr_accessor :default_search_handling_strict
1359
1686
  alias_method :default_search_handling_strict?, :default_search_handling_strict
1360
1687
 
1361
1688
  # 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.
1689
+ # immutable after FHIR store creation. The default value is false, meaning that
1690
+ # the API enforces referential integrity and fails the requests that result in
1691
+ # inconsistent state in the FHIR store. When this field is set to true, the API
1692
+ # skips referential integrity checks. Consequently, operations that rely on
1693
+ # references, such as GetPatientEverything, do not return all the results if
1694
+ # broken references exist.
1370
1695
  # Corresponds to the JSON property `disableReferentialIntegrity`
1371
1696
  # @return [Boolean]
1372
1697
  attr_accessor :disable_referential_integrity
1373
1698
  alias_method :disable_referential_integrity?, :disable_referential_integrity
1374
1699
 
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.
1700
+ # Whether to disable resource versioning for this FHIR store. This field can not
1701
+ # be changed after the creation of FHIR store. If set to false, which is the
1702
+ # default behavior, all write operations cause historical versions to be
1703
+ # recorded automatically. The historical versions can be fetched through the
1704
+ # history APIs, but cannot be updated. If set to true, no historical versions
1705
+ # are kept. The server sends errors for attempts to read the historical versions.
1382
1706
  # Corresponds to the JSON property `disableResourceVersioning`
1383
1707
  # @return [Boolean]
1384
1708
  attr_accessor :disable_resource_versioning
1385
1709
  alias_method :disable_resource_versioning?, :disable_resource_versioning
1386
1710
 
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.
1711
+ # Whether this FHIR store has the [updateCreate capability](https://www.hl7.org/
1712
+ # fhir/capabilitystatement-definitions.html#CapabilityStatement.rest.resource.
1713
+ # updateCreate). This determines if the client can use an Update operation to
1714
+ # create a new resource with a client-specified ID. If false, all IDs are server-
1715
+ # assigned through the Create operation and attempts to update a non-existent
1716
+ # resource return errors. Be careful with the audit logs if client-specified
1717
+ # resource IDs contain sensitive data such as patient identifiers, those IDs are
1718
+ # part of the FHIR resource path recorded in Cloud audit logs and Cloud Pub/Sub
1719
+ # notifications.
1397
1720
  # Corresponds to the JSON property `enableUpdateCreate`
1398
1721
  # @return [Boolean]
1399
1722
  attr_accessor :enable_update_create
1400
1723
  alias_method :enable_update_create?, :enable_update_create
1401
1724
 
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.
1725
+ # User-supplied key-value pairs used to organize FHIR stores. Label keys must be
1726
+ # between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes,
1727
+ # and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``0,62`
1728
+ # Label values are optional, must be between 1 and 63 characters long, have a
1729
+ # UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE
1730
+ # regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
1731
+ # associated with a given store.
1411
1732
  # Corresponds to the JSON property `labels`
1412
1733
  # @return [Hash<String,String>]
1413
1734
  attr_accessor :labels
1414
1735
 
1415
- # Output only. Resource name of the FHIR store, of the form
1416
- # `projects/`project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1736
+ # Output only. Resource name of the FHIR store, of the form `projects/`
1737
+ # project_id`/datasets/`dataset_id`/fhirStores/`fhir_store_id``.
1417
1738
  # Corresponds to the JSON property `name`
1418
1739
  # @return [String]
1419
1740
  attr_accessor :name
@@ -1424,27 +1745,24 @@ module Google
1424
1745
  attr_accessor :notification_config
1425
1746
 
1426
1747
  # 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.
1748
+ # export for every resource mutation in this FHIR store. Each store is allowed
1749
+ # to have up to 10 streaming configs. After a new config is added, the next
1750
+ # resource mutation is streamed to the new location in addition to the existing
1751
+ # ones. When a location is removed from the list, the server stops streaming to
1752
+ # that location. Before adding a new config, you must add the required [`
1753
+ # bigquery.dataEditor`](https://cloud.google.com/bigquery/docs/access-control#
1754
+ # bigquery.dataEditor) role to your project's **Cloud Healthcare Service Agent**
1755
+ # [service account](https://cloud.google.com/iam/docs/service-accounts). Some
1756
+ # lag (typically on the order of dozens of seconds) is expected before the
1757
+ # results show up in the streaming destination.
1440
1758
  # Corresponds to the JSON property `streamConfigs`
1441
1759
  # @return [Array<Google::Apis::HealthcareV1beta1::StreamConfig>]
1442
1760
  attr_accessor :stream_configs
1443
1761
 
1444
1762
  # 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.
1763
+ # field is immutable after store creation. Requests are rejected if they contain
1764
+ # FHIR resources of a different version. Version is required for every FHIR
1765
+ # store.
1448
1766
  # Corresponds to the JSON property `version`
1449
1767
  # @return [String]
1450
1768
  attr_accessor :version
@@ -1487,8 +1805,8 @@ module Google
1487
1805
  # @return [String]
1488
1806
  attr_accessor :name
1489
1807
 
1490
- # The HL7v2 table this field refers to. For example, PID-15 (Patient's
1491
- # Primary Language) usually refers to table "0296".
1808
+ # The HL7v2 table this field refers to. For example, PID-15 (Patient's Primary
1809
+ # Language) usually refers to table "0296".
1492
1810
  # Corresponds to the JSON property `table`
1493
1811
  # @return [String]
1494
1812
  attr_accessor :table
@@ -1513,8 +1831,8 @@ module Google
1513
1831
  end
1514
1832
  end
1515
1833
 
1516
- # Specifies FHIR paths to match, and how to handle de-identification of
1517
- # matching fields.
1834
+ # Specifies FHIR paths to match, and how to handle de-identification of matching
1835
+ # fields.
1518
1836
  class FieldMetadata
1519
1837
  include Google::Apis::Core::Hashable
1520
1838
 
@@ -1523,21 +1841,19 @@ module Google
1523
1841
  # @return [String]
1524
1842
  attr_accessor :action
1525
1843
 
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.
1844
+ # List of paths to FHIR fields to redact. Each path is a period-separated list
1845
+ # where each component is either a field name or FHIR type name. All types begin
1846
+ # with an upper case letter. For example, the resource field "Patient.Address.
1847
+ # city", which uses a string type, can be matched by "Patient.Address.String".
1848
+ # Path also supports partial matching. For example, "Patient.Address.city" can
1849
+ # be matched by "Address.city" (Patient omitted). Partial matching and type
1850
+ # matching can be combined. For example, "Patient.Address.city" can be matched
1851
+ # by "Address.String". For "choice" types (those defined in the FHIR spec with
1852
+ # the form: field[x]), use two separate components. For example, "deceasedAge.
1853
+ # unit" is matched by "Deceased.Age.unit". Supported types are:
1854
+ # AdministrativeGenderCode, Code, Date, DateTime, Decimal, HumanName, Id,
1855
+ # LanguageCode, Markdown, Oid, String, Uri, Uuid, Xhtml. The sub-type for
1856
+ # HumanName, such as HumanName.given or HumanName.family, can be omitted.
1541
1857
  # Corresponds to the JSON property `paths`
1542
1858
  # @return [Array<String>]
1543
1859
  attr_accessor :paths
@@ -1557,8 +1873,8 @@ module Google
1557
1873
  class FilterList
1558
1874
  include Google::Apis::Core::Hashable
1559
1875
 
1560
- # These infoTypes are based on after the `eval_info_type_mapping` and
1561
- # `golden_info_type_mapping`.
1876
+ # These infoTypes are based on after the `eval_info_type_mapping` and `
1877
+ # golden_info_type_mapping`.
1562
1878
  # Corresponds to the JSON property `infoTypes`
1563
1879
  # @return [Array<String>]
1564
1880
  attr_accessor :info_types
@@ -1582,8 +1898,8 @@ module Google
1582
1898
  # @return [Fixnum]
1583
1899
  attr_accessor :end
1584
1900
 
1585
- # The type of information stored in this text range. For example,
1586
- # HumanName, BirthDate, or Address.
1901
+ # The type of information stored in this text range. For example, HumanName,
1902
+ # BirthDate, or Address.
1587
1903
  # Corresponds to the JSON property `infoType`
1588
1904
  # @return [String]
1589
1905
  attr_accessor :info_type
@@ -1612,25 +1928,57 @@ module Google
1612
1928
  end
1613
1929
  end
1614
1930
 
1931
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1932
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1933
+ # location.
1934
+ class GcsDestination
1935
+ include Google::Apis::Core::Hashable
1936
+
1937
+ # The format of the exported HL7v2 message files.
1938
+ # Corresponds to the JSON property `contentStructure`
1939
+ # @return [String]
1940
+ attr_accessor :content_structure
1941
+
1942
+ # Specifies the parts of the Message resource to include in the export. If not
1943
+ # specified, FULL is used.
1944
+ # Corresponds to the JSON property `messageView`
1945
+ # @return [String]
1946
+ attr_accessor :message_view
1947
+
1948
+ # URI of an existing Cloud Storage directory where the server writes result
1949
+ # files, in the format `gs://`bucket-id`/`path/to/destination/dir``. If there is
1950
+ # no trailing slash, the service appends one when composing the object path.
1951
+ # Corresponds to the JSON property `uriPrefix`
1952
+ # @return [String]
1953
+ attr_accessor :uri_prefix
1954
+
1955
+ def initialize(**args)
1956
+ update!(**args)
1957
+ end
1958
+
1959
+ # Update properties of this object
1960
+ def update!(**args)
1961
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
1962
+ @message_view = args[:message_view] if args.key?(:message_view)
1963
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1964
+ end
1965
+ end
1966
+
1615
1967
  # Specifies the configuration for importing data from Cloud Storage.
1616
1968
  class GcsSource
1617
1969
  include Google::Apis::Core::Hashable
1618
1970
 
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.
1971
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
1972
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
1973
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
1974
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
1975
+ # characters (including separators). Must be used at the end of a path and with
1976
+ # no other wildcards in the path. Can also be used with a file extension (such
1977
+ # as .ndjson), which imports all files with the extension in the specified
1978
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1979
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
1980
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
1981
+ # are expected to contain content only, no metadata.
1634
1982
  # Corresponds to the JSON property `uri`
1635
1983
  # @return [String]
1636
1984
  attr_accessor :uri
@@ -1649,10 +1997,9 @@ module Google
1649
1997
  class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
1650
1998
  include Google::Apis::Core::Hashable
1651
1999
 
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.
2000
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
2001
+ # parameter is ignored. force=false is equivalent to write_disposition=
2002
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1656
2003
  # Corresponds to the JSON property `force`
1657
2004
  # @return [Boolean]
1658
2005
  attr_accessor :force
@@ -1663,12 +2010,19 @@ module Google
1663
2010
  # @return [String]
1664
2011
  attr_accessor :schema_type
1665
2012
 
1666
- # BigQuery URI to a table, up to 2000 characters long, must be of the form
1667
- # bq://projectId.bqDatasetId.tableId.
2013
+ # BigQuery URI to a table, up to 2000 characters long, must be of the form bq://
2014
+ # projectId.bqDatasetId.tableId.
1668
2015
  # Corresponds to the JSON property `tableUri`
1669
2016
  # @return [String]
1670
2017
  attr_accessor :table_uri
1671
2018
 
2019
+ # Determines whether existing tables in the destination dataset are overwritten
2020
+ # or appended to. If a write_disposition is specified, the `force` parameter is
2021
+ # ignored.
2022
+ # Corresponds to the JSON property `writeDisposition`
2023
+ # @return [String]
2024
+ attr_accessor :write_disposition
2025
+
1672
2026
  def initialize(**args)
1673
2027
  update!(**args)
1674
2028
  end
@@ -1678,6 +2032,7 @@ module Google
1678
2032
  @force = args[:force] if args.key?(:force)
1679
2033
  @schema_type = args[:schema_type] if args.key?(:schema_type)
1680
2034
  @table_uri = args[:table_uri] if args.key?(:table_uri)
2035
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1681
2036
  end
1682
2037
  end
1683
2038
 
@@ -1685,12 +2040,11 @@ module Google
1685
2040
  class GoogleCloudHealthcareV1beta1AnnotationGcsDestination
1686
2041
  include Google::Apis::Core::Hashable
1687
2042
 
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`.
2043
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
2044
+ # where the server writes result files, in the format `gs://`bucket-id`/`path/to/
2045
+ # destination/dir``. If there is no trailing slash, the service appends one when
2046
+ # composing the object path. The user is responsible for creating the Cloud
2047
+ # Storage bucket referenced in `uri_prefix`.
1694
2048
  # Corresponds to the JSON property `uriPrefix`
1695
2049
  # @return [String]
1696
2050
  attr_accessor :uri_prefix
@@ -1709,23 +2063,17 @@ module Google
1709
2063
  class GoogleCloudHealthcareV1beta1AnnotationGcsSource
1710
2064
  include Google::Apis::Core::Hashable
1711
2065
 
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.
2066
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
2067
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
2068
+ # include wildcards in `object_id` and thus identify multiple files. Supported
2069
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
2070
+ # more characters (including separators). Must be used at the end of a path and
2071
+ # with no other wildcards in the path. Can also be used with a file extension (
2072
+ # such as .dcm), which imports all files with the extension in the specified
2073
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2074
+ # .json` imports all files with .json extensions in `my-directory/` and its sub-
2075
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
2076
+ # matching the wildcard are expected to contain content only, no metadata.
1729
2077
  # Corresponds to the JSON property `uri`
1730
2078
  # @return [String]
1731
2079
  attr_accessor :uri
@@ -1740,19 +2088,73 @@ module Google
1740
2088
  end
1741
2089
  end
1742
2090
 
1743
- # Contains a summary of the DeidentifyDicomStore operation.
1744
- class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
2091
+ # The Cloud Storage location for export.
2092
+ class GoogleCloudHealthcareV1beta1ConsentGcsDestination
1745
2093
  include Google::Apis::Core::Hashable
1746
2094
 
1747
- # Number of objects that processing failed for.
1748
- # Corresponds to the JSON property `failureResourceCount`
1749
- # @return [Fixnum]
1750
- attr_accessor :failure_resource_count
2095
+ # URI for a Cloud Storage directory where the server writes result files, in the
2096
+ # format `gs://`bucket-id`/`path/to/destination/dir``. If there is no trailing
2097
+ # slash, the service appends one when composing the object path. The user is
2098
+ # responsible for creating the Cloud Storage bucket and directory referenced in `
2099
+ # uri_prefix`.
2100
+ # Corresponds to the JSON property `uriPrefix`
2101
+ # @return [String]
2102
+ attr_accessor :uri_prefix
1751
2103
 
1752
- # Number of objects successfully processed.
1753
- # Corresponds to the JSON property `successResourceCount`
1754
- # @return [Fixnum]
1755
- attr_accessor :success_resource_count
2104
+ def initialize(**args)
2105
+ update!(**args)
2106
+ end
2107
+
2108
+ # Update properties of this object
2109
+ def update!(**args)
2110
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2111
+ end
2112
+ end
2113
+
2114
+ # Represents an end user's consent in terms of the resources that can be
2115
+ # accessed and under what conditions.
2116
+ class GoogleCloudHealthcareV1beta1ConsentPolicy
2117
+ include Google::Apis::Core::Hashable
2118
+
2119
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
2120
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
2121
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
2122
+ # "Summary size limit" description: "Determines if a summary is less than 100
2123
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
2124
+ # Requestor is owner" description: "Determines if requestor is the document
2125
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
2126
+ # Logic): title: "Public documents" description: "Determine whether the document
2127
+ # should be publicly visible" expression: "document.type != 'private' &&
2128
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
2129
+ # string" description: "Create a notification string with a timestamp."
2130
+ # expression: "'New message received at ' + string(document.create_time)" The
2131
+ # exact variables and functions that may be referenced within an expression are
2132
+ # determined by the service that evaluates it. See the service documentation for
2133
+ # additional information.
2134
+ # Corresponds to the JSON property `authorizationRule`
2135
+ # @return [Google::Apis::HealthcareV1beta1::Expr]
2136
+ attr_accessor :authorization_rule
2137
+
2138
+ # The data resources that this policy applies to. A data resource is a match if
2139
+ # it matches all the attributes listed here.
2140
+ # Corresponds to the JSON property `resourceAttributes`
2141
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
2142
+ attr_accessor :resource_attributes
2143
+
2144
+ def initialize(**args)
2145
+ update!(**args)
2146
+ end
2147
+
2148
+ # Update properties of this object
2149
+ def update!(**args)
2150
+ @authorization_rule = args[:authorization_rule] if args.key?(:authorization_rule)
2151
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
2152
+ end
2153
+ end
2154
+
2155
+ # Contains a summary of the DeidentifyDicomStore operation.
2156
+ class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
2157
+ include Google::Apis::Core::Hashable
1756
2158
 
1757
2159
  def initialize(**args)
1758
2160
  update!(**args)
@@ -1760,8 +2162,6 @@ module Google
1760
2162
 
1761
2163
  # Update properties of this object
1762
2164
  def update!(**args)
1763
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
1764
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
1765
2165
  end
1766
2166
  end
1767
2167
 
@@ -1769,18 +2169,12 @@ module Google
1769
2169
  class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary
1770
2170
  include Google::Apis::Core::Hashable
1771
2171
 
1772
- # Number of resources successfully processed.
1773
- # Corresponds to the JSON property `successResourceCount`
1774
- # @return [Fixnum]
1775
- attr_accessor :success_resource_count
1776
-
1777
2172
  def initialize(**args)
1778
2173
  update!(**args)
1779
2174
  end
1780
2175
 
1781
2176
  # Update properties of this object
1782
2177
  def update!(**args)
1783
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
1784
2178
  end
1785
2179
  end
1786
2180
 
@@ -1788,20 +2182,27 @@ module Google
1788
2182
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1789
2183
  include Google::Apis::Core::Hashable
1790
2184
 
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.
2185
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
2186
+ # parameter is ignored. force=false is equivalent to write_disposition=
2187
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1794
2188
  # Corresponds to the JSON property `force`
1795
2189
  # @return [Boolean]
1796
2190
  attr_accessor :force
1797
2191
  alias_method :force?, :force
1798
2192
 
1799
- # BigQuery URI to a table, up to 2000 characters long, in the format
1800
- # `bq://projectId.bqDatasetId.tableId`
2193
+ # BigQuery URI to a table, up to 2000 characters long, in the format `bq://
2194
+ # projectId.bqDatasetId.tableId`
1801
2195
  # Corresponds to the JSON property `tableUri`
1802
2196
  # @return [String]
1803
2197
  attr_accessor :table_uri
1804
2198
 
2199
+ # Determines whether the existing table in the destination is to be overwritten
2200
+ # or appended to. If a write_disposition is specified, the `force` parameter is
2201
+ # ignored.
2202
+ # Corresponds to the JSON property `writeDisposition`
2203
+ # @return [String]
2204
+ attr_accessor :write_disposition
2205
+
1805
2206
  def initialize(**args)
1806
2207
  update!(**args)
1807
2208
  end
@@ -1810,6 +2211,7 @@ module Google
1810
2211
  def update!(**args)
1811
2212
  @force = args[:force] if args.key?(:force)
1812
2213
  @table_uri = args[:table_uri] if args.key?(:table_uri)
2214
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1813
2215
  end
1814
2216
  end
1815
2217
 
@@ -1818,47 +2220,33 @@ module Google
1818
2220
  class GoogleCloudHealthcareV1beta1DicomGcsDestination
1819
2221
  include Google::Apis::Core::Hashable
1820
2222
 
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.
2223
+ # MIME types supported by DICOM spec. Each file is written in the following
2224
+ # format: `.../`study_id`/`series_id`/`instance_id`[/`frame_number`].`extension``
2225
+ # The frame_number component exists only for multi-frame instances. Supported
2226
+ # MIME types are consistent with supported formats in DICOMweb: https://cloud.
2227
+ # google.com/healthcare/docs/dicom#retrieve_transaction. Specifically, the
2228
+ # following are supported: - application/dicom; transfer-syntax=1.2.840.10008.1.
2229
+ # 2.1 (uncompressed DICOM) - application/dicom; transfer-syntax=1.2.840.10008.1.
2230
+ # 2.4.50 (DICOM with embedded JPEG Baseline) - application/dicom; transfer-
2231
+ # syntax=1.2.840.10008.1.2.4.90 (DICOM with embedded JPEG 2000 Lossless Only) -
2232
+ # application/dicom; transfer-syntax=1.2.840.10008.1.2.4.91 (DICOM with embedded
2233
+ # JPEG 2000)h - application/dicom; transfer-syntax=* (DICOM with no transcoding)
2234
+ # - application/octet-stream; transfer-syntax=1.2.840.10008.1.2.1 (raw
2235
+ # uncompressed PixelData) - application/octet-stream; transfer-syntax=* (raw
2236
+ # PixelData in whatever format it was uploaded in) - image/jpeg; transfer-syntax=
2237
+ # 1.2.840.10008.1.2.4.50 (Consumer JPEG) - image/png The following extensions
2238
+ # are used for output files: - application/dicom -> .dcm - image/jpeg -> .jpg -
2239
+ # image/png -> .png - application/octet-stream -> no extension If unspecified,
2240
+ # the instances are exported in the original DICOM format they were uploaded in.
1852
2241
  # Corresponds to the JSON property `mimeType`
1853
2242
  # @return [String]
1854
2243
  attr_accessor :mime_type
1855
2244
 
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`.
2245
+ # The Cloud Storage destination to export to. URI for a Cloud Storage directory
2246
+ # where the server writes the result files, in the format `gs://`bucket-id`/`
2247
+ # path/to/destination/dir``). If there is no trailing slash, the service appends
2248
+ # one when composing the object path. The user is responsible for creating the
2249
+ # Cloud Storage bucket referenced in `uri_prefix`.
1862
2250
  # Corresponds to the JSON property `uriPrefix`
1863
2251
  # @return [String]
1864
2252
  attr_accessor :uri_prefix
@@ -1878,22 +2266,17 @@ module Google
1878
2266
  class GoogleCloudHealthcareV1beta1DicomGcsSource
1879
2267
  include Google::Apis::Core::Hashable
1880
2268
 
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.
2269
+ # Points to a Cloud Storage URI containing file(s) with content only. The URI
2270
+ # must be in the following format: `gs://`bucket_id`/`object_id``. The URI can
2271
+ # include wildcards in `object_id` and thus identify multiple files. Supported
2272
+ # wildcards: '*' to match 0 or more non-separator characters '**' to match 0 or
2273
+ # more characters (including separators). Must be used at the end of a path and
2274
+ # with no other wildcards in the path. Can also be used with a file extension (
2275
+ # such as .dcm), which imports all files with the extension in the specified
2276
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2277
+ # .dcm` imports all files with .dcm extensions in `my-directory/` and its sub-
2278
+ # directories. '?' to match 1 character All other URI formats are invalid. Files
2279
+ # matching the wildcard are expected to contain content only, no metadata.
1897
2280
  # Corresponds to the JSON property `uri`
1898
2281
  # @return [String]
1899
2282
  attr_accessor :uri
@@ -1908,19 +2291,38 @@ module Google
1908
2291
  end
1909
2292
  end
1910
2293
 
2294
+ # StreamConfig specifies configuration for a streaming DICOM export.
2295
+ class GoogleCloudHealthcareV1beta1DicomStreamConfig
2296
+ include Google::Apis::Core::Hashable
2297
+
2298
+ # The BigQuery table where the server writes output.
2299
+ # Corresponds to the JSON property `bigqueryDestination`
2300
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomBigQueryDestination]
2301
+ attr_accessor :bigquery_destination
2302
+
2303
+ def initialize(**args)
2304
+ update!(**args)
2305
+ end
2306
+
2307
+ # Update properties of this object
2308
+ def update!(**args)
2309
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2310
+ end
2311
+ end
2312
+
1911
2313
  # The configuration for exporting to BigQuery.
1912
2314
  class GoogleCloudHealthcareV1beta1FhirBigQueryDestination
1913
2315
  include Google::Apis::Core::Hashable
1914
2316
 
1915
- # BigQuery URI to a dataset, up to 2000 characters long, in the format
1916
- # `bq://projectId.bqDatasetId`
2317
+ # BigQuery URI to an existing dataset, up to 2000 characters long, in the format
2318
+ # `bq://projectId.bqDatasetId`.
1917
2319
  # Corresponds to the JSON property `datasetUri`
1918
2320
  # @return [String]
1919
2321
  attr_accessor :dataset_uri
1920
2322
 
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.
2323
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
2324
+ # parameter is ignored. force=false is equivalent to write_disposition=
2325
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1924
2326
  # Corresponds to the JSON property `force`
1925
2327
  # @return [Boolean]
1926
2328
  attr_accessor :force
@@ -1932,6 +2334,13 @@ module Google
1932
2334
  # @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
1933
2335
  attr_accessor :schema_config
1934
2336
 
2337
+ # Determines whether existing tables in the destination dataset are overwritten
2338
+ # or appended to. If a write_disposition is specified, the `force` parameter is
2339
+ # ignored.
2340
+ # Corresponds to the JSON property `writeDisposition`
2341
+ # @return [String]
2342
+ attr_accessor :write_disposition
2343
+
1935
2344
  def initialize(**args)
1936
2345
  update!(**args)
1937
2346
  end
@@ -1941,14 +2350,94 @@ module Google
1941
2350
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
1942
2351
  @force = args[:force] if args.key?(:force)
1943
2352
  @schema_config = args[:schema_config] if args.key?(:schema_config)
2353
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
2354
+ end
2355
+ end
2356
+
2357
+ # Response when all resources export successfully. This structure is included in
2358
+ # the response to describe the detailed outcome after the operation finishes
2359
+ # successfully.
2360
+ class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
2361
+ include Google::Apis::Core::Hashable
2362
+
2363
+ def initialize(**args)
2364
+ update!(**args)
2365
+ end
2366
+
2367
+ # Update properties of this object
2368
+ def update!(**args)
2369
+ end
2370
+ end
2371
+
2372
+ # The configuration for exporting to Cloud Storage.
2373
+ class GoogleCloudHealthcareV1beta1FhirGcsDestination
2374
+ include Google::Apis::Core::Hashable
2375
+
2376
+ # URI for a Cloud Storage directory where result files should be written (in the
2377
+ # format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
2378
+ # slash, the service appends one when composing the object path. The Cloud
2379
+ # Storage bucket referenced in `uri_prefix` must exist or an error occurs.
2380
+ # Corresponds to the JSON property `uriPrefix`
2381
+ # @return [String]
2382
+ attr_accessor :uri_prefix
2383
+
2384
+ def initialize(**args)
2385
+ update!(**args)
2386
+ end
2387
+
2388
+ # Update properties of this object
2389
+ def update!(**args)
2390
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2391
+ end
2392
+ end
2393
+
2394
+ # Specifies the configuration for importing data from Cloud Storage.
2395
+ class GoogleCloudHealthcareV1beta1FhirGcsSource
2396
+ include Google::Apis::Core::Hashable
2397
+
2398
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
2399
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
2400
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
2401
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
2402
+ # characters (including separators). Must be used at the end of a path and with
2403
+ # no other wildcards in the path. Can also be used with a file extension (such
2404
+ # as .ndjson), which imports all files with the extension in the specified
2405
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2406
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
2407
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
2408
+ # are expected to contain content only, no metadata.
2409
+ # Corresponds to the JSON property `uri`
2410
+ # @return [String]
2411
+ attr_accessor :uri
2412
+
2413
+ def initialize(**args)
2414
+ update!(**args)
2415
+ end
2416
+
2417
+ # Update properties of this object
2418
+ def update!(**args)
2419
+ @uri = args[:uri] if args.key?(:uri)
2420
+ end
2421
+ end
2422
+
2423
+ # Final response of importing resources. This structure is included in the
2424
+ # response to describe the detailed outcome after the operation finishes
2425
+ # successfully.
2426
+ class GoogleCloudHealthcareV1beta1FhirImportResourcesResponse
2427
+ include Google::Apis::Core::Hashable
2428
+
2429
+ def initialize(**args)
2430
+ update!(**args)
2431
+ end
2432
+
2433
+ # Update properties of this object
2434
+ def update!(**args)
1944
2435
  end
1945
2436
  end
1946
2437
 
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.
2438
+ # Response when errors occur while exporting resources. This structure is
2439
+ # included in the error details to describe the detailed outcome. It is only
2440
+ # included when the operation finishes with errors.
1952
2441
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
1953
2442
  include Google::Apis::Core::Hashable
1954
2443
 
@@ -1957,16 +2446,15 @@ module Google
1957
2446
  # @return [Fixnum]
1958
2447
  attr_accessor :error_count
1959
2448
 
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``.
2449
+ # The name of the FHIR store where resources have been exported, in the format `
2450
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2451
+ # `fhir_store_id``.
1964
2452
  # Corresponds to the JSON property `fhirStore`
1965
2453
  # @return [String]
1966
2454
  attr_accessor :fhir_store
1967
2455
 
1968
- # The total number of resources included in the export operation. This is
1969
- # the sum of the success and error counts.
2456
+ # The total number of resources included in the export operation. This is the
2457
+ # sum of the success and error counts.
1970
2458
  # Corresponds to the JSON property `resourceCount`
1971
2459
  # @return [Fixnum]
1972
2460
  attr_accessor :resource_count
@@ -1989,17 +2477,15 @@ module Google
1989
2477
  end
1990
2478
  end
1991
2479
 
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.
2480
+ # Response when all resources export successfully. This structure is included
2481
+ # in the response to describe the detailed outcome after the operation finishes
2482
+ # successfully.
1996
2483
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
1997
2484
  include Google::Apis::Core::Hashable
1998
2485
 
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``.
2486
+ # The name of the FHIR store where resources have been exported, in the format `
2487
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2488
+ # `fhir_store_id``.
2003
2489
  # Corresponds to the JSON property `fhirStore`
2004
2490
  # @return [String]
2005
2491
  attr_accessor :fhir_store
@@ -2020,67 +2506,9 @@ module Google
2020
2506
  end
2021
2507
  end
2022
2508
 
2023
- # The configuration for exporting to Cloud Storage.
2024
- class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
2025
- include Google::Apis::Core::Hashable
2026
-
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`.
2032
- # Corresponds to the JSON property `uriPrefix`
2033
- # @return [String]
2034
- attr_accessor :uri_prefix
2035
-
2036
- def initialize(**args)
2037
- update!(**args)
2038
- end
2039
-
2040
- # Update properties of this object
2041
- def update!(**args)
2042
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2043
- end
2044
- end
2045
-
2046
- # Specifies the configuration for importing data from Cloud Storage.
2047
- class GoogleCloudHealthcareV1beta1FhirRestGcsSource
2048
- include Google::Apis::Core::Hashable
2049
-
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.
2065
- # Corresponds to the JSON property `uri`
2066
- # @return [String]
2067
- attr_accessor :uri
2068
-
2069
- def initialize(**args)
2070
- update!(**args)
2071
- end
2072
-
2073
- # Update properties of this object
2074
- def update!(**args)
2075
- @uri = args[:uri] if args.key?(:uri)
2076
- end
2077
- end
2078
-
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.
2509
+ # Error response of importing resources. This structure is included in the
2510
+ # error details to describe the detailed error after the operation finishes with
2511
+ # some failure.
2084
2512
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesErrorDetails
2085
2513
  include Google::Apis::Core::Hashable
2086
2514
 
@@ -2089,16 +2517,15 @@ module Google
2089
2517
  # @return [Fixnum]
2090
2518
  attr_accessor :error_count
2091
2519
 
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``.
2520
+ # The name of the FHIR store where resources have been imported, in the format `
2521
+ # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/fhirStores/
2522
+ # `fhir_store_id``.
2096
2523
  # Corresponds to the JSON property `fhirStore`
2097
2524
  # @return [String]
2098
2525
  attr_accessor :fhir_store
2099
2526
 
2100
- # The total number of resources included in the source data. This is the sum
2101
- # of the success and error counts.
2527
+ # The total number of resources included in the source data. This is the sum of
2528
+ # the success and error counts.
2102
2529
  # Corresponds to the JSON property `inputSize`
2103
2530
  # @return [Fixnum]
2104
2531
  attr_accessor :input_size
@@ -2121,16 +2548,14 @@ module Google
2121
2548
  end
2122
2549
  end
2123
2550
 
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.
2551
+ # Final response of importing resources. This structure is included in the
2552
+ # response to describe the detailed outcome after the operation finishes
2553
+ # successfully.
2128
2554
  class GoogleCloudHealthcareV1beta1FhirRestImportResourcesResponse
2129
2555
  include Google::Apis::Core::Hashable
2130
2556
 
2131
2557
  # 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`/
2558
+ # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2134
2559
  # fhirStores/`fhir_store_id``.
2135
2560
  # Corresponds to the JSON property `fhirStore`
2136
2561
  # @return [String]
@@ -2183,14 +2608,14 @@ module Google
2183
2608
  class Hl7SchemaConfig
2184
2609
  include Google::Apis::Core::Hashable
2185
2610
 
2186
- # Map from each HL7v2 message type and trigger event pair, such as ADT_A04,
2187
- # to its schema configuration root group.
2611
+ # Map from each HL7v2 message type and trigger event pair, such as ADT_A04, to
2612
+ # its schema configuration root group.
2188
2613
  # Corresponds to the JSON property `messageSchemaConfigs`
2189
2614
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::SchemaGroup>]
2190
2615
  attr_accessor :message_schema_configs
2191
2616
 
2192
- # Each VersionSource is tested and only if they all match is the schema used
2193
- # for the message.
2617
+ # Each VersionSource is tested and only if they all match is the schema used for
2618
+ # the message.
2194
2619
  # Corresponds to the JSON property `version`
2195
2620
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2196
2621
  attr_accessor :version
@@ -2215,8 +2640,8 @@ module Google
2215
2640
  # @return [Array<Google::Apis::HealthcareV1beta1::Type>]
2216
2641
  attr_accessor :type
2217
2642
 
2218
- # The version selectors that this config applies to. A message must match
2219
- # ALL version sources to apply.
2643
+ # The version selectors that this config applies to. A message must match ALL
2644
+ # version sources to apply.
2220
2645
  # Corresponds to the JSON property `version`
2221
2646
  # @return [Array<Google::Apis::HealthcareV1beta1::VersionSource>]
2222
2647
  attr_accessor :version
@@ -2232,53 +2657,44 @@ module Google
2232
2657
  end
2233
2658
  end
2234
2659
 
2235
- # Specifies where and whether to send notifications upon changes to a
2236
- # data store.
2660
+ # Specifies where and whether to send notifications upon changes to a data store.
2237
2661
  class Hl7V2NotificationConfig
2238
2662
  include Google::Apis::Core::Hashable
2239
2663
 
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":*`.
2664
+ # Restricts notifications sent for messages matching a filter. If this is empty,
2665
+ # all messages are matched. Syntax: https://cloud.google.com/appengine/docs/
2666
+ # standard/python/search/query_strings The following fields and functions are
2667
+ # available for filtering: * `message_type`, from the MSH-9.1 field. For example,
2668
+ # `NOT message_type = "ADT"`. * `send_date` or `sendDate`, the YYYY-MM-DD date
2669
+ # the message was sent in the dataset's time_zone, from the MSH-7 segment. For
2670
+ # example, `send_date < "2017-01-02"`. * `send_time`, the timestamp when the
2671
+ # message was sent, using the RFC3339 time format for comparisons, from the MSH-
2672
+ # 7 segment. For example, `send_time < "2017-01-02T00:00:00-05:00"`. * `
2673
+ # send_facility`, the care center that the message came from, from the MSH-4
2674
+ # segment. For example, `send_facility = "ABC"`. * `PatientId(value, type)`,
2675
+ # which matches if the message lists a patient having an ID of the given value
2676
+ # and type in the PID-2, PID-3, or PID-4 segments. For example, `PatientId("
2677
+ # 123456", "MRN")`. * `labels.x`, a string value of the label with key `x` as
2678
+ # set using the Message.labels map. For example, `labels."priority"="high"`. The
2679
+ # operator `:*` can be used to assert the existence of a label. For example, `
2680
+ # labels."priority":*`.
2262
2681
  # Corresponds to the JSON property `filter`
2263
2682
  # @return [String]
2264
2683
  attr_accessor :filter
2265
2684
 
2266
2685
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
2267
2686
  # 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).
2687
+ # notification is a `PubsubMessage` with the following fields: * `PubsubMessage.
2688
+ # Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of
2689
+ # this notification. It is guaranteed to be unique within the topic. * `
2690
+ # PubsubMessage.PublishTime` is the time when the message was published. Note
2691
+ # that notifications are only sent if the topic is non-empty. [Topic names](
2692
+ # https://cloud.google.com/pubsub/docs/overview#names) must be scoped to a
2693
+ # project. Cloud Healthcare API service account must have publisher permissions
2694
+ # on the given Pub/Sub topic. Not having adequate permissions causes the calls
2695
+ # that send notifications to fail. If a notification can't be published to Cloud
2696
+ # Pub/Sub, errors are logged to Cloud Logging. For more information, see [
2697
+ # Viewing error logs in Cloud Logging](/healthcare/docs/how-tos/logging).
2282
2698
  # Corresponds to the JSON property `pubsubTopic`
2283
2699
  # @return [String]
2284
2700
  attr_accessor :pubsub_topic
@@ -2298,21 +2714,19 @@ module Google
2298
2714
  class Hl7V2Store
2299
2715
  include Google::Apis::Core::Hashable
2300
2716
 
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.
2717
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
2718
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
2719
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
2720
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
2721
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
2722
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
2723
+ # can be associated with a given store.
2310
2724
  # Corresponds to the JSON property `labels`
2311
2725
  # @return [Hash<String,String>]
2312
2726
  attr_accessor :labels
2313
2727
 
2314
- # Resource name of the HL7v2 store, of the form
2315
- # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2728
+ # Resource name of the HL7v2 store, of the form `projects/`project_id`/datasets/`
2729
+ # dataset_id`/hl7V2Stores/`hl7v2_store_id``.
2316
2730
  # Corresponds to the JSON property `name`
2317
2731
  # @return [String]
2318
2732
  attr_accessor :name
@@ -2322,10 +2736,10 @@ module Google
2322
2736
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
2323
2737
  attr_accessor :notification_config
2324
2738
 
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.
2739
+ # A list of notification configs. Each configuration uses a filter to determine
2740
+ # whether to publish a message (both Ingest & Create) on the corresponding
2741
+ # notification destination. Only the message name is sent as part of the
2742
+ # notification. Supplied by the client.
2329
2743
  # Corresponds to the JSON property `notificationConfigs`
2330
2744
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7V2NotificationConfig>]
2331
2745
  attr_accessor :notification_configs
@@ -2336,17 +2750,15 @@ module Google
2336
2750
  # @return [Google::Apis::HealthcareV1beta1::ParserConfig]
2337
2751
  attr_accessor :parser_config
2338
2752
 
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.
2753
+ # Determines whether to reject duplicate messages. A duplicate message is a
2754
+ # message with the same raw bytes as a message that has already been ingested/
2755
+ # created in this HL7v2 store. The default value is false, meaning that the
2756
+ # store accepts the duplicate messages and it also returns the same ACK message
2757
+ # in the IngestMessageResponse as has been returned previously. Note that only
2758
+ # one resource is created in the store. When this field is set to true,
2759
+ # CreateMessage/IngestMessage requests with a duplicate message will be rejected
2760
+ # by the store, and IngestMessageErrorDetail returns a NACK message upon
2761
+ # rejection.
2350
2762
  # Corresponds to the JSON property `rejectDuplicateMessage`
2351
2763
  # @return [Boolean]
2352
2764
  attr_accessor :reject_duplicate_message
@@ -2368,34 +2780,21 @@ module Google
2368
2780
  end
2369
2781
 
2370
2782
  # 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.
2783
+ # payload formats that can't be represented as JSON, such as raw binary or an
2784
+ # HTML page. This message can be used both in streaming and non-streaming API
2785
+ # methods in the request as well as the response. It can be used as a top-level
2786
+ # request field, which is convenient if one wants to extract parameters from
2787
+ # either the URL or HTTP template into the request fields and also want access
2788
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
2789
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
2790
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
2791
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
2792
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
2793
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
2794
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
2795
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
2796
+ # only changes how the request and response bodies are handled, all other
2797
+ # features will continue to work unchanged.
2399
2798
  class HttpBody
2400
2799
  include Google::Apis::Core::Hashable
2401
2800
 
@@ -2410,8 +2809,8 @@ module Google
2410
2809
  # @return [String]
2411
2810
  attr_accessor :data
2412
2811
 
2413
- # Application specific response metadata. Must be set in the first response
2414
- # for streaming APIs.
2812
+ # Application specific response metadata. Must be set in the first response for
2813
+ # streaming APIs.
2415
2814
  # Corresponds to the JSON property `extensions`
2416
2815
  # @return [Array<Hash<String,Object>>]
2417
2816
  attr_accessor :extensions
@@ -2428,6 +2827,39 @@ module Google
2428
2827
  end
2429
2828
  end
2430
2829
 
2830
+ # An image.
2831
+ class Image
2832
+ include Google::Apis::Core::Hashable
2833
+
2834
+ # Input only. Points to a Cloud Storage URI containing the image. The URI must
2835
+ # be in the following format: `gs://`bucket_id`/`object_id``. The Cloud
2836
+ # Healthcare API service account must have the `roles/storage.objectViewer`
2837
+ # Cloud IAM role for this Cloud Storage location. The image at this URI is
2838
+ # copied to a Cloud Storage location managed by the Cloud Healthcare API.
2839
+ # Responses to image fetching requests return the image in raw_bytes.
2840
+ # Corresponds to the JSON property `gcsUri`
2841
+ # @return [String]
2842
+ attr_accessor :gcs_uri
2843
+
2844
+ # Image content represented as a stream of bytes. This field is populated when
2845
+ # returned in GetConsentArtifact response, but not included in
2846
+ # CreateConsentArtifact and ListConsentArtifact response.
2847
+ # Corresponds to the JSON property `rawBytes`
2848
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2849
+ # @return [String]
2850
+ attr_accessor :raw_bytes
2851
+
2852
+ def initialize(**args)
2853
+ update!(**args)
2854
+ end
2855
+
2856
+ # Update properties of this object
2857
+ def update!(**args)
2858
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
2859
+ @raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
2860
+ end
2861
+ end
2862
+
2431
2863
  # Image annotation.
2432
2864
  class ImageAnnotation
2433
2865
  include Google::Apis::Core::Hashable
@@ -2454,51 +2886,14 @@ module Google
2454
2886
  end
2455
2887
  end
2456
2888
 
2457
- # Specifies how to handle de-identification of image pixels.
2458
- class ImageConfig
2459
- include Google::Apis::Core::Hashable
2460
-
2461
- # Determines how to redact text from image.
2462
- # Corresponds to the JSON property `textRedactionMode`
2463
- # @return [String]
2464
- attr_accessor :text_redaction_mode
2465
-
2466
- def initialize(**args)
2467
- update!(**args)
2468
- end
2469
-
2470
- # Update properties of this object
2471
- def update!(**args)
2472
- @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2473
- end
2474
- end
2475
-
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.
2482
- class ImportAnnotationsErrorDetails
2889
+ # Specifies how to handle de-identification of image pixels.
2890
+ class ImageConfig
2483
2891
  include Google::Apis::Core::Hashable
2484
2892
 
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`/
2488
- # annotationStores/`annotation_store_id``.
2489
- # Corresponds to the JSON property `annotationStore`
2893
+ # Determines how to redact text from image.
2894
+ # Corresponds to the JSON property `textRedactionMode`
2490
2895
  # @return [String]
2491
- attr_accessor :annotation_store
2492
-
2493
- # The number of annotations that had errors.
2494
- # Corresponds to the JSON property `errorCount`
2495
- # @return [Fixnum]
2496
- attr_accessor :error_count
2497
-
2498
- # The number of annotations that have been imported.
2499
- # Corresponds to the JSON property `successCount`
2500
- # @return [Fixnum]
2501
- attr_accessor :success_count
2896
+ attr_accessor :text_redaction_mode
2502
2897
 
2503
2898
  def initialize(**args)
2504
2899
  update!(**args)
@@ -2506,17 +2901,14 @@ module Google
2506
2901
 
2507
2902
  # Update properties of this object
2508
2903
  def update!(**args)
2509
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
2510
- @error_count = args[:error_count] if args.key?(:error_count)
2511
- @success_count = args[:success_count] if args.key?(:success_count)
2904
+ @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2512
2905
  end
2513
2906
  end
2514
2907
 
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.
2908
+ # Request to import Annotations. The Annotations to be imported must have client-
2909
+ # supplied resource names which indicate the annotation resource. The import
2910
+ # operation is not atomic. If a failure occurs, any annotations already imported
2911
+ # are not removed.
2520
2912
  class ImportAnnotationsRequest
2521
2913
  include Google::Apis::Core::Hashable
2522
2914
 
@@ -2535,46 +2927,28 @@ module Google
2535
2927
  end
2536
2928
  end
2537
2929
 
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.
2930
+ # Final response of importing Annotations in successful case. This structure is
2931
+ # included in the response. It is only included when the operation finishes.
2543
2932
  class ImportAnnotationsResponse
2544
2933
  include Google::Apis::Core::Hashable
2545
2934
 
2546
- # The annotation_store that the annotations were imported to,
2547
- # in the format
2548
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2549
- # annotationStores/`annotation_store_id``.
2550
- # Corresponds to the JSON property `annotationStore`
2551
- # @return [String]
2552
- attr_accessor :annotation_store
2553
-
2554
- # The number of the input annotations. All input have been
2555
- # imported successfully.
2556
- # Corresponds to the JSON property `successCount`
2557
- # @return [Fixnum]
2558
- attr_accessor :success_count
2559
-
2560
2935
  def initialize(**args)
2561
2936
  update!(**args)
2562
2937
  end
2563
2938
 
2564
2939
  # Update properties of this object
2565
2940
  def update!(**args)
2566
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
2567
- @success_count = args[:success_count] if args.key?(:success_count)
2568
2941
  end
2569
2942
  end
2570
2943
 
2571
- # Returns the errors encountered during DICOM store import.
2944
+ # Deprecated. Error details are in [Cloud Logging](/healthcare/docs/how-tos/
2945
+ # logging). Returns the errors encountered during DICOM store import.
2572
2946
  class ImportDicomDataErrorDetails
2573
2947
  include Google::Apis::Core::Hashable
2574
2948
 
2575
- # Deprecated. Use only for debugging purposes.
2576
- # Contains sample errors encountered in imports of individual resources.
2577
- # For example, a Cloud Storage object.
2949
+ # Deprecated. Use only for debugging purposes. Contains sample errors
2950
+ # encountered in imports of individual resources. For example, a Cloud Storage
2951
+ # object.
2578
2952
  # Corresponds to the JSON property `sampleErrors`
2579
2953
  # @return [Array<Google::Apis::HealthcareV1beta1::ErrorDetail>]
2580
2954
  attr_accessor :sample_errors
@@ -2589,10 +2963,9 @@ module Google
2589
2963
  end
2590
2964
  end
2591
2965
 
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.
2966
+ # Imports data into the specified DICOM store. Returns an error if any of the
2967
+ # files to import are not DICOM files. This API accepts duplicate DICOM
2968
+ # instances by ignoring the newly-pushed instance. It does not overwrite.
2596
2969
  class ImportDicomDataRequest
2597
2970
  include Google::Apis::Core::Hashable
2598
2971
 
@@ -2643,10 +3016,9 @@ module Google
2643
3016
  end
2644
3017
  end
2645
3018
 
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.
3019
+ # Final response of importing messages. This structure is included in the
3020
+ # response to describe the detailed outcome. It is only included when the
3021
+ # operation finishes successfully.
2650
3022
  class ImportMessagesResponse
2651
3023
  include Google::Apis::Core::Hashable
2652
3024
 
@@ -2671,7 +3043,7 @@ module Google
2671
3043
 
2672
3044
  # Specifies the configuration for importing data from Cloud Storage.
2673
3045
  # Corresponds to the JSON property `gcsSource`
2674
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource]
3046
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
2675
3047
  attr_accessor :gcs_source
2676
3048
 
2677
3049
  def initialize(**args)
@@ -2685,8 +3057,8 @@ module Google
2685
3057
  end
2686
3058
  end
2687
3059
 
2688
- # Specifies how to use infoTypes for evaluation. For example, a user might
2689
- # only want to evaluate `PERSON`, `LOCATION`, and `AGE`.
3060
+ # Specifies how to use infoTypes for evaluation. For example, a user might only
3061
+ # want to evaluate `PERSON`, `LOCATION`, and `AGE`.
2690
3062
  class InfoTypeConfig
2691
3063
  include Google::Apis::Core::Hashable
2692
3064
 
@@ -2700,27 +3072,15 @@ module Google
2700
3072
  # @return [Google::Apis::HealthcareV1beta1::FilterList]
2701
3073
  attr_accessor :ignore_list
2702
3074
 
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
3075
+ # If `TRUE`, infoTypes described by `filter` are used for evaluation. Otherwise,
3076
+ # infoTypes are not considered for evaluation. For example: * Annotated text: "
3077
+ # Toronto is a location" * Finding 1: ``"infoType": "PERSON", "quote": "Toronto",
3078
+ # "start": 0, "end": 7`` * Finding 2: ``"infoType": "CITY", "quote": "Toronto",
3079
+ # "start": 0, "end": 7`` * Finding 3: ```` * Ground truth: ``"infoType": "
3080
+ # LOCATION", "quote": "Toronto", "start": 0, "end": 7`` When `strict_matching`
3081
+ # is `TRUE`: * Finding 1: 1 false positive * Finding 2: 1 false positive *
3082
+ # Finding 3: 1 false negative When `strict_matching` is `FALSE`: * Finding 1: 1
3083
+ # true positive * Finding 2: 1 true positive * Finding 3: 1 false negative
2724
3084
  # Corresponds to the JSON property `strictMatching`
2725
3085
  # @return [Boolean]
2726
3086
  attr_accessor :strict_matching
@@ -2738,8 +3098,7 @@ module Google
2738
3098
  end
2739
3099
  end
2740
3100
 
2741
- # A transformation to apply to text that is identified as a specific
2742
- # info_type.
3101
+ # A transformation to apply to text that is identified as a specific info_type.
2743
3102
  class InfoTypeTransformation
2744
3103
  include Google::Apis::Core::Hashable
2745
3104
 
@@ -2749,8 +3108,7 @@ module Google
2749
3108
  attr_accessor :character_mask_config
2750
3109
 
2751
3110
  # Pseudonymization method that generates surrogates via cryptographic hashing.
2752
- # Uses SHA-256.
2753
- # Outputs a base64-encoded representation of the hashed output.
3111
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
2754
3112
  # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
2755
3113
  # Corresponds to the JSON property `cryptoHashConfig`
2756
3114
  # @return [Google::Apis::HealthcareV1beta1::CryptoHashConfig]
@@ -2769,18 +3127,15 @@ module Google
2769
3127
  # @return [Array<String>]
2770
3128
  attr_accessor :info_types
2771
3129
 
2772
- # Define how to redact sensitive values. Default behaviour is erase.
2773
- # For example, "My name is Jane." becomes "My name is ."
3130
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
3131
+ # "My name is Jane." becomes "My name is ."
2774
3132
  # Corresponds to the JSON property `redactConfig`
2775
3133
  # @return [Google::Apis::HealthcareV1beta1::RedactConfig]
2776
3134
  attr_accessor :redact_config
2777
3135
 
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.
3136
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
3137
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
3138
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2784
3139
  # Corresponds to the JSON property `replaceWithInfoTypeConfig`
2785
3140
  # @return [Google::Apis::HealthcareV1beta1::ReplaceWithInfoTypeConfig]
2786
3141
  attr_accessor :replace_with_info_type_config
@@ -2804,10 +3159,8 @@ module Google
2804
3159
  class IngestMessageRequest
2805
3160
  include Google::Apis::Core::Hashable
2806
3161
 
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.
3162
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3163
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2811
3164
  # Corresponds to the JSON property `message`
2812
3165
  # @return [Google::Apis::HealthcareV1beta1::Message]
2813
3166
  attr_accessor :message
@@ -2822,8 +3175,7 @@ module Google
2822
3175
  end
2823
3176
  end
2824
3177
 
2825
- # Acknowledges that a message has been ingested into the specified
2826
- # HL7v2 store.
3178
+ # Acknowledges that a message has been ingested into the specified HL7v2 store.
2827
3179
  class IngestMessageResponse
2828
3180
  include Google::Apis::Core::Hashable
2829
3181
 
@@ -2833,10 +3185,8 @@ module Google
2833
3185
  # @return [String]
2834
3186
  attr_accessor :hl7_ack
2835
3187
 
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.
3188
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3189
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
2840
3190
  # Corresponds to the JSON property `message`
2841
3191
  # @return [Google::Apis::HealthcareV1beta1::Message]
2842
3192
  attr_accessor :message
@@ -2852,13 +3202,12 @@ module Google
2852
3202
  end
2853
3203
  end
2854
3204
 
2855
- # Lists the Annotation stores
2856
- # in the given dataset.
3205
+ # Lists the Annotation stores in the given dataset.
2857
3206
  class ListAnnotationStoresResponse
2858
3207
  include Google::Apis::Core::Hashable
2859
3208
 
2860
- # The returned Annotation stores. Won't be more Annotation stores than the
2861
- # value of page_size in the request.
3209
+ # The returned Annotation stores. Won't be more Annotation stores than the value
3210
+ # of page_size in the request.
2862
3211
  # Corresponds to the JSON property `annotationStores`
2863
3212
  # @return [Array<Google::Apis::HealthcareV1beta1::AnnotationStore>]
2864
3213
  attr_accessor :annotation_stores
@@ -2880,14 +3229,12 @@ module Google
2880
3229
  end
2881
3230
  end
2882
3231
 
2883
- # Lists the Annotations in the specified
2884
- # Annotation store.
3232
+ # Lists the Annotations in the specified Annotation store.
2885
3233
  class ListAnnotationsResponse
2886
3234
  include Google::Apis::Core::Hashable
2887
3235
 
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.
3236
+ # The returned Annotations. Won't be more values than the value of page_size in
3237
+ # the request. See `AnnotationView` in the request for populated fields.
2891
3238
  # Corresponds to the JSON property `annotations`
2892
3239
  # @return [Array<Google::Apis::HealthcareV1beta1::Annotation>]
2893
3240
  attr_accessor :annotations
@@ -2909,6 +3256,141 @@ module Google
2909
3256
  end
2910
3257
  end
2911
3258
 
3259
+ # Lists the Attribute definitions in the given Consent store.
3260
+ class ListAttributeDefinitionsResponse
3261
+ include Google::Apis::Core::Hashable
3262
+
3263
+ # The returned attribute definitions. The maximum number of attributes returned
3264
+ # is determined by the value of page_size in the ListAttributeDefinitionsRequest.
3265
+ # Corresponds to the JSON property `attributeDefinitions`
3266
+ # @return [Array<Google::Apis::HealthcareV1beta1::AttributeDefinition>]
3267
+ attr_accessor :attribute_definitions
3268
+
3269
+ # Token to retrieve the next page of results or empty if there are no more
3270
+ # results in the list.
3271
+ # Corresponds to the JSON property `nextPageToken`
3272
+ # @return [String]
3273
+ attr_accessor :next_page_token
3274
+
3275
+ def initialize(**args)
3276
+ update!(**args)
3277
+ end
3278
+
3279
+ # Update properties of this object
3280
+ def update!(**args)
3281
+ @attribute_definitions = args[:attribute_definitions] if args.key?(:attribute_definitions)
3282
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3283
+ end
3284
+ end
3285
+
3286
+ # Lists the Consent artifacts in the given Consent store.
3287
+ class ListConsentArtifactsResponse
3288
+ include Google::Apis::Core::Hashable
3289
+
3290
+ # The returned consent artifacts. The maximum number of artifacts returned is
3291
+ # determined by the value of page_size in the ListConsentArtifactsRequest.
3292
+ # Corresponds to the JSON property `consentArtifacts`
3293
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentArtifact>]
3294
+ attr_accessor :consent_artifacts
3295
+
3296
+ # Token to retrieve the next page of results or empty if there are no more
3297
+ # results in the list.
3298
+ # Corresponds to the JSON property `nextPageToken`
3299
+ # @return [String]
3300
+ attr_accessor :next_page_token
3301
+
3302
+ def initialize(**args)
3303
+ update!(**args)
3304
+ end
3305
+
3306
+ # Update properties of this object
3307
+ def update!(**args)
3308
+ @consent_artifacts = args[:consent_artifacts] if args.key?(:consent_artifacts)
3309
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3310
+ end
3311
+ end
3312
+
3313
+ # Lists the revisions of the given Consent in reverse chronological order.
3314
+ class ListConsentRevisionsResponse
3315
+ include Google::Apis::Core::Hashable
3316
+
3317
+ # The returned consent revisions. The maximum number of revisions returned is
3318
+ # determined by the value of `page_size` in the ListConsentRevisionsRequest.
3319
+ # Corresponds to the JSON property `consents`
3320
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3321
+ attr_accessor :consents
3322
+
3323
+ # Token to retrieve the next page of results or empty if there are no more
3324
+ # results in the list.
3325
+ # Corresponds to the JSON property `nextPageToken`
3326
+ # @return [String]
3327
+ attr_accessor :next_page_token
3328
+
3329
+ def initialize(**args)
3330
+ update!(**args)
3331
+ end
3332
+
3333
+ # Update properties of this object
3334
+ def update!(**args)
3335
+ @consents = args[:consents] if args.key?(:consents)
3336
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3337
+ end
3338
+ end
3339
+
3340
+ # Lists the Consent stores in the given dataset.
3341
+ class ListConsentStoresResponse
3342
+ include Google::Apis::Core::Hashable
3343
+
3344
+ # The returned Consent stores. The maximum number of stores returned is
3345
+ # determined by the value of page_size in the ListConsentStoresRequest.
3346
+ # Corresponds to the JSON property `consentStores`
3347
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentStore>]
3348
+ attr_accessor :consent_stores
3349
+
3350
+ # Token to retrieve the next page of results or empty if there are no more
3351
+ # results in the list.
3352
+ # Corresponds to the JSON property `nextPageToken`
3353
+ # @return [String]
3354
+ attr_accessor :next_page_token
3355
+
3356
+ def initialize(**args)
3357
+ update!(**args)
3358
+ end
3359
+
3360
+ # Update properties of this object
3361
+ def update!(**args)
3362
+ @consent_stores = args[:consent_stores] if args.key?(:consent_stores)
3363
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3364
+ end
3365
+ end
3366
+
3367
+ # Lists the Consents in the given Consent store.
3368
+ class ListConsentsResponse
3369
+ include Google::Apis::Core::Hashable
3370
+
3371
+ # The returned consents. The maximum number of consents returned is determined
3372
+ # by the value of page_size in the ListConsentsRequest.
3373
+ # Corresponds to the JSON property `consents`
3374
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3375
+ attr_accessor :consents
3376
+
3377
+ # Token to retrieve the next page of results or empty if there are no more
3378
+ # results in the list.
3379
+ # Corresponds to the JSON property `nextPageToken`
3380
+ # @return [String]
3381
+ attr_accessor :next_page_token
3382
+
3383
+ def initialize(**args)
3384
+ update!(**args)
3385
+ end
3386
+
3387
+ # Update properties of this object
3388
+ def update!(**args)
3389
+ @consents = args[:consents] if args.key?(:consents)
3390
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3391
+ end
3392
+ end
3393
+
2912
3394
  # Lists the available datasets.
2913
3395
  class ListDatasetsResponse
2914
3396
  include Google::Apis::Core::Hashable
@@ -2918,8 +3400,8 @@ module Google
2918
3400
  # @return [Array<Google::Apis::HealthcareV1beta1::Dataset>]
2919
3401
  attr_accessor :datasets
2920
3402
 
2921
- # Token to retrieve the next page of results, or empty if there are no
2922
- # more results in the list.
3403
+ # Token to retrieve the next page of results, or empty if there are no more
3404
+ # results in the list.
2923
3405
  # Corresponds to the JSON property `nextPageToken`
2924
3406
  # @return [String]
2925
3407
  attr_accessor :next_page_token
@@ -3045,10 +3527,8 @@ module Google
3045
3527
  class ListMessagesResponse
3046
3528
  include Google::Apis::Core::Hashable
3047
3529
 
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.
3530
+ # The returned Messages. Won't be more Messages than the value of page_size in
3531
+ # the request. See view for populated fields.
3052
3532
  # Corresponds to the JSON property `hl7V2Messages`
3053
3533
  # @return [Array<Google::Apis::HealthcareV1beta1::Message>]
3054
3534
  attr_accessor :hl7_v2_messages
@@ -3095,18 +3575,46 @@ module Google
3095
3575
  end
3096
3576
  end
3097
3577
 
3578
+ # Lists the User data mappings in the given Consent store.
3579
+ class ListUserDataMappingsResponse
3580
+ include Google::Apis::Core::Hashable
3581
+
3582
+ # Token to retrieve the next page of results or empty if there are no more
3583
+ # results in the list.
3584
+ # Corresponds to the JSON property `nextPageToken`
3585
+ # @return [String]
3586
+ attr_accessor :next_page_token
3587
+
3588
+ # The returned user data mappings. The maximum number of user data mappings
3589
+ # returned is determined by the value of page_size in the
3590
+ # ListUserDataMappingsRequest.
3591
+ # Corresponds to the JSON property `userDataMappings`
3592
+ # @return [Array<Google::Apis::HealthcareV1beta1::UserDataMapping>]
3593
+ attr_accessor :user_data_mappings
3594
+
3595
+ def initialize(**args)
3596
+ update!(**args)
3597
+ end
3598
+
3599
+ # Update properties of this object
3600
+ def update!(**args)
3601
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3602
+ @user_data_mappings = args[:user_data_mappings] if args.key?(:user_data_mappings)
3603
+ end
3604
+ end
3605
+
3098
3606
  # A resource that represents Google Cloud Platform location.
3099
3607
  class Location
3100
3608
  include Google::Apis::Core::Hashable
3101
3609
 
3102
- # The friendly name for this location, typically a nearby city name.
3103
- # For example, "Tokyo".
3610
+ # The friendly name for this location, typically a nearby city name. For example,
3611
+ # "Tokyo".
3104
3612
  # Corresponds to the JSON property `displayName`
3105
3613
  # @return [String]
3106
3614
  attr_accessor :display_name
3107
3615
 
3108
- # Cross-service attributes for the location. For example
3109
- # `"cloud.googleapis.com/region": "us-east1"`
3616
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
3617
+ # region": "us-east1"`
3110
3618
  # Corresponds to the JSON property `labels`
3111
3619
  # @return [Hash<String,String>]
3112
3620
  attr_accessor :labels
@@ -3122,8 +3630,8 @@ module Google
3122
3630
  # @return [Hash<String,Object>]
3123
3631
  attr_accessor :metadata
3124
3632
 
3125
- # Resource name for the location, which may vary between implementations.
3126
- # For example: `"projects/example-project/locations/us-east1"`
3633
+ # Resource name for the location, which may vary between implementations. For
3634
+ # example: `"projects/example-project/locations/us-east1"`
3127
3635
  # Corresponds to the JSON property `name`
3128
3636
  # @return [String]
3129
3637
  attr_accessor :name
@@ -3142,10 +3650,8 @@ module Google
3142
3650
  end
3143
3651
  end
3144
3652
 
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.
3653
+ # A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.
3654
+ # org/implement/standards/index.cfm?ref=common) for details on the standard.
3149
3655
  class Message
3150
3656
  include Google::Apis::Core::Hashable
3151
3657
 
@@ -3160,15 +3666,13 @@ module Google
3160
3666
  # @return [String]
3161
3667
  attr_accessor :data
3162
3668
 
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.
3669
+ # User-supplied key-value pairs used to organize HL7v2 stores. Label keys must
3670
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
3671
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
3672
+ # 0,62` Label values are optional, must be between 1 and 63 characters long,
3673
+ # have a UTF-8 encoding of maximum 128 bytes, and must conform to the following
3674
+ # PCRE regular expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels
3675
+ # can be associated with a given store.
3172
3676
  # Corresponds to the JSON property `labels`
3173
3677
  # @return [Hash<String,String>]
3174
3678
  attr_accessor :labels
@@ -3178,10 +3682,9 @@ module Google
3178
3682
  # @return [String]
3179
3683
  attr_accessor :message_type
3180
3684
 
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.
3685
+ # Resource name of the Message, of the form `projects/`project_id`/datasets/`
3686
+ # dataset_id`/hl7V2Stores/`hl7_v2_store_id`/messages/`message_id``. Assigned by
3687
+ # the server.
3185
3688
  # Corresponds to the JSON property `name`
3186
3689
  # @return [String]
3187
3690
  attr_accessor :name
@@ -3191,8 +3694,7 @@ module Google
3191
3694
  # @return [Google::Apis::HealthcareV1beta1::ParsedData]
3192
3695
  attr_accessor :parsed_data
3193
3696
 
3194
- # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this
3195
- # message.
3697
+ # All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.
3196
3698
  # Corresponds to the JSON property `patientIds`
3197
3699
  # @return [Array<Google::Apis::HealthcareV1beta1::PatientId>]
3198
3700
  attr_accessor :patient_ids
@@ -3238,20 +3740,19 @@ module Google
3238
3740
 
3239
3741
  # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
3240
3742
  # 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.
3743
+ # PubsubMessage.Data contains the resource name. PubsubMessage.MessageId is the
3744
+ # ID of this message. It is guaranteed to be unique within the topic.
3244
3745
  # 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.
3746
+ # Notifications are only sent if the topic is non-empty. [Topic names](https://
3747
+ # cloud.google.com/pubsub/docs/overview#names) must be scoped to a project.
3748
+ # Cloud Healthcare API service account must have publisher permissions on the
3749
+ # given Cloud Pub/Sub topic. Not having adequate permissions causes the calls
3750
+ # that send notifications to fail. If a notification can't be published to Cloud
3751
+ # Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
3752
+ # docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
3753
+ # aren't submitted. Note that not all operations trigger notifications, see [
3754
+ # Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
3755
+ # how-tos/pubsub) for specific details.
3255
3756
  # Corresponds to the JSON property `pubsubTopic`
3256
3757
  # @return [String]
3257
3758
  attr_accessor :pubsub_topic
@@ -3271,47 +3772,45 @@ module Google
3271
3772
  class Operation
3272
3773
  include Google::Apis::Core::Hashable
3273
3774
 
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.
3775
+ # If the value is `false`, it means the operation is still in progress. If `true`
3776
+ # , the operation is completed, and either `error` or `response` is available.
3277
3777
  # Corresponds to the JSON property `done`
3278
3778
  # @return [Boolean]
3279
3779
  attr_accessor :done
3280
3780
  alias_method :done?, :done
3281
3781
 
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).
3782
+ # The `Status` type defines a logical error model that is suitable for different
3783
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3784
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3785
+ # data: error code, error message, and error details. You can find out more
3786
+ # about this error model and how to work with it in the [API Design Guide](https:
3787
+ # //cloud.google.com/apis/design/errors).
3288
3788
  # Corresponds to the JSON property `error`
3289
3789
  # @return [Google::Apis::HealthcareV1beta1::Status]
3290
3790
  attr_accessor :error
3291
3791
 
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.
3792
+ # Service-specific metadata associated with the operation. It typically contains
3793
+ # progress information and common metadata such as create time. Some services
3794
+ # might not provide such metadata. Any method that returns a long-running
3795
+ # operation should document the metadata type, if any.
3296
3796
  # Corresponds to the JSON property `metadata`
3297
3797
  # @return [Hash<String,Object>]
3298
3798
  attr_accessor :metadata
3299
3799
 
3300
3800
  # 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``.
3801
+ # originally returns it. If you use the default HTTP mapping, the `name` should
3802
+ # be a resource name ending with `operations/`unique_id``.
3303
3803
  # Corresponds to the JSON property `name`
3304
3804
  # @return [String]
3305
3805
  attr_accessor :name
3306
3806
 
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`.
3807
+ # The normal response of the operation in case of success. If the original
3808
+ # method returns no data on success, such as `Delete`, the response is `google.
3809
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
3810
+ # the response should be the resource. For other methods, the response should
3811
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
3812
+ # example, if the original method name is `TakeSnapshot()`, the inferred
3813
+ # response type is `TakeSnapshotResponse`.
3315
3814
  # Corresponds to the JSON property `response`
3316
3815
  # @return [Hash<String,Object>]
3317
3816
  attr_accessor :response
@@ -3330,8 +3829,8 @@ module Google
3330
3829
  end
3331
3830
  end
3332
3831
 
3333
- # OperationMetadata provides information about the operation execution.
3334
- # Returned in the long-running operation's metadata field.
3832
+ # OperationMetadata provides information about the operation execution. Returned
3833
+ # in the long-running operation's metadata field.
3335
3834
  class OperationMetadata
3336
3835
  include Google::Apis::Core::Hashable
3337
3836
 
@@ -3362,8 +3861,8 @@ module Google
3362
3861
  attr_accessor :end_time
3363
3862
 
3364
3863
  # 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).
3864
+ # only by some operations, listed at [Viewing logs](/healthcare/docs/how-tos/
3865
+ # logging).
3367
3866
  # Corresponds to the JSON property `logsUrl`
3368
3867
  # @return [String]
3369
3868
  attr_accessor :logs_url
@@ -3418,14 +3917,19 @@ module Google
3418
3917
  # @return [Google::Apis::HealthcareV1beta1::SchemaPackage]
3419
3918
  attr_accessor :schema
3420
3919
 
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.
3920
+ # Byte(s) to use as the segment terminator. If this is unset, '\r' is used as
3921
+ # segment terminator, matching the HL7 version 2 specification.
3424
3922
  # Corresponds to the JSON property `segmentTerminator`
3425
3923
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3426
3924
  # @return [String]
3427
3925
  attr_accessor :segment_terminator
3428
3926
 
3927
+ # Immutable. Determines the version of the unschematized parser to be used when `
3928
+ # schema` is not given. This field is immutable after store creation.
3929
+ # Corresponds to the JSON property `version`
3930
+ # @return [String]
3931
+ attr_accessor :version
3932
+
3429
3933
  def initialize(**args)
3430
3934
  update!(**args)
3431
3935
  end
@@ -3435,6 +3939,7 @@ module Google
3435
3939
  @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
3436
3940
  @schema = args[:schema] if args.key?(:schema)
3437
3941
  @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
3942
+ @version = args[:version] if args.key?(:version)
3438
3943
  end
3439
3944
  end
3440
3945
 
@@ -3464,66 +3969,32 @@ module Google
3464
3969
  end
3465
3970
 
3466
3971
  # 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/).
3972
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3973
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3974
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3975
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3976
+ # role or a user-created custom role. For some types of Google Cloud resources,
3977
+ # a `binding` can also specify a `condition`, which is a logical expression that
3978
+ # allows access to a resource only if the expression evaluates to `true`. A
3979
+ # condition can add constraints based on attributes of the request, the resource,
3980
+ # or both. To learn which resources support conditions in their IAM policies,
3981
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3982
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3983
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3984
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3985
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3986
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3987
+ # title": "expirable access", "description": "Does not grant access after Sep
3988
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3989
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3990
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3991
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3992
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3993
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3994
+ # description: Does not grant access after Sep 2020 expression: request.time <
3995
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3996
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3997
+ # google.com/iam/docs/).
3527
3998
  class Policy
3528
3999
  include Google::Apis::Core::Hashable
3529
4000
 
@@ -3532,48 +4003,44 @@ module Google
3532
4003
  # @return [Array<Google::Apis::HealthcareV1beta1::AuditConfig>]
3533
4004
  attr_accessor :audit_configs
3534
4005
 
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.
4006
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
4007
+ # condition` that determines how and when the `bindings` are applied. Each of
4008
+ # the `bindings` must contain at least one member.
3538
4009
  # Corresponds to the JSON property `bindings`
3539
4010
  # @return [Array<Google::Apis::HealthcareV1beta1::Binding>]
3540
4011
  attr_accessor :bindings
3541
4012
 
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.
4013
+ # `etag` is used for optimistic concurrency control as a way to help prevent
4014
+ # simultaneous updates of a policy from overwriting each other. It is strongly
4015
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
4016
+ # to perform policy updates in order to avoid race conditions: An `etag` is
4017
+ # returned in the response to `getIamPolicy`, and systems are expected to put
4018
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
4019
+ # applied to the same version of the policy. **Important:** If you use IAM
4020
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
4021
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
4022
+ # with a version `1` policy, and all of the conditions in the version `3` policy
4023
+ # are lost.
3553
4024
  # Corresponds to the JSON property `etag`
3554
4025
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3555
4026
  # @return [String]
3556
4027
  attr_accessor :etag
3557
4028
 
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).
4029
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
4030
+ # Requests that specify an invalid value are rejected. Any operation that
4031
+ # affects conditional role bindings must specify version `3`. This requirement
4032
+ # applies to the following operations: * Getting a policy that includes a
4033
+ # conditional role binding * Adding a conditional role binding to a policy *
4034
+ # Changing a conditional role binding in a policy * Removing any role binding,
4035
+ # with or without a condition, from a policy that includes conditions **
4036
+ # Important:** If you use IAM Conditions, you must include the `etag` field
4037
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
4038
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
4039
+ # conditions in the version `3` policy are lost. If a policy does not include
4040
+ # any conditions, operations on that policy may specify any valid version or
4041
+ # leave the field unset. To learn which resources support conditions in their
4042
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
4043
+ # conditions/resource-policies).
3577
4044
  # Corresponds to the JSON property `version`
3578
4045
  # @return [Fixnum]
3579
4046
  attr_accessor :version
@@ -3622,8 +4089,45 @@ module Google
3622
4089
  end
3623
4090
  end
3624
4091
 
3625
- # Define how to redact sensitive values. Default behaviour is erase.
3626
- # For example, "My name is Jane." becomes "My name is ."
4092
+ # Queries all data_ids that are consented for a given use in the given Consent
4093
+ # store and writes them to a specified destination. The returned Operation
4094
+ # includes a progress counter for the number of User data mappings processed.
4095
+ # Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
4096
+ # tos/logging) and [QueryAccessibleData] for a sample log entry).
4097
+ class QueryAccessibleDataRequest
4098
+ include Google::Apis::Core::Hashable
4099
+
4100
+ # The Cloud Storage location for export.
4101
+ # Corresponds to the JSON property `gcsDestination`
4102
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination]
4103
+ attr_accessor :gcs_destination
4104
+
4105
+ # The values of request attributes associated with this access request.
4106
+ # Corresponds to the JSON property `requestAttributes`
4107
+ # @return [Hash<String,String>]
4108
+ attr_accessor :request_attributes
4109
+
4110
+ # The values of resources attributes associated with the type of data being
4111
+ # requested. If no values are specified, then all data types are included in the
4112
+ # output.
4113
+ # Corresponds to the JSON property `resourceAttributes`
4114
+ # @return [Hash<String,String>]
4115
+ attr_accessor :resource_attributes
4116
+
4117
+ def initialize(**args)
4118
+ update!(**args)
4119
+ end
4120
+
4121
+ # Update properties of this object
4122
+ def update!(**args)
4123
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
4124
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
4125
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4126
+ end
4127
+ end
4128
+
4129
+ # Define how to redact sensitive values. Default behaviour is erase. For example,
4130
+ # "My name is Jane." becomes "My name is ."
3627
4131
  class RedactConfig
3628
4132
  include Google::Apis::Core::Hashable
3629
4133
 
@@ -3636,12 +4140,34 @@ module Google
3636
4140
  end
3637
4141
  end
3638
4142
 
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.
4143
+ # Rejects the latest revision of the specified Consent by committing a new
4144
+ # revision with `state` updated to `REJECTED`. If the latest revision of the
4145
+ # given consent is in the `REJECTED` state, no new revision is committed.
4146
+ class RejectConsentRequest
4147
+ include Google::Apis::Core::Hashable
4148
+
4149
+ # The resource name of the consent artifact that contains proof of the end user'
4150
+ # s rejection of the draft consent, of the form `projects/`project_id`/locations/
4151
+ # `location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4152
+ # consentArtifacts/`consent_artifact_id``. If the draft consent had a consent
4153
+ # artifact, this consent artifact overwrites it.
4154
+ # Corresponds to the JSON property `consentArtifact`
4155
+ # @return [String]
4156
+ attr_accessor :consent_artifact
4157
+
4158
+ def initialize(**args)
4159
+ update!(**args)
4160
+ end
4161
+
4162
+ # Update properties of this object
4163
+ def update!(**args)
4164
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4165
+ end
4166
+ end
4167
+
4168
+ # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
4169
+ # name of the info_type. For example, "My name is Jane" becomes "My name is [
4170
+ # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
3645
4171
  class ReplaceWithInfoTypeConfig
3646
4172
  include Google::Apis::Core::Hashable
3647
4173
 
@@ -3692,23 +4218,77 @@ module Google
3692
4218
  end
3693
4219
  end
3694
4220
 
4221
+ # The consent evaluation result for a single `data_id`.
4222
+ class Result
4223
+ include Google::Apis::Core::Hashable
4224
+
4225
+ # The resource names of all evaluated Consents mapped to their evaluation.
4226
+ # Corresponds to the JSON property `consentDetails`
4227
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
4228
+ attr_accessor :consent_details
4229
+
4230
+ # Whether the requested data is consented for the given use.
4231
+ # Corresponds to the JSON property `consented`
4232
+ # @return [Boolean]
4233
+ attr_accessor :consented
4234
+ alias_method :consented?, :consented
4235
+
4236
+ # The unique identifier of the data the consents were checked for.
4237
+ # Corresponds to the JSON property `dataId`
4238
+ # @return [String]
4239
+ attr_accessor :data_id
4240
+
4241
+ def initialize(**args)
4242
+ update!(**args)
4243
+ end
4244
+
4245
+ # Update properties of this object
4246
+ def update!(**args)
4247
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
4248
+ @consented = args[:consented] if args.key?(:consented)
4249
+ @data_id = args[:data_id] if args.key?(:data_id)
4250
+ end
4251
+ end
4252
+
4253
+ # Revokes the latest revision of the specified Consent by committing a new
4254
+ # revision with `state` updated to `REVOKED`. If the latest revision of the
4255
+ # given consent is in the `REVOKED` state, no new revision is committed.
4256
+ class RevokeConsentRequest
4257
+ include Google::Apis::Core::Hashable
4258
+
4259
+ # The resource name of the consent artifact that contains proof of the end user'
4260
+ # s revocation of the consent, of the form `projects/`project_id`/locations/`
4261
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4262
+ # consentArtifacts/`consent_artifact_id``.
4263
+ # Corresponds to the JSON property `consentArtifact`
4264
+ # @return [String]
4265
+ attr_accessor :consent_artifact
4266
+
4267
+ def initialize(**args)
4268
+ update!(**args)
4269
+ end
4270
+
4271
+ # Update properties of this object
4272
+ def update!(**args)
4273
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4274
+ end
4275
+ end
4276
+
3695
4277
  # Configuration for the FHIR BigQuery schema. Determines how the server
3696
4278
  # generates the schema.
3697
4279
  class SchemaConfig
3698
4280
  include Google::Apis::Core::Hashable
3699
4281
 
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.
4282
+ # The depth for all recursive structures in the output analytics schema. For
4283
+ # example, `concept` in the CodeSystem resource is a recursive structure; when
4284
+ # the depth is 2, the CodeSystem table will have a column called `concept.
4285
+ # concept` but not `concept.concept.concept`. If not specified or set to 0, the
4286
+ # server will use the default value 2. The maximum depth allowed is 5.
3706
4287
  # Corresponds to the JSON property `recursiveStructureDepth`
3707
4288
  # @return [Fixnum]
3708
4289
  attr_accessor :recursive_structure_depth
3709
4290
 
3710
- # Specifies the output schema type. If unspecified, the default is
3711
- # `LOSSLESS`.
4291
+ # Specifies the output schema type. Schema type is required.
3712
4292
  # Corresponds to the JSON property `schemaType`
3713
4293
  # @return [String]
3714
4294
  attr_accessor :schema_type
@@ -3782,10 +4362,10 @@ module Google
3782
4362
  attr_accessor :ignore_min_occurs
3783
4363
  alias_method :ignore_min_occurs?, :ignore_min_occurs
3784
4364
 
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.
4365
+ # Schema configs that are layered based on their VersionSources that match the
4366
+ # incoming message. Schema configs present in higher indices override those in
4367
+ # lower indices with the same message type and trigger event if their
4368
+ # VersionSources all match an incoming message.
3789
4369
  # Corresponds to the JSON property `schemas`
3790
4370
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7SchemaConfig>]
3791
4371
  attr_accessor :schemas
@@ -3795,14 +4375,20 @@ module Google
3795
4375
  # @return [String]
3796
4376
  attr_accessor :schematized_parsing_type
3797
4377
 
3798
- # Schema type definitions that are layered based on their VersionSources
3799
- # that match the incoming message. Type definitions present in higher indices
4378
+ # Schema type definitions that are layered based on their VersionSources that
4379
+ # match the incoming message. Type definitions present in higher indices
3800
4380
  # override those in lower indices with the same type name if their
3801
4381
  # VersionSources all match an incoming message.
3802
4382
  # Corresponds to the JSON property `types`
3803
4383
  # @return [Array<Google::Apis::HealthcareV1beta1::Hl7TypesConfig>]
3804
4384
  attr_accessor :types
3805
4385
 
4386
+ # Determines how unexpected segments (segments not matched to the schema) are
4387
+ # handled.
4388
+ # Corresponds to the JSON property `unexpectedSegmentHandling`
4389
+ # @return [String]
4390
+ attr_accessor :unexpected_segment_handling
4391
+
3806
4392
  def initialize(**args)
3807
4393
  update!(**args)
3808
4394
  end
@@ -3813,6 +4399,7 @@ module Google
3813
4399
  @schemas = args[:schemas] if args.key?(:schemas)
3814
4400
  @schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
3815
4401
  @types = args[:types] if args.key?(:types)
4402
+ @unexpected_segment_handling = args[:unexpected_segment_handling] if args.key?(:unexpected_segment_handling)
3816
4403
  end
3817
4404
  end
3818
4405
 
@@ -3820,8 +4407,8 @@ module Google
3820
4407
  class SchemaSegment
3821
4408
  include Google::Apis::Core::Hashable
3822
4409
 
3823
- # The maximum number of times this segment can be present in this group.
3824
- # 0 or -1 means unbounded.
4410
+ # The maximum number of times this segment can be present in this group. 0 or -1
4411
+ # means unbounded.
3825
4412
  # Corresponds to the JSON property `maxOccurs`
3826
4413
  # @return [Fixnum]
3827
4414
  attr_accessor :max_occurs
@@ -3879,10 +4466,10 @@ module Google
3879
4466
  include Google::Apis::Core::Hashable
3880
4467
 
3881
4468
  # 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)).
4469
+ # complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/
4470
+ # standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/
4471
+ # standards/fhir/STU3/resourcelist.html), [R4](https://hl7.org/implement/
4472
+ # standards/fhir/R4/resourcelist.html)).
3886
4473
  # Corresponds to the JSON property `resourceType`
3887
4474
  # @return [String]
3888
4475
  attr_accessor :resource_type
@@ -3901,18 +4488,15 @@ module Google
3901
4488
  class Segment
3902
4489
  include Google::Apis::Core::Hashable
3903
4490
 
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".
4491
+ # A mapping from the positional location to the value. The key string uses zero-
4492
+ # based indexes separated by dots to identify Fields, components and sub-
4493
+ # components. A bracket notation is also used to identify different instances of
4494
+ # a repeated field. Regex for key: (\d+)(\[\d+\])?(.\d+)?(.\d+)? Examples of (
4495
+ # key, value) pairs: * (0.1, "hemoglobin") denotes that the first component of
4496
+ # Field 0 has the value "hemoglobin". * (1.1.2, "CBC") denotes that the second
4497
+ # sub-component of the first component of Field 1 has the value "CBC". * (1[0].1,
4498
+ # "HbA1c") denotes that the first component of the first Instance of Field 1,
4499
+ # which is repeated, has the value "HbA1c".
3916
4500
  # Corresponds to the JSON property `fields`
3917
4501
  # @return [Hash<String,String>]
3918
4502
  attr_accessor :fields
@@ -3922,8 +4506,8 @@ module Google
3922
4506
  # @return [String]
3923
4507
  attr_accessor :segment_id
3924
4508
 
3925
- # Set ID for segments that can be in a set. This can be empty if it's
3926
- # missing or isn't applicable.
4509
+ # Set ID for segments that can be in a set. This can be empty if it's missing or
4510
+ # isn't applicable.
3927
4511
  # Corresponds to the JSON property `setId`
3928
4512
  # @return [String]
3929
4513
  attr_accessor :set_id
@@ -3944,9 +4528,9 @@ module Google
3944
4528
  class SensitiveTextAnnotation
3945
4529
  include Google::Apis::Core::Hashable
3946
4530
 
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`
4531
+ # Maps from a resource slice. For example, FHIR resource field path to a set of
4532
+ # sensitive text findings. For example, Appointment.Narrative text1 --> `
4533
+ # findings_1, findings_2, findings_3`
3950
4534
  # Corresponds to the JSON property `details`
3951
4535
  # @return [Hash<String,Google::Apis::HealthcareV1beta1::Detail>]
3952
4536
  attr_accessor :details
@@ -3966,74 +4550,39 @@ module Google
3966
4550
  include Google::Apis::Core::Hashable
3967
4551
 
3968
4552
  # 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/).
4553
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
4554
+ # A `binding` binds one or more `members` to a single `role`. Members can be
4555
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
4556
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
4557
+ # role or a user-created custom role. For some types of Google Cloud resources,
4558
+ # a `binding` can also specify a `condition`, which is a logical expression that
4559
+ # allows access to a resource only if the expression evaluates to `true`. A
4560
+ # condition can add constraints based on attributes of the request, the resource,
4561
+ # or both. To learn which resources support conditions in their IAM policies,
4562
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
4563
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
4564
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
4565
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
4566
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
4567
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
4568
+ # title": "expirable access", "description": "Does not grant access after Sep
4569
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
4570
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
4571
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
4572
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
4573
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
4574
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
4575
+ # description: Does not grant access after Sep 2020 expression: request.time <
4576
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
4577
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
4578
+ # google.com/iam/docs/).
4029
4579
  # Corresponds to the JSON property `policy`
4030
4580
  # @return [Google::Apis::HealthcareV1beta1::Policy]
4031
4581
  attr_accessor :policy
4032
4582
 
4033
4583
  # 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"`
4584
+ # the fields in the mask will be modified. If no mask is provided, the following
4585
+ # default mask is used: `paths: "bindings, etag"`
4037
4586
  # Corresponds to the JSON property `updateMask`
4038
4587
  # @return [String]
4039
4588
  attr_accessor :update_mask
@@ -4049,12 +4598,50 @@ module Google
4049
4598
  end
4050
4599
  end
4051
4600
 
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).
4601
+ # User signature.
4602
+ class Signature
4603
+ include Google::Apis::Core::Hashable
4604
+
4605
+ # An image.
4606
+ # Corresponds to the JSON property `image`
4607
+ # @return [Google::Apis::HealthcareV1beta1::Image]
4608
+ attr_accessor :image
4609
+
4610
+ # Metadata associated with the user's signature. For example, the user's name or
4611
+ # the user's title.
4612
+ # Corresponds to the JSON property `metadata`
4613
+ # @return [Hash<String,String>]
4614
+ attr_accessor :metadata
4615
+
4616
+ # Timestamp of the signature.
4617
+ # Corresponds to the JSON property `signatureTime`
4618
+ # @return [String]
4619
+ attr_accessor :signature_time
4620
+
4621
+ # User's UUID provided by the client.
4622
+ # Corresponds to the JSON property `userId`
4623
+ # @return [String]
4624
+ attr_accessor :user_id
4625
+
4626
+ def initialize(**args)
4627
+ update!(**args)
4628
+ end
4629
+
4630
+ # Update properties of this object
4631
+ def update!(**args)
4632
+ @image = args[:image] if args.key?(:image)
4633
+ @metadata = args[:metadata] if args.key?(:metadata)
4634
+ @signature_time = args[:signature_time] if args.key?(:signature_time)
4635
+ @user_id = args[:user_id] if args.key?(:user_id)
4636
+ end
4637
+ end
4638
+
4639
+ # The `Status` type defines a logical error model that is suitable for different
4640
+ # programming environments, including REST APIs and RPC APIs. It is used by [
4641
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
4642
+ # data: error code, error message, and error details. You can find out more
4643
+ # about this error model and how to work with it in the [API Design Guide](https:
4644
+ # //cloud.google.com/apis/design/errors).
4058
4645
  class Status
4059
4646
  include Google::Apis::Core::Hashable
4060
4647
 
@@ -4063,15 +4650,15 @@ module Google
4063
4650
  # @return [Fixnum]
4064
4651
  attr_accessor :code
4065
4652
 
4066
- # A list of messages that carry the error details. There is a common set of
4653
+ # A list of messages that carry the error details. There is a common set of
4067
4654
  # message types for APIs to use.
4068
4655
  # Corresponds to the JSON property `details`
4069
4656
  # @return [Array<Hash<String,Object>>]
4070
4657
  attr_accessor :details
4071
4658
 
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.
4659
+ # A developer-facing error message, which should be in English. Any user-facing
4660
+ # error message should be localized and sent in the google.rpc.Status.details
4661
+ # field, or localized by the client.
4075
4662
  # Corresponds to the JSON property `message`
4076
4663
  # @return [String]
4077
4664
  attr_accessor :message
@@ -4097,10 +4684,9 @@ module Google
4097
4684
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirBigQueryDestination]
4098
4685
  attr_accessor :bigquery_destination
4099
4686
 
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
4687
+ # Supply a FHIR resource type (such as "Patient" or "Observation"). See https://
4688
+ # www.hl7.org/fhir/valueset-resource-types.html for a list of all FHIR resource
4689
+ # types. The server treats an empty list as an intent to stream all the
4104
4690
  # supported resource types in this FHIR store.
4105
4691
  # Corresponds to the JSON property `resourceTypes`
4106
4692
  # @return [Array<String>]
@@ -4121,11 +4707,10 @@ module Google
4121
4707
  class TagFilterList
4122
4708
  include Google::Apis::Core::Hashable
4123
4709
 
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".
4710
+ # Tags to be filtered. Tags must be DICOM Data Elements, File Meta Elements, or
4711
+ # Directory Structuring Elements, as defined at: http://dicom.nema.org/medical/
4712
+ # dicom/current/output/html/part06.html#table_6-1,. They may be provided by "
4713
+ # Keyword" or "Tag". For example, "PatientID", "00100010".
4129
4714
  # Corresponds to the JSON property `tags`
4130
4715
  # @return [Array<String>]
4131
4716
  attr_accessor :tags
@@ -4144,10 +4729,9 @@ module Google
4144
4729
  class TestIamPermissionsRequest
4145
4730
  include Google::Apis::Core::Hashable
4146
4731
 
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).
4732
+ # The set of permissions to check for the `resource`. Permissions with wildcards
4733
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
4734
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
4151
4735
  # Corresponds to the JSON property `permissions`
4152
4736
  # @return [Array<String>]
4153
4737
  attr_accessor :permissions
@@ -4166,8 +4750,7 @@ module Google
4166
4750
  class TestIamPermissionsResponse
4167
4751
  include Google::Apis::Core::Hashable
4168
4752
 
4169
- # A subset of `TestPermissionsRequest.permissions` that the caller is
4170
- # allowed.
4753
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
4171
4754
  # Corresponds to the JSON property `permissions`
4172
4755
  # @return [Array<String>]
4173
4756
  attr_accessor :permissions
@@ -4210,14 +4793,14 @@ module Google
4210
4793
  # @return [Array<Google::Apis::HealthcareV1beta1::Field>]
4211
4794
  attr_accessor :fields
4212
4795
 
4213
- # The name of this type. This would be the segment or datatype name.
4214
- # For example, "PID" or "XPN".
4796
+ # The name of this type. This would be the segment or datatype name. For example,
4797
+ # "PID" or "XPN".
4215
4798
  # Corresponds to the JSON property `name`
4216
4799
  # @return [String]
4217
4800
  attr_accessor :name
4218
4801
 
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.
4802
+ # If this is a primitive type then this field is the type of the primitive For
4803
+ # example, STRING. Leave unspecified for composite types.
4221
4804
  # Corresponds to the JSON property `primitive`
4222
4805
  # @return [String]
4223
4806
  attr_accessor :primitive
@@ -4234,6 +4817,62 @@ module Google
4234
4817
  end
4235
4818
  end
4236
4819
 
4820
+ # Maps a user data entry to its end user and Attributes.
4821
+ class UserDataMapping
4822
+ include Google::Apis::Core::Hashable
4823
+
4824
+ # Output only. Indicates the time when this data mapping was archived.
4825
+ # Corresponds to the JSON property `archiveTime`
4826
+ # @return [String]
4827
+ attr_accessor :archive_time
4828
+
4829
+ # Output only. Indicates whether this data mapping is archived.
4830
+ # Corresponds to the JSON property `archived`
4831
+ # @return [Boolean]
4832
+ attr_accessor :archived
4833
+ alias_method :archived?, :archived
4834
+
4835
+ # Required. A unique identifier for the mapped data.
4836
+ # Corresponds to the JSON property `dataId`
4837
+ # @return [String]
4838
+ attr_accessor :data_id
4839
+
4840
+ # Resource name of the User data mapping, of the form `projects/`project_id`/
4841
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4842
+ # userDataMappings/`user_data_mapping_id``.
4843
+ # Corresponds to the JSON property `name`
4844
+ # @return [String]
4845
+ attr_accessor :name
4846
+
4847
+ # Attributes of end user data. Each attribute can have exactly one value
4848
+ # specified. Only explicitly set attributes are displayed here. Attribute
4849
+ # definitions with defaults set implicitly apply to these User data mappings.
4850
+ # Attributes listed here must be single valued, that is, exactly one value is
4851
+ # specified for the field "values" in each Attribute.
4852
+ # Corresponds to the JSON property `resourceAttributes`
4853
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
4854
+ attr_accessor :resource_attributes
4855
+
4856
+ # Required. User's UUID provided by the client.
4857
+ # Corresponds to the JSON property `userId`
4858
+ # @return [String]
4859
+ attr_accessor :user_id
4860
+
4861
+ def initialize(**args)
4862
+ update!(**args)
4863
+ end
4864
+
4865
+ # Update properties of this object
4866
+ def update!(**args)
4867
+ @archive_time = args[:archive_time] if args.key?(:archive_time)
4868
+ @archived = args[:archived] if args.key?(:archived)
4869
+ @data_id = args[:data_id] if args.key?(:data_id)
4870
+ @name = args[:name] if args.key?(:name)
4871
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4872
+ @user_id = args[:user_id] if args.key?(:user_id)
4873
+ end
4874
+ end
4875
+
4237
4876
  # Describes a selector for extracting and matching an MSH field to a value.
4238
4877
  class VersionSource
4239
4878
  include Google::Apis::Core::Hashable
@@ -4243,8 +4882,7 @@ module Google
4243
4882
  # @return [String]
4244
4883
  attr_accessor :msh_field
4245
4884
 
4246
- # The value to match with the field. For example, "My Application Name" or
4247
- # "2.3".
4885
+ # The value to match with the field. For example, "My Application Name" or "2.3".
4248
4886
  # Corresponds to the JSON property `value`
4249
4887
  # @return [String]
4250
4888
  attr_accessor :value