google-api-client 0.45.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (542) 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 +664 -188
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  12. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  13. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  14. data/generated/google/apis/accessapproval_v1/classes.rb +23 -16
  15. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  16. data/generated/google/apis/accessapproval_v1.rb +1 -1
  17. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  18. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  19. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  20. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  22. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  26. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  29. data/generated/google/apis/admin_directory_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1.rb +1 -1
  31. data/generated/google/apis/admob_v1/classes.rb +29 -29
  32. data/generated/google/apis/admob_v1/service.rb +2 -1
  33. data/generated/google/apis/admob_v1.rb +3 -2
  34. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  35. data/generated/google/apis/adsense_v1_4.rb +1 -1
  36. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  37. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  40. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +56 -11
  41. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/service.rb +41 -0
  43. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  44. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  45. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  46. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  47. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/apigee_v1/classes.rb +252 -66
  50. data/generated/google/apis/apigee_v1/representations.rb +88 -19
  51. data/generated/google/apis/apigee_v1/service.rb +244 -38
  52. data/generated/google/apis/apigee_v1.rb +1 -1
  53. data/generated/google/apis/appsmarket_v2.rb +1 -1
  54. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  55. data/generated/google/apis/{apigateway_v1alpha1 → area120tables_v1alpha1}/representations.rb +67 -69
  56. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  57. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  58. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  59. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  60. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  61. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  64. data/generated/google/apis/bigquery_v2/classes.rb +212 -23
  65. data/generated/google/apis/bigquery_v2/representations.rb +69 -0
  66. data/generated/google/apis/bigquery_v2/service.rb +47 -1
  67. data/generated/google/apis/bigquery_v2.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  70. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  71. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +189 -2
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  77. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  78. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  79. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +189 -2
  80. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  81. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  82. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  83. data/generated/google/apis/books_v1/service.rb +54 -54
  84. data/generated/google/apis/books_v1.rb +1 -1
  85. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  86. data/generated/google/apis/calendar_v3.rb +1 -1
  87. data/generated/google/apis/chat_v1/classes.rb +84 -2
  88. data/generated/google/apis/chat_v1/representations.rb +36 -0
  89. data/generated/google/apis/chat_v1.rb +1 -1
  90. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  91. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  92. data/generated/google/apis/civicinfo_v2.rb +1 -1
  93. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  94. data/generated/google/apis/classroom_v1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1/classes.rb +697 -0
  96. data/generated/google/apis/cloudasset_v1/representations.rb +304 -0
  97. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  98. data/generated/google/apis/cloudasset_v1.rb +1 -1
  99. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  100. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  101. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  102. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -35
  104. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  105. data/generated/google/apis/cloudbuild_v1/service.rb +17 -6
  106. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  107. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  108. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -98
  111. data/generated/google/apis/cloudidentity_v1/representations.rb +0 -17
  112. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  113. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  114. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  115. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  116. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  117. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  119. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  121. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  123. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  125. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  129. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  130. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  131. data/generated/google/apis/cloudshell_v1.rb +1 -1
  132. data/generated/google/apis/composer_v1/classes.rb +2 -3
  133. data/generated/google/apis/composer_v1.rb +1 -1
  134. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  135. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  136. data/generated/google/apis/composer_v1beta1.rb +1 -1
  137. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  138. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  139. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  140. data/generated/google/apis/compute_alpha.rb +1 -1
  141. data/generated/google/apis/compute_beta/classes.rb +566 -94
  142. data/generated/google/apis/compute_beta/representations.rb +100 -1
  143. data/generated/google/apis/compute_beta/service.rb +805 -136
  144. data/generated/google/apis/compute_beta.rb +1 -1
  145. data/generated/google/apis/compute_v1/classes.rb +586 -72
  146. data/generated/google/apis/compute_v1/representations.rb +98 -1
  147. data/generated/google/apis/compute_v1/service.rb +741 -133
  148. data/generated/google/apis/compute_v1.rb +1 -1
  149. data/generated/google/apis/container_v1/classes.rb +22 -10
  150. data/generated/google/apis/container_v1.rb +1 -1
  151. data/generated/google/apis/container_v1beta1/classes.rb +22 -10
  152. data/generated/google/apis/container_v1beta1.rb +1 -1
  153. data/generated/google/apis/content_v2/classes.rb +510 -1217
  154. data/generated/google/apis/content_v2/service.rb +377 -650
  155. data/generated/google/apis/content_v2.rb +3 -4
  156. data/generated/google/apis/content_v2_1/classes.rb +1001 -1053
  157. data/generated/google/apis/content_v2_1/representations.rb +253 -0
  158. data/generated/google/apis/content_v2_1/service.rb +943 -802
  159. data/generated/google/apis/content_v2_1.rb +3 -4
  160. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -1
  161. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  162. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  163. data/generated/google/apis/dataflow_v1b3/classes.rb +32 -8
  164. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/datafusion_v1.rb +1 -1
  167. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  168. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  169. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  170. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  171. data/generated/google/apis/dataproc_v1/classes.rb +41 -3
  172. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  173. data/generated/google/apis/dataproc_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1beta2/classes.rb +41 -3
  175. data/generated/google/apis/dataproc_v1beta2/representations.rb +16 -0
  176. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  177. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  178. data/generated/google/apis/datastore_v1.rb +1 -1
  179. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  180. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  181. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  182. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  183. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  184. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  185. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  186. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  187. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  188. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  189. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  190. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  191. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  192. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  193. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  194. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  195. data/generated/google/apis/dialogflow_v2/classes.rb +677 -204
  196. data/generated/google/apis/dialogflow_v2/representations.rb +300 -87
  197. data/generated/google/apis/dialogflow_v2.rb +1 -1
  198. data/generated/google/apis/dialogflow_v2beta1/classes.rb +684 -212
  199. data/generated/google/apis/dialogflow_v2beta1/representations.rb +300 -87
  200. data/generated/google/apis/dialogflow_v2beta1/service.rb +62 -12
  201. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  202. data/generated/google/apis/dialogflow_v3beta1/classes.rb +813 -207
  203. data/generated/google/apis/dialogflow_v3beta1/representations.rb +354 -90
  204. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  205. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  206. data/generated/google/apis/displayvideo_v1/classes.rb +216 -30
  207. data/generated/google/apis/displayvideo_v1/representations.rb +78 -0
  208. data/generated/google/apis/displayvideo_v1/service.rb +261 -18
  209. data/generated/google/apis/displayvideo_v1.rb +1 -1
  210. data/generated/google/apis/dlp_v2/classes.rb +59 -32
  211. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  212. data/generated/google/apis/dlp_v2/service.rb +328 -328
  213. data/generated/google/apis/dlp_v2.rb +1 -1
  214. data/generated/google/apis/dns_v1/classes.rb +181 -0
  215. data/generated/google/apis/dns_v1/representations.rb +83 -0
  216. data/generated/google/apis/dns_v1/service.rb +11 -11
  217. data/generated/google/apis/dns_v1.rb +2 -2
  218. data/generated/google/apis/dns_v1beta2/classes.rb +182 -1
  219. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  220. data/generated/google/apis/dns_v1beta2/service.rb +11 -11
  221. data/generated/google/apis/dns_v1beta2.rb +2 -2
  222. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  223. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  224. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  225. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  226. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  227. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  228. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  229. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  230. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  231. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  232. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  233. data/generated/google/apis/domains_v1beta1.rb +34 -0
  234. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  236. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +4 -3
  237. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  238. data/generated/google/apis/drive_v2/classes.rb +4 -1
  239. data/generated/google/apis/drive_v2.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +4 -2
  241. data/generated/google/apis/drive_v3.rb +1 -1
  242. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/classes.rb +327 -29
  243. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  244. data/generated/google/apis/{apigateway_v1alpha1 → eventarc_v1beta1}/service.rb +224 -268
  245. data/generated/google/apis/{apigateway_v1alpha1.rb → eventarc_v1beta1.rb} +8 -8
  246. data/generated/google/apis/file_v1/classes.rb +1 -1
  247. data/generated/google/apis/file_v1.rb +1 -1
  248. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  249. data/generated/google/apis/file_v1beta1.rb +1 -1
  250. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  251. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  252. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  253. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  254. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  255. data/generated/google/apis/firestore_v1.rb +1 -1
  256. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  257. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  258. data/generated/google/apis/fitness_v1/service.rb +3 -1
  259. data/generated/google/apis/fitness_v1.rb +13 -1
  260. data/generated/google/apis/games_v1/classes.rb +300 -0
  261. data/generated/google/apis/games_v1/representations.rb +116 -0
  262. data/generated/google/apis/games_v1/service.rb +34 -0
  263. data/generated/google/apis/games_v1.rb +1 -1
  264. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  265. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  266. data/generated/google/apis/gameservices_v1.rb +1 -1
  267. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  268. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  269. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  270. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  271. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  272. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  273. data/generated/google/apis/gmail_v1/service.rb +1 -1
  274. data/generated/google/apis/gmail_v1.rb +1 -1
  275. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  276. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  277. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  278. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  279. data/generated/google/apis/healthcare_v1.rb +1 -1
  280. data/generated/google/apis/healthcare_v1beta1/classes.rb +1190 -285
  281. data/generated/google/apis/healthcare_v1beta1/representations.rb +516 -68
  282. data/generated/google/apis/healthcare_v1beta1/service.rb +1500 -228
  283. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  284. data/generated/google/apis/iam_v1/service.rb +1 -4
  285. data/generated/google/apis/iam_v1.rb +2 -5
  286. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  287. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  288. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  289. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  290. data/generated/google/apis/jobs_v2.rb +1 -1
  291. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  292. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  293. data/generated/google/apis/jobs_v3.rb +1 -1
  294. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  295. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  296. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  297. data/generated/google/apis/licensing_v1/service.rb +2 -2
  298. data/generated/google/apis/licensing_v1.rb +1 -1
  299. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  300. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  301. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  302. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  303. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  304. data/generated/google/apis/localservices_v1/service.rb +20 -20
  305. data/generated/google/apis/localservices_v1.rb +1 -1
  306. data/generated/google/apis/logging_v2/classes.rb +174 -60
  307. data/generated/google/apis/logging_v2/representations.rb +64 -0
  308. data/generated/google/apis/logging_v2/service.rb +1422 -127
  309. data/generated/google/apis/logging_v2.rb +1 -1
  310. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  311. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  312. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  313. data/generated/google/apis/managedidentities_v1.rb +1 -1
  314. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  315. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  316. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  317. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  318. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  319. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  320. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  321. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  322. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  323. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  324. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  325. data/generated/google/apis/ml_v1/classes.rb +238 -77
  326. data/generated/google/apis/ml_v1/representations.rb +17 -0
  327. data/generated/google/apis/ml_v1.rb +1 -1
  328. data/generated/google/apis/monitoring_v3/classes.rb +71 -17
  329. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  330. data/generated/google/apis/monitoring_v3/service.rb +55 -6
  331. data/generated/google/apis/monitoring_v3.rb +1 -1
  332. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  333. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  334. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  335. data/generated/google/apis/oauth2_v2.rb +40 -0
  336. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  337. data/generated/google/apis/osconfig_v1.rb +3 -3
  338. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  339. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  340. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  341. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  342. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  343. data/generated/google/apis/people_v1/classes.rb +52 -51
  344. data/generated/google/apis/people_v1/service.rb +24 -22
  345. data/generated/google/apis/people_v1.rb +1 -1
  346. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  347. data/generated/google/apis/playablelocations_v3.rb +1 -1
  348. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  349. data/generated/google/apis/poly_v1/classes.rb +65 -79
  350. data/generated/google/apis/poly_v1/service.rb +50 -63
  351. data/generated/google/apis/poly_v1.rb +3 -4
  352. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  353. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  354. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  355. data/generated/google/apis/{appsactivity_v1.rb → privateca_v1beta1.rb} +11 -11
  356. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  359. data/generated/google/apis/pubsub_v1.rb +1 -1
  360. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  361. data/generated/google/apis/pubsublite_v1.rb +1 -1
  362. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  363. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  364. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  365. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  366. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  367. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  368. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  369. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  370. data/generated/google/apis/recommender_v1/service.rb +4 -2
  371. data/generated/google/apis/recommender_v1.rb +1 -1
  372. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  373. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  374. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  375. data/generated/google/apis/redis_v1/classes.rb +5 -5
  376. data/generated/google/apis/redis_v1/service.rb +2 -2
  377. data/generated/google/apis/redis_v1.rb +1 -1
  378. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  379. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  380. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  381. data/generated/google/apis/redis_v1beta1.rb +1 -1
  382. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  383. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  384. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  385. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  386. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  389. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  390. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  391. data/generated/google/apis/run_v1/classes.rb +12 -132
  392. data/generated/google/apis/run_v1/representations.rb +0 -61
  393. data/generated/google/apis/run_v1/service.rb +0 -342
  394. data/generated/google/apis/run_v1.rb +1 -1
  395. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -2
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  398. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  399. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  401. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  402. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  403. data/generated/google/apis/searchconsole_v1.rb +7 -1
  404. data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
  405. data/generated/google/apis/secretmanager_v1.rb +1 -1
  406. data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
  407. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  408. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  409. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  410. data/generated/google/apis/securitycenter_v1.rb +1 -1
  411. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  412. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  413. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  414. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  415. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  416. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  417. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +5 -63
  418. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  419. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  420. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  421. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +5 -63
  422. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  423. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  424. data/generated/google/apis/servicecontrol_v1/classes.rb +78 -4
  425. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v2/classes.rb +63 -2
  428. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  429. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  430. data/generated/google/apis/servicemanagement_v1/classes.rb +5 -85
  431. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  432. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicenetworking_v1/classes.rb +185 -64
  435. data/generated/google/apis/servicenetworking_v1/representations.rb +63 -14
  436. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1beta/classes.rb +139 -64
  439. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  440. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  441. data/generated/google/apis/serviceusage_v1/classes.rb +5 -63
  442. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  443. data/generated/google/apis/serviceusage_v1.rb +1 -1
  444. data/generated/google/apis/serviceusage_v1beta1/classes.rb +35 -63
  445. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  446. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  447. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  448. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  449. data/generated/google/apis/sheets_v4.rb +1 -1
  450. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  451. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  452. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  453. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  454. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  455. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  456. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  457. data/generated/google/apis/sqladmin_v1beta4/classes.rb +156 -57
  458. data/generated/google/apis/sqladmin_v1beta4/representations.rb +53 -17
  459. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  460. data/generated/google/apis/storage_v1/classes.rb +2 -10
  461. data/generated/google/apis/storage_v1/representations.rb +0 -1
  462. data/generated/google/apis/storage_v1/service.rb +3 -2
  463. data/generated/google/apis/storage_v1.rb +1 -1
  464. data/generated/google/apis/storagetransfer_v1/classes.rb +64 -34
  465. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  466. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  467. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  468. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  469. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  470. data/generated/google/apis/sts_v1/classes.rb +10 -9
  471. data/generated/google/apis/sts_v1.rb +1 -1
  472. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  473. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  474. data/generated/google/apis/sts_v1beta.rb +1 -1
  475. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  476. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  477. data/generated/google/apis/tagmanager_v2.rb +1 -1
  478. data/generated/google/apis/testing_v1/classes.rb +92 -33
  479. data/generated/google/apis/testing_v1/representations.rb +21 -0
  480. data/generated/google/apis/testing_v1/service.rb +4 -4
  481. data/generated/google/apis/testing_v1.rb +1 -1
  482. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  483. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  484. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  485. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  486. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  487. data/generated/google/apis/tpu_v1/service.rb +8 -8
  488. data/generated/google/apis/tpu_v1.rb +1 -1
  489. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  490. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  491. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  492. data/generated/google/apis/translate_v3/classes.rb +4 -3
  493. data/generated/google/apis/translate_v3.rb +1 -1
  494. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  495. data/generated/google/apis/translate_v3beta1.rb +1 -1
  496. data/generated/google/apis/vault_v1/classes.rb +333 -0
  497. data/generated/google/apis/vault_v1/representations.rb +162 -0
  498. data/generated/google/apis/vault_v1/service.rb +151 -0
  499. data/generated/google/apis/vault_v1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  501. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  502. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  503. data/generated/google/apis/videointelligence_v1.rb +1 -1
  504. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  505. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  506. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  507. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  508. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  509. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  511. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  512. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  513. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  514. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  515. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  516. data/generated/google/apis/vision_v1/classes.rb +16 -16
  517. data/generated/google/apis/vision_v1.rb +1 -1
  518. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  519. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  520. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  521. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  522. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  523. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  524. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  525. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  526. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  527. data/generated/google/apis/workflows_v1beta.rb +3 -2
  528. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  529. data/generated/google/apis/youtube_v3/classes.rb +0 -134
  530. data/generated/google/apis/youtube_v3/representations.rb +0 -55
  531. data/generated/google/apis/youtube_v3/service.rb +1 -1
  532. data/generated/google/apis/youtube_v3.rb +1 -1
  533. data/google-api-client.gemspec +25 -25
  534. data/lib/google/apis/core/api_command.rb +1 -0
  535. data/lib/google/apis/core/http_command.rb +2 -1
  536. data/lib/google/apis/options.rb +8 -5
  537. data/lib/google/apis/version.rb +1 -1
  538. data/synth.py +40 -0
  539. metadata +51 -12
  540. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  541. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  542. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -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
@@ -160,6 +197,119 @@ module Google
160
197
  end
161
198
  end
162
199
 
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
+
163
313
  # Specifies the audit configuration for a service. The configuration determines
164
314
  # which permission types are logged, and what identities, if any, are exempted
165
315
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -359,6 +509,72 @@ module Google
359
509
  end
360
510
  end
361
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
+
362
578
  # Cloud Healthcare API resource.
363
579
  class CloudHealthcareSource
364
580
  include Google::Apis::Core::Hashable
@@ -378,6 +594,232 @@ module Google
378
594
  end
379
595
  end
380
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
+
381
823
  # Creates a new message.
382
824
  class CreateMessageRequest
383
825
  include Google::Apis::Core::Hashable
@@ -592,43 +1034,6 @@ module Google
592
1034
  end
593
1035
  end
594
1036
 
595
- # Deprecated. Contains the status of the Deidentify operation.
596
- class DeidentifyErrorDetails
597
- include Google::Apis::Core::Hashable
598
-
599
- # Number of resources that failed to process.
600
- # Corresponds to the JSON property `failureResourceCount`
601
- # @return [Fixnum]
602
- attr_accessor :failure_resource_count
603
-
604
- # Number of stores that failed to process.
605
- # Corresponds to the JSON property `failureStoreCount`
606
- # @return [Fixnum]
607
- attr_accessor :failure_store_count
608
-
609
- # Number of resources successfully processed.
610
- # Corresponds to the JSON property `successResourceCount`
611
- # @return [Fixnum]
612
- attr_accessor :success_resource_count
613
-
614
- # Number of stores successfully processed.
615
- # Corresponds to the JSON property `successStoreCount`
616
- # @return [Fixnum]
617
- attr_accessor :success_store_count
618
-
619
- def initialize(**args)
620
- update!(**args)
621
- end
622
-
623
- # Update properties of this object
624
- def update!(**args)
625
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
626
- @failure_store_count = args[:failure_store_count] if args.key?(:failure_store_count)
627
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
628
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
629
- end
630
- end
631
-
632
1037
  # Creates a new FHIR store with sensitive information de-identified.
633
1038
  class DeidentifyFhirStoreRequest
634
1039
  include Google::Apis::Core::Hashable
@@ -672,31 +1077,12 @@ module Google
672
1077
  class DeidentifySummary
673
1078
  include Google::Apis::Core::Hashable
674
1079
 
675
- # Number of resources that failed to process. The failures might be caused by: *
676
- # Invalid user input data * Transient errors that could be skipped
677
- # Corresponds to the JSON property `failureResourceCount`
678
- # @return [Fixnum]
679
- attr_accessor :failure_resource_count
680
-
681
- # Number of resources successfully processed.
682
- # Corresponds to the JSON property `successResourceCount`
683
- # @return [Fixnum]
684
- attr_accessor :success_resource_count
685
-
686
- # Number of stores successfully processed.
687
- # Corresponds to the JSON property `successStoreCount`
688
- # @return [Fixnum]
689
- attr_accessor :success_store_count
690
-
691
1080
  def initialize(**args)
692
1081
  update!(**args)
693
1082
  end
694
1083
 
695
1084
  # Update properties of this object
696
1085
  def update!(**args)
697
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
698
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
699
- @success_store_count = args[:success_store_count] if args.key?(:success_store_count)
700
1086
  end
701
1087
  end
702
1088
 
@@ -928,13 +1314,6 @@ module Google
928
1314
  # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
929
1315
  attr_accessor :info_type_config
930
1316
 
931
- # The Annotation store to compare against `golden_store`, in the format of `
932
- # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
933
- # annotationStores/`annotation_store_id``.
934
- # Corresponds to the JSON property `name`
935
- # @return [String]
936
- attr_accessor :name
937
-
938
1317
  def initialize(**args)
939
1318
  update!(**args)
940
1319
  end
@@ -946,7 +1325,6 @@ module Google
946
1325
  @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
947
1326
  @golden_store = args[:golden_store] if args.key?(:golden_store)
948
1327
  @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
949
- @name = args[:name] if args.key?(:name)
950
1328
  end
951
1329
  end
952
1330
 
@@ -955,32 +1333,55 @@ module Google
955
1333
  class EvaluateAnnotationStoreResponse
956
1334
  include Google::Apis::Core::Hashable
957
1335
 
958
- # The evaluated Annotation store, in the format of `projects/`project_id`/
959
- # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
960
- # annotation_store_id``.
961
- # Corresponds to the JSON property `evalStore`
962
- # @return [String]
963
- attr_accessor :eval_store
1336
+ def initialize(**args)
1337
+ update!(**args)
1338
+ end
964
1339
 
965
- # The number of Annotations in the ground truth Annotation store successfully
966
- # processed.
967
- # Corresponds to the JSON property `goldenCount`
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
1348
+
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`
968
1357
  # @return [Fixnum]
969
- attr_accessor :golden_count
1358
+ attr_accessor :page_size
970
1359
 
971
- # The ground truth Annotation store, in the format of `projects/`project_id`/
972
- # locations/`location_id`/datasets/`dataset_id`/annotationStores/`
973
- # annotation_store_id``.
974
- # 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`
975
1362
  # @return [String]
976
- attr_accessor :golden_store
1363
+ attr_accessor :page_token
977
1364
 
978
- # The number of Annotations in the eval store that match with corresponding
979
- # annotations in the ground truth Annotation store. Two matched annotations both
980
- # annotate the same resource defined in AnnotationSource.
981
- # Corresponds to the JSON property `matchedCount`
982
- # @return [Fixnum]
983
- attr_accessor :matched_count
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`
1378
+ # @return [String]
1379
+ attr_accessor :response_view
1380
+
1381
+ # Required. User ID to evaluate consents for.
1382
+ # Corresponds to the JSON property `userId`
1383
+ # @return [String]
1384
+ attr_accessor :user_id
984
1385
 
985
1386
  def initialize(**args)
986
1387
  update!(**args)
@@ -988,34 +1389,30 @@ module Google
988
1389
 
989
1390
  # Update properties of this object
990
1391
  def update!(**args)
991
- @eval_store = args[:eval_store] if args.key?(:eval_store)
992
- @golden_count = args[:golden_count] if args.key?(:golden_count)
993
- @golden_store = args[:golden_store] if args.key?(:golden_store)
994
- @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)
995
1399
  end
996
1400
  end
997
1401
 
998
- # Deprecated. Response for failed annotation export operations. This structure
999
- # is included in error details upon operation completion.
1000
- class ExportAnnotationsErrorDetails
1402
+ # Evaluate an end user's Consents for all matching User data mappings.
1403
+ class EvaluateUserConsentsResponse
1001
1404
  include Google::Apis::Core::Hashable
1002
1405
 
1003
- # The annotation_store used for the export operation, in the format of `projects/
1004
- # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1005
- # annotation_store_id``.
1006
- # 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`
1007
1409
  # @return [String]
1008
- attr_accessor :annotation_store
1009
-
1010
- # The number of annotations that had error.
1011
- # Corresponds to the JSON property `errorCount`
1012
- # @return [Fixnum]
1013
- attr_accessor :error_count
1410
+ attr_accessor :next_page_token
1014
1411
 
1015
- # The number of annotations successfully exported.
1016
- # Corresponds to the JSON property `successCount`
1017
- # @return [Fixnum]
1018
- 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
1019
1416
 
1020
1417
  def initialize(**args)
1021
1418
  update!(**args)
@@ -1023,9 +1420,8 @@ module Google
1023
1420
 
1024
1421
  # Update properties of this object
1025
1422
  def update!(**args)
1026
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
1027
- @error_count = args[:error_count] if args.key?(:error_count)
1028
- @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)
1029
1425
  end
1030
1426
  end
1031
1427
 
@@ -1044,13 +1440,6 @@ module Google
1044
1440
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
1045
1441
  attr_accessor :gcs_destination
1046
1442
 
1047
- # The name of the Annotation store to export annotations to, in the format of `
1048
- # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1049
- # annotationStores/`annotation_store_id``.
1050
- # Corresponds to the JSON property `name`
1051
- # @return [String]
1052
- attr_accessor :name
1053
-
1054
1443
  def initialize(**args)
1055
1444
  update!(**args)
1056
1445
  end
@@ -1059,7 +1448,6 @@ module Google
1059
1448
  def update!(**args)
1060
1449
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1061
1450
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1062
- @name = args[:name] if args.key?(:name)
1063
1451
  end
1064
1452
  end
1065
1453
 
@@ -1068,26 +1456,12 @@ module Google
1068
1456
  class ExportAnnotationsResponse
1069
1457
  include Google::Apis::Core::Hashable
1070
1458
 
1071
- # The annotation_store used for the export operation, in the format of `projects/
1072
- # `project_id`/locations/`location_id`/datasets/`dataset_id`/annotationStores/`
1073
- # annotation_store_id``.
1074
- # Corresponds to the JSON property `annotationStore`
1075
- # @return [String]
1076
- attr_accessor :annotation_store
1077
-
1078
- # The total number of annotations successfully exported.
1079
- # Corresponds to the JSON property `successCount`
1080
- # @return [Fixnum]
1081
- attr_accessor :success_count
1082
-
1083
1459
  def initialize(**args)
1084
1460
  update!(**args)
1085
1461
  end
1086
1462
 
1087
1463
  # Update properties of this object
1088
1464
  def update!(**args)
1089
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
1090
- @success_count = args[:success_count] if args.key?(:success_count)
1091
1465
  end
1092
1466
  end
1093
1467
 
@@ -1115,21 +1489,64 @@ module Google
1115
1489
 
1116
1490
  # Update properties of this object
1117
1491
  def update!(**args)
1118
- @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1119
- @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1492
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1493
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1494
+ end
1495
+ end
1496
+
1497
+ # Returns additional information in regards to a completed DICOM store export.
1498
+ class ExportDicomDataResponse
1499
+ include Google::Apis::Core::Hashable
1500
+
1501
+ def initialize(**args)
1502
+ update!(**args)
1503
+ end
1504
+
1505
+ # Update properties of this object
1506
+ def update!(**args)
1120
1507
  end
1121
1508
  end
1122
1509
 
1123
- # Returns additional information in regards to a completed DICOM store export.
1124
- class ExportDicomDataResponse
1510
+ # Request to schedule an export.
1511
+ class ExportMessagesRequest
1125
1512
  include Google::Apis::Core::Hashable
1126
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
+
1127
1541
  def initialize(**args)
1128
1542
  update!(**args)
1129
1543
  end
1130
1544
 
1131
1545
  # Update properties of this object
1132
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)
1133
1550
  end
1134
1551
  end
1135
1552
 
@@ -1144,7 +1561,7 @@ module Google
1144
1561
 
1145
1562
  # The configuration for exporting to Cloud Storage.
1146
1563
  # Corresponds to the JSON property `gcsDestination`
1147
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination]
1564
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
1148
1565
  attr_accessor :gcs_destination
1149
1566
 
1150
1567
  def initialize(**args)
@@ -1296,10 +1713,10 @@ module Google
1296
1713
  # updateCreate). This determines if the client can use an Update operation to
1297
1714
  # create a new resource with a client-specified ID. If false, all IDs are server-
1298
1715
  # assigned through the Create operation and attempts to update a non-existent
1299
- # resource return errors. Please treat the audit logs with appropriate levels of
1300
- # care if client-specified resource IDs contain sensitive data such as patient
1301
- # identifiers, those IDs are part of the FHIR resource path recorded in Cloud
1302
- # audit logs and Cloud Pub/Sub notifications.
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.
1303
1720
  # Corresponds to the JSON property `enableUpdateCreate`
1304
1721
  # @return [Boolean]
1305
1722
  attr_accessor :enable_update_create
@@ -1511,6 +1928,42 @@ module Google
1511
1928
  end
1512
1929
  end
1513
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
+
1514
1967
  # Specifies the configuration for importing data from Cloud Storage.
1515
1968
  class GcsSource
1516
1969
  include Google::Apis::Core::Hashable
@@ -1544,9 +1997,9 @@ module Google
1544
1997
  class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
1545
1998
  include Google::Apis::Core::Hashable
1546
1999
 
1547
- # If the destination table already exists and this flag is `TRUE`, the table is
1548
- # overwritten by the contents of the input store. If the flag is not set and the
1549
- # destination table already exists, the export call returns an error.
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.
1550
2003
  # Corresponds to the JSON property `force`
1551
2004
  # @return [Boolean]
1552
2005
  attr_accessor :force
@@ -1563,6 +2016,13 @@ module Google
1563
2016
  # @return [String]
1564
2017
  attr_accessor :table_uri
1565
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
+
1566
2026
  def initialize(**args)
1567
2027
  update!(**args)
1568
2028
  end
@@ -1572,6 +2032,7 @@ module Google
1572
2032
  @force = args[:force] if args.key?(:force)
1573
2033
  @schema_type = args[:schema_type] if args.key?(:schema_type)
1574
2034
  @table_uri = args[:table_uri] if args.key?(:table_uri)
2035
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1575
2036
  end
1576
2037
  end
1577
2038
 
@@ -1627,19 +2088,73 @@ module Google
1627
2088
  end
1628
2089
  end
1629
2090
 
1630
- # Contains a summary of the DeidentifyDicomStore operation.
1631
- class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
2091
+ # The Cloud Storage location for export.
2092
+ class GoogleCloudHealthcareV1beta1ConsentGcsDestination
1632
2093
  include Google::Apis::Core::Hashable
1633
2094
 
1634
- # Number of objects that processing failed for.
1635
- # Corresponds to the JSON property `failureResourceCount`
1636
- # @return [Fixnum]
1637
- 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
1638
2103
 
1639
- # Number of objects successfully processed.
1640
- # Corresponds to the JSON property `successResourceCount`
1641
- # @return [Fixnum]
1642
- 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
1643
2158
 
1644
2159
  def initialize(**args)
1645
2160
  update!(**args)
@@ -1647,8 +2162,6 @@ module Google
1647
2162
 
1648
2163
  # Update properties of this object
1649
2164
  def update!(**args)
1650
- @failure_resource_count = args[:failure_resource_count] if args.key?(:failure_resource_count)
1651
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
1652
2165
  end
1653
2166
  end
1654
2167
 
@@ -1656,18 +2169,12 @@ module Google
1656
2169
  class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary
1657
2170
  include Google::Apis::Core::Hashable
1658
2171
 
1659
- # Number of resources successfully processed.
1660
- # Corresponds to the JSON property `successResourceCount`
1661
- # @return [Fixnum]
1662
- attr_accessor :success_resource_count
1663
-
1664
2172
  def initialize(**args)
1665
2173
  update!(**args)
1666
2174
  end
1667
2175
 
1668
2176
  # Update properties of this object
1669
2177
  def update!(**args)
1670
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
1671
2178
  end
1672
2179
  end
1673
2180
 
@@ -1675,9 +2182,9 @@ module Google
1675
2182
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1676
2183
  include Google::Apis::Core::Hashable
1677
2184
 
1678
- # If the destination table already exists and this flag is `TRUE`, the table is
1679
- # overwritten by the contents of the DICOM store. If the flag is not set and the
1680
- # destination table already exists, the export call returns an error.
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.
1681
2188
  # Corresponds to the JSON property `force`
1682
2189
  # @return [Boolean]
1683
2190
  attr_accessor :force
@@ -1689,6 +2196,13 @@ module Google
1689
2196
  # @return [String]
1690
2197
  attr_accessor :table_uri
1691
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
+
1692
2206
  def initialize(**args)
1693
2207
  update!(**args)
1694
2208
  end
@@ -1697,6 +2211,7 @@ module Google
1697
2211
  def update!(**args)
1698
2212
  @force = args[:force] if args.key?(:force)
1699
2213
  @table_uri = args[:table_uri] if args.key?(:table_uri)
2214
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1700
2215
  end
1701
2216
  end
1702
2217
 
@@ -1805,10 +2320,9 @@ module Google
1805
2320
  # @return [String]
1806
2321
  attr_accessor :dataset_uri
1807
2322
 
1808
- # If this flag is `TRUE`, all tables will be deleted from the dataset before the
1809
- # new exported tables are written. If the flag is not set and the destination
1810
- # dataset contains tables, the export call returns an error. This option is not
1811
- # used for the streaming export.
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.
1812
2326
  # Corresponds to the JSON property `force`
1813
2327
  # @return [Boolean]
1814
2328
  attr_accessor :force
@@ -1820,6 +2334,13 @@ module Google
1820
2334
  # @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
1821
2335
  attr_accessor :schema_config
1822
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
+
1823
2344
  def initialize(**args)
1824
2345
  update!(**args)
1825
2346
  end
@@ -1829,6 +2350,88 @@ module Google
1829
2350
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
1830
2351
  @force = args[:force] if args.key?(:force)
1831
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)
1832
2435
  end
1833
2436
  end
1834
2437
 
@@ -1903,57 +2506,6 @@ module Google
1903
2506
  end
1904
2507
  end
1905
2508
 
1906
- # The configuration for exporting to Cloud Storage.
1907
- class GoogleCloudHealthcareV1beta1FhirRestGcsDestination
1908
- include Google::Apis::Core::Hashable
1909
-
1910
- # URI for a Cloud Storage directory where result files should be written (in the
1911
- # format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
1912
- # slash, the service appends one when composing the object path. The user is
1913
- # responsible for creating the Cloud Storage bucket referenced in `uri_prefix`.
1914
- # Corresponds to the JSON property `uriPrefix`
1915
- # @return [String]
1916
- attr_accessor :uri_prefix
1917
-
1918
- def initialize(**args)
1919
- update!(**args)
1920
- end
1921
-
1922
- # Update properties of this object
1923
- def update!(**args)
1924
- @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1925
- end
1926
- end
1927
-
1928
- # Specifies the configuration for importing data from Cloud Storage.
1929
- class GoogleCloudHealthcareV1beta1FhirRestGcsSource
1930
- include Google::Apis::Core::Hashable
1931
-
1932
- # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
1933
- # the following format: `gs://`bucket_id`/`object_id``. The URI can include
1934
- # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
1935
- # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
1936
- # characters (including separators). Must be used at the end of a path and with
1937
- # no other wildcards in the path. Can also be used with a file extension (such
1938
- # as .ndjson), which imports all files with the extension in the specified
1939
- # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1940
- # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
1941
- # its sub-directories. * `?` to match 1 character Files matching the wildcard
1942
- # are expected to contain content only, no metadata.
1943
- # Corresponds to the JSON property `uri`
1944
- # @return [String]
1945
- attr_accessor :uri
1946
-
1947
- def initialize(**args)
1948
- update!(**args)
1949
- end
1950
-
1951
- # Update properties of this object
1952
- def update!(**args)
1953
- @uri = args[:uri] if args.key?(:uri)
1954
- end
1955
- end
1956
-
1957
2509
  # Error response of importing resources. This structure is included in the
1958
2510
  # error details to describe the detailed error after the operation finishes with
1959
2511
  # some failure.
@@ -2275,20 +2827,27 @@ module Google
2275
2827
  end
2276
2828
  end
2277
2829
 
2278
- # Image annotation.
2279
- class ImageAnnotation
2830
+ # An image.
2831
+ class Image
2280
2832
  include Google::Apis::Core::Hashable
2281
2833
 
2282
- # The list of polygons outlining the sensitive regions in the image.
2283
- # Corresponds to the JSON property `boundingPolys`
2284
- # @return [Array<Google::Apis::HealthcareV1beta1::BoundingPoly>]
2285
- attr_accessor :bounding_polys
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
2286
2843
 
2287
- # 0-based index of the image frame. For example, an image frame in a DICOM
2288
- # instance.
2289
- # Corresponds to the JSON property `frameIndex`
2290
- # @return [Fixnum]
2291
- attr_accessor :frame_index
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
2292
2851
 
2293
2852
  def initialize(**args)
2294
2853
  update!(**args)
@@ -2296,19 +2855,25 @@ module Google
2296
2855
 
2297
2856
  # Update properties of this object
2298
2857
  def update!(**args)
2299
- @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys)
2300
- @frame_index = args[:frame_index] if args.key?(:frame_index)
2858
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
2859
+ @raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
2301
2860
  end
2302
2861
  end
2303
2862
 
2304
- # Specifies how to handle de-identification of image pixels.
2305
- class ImageConfig
2863
+ # Image annotation.
2864
+ class ImageAnnotation
2306
2865
  include Google::Apis::Core::Hashable
2307
2866
 
2308
- # Determines how to redact text from image.
2309
- # Corresponds to the JSON property `textRedactionMode`
2310
- # @return [String]
2311
- attr_accessor :text_redaction_mode
2867
+ # The list of polygons outlining the sensitive regions in the image.
2868
+ # Corresponds to the JSON property `boundingPolys`
2869
+ # @return [Array<Google::Apis::HealthcareV1beta1::BoundingPoly>]
2870
+ attr_accessor :bounding_polys
2871
+
2872
+ # 0-based index of the image frame. For example, an image frame in a DICOM
2873
+ # instance.
2874
+ # Corresponds to the JSON property `frameIndex`
2875
+ # @return [Fixnum]
2876
+ attr_accessor :frame_index
2312
2877
 
2313
2878
  def initialize(**args)
2314
2879
  update!(**args)
@@ -2316,32 +2881,19 @@ module Google
2316
2881
 
2317
2882
  # Update properties of this object
2318
2883
  def update!(**args)
2319
- @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2884
+ @bounding_polys = args[:bounding_polys] if args.key?(:bounding_polys)
2885
+ @frame_index = args[:frame_index] if args.key?(:frame_index)
2320
2886
  end
2321
2887
  end
2322
2888
 
2323
- # Deprecated. Final response of importing Annotations in partial or total
2324
- # failure case. This structure is included in the error details. It is only
2325
- # included when the operation finishes.
2326
- class ImportAnnotationsErrorDetails
2889
+ # Specifies how to handle de-identification of image pixels.
2890
+ class ImageConfig
2327
2891
  include Google::Apis::Core::Hashable
2328
2892
 
2329
- # The annotation_store that the annotations were imported to. The name is in the
2330
- # format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2331
- # annotationStores/`annotation_store_id``.
2332
- # Corresponds to the JSON property `annotationStore`
2893
+ # Determines how to redact text from image.
2894
+ # Corresponds to the JSON property `textRedactionMode`
2333
2895
  # @return [String]
2334
- attr_accessor :annotation_store
2335
-
2336
- # The number of annotations that had errors.
2337
- # Corresponds to the JSON property `errorCount`
2338
- # @return [Fixnum]
2339
- attr_accessor :error_count
2340
-
2341
- # The number of annotations that have been imported.
2342
- # Corresponds to the JSON property `successCount`
2343
- # @return [Fixnum]
2344
- attr_accessor :success_count
2896
+ attr_accessor :text_redaction_mode
2345
2897
 
2346
2898
  def initialize(**args)
2347
2899
  update!(**args)
@@ -2349,9 +2901,7 @@ module Google
2349
2901
 
2350
2902
  # Update properties of this object
2351
2903
  def update!(**args)
2352
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
2353
- @error_count = args[:error_count] if args.key?(:error_count)
2354
- @success_count = args[:success_count] if args.key?(:success_count)
2904
+ @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2355
2905
  end
2356
2906
  end
2357
2907
 
@@ -2367,13 +2917,6 @@ module Google
2367
2917
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
2368
2918
  attr_accessor :gcs_source
2369
2919
 
2370
- # The name of the Annotation store to which the server imports annotations, in
2371
- # the format `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`
2372
- # /annotationStores/`annotation_store_id``.
2373
- # Corresponds to the JSON property `name`
2374
- # @return [String]
2375
- attr_accessor :name
2376
-
2377
2920
  def initialize(**args)
2378
2921
  update!(**args)
2379
2922
  end
@@ -2381,7 +2924,6 @@ module Google
2381
2924
  # Update properties of this object
2382
2925
  def update!(**args)
2383
2926
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2384
- @name = args[:name] if args.key?(:name)
2385
2927
  end
2386
2928
  end
2387
2929
 
@@ -2390,26 +2932,12 @@ module Google
2390
2932
  class ImportAnnotationsResponse
2391
2933
  include Google::Apis::Core::Hashable
2392
2934
 
2393
- # The annotation_store that the annotations were imported to, in the format `
2394
- # projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
2395
- # annotationStores/`annotation_store_id``.
2396
- # Corresponds to the JSON property `annotationStore`
2397
- # @return [String]
2398
- attr_accessor :annotation_store
2399
-
2400
- # The number of the input annotations. All input have been imported successfully.
2401
- # Corresponds to the JSON property `successCount`
2402
- # @return [Fixnum]
2403
- attr_accessor :success_count
2404
-
2405
2935
  def initialize(**args)
2406
2936
  update!(**args)
2407
2937
  end
2408
2938
 
2409
2939
  # Update properties of this object
2410
2940
  def update!(**args)
2411
- @annotation_store = args[:annotation_store] if args.key?(:annotation_store)
2412
- @success_count = args[:success_count] if args.key?(:success_count)
2413
2941
  end
2414
2942
  end
2415
2943
 
@@ -2515,7 +3043,7 @@ module Google
2515
3043
 
2516
3044
  # Specifies the configuration for importing data from Cloud Storage.
2517
3045
  # Corresponds to the JSON property `gcsSource`
2518
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource]
3046
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
2519
3047
  attr_accessor :gcs_source
2520
3048
 
2521
3049
  def initialize(**args)
@@ -2728,6 +3256,141 @@ module Google
2728
3256
  end
2729
3257
  end
2730
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
+
2731
3394
  # Lists the available datasets.
2732
3395
  class ListDatasetsResponse
2733
3396
  include Google::Apis::Core::Hashable
@@ -2912,6 +3575,34 @@ module Google
2912
3575
  end
2913
3576
  end
2914
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
+
2915
3606
  # A resource that represents Google Cloud Platform location.
2916
3607
  class Location
2917
3608
  include Google::Apis::Core::Hashable
@@ -3059,7 +3750,9 @@ module Google
3059
3750
  # that send notifications to fail. If a notification can't be published to Cloud
3060
3751
  # Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
3061
3752
  # docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
3062
- # aren't submitted.
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.
3063
3756
  # Corresponds to the JSON property `pubsubTopic`
3064
3757
  # @return [String]
3065
3758
  attr_accessor :pubsub_topic
@@ -3396,6 +4089,43 @@ module Google
3396
4089
  end
3397
4090
  end
3398
4091
 
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
+
3399
4129
  # Define how to redact sensitive values. Default behaviour is erase. For example,
3400
4130
  # "My name is Jane." becomes "My name is ."
3401
4131
  class RedactConfig
@@ -3410,6 +4140,31 @@ module Google
3410
4140
  end
3411
4141
  end
3412
4142
 
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
+
3413
4168
  # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
3414
4169
  # name of the info_type. For example, "My name is Jane" becomes "My name is [
3415
4170
  # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
@@ -3463,6 +4218,62 @@ module Google
3463
4218
  end
3464
4219
  end
3465
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
+
3466
4277
  # Configuration for the FHIR BigQuery schema. Determines how the server
3467
4278
  # generates the schema.
3468
4279
  class SchemaConfig
@@ -3787,6 +4598,44 @@ module Google
3787
4598
  end
3788
4599
  end
3789
4600
 
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
+
3790
4639
  # The `Status` type defines a logical error model that is suitable for different
3791
4640
  # programming environments, including REST APIs and RPC APIs. It is used by [
3792
4641
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3968,6 +4817,62 @@ module Google
3968
4817
  end
3969
4818
  end
3970
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
+
3971
4876
  # Describes a selector for extracting and matching an MSH field to a value.
3972
4877
  class VersionSource
3973
4878
  include Google::Apis::Core::Hashable