google-api-client 0.44.1 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (584) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +356 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  17. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  18. data/generated/google/apis/admin_directory_v1.rb +1 -1
  19. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  20. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  21. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  22. data/generated/google/apis/admob_v1.rb +6 -2
  23. data/generated/google/apis/admob_v1/classes.rb +2 -2
  24. data/generated/google/apis/admob_v1/service.rb +2 -1
  25. data/generated/google/apis/adsense_v1_4.rb +1 -1
  26. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  27. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  29. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1641 -0
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +259 -0
  35. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  41. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  42. data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
  43. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  46. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  47. data/generated/google/apis/apigee_v1.rb +1 -1
  48. data/generated/google/apis/apigee_v1/classes.rb +442 -14
  49. data/generated/google/apis/apigee_v1/representations.rb +161 -1
  50. data/generated/google/apis/apigee_v1/service.rb +264 -44
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  53. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  54. data/generated/google/apis/appengine_v1beta.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  56. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  57. data/generated/google/apis/appsmarket_v2.rb +1 -1
  58. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  59. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  60. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  61. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  62. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  63. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  64. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  65. data/generated/google/apis/bigquery_v2.rb +1 -1
  66. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  67. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  68. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  69. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  70. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  71. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  72. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  73. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  74. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  75. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  76. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  77. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  78. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  79. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  81. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  82. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  83. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  84. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  85. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  86. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  87. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  88. data/generated/google/apis/books_v1.rb +1 -1
  89. data/generated/google/apis/books_v1/service.rb +2 -2
  90. data/generated/google/apis/calendar_v3.rb +1 -1
  91. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  92. data/generated/google/apis/chat_v1.rb +1 -1
  93. data/generated/google/apis/chat_v1/classes.rb +79 -5
  94. data/generated/google/apis/chat_v1/representations.rb +35 -0
  95. data/generated/google/apis/civicinfo_v2.rb +1 -1
  96. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  97. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  98. data/generated/google/apis/classroom_v1.rb +7 -1
  99. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  100. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  101. data/generated/google/apis/classroom_v1/service.rb +240 -0
  102. data/generated/google/apis/cloudasset_v1.rb +1 -1
  103. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  104. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  105. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
  108. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  110. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  111. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  112. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  113. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  114. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  115. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  116. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  117. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  118. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  119. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  120. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  121. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  124. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  125. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  126. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  127. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  128. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  129. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  131. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  132. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  133. data/generated/google/apis/cloudiot_v1.rb +1 -1
  134. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  135. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  136. data/generated/google/apis/cloudkms_v1.rb +1 -1
  137. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  138. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  139. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  141. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  142. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  145. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  147. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  148. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  149. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  150. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  151. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  152. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  153. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  155. data/generated/google/apis/cloudshell_v1.rb +1 -1
  156. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  157. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  158. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  159. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  160. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  161. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  162. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  163. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  164. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  165. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  166. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  167. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  168. data/generated/google/apis/composer_v1.rb +1 -1
  169. data/generated/google/apis/composer_v1/classes.rb +2 -3
  170. data/generated/google/apis/composer_v1beta1.rb +1 -1
  171. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  172. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  173. data/generated/google/apis/compute_alpha.rb +1 -1
  174. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  175. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  176. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  177. data/generated/google/apis/compute_beta.rb +1 -1
  178. data/generated/google/apis/compute_beta/classes.rb +566 -94
  179. data/generated/google/apis/compute_beta/representations.rb +100 -1
  180. data/generated/google/apis/compute_beta/service.rb +805 -136
  181. data/generated/google/apis/compute_v1.rb +1 -1
  182. data/generated/google/apis/compute_v1/classes.rb +336 -53
  183. data/generated/google/apis/compute_v1/representations.rb +57 -1
  184. data/generated/google/apis/compute_v1/service.rb +739 -133
  185. data/generated/google/apis/container_v1.rb +1 -1
  186. data/generated/google/apis/container_v1/classes.rb +57 -2
  187. data/generated/google/apis/container_v1/representations.rb +7 -0
  188. data/generated/google/apis/container_v1beta1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  190. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  191. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  193. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  194. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  195. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  196. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  197. data/generated/google/apis/content_v2.rb +1 -1
  198. data/generated/google/apis/content_v2/classes.rb +4 -2
  199. data/generated/google/apis/content_v2_1.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +115 -4
  201. data/generated/google/apis/content_v2_1/representations.rb +48 -0
  202. data/generated/google/apis/content_v2_1/service.rb +38 -1
  203. data/generated/google/apis/customsearch_v1.rb +1 -1
  204. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  205. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  206. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  207. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  210. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  211. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  212. data/generated/google/apis/datafusion_v1.rb +1 -1
  213. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  214. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  215. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  216. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  217. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  218. data/generated/google/apis/dataproc_v1.rb +1 -1
  219. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  220. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  221. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  222. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  223. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  224. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  226. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  227. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  228. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  229. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  230. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  231. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  232. data/generated/google/apis/dialogflow_v2.rb +1 -1
  233. data/generated/google/apis/dialogflow_v2/classes.rb +250 -56
  234. data/generated/google/apis/dialogflow_v2/representations.rb +119 -7
  235. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  236. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -72
  237. data/generated/google/apis/dialogflow_v2beta1/representations.rb +119 -7
  238. data/generated/google/apis/dialogflow_v2beta1/service.rb +518 -330
  239. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  240. data/generated/google/apis/dialogflow_v3beta1/classes.rb +353 -66
  241. data/generated/google/apis/dialogflow_v3beta1/representations.rb +154 -8
  242. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  243. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  244. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  245. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  246. data/generated/google/apis/displayvideo_v1.rb +1 -1
  247. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  248. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  249. data/generated/google/apis/displayvideo_v1/service.rb +15 -12
  250. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  251. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  252. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  253. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  254. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  255. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  256. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  257. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  258. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  259. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  260. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  261. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  262. data/generated/google/apis/dlp_v2.rb +1 -1
  263. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  264. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  265. data/generated/google/apis/dlp_v2/service.rb +328 -328
  266. data/generated/google/apis/dns_v1.rb +1 -1
  267. data/generated/google/apis/dns_v1/service.rb +10 -10
  268. data/generated/google/apis/dns_v1beta2.rb +1 -1
  269. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  270. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  271. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  272. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  273. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  274. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  275. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  276. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  277. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  278. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  279. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  280. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -4
  281. data/generated/google/apis/drive_v2.rb +1 -1
  282. data/generated/google/apis/drive_v2/classes.rb +2 -1
  283. data/generated/google/apis/file_v1.rb +1 -1
  284. data/generated/google/apis/file_v1/classes.rb +1 -1
  285. data/generated/google/apis/file_v1beta1.rb +1 -1
  286. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  287. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  288. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  289. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  290. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  291. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  292. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  293. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  294. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  295. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  296. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  297. data/generated/google/apis/firestore_v1.rb +1 -1
  298. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  299. data/generated/google/apis/fitness_v1.rb +15 -3
  300. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  301. data/generated/google/apis/games_v1.rb +1 -1
  302. data/generated/google/apis/gameservices_v1.rb +1 -1
  303. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  304. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  305. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  306. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  307. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  308. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  309. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  310. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  311. data/generated/google/apis/gmail_v1.rb +1 -1
  312. data/generated/google/apis/gmail_v1/service.rb +1 -1
  313. data/generated/google/apis/healthcare_v1.rb +1 -1
  314. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  315. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  316. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  317. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  318. data/generated/google/apis/healthcare_v1beta1/classes.rb +1106 -274
  319. data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
  320. data/generated/google/apis/healthcare_v1beta1/service.rb +1708 -265
  321. data/generated/google/apis/homegraph_v1.rb +4 -1
  322. data/generated/google/apis/iam_v1.rb +1 -1
  323. data/generated/google/apis/iam_v1/classes.rb +7 -0
  324. data/generated/google/apis/iam_v1/representations.rb +1 -0
  325. data/generated/google/apis/iam_v1/service.rb +2 -1
  326. data/generated/google/apis/iap_v1.rb +1 -1
  327. data/generated/google/apis/iap_v1/classes.rb +7 -0
  328. data/generated/google/apis/iap_v1/representations.rb +1 -0
  329. data/generated/google/apis/iap_v1beta1.rb +1 -1
  330. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  331. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  332. data/generated/google/apis/jobs_v2.rb +1 -1
  333. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  334. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  335. data/generated/google/apis/jobs_v2/service.rb +85 -126
  336. data/generated/google/apis/jobs_v3.rb +1 -1
  337. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  338. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  339. data/generated/google/apis/jobs_v3/service.rb +101 -139
  340. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  341. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  342. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  343. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  344. data/generated/google/apis/licensing_v1.rb +4 -3
  345. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  346. data/generated/google/apis/licensing_v1/service.rb +56 -86
  347. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  348. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  349. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  350. data/generated/google/apis/logging_v2.rb +1 -1
  351. data/generated/google/apis/logging_v2/classes.rb +98 -55
  352. data/generated/google/apis/logging_v2/representations.rb +32 -0
  353. data/generated/google/apis/logging_v2/service.rb +1214 -264
  354. data/generated/google/apis/managedidentities_v1.rb +1 -1
  355. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  356. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  357. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  358. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  359. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  360. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  361. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  362. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  363. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  364. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  365. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  366. data/generated/google/apis/ml_v1.rb +1 -1
  367. data/generated/google/apis/ml_v1/classes.rb +7 -0
  368. data/generated/google/apis/ml_v1/representations.rb +1 -0
  369. data/generated/google/apis/ml_v1/service.rb +1 -1
  370. data/generated/google/apis/monitoring_v1.rb +1 -1
  371. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  372. data/generated/google/apis/monitoring_v3.rb +1 -1
  373. data/generated/google/apis/monitoring_v3/classes.rb +91 -37
  374. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  375. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  376. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  377. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  378. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  379. data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
  380. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  381. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  382. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  383. data/generated/google/apis/osconfig_v1.rb +3 -3
  384. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  385. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  386. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  387. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  388. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  389. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  390. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  391. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  392. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  393. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  394. data/generated/google/apis/people_v1.rb +1 -1
  395. data/generated/google/apis/people_v1/classes.rb +3 -2
  396. data/generated/google/apis/people_v1/service.rb +12 -10
  397. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  398. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  399. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  400. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  401. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  402. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  403. data/generated/google/apis/pubsub_v1.rb +1 -1
  404. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  405. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  406. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  407. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  408. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  409. data/generated/google/apis/pubsublite_v1.rb +1 -1
  410. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  411. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  412. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  413. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  414. data/generated/google/apis/realtimebidding_v1/classes.rb +59 -98
  415. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  416. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  417. data/generated/google/apis/recommender_v1.rb +1 -1
  418. data/generated/google/apis/recommender_v1/service.rb +4 -2
  419. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  420. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  421. data/generated/google/apis/redis_v1.rb +1 -1
  422. data/generated/google/apis/redis_v1/classes.rb +5 -391
  423. data/generated/google/apis/redis_v1/representations.rb +0 -139
  424. data/generated/google/apis/redis_v1/service.rb +2 -2
  425. data/generated/google/apis/redis_v1beta1.rb +1 -1
  426. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  427. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  428. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  429. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  430. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  431. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  432. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  433. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  434. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  435. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  436. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  437. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  438. data/generated/google/apis/reseller_v1.rb +2 -2
  439. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  440. data/generated/google/apis/reseller_v1/service.rb +122 -173
  441. data/generated/google/apis/run_v1.rb +1 -1
  442. data/generated/google/apis/run_v1/classes.rb +13 -134
  443. data/generated/google/apis/run_v1/representations.rb +0 -61
  444. data/generated/google/apis/run_v1/service.rb +0 -342
  445. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  446. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  447. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  448. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  449. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  450. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  451. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  452. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  453. data/generated/google/apis/searchconsole_v1.rb +7 -1
  454. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  455. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  456. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  457. data/generated/google/apis/secretmanager_v1.rb +1 -1
  458. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  459. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  460. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  461. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  462. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  463. data/generated/google/apis/securitycenter_v1.rb +1 -1
  464. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  465. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  466. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  467. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  468. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  469. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  470. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  471. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  472. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  473. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  474. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  475. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  476. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  477. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  478. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  479. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  480. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  481. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  482. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  483. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  484. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  485. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  486. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  487. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  488. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  489. data/generated/google/apis/sheets_v4.rb +1 -1
  490. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  491. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  492. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
  493. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
  494. data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
  495. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  496. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  497. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  498. data/generated/google/apis/spanner_v1.rb +1 -1
  499. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  500. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  501. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  502. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  503. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
  504. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
  505. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  506. data/generated/google/apis/storage_v1.rb +1 -1
  507. data/generated/google/apis/storage_v1/classes.rb +2 -10
  508. data/generated/google/apis/storage_v1/representations.rb +0 -1
  509. data/generated/google/apis/storage_v1/service.rb +3 -2
  510. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  511. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
  512. data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
  513. data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
  514. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  515. data/generated/google/apis/sts_v1/classes.rb +121 -0
  516. data/generated/google/apis/sts_v1/representations.rb +59 -0
  517. data/generated/google/apis/sts_v1/service.rb +90 -0
  518. data/generated/google/apis/sts_v1beta.rb +32 -0
  519. data/generated/google/apis/sts_v1beta/classes.rb +190 -0
  520. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  521. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  522. data/generated/google/apis/tagmanager_v2.rb +1 -1
  523. data/generated/google/apis/tasks_v1.rb +1 -1
  524. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  525. data/generated/google/apis/tasks_v1/service.rb +4 -3
  526. data/generated/google/apis/testing_v1.rb +1 -1
  527. data/generated/google/apis/testing_v1/classes.rb +49 -2
  528. data/generated/google/apis/testing_v1/representations.rb +20 -0
  529. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  530. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  531. data/generated/google/apis/tpu_v1.rb +1 -1
  532. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  533. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  534. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  535. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  536. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  537. data/generated/google/apis/translate_v3.rb +1 -1
  538. data/generated/google/apis/translate_v3/classes.rb +2 -2
  539. data/generated/google/apis/vault_v1.rb +1 -1
  540. data/generated/google/apis/vault_v1/classes.rb +80 -103
  541. data/generated/google/apis/vault_v1/service.rb +31 -37
  542. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  543. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  544. data/generated/google/apis/videointelligence_v1.rb +1 -1
  545. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  546. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  547. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  548. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  549. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  550. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  551. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  552. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  553. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  554. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  555. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  556. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  557. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  558. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  559. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  560. data/generated/google/apis/vision_v1.rb +1 -1
  561. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  562. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  563. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  564. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  565. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  566. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  567. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  568. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  569. data/generated/google/apis/workflows_v1beta.rb +3 -2
  570. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  571. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  572. data/generated/google/apis/youtube_v3.rb +1 -1
  573. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  574. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  575. data/generated/google/apis/youtube_v3/service.rb +2 -197
  576. data/google-api-client.gemspec +2 -1
  577. data/lib/google/apis/version.rb +1 -1
  578. metadata +78 -16
  579. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  580. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  581. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  582. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  583. data/generated/google/apis/plus_v1/representations.rb +0 -907
  584. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200819'
28
+ REVISION = '20200924'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,6 +22,43 @@ module Google
22
22
  module Apis
23
23
  module HealthcareV1beta1
24
24
 
25
+ # Activates the latest revision of the specified Consent by committing a new
26
+ # revision with `state` updated to `ACTIVE`. If the latest revision of the given
27
+ # consent is in the `ACTIVE` state, no new revision is committed.
28
+ class ActivateConsentRequest
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # Required. The resource name of the consent artifact that contains proof of the
32
+ # end user's consent, of the form `projects/`project_id`/locations/`location_id`/
33
+ # datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
34
+ # consent_artifact_id``. If the draft consent had a consent artifact, this
35
+ # consent artifact overwrites it.
36
+ # Corresponds to the JSON property `consentArtifact`
37
+ # @return [String]
38
+ attr_accessor :consent_artifact
39
+
40
+ # Timestamp in UTC of when this consent is considered expired.
41
+ # Corresponds to the JSON property `expireTime`
42
+ # @return [String]
43
+ attr_accessor :expire_time
44
+
45
+ # The time to live for this consent from when it is marked as active.
46
+ # Corresponds to the JSON property `ttl`
47
+ # @return [String]
48
+ attr_accessor :ttl
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
57
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
58
+ @ttl = args[:ttl] if args.key?(:ttl)
59
+ end
60
+ end
61
+
25
62
  # An annotation record.
26
63
  class Annotation
27
64
  include Google::Apis::Core::Hashable
@@ -160,6 +197,118 @@ 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. An empty list is invalid. The
261
+ # list can only be expanded after creation.
262
+ # Corresponds to the JSON property `allowedValues`
263
+ # @return [Array<String>]
264
+ attr_accessor :allowed_values
265
+
266
+ # Required. The category of the attribute. The value of this field cannot be
267
+ # changed after creation.
268
+ # Corresponds to the JSON property `category`
269
+ # @return [String]
270
+ attr_accessor :category
271
+
272
+ # Default values of the attribute in consents. If no default values are
273
+ # specified, it defaults to an empty value.
274
+ # Corresponds to the JSON property `consentDefaultValues`
275
+ # @return [Array<String>]
276
+ attr_accessor :consent_default_values
277
+
278
+ # Default value of the attribute in user data mappings. If no default value is
279
+ # specified, it defaults to an empty value. This field is only applicable to
280
+ # attributes of the category `RESOURCE`.
281
+ # Corresponds to the JSON property `dataMappingDefaultValue`
282
+ # @return [String]
283
+ attr_accessor :data_mapping_default_value
284
+
285
+ # A description of the attribute.
286
+ # Corresponds to the JSON property `description`
287
+ # @return [String]
288
+ attr_accessor :description
289
+
290
+ # Resource name of the attribute definition, of the form `projects/`project_id`/
291
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
292
+ # attributeDefinitions/`attribute_definition_id``.
293
+ # Corresponds to the JSON property `name`
294
+ # @return [String]
295
+ attr_accessor :name
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @allowed_values = args[:allowed_values] if args.key?(:allowed_values)
304
+ @category = args[:category] if args.key?(:category)
305
+ @consent_default_values = args[:consent_default_values] if args.key?(:consent_default_values)
306
+ @data_mapping_default_value = args[:data_mapping_default_value] if args.key?(:data_mapping_default_value)
307
+ @description = args[:description] if args.key?(:description)
308
+ @name = args[:name] if args.key?(:name)
309
+ end
310
+ end
311
+
163
312
  # Specifies the audit configuration for a service. The configuration determines
164
313
  # which permission types are logged, and what identities, if any, are exempted
165
314
  # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
@@ -359,6 +508,72 @@ module Google
359
508
  end
360
509
  end
361
510
 
511
+ # Checks if a particular data_id of a User data mapping in the given Consent
512
+ # store is consented for a given use.
513
+ class CheckDataAccessRequest
514
+ include Google::Apis::Core::Hashable
515
+
516
+ # List of resource names of Consent resources.
517
+ # Corresponds to the JSON property `consentList`
518
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
519
+ attr_accessor :consent_list
520
+
521
+ # The unique identifier of the data to check access for. It must exist in the
522
+ # given `consent_store`.
523
+ # Corresponds to the JSON property `dataId`
524
+ # @return [String]
525
+ attr_accessor :data_id
526
+
527
+ # The values of request attributes associated with this access request.
528
+ # Corresponds to the JSON property `requestAttributes`
529
+ # @return [Hash<String,String>]
530
+ attr_accessor :request_attributes
531
+
532
+ # The view for CheckDataAccessResponse.
533
+ # Corresponds to the JSON property `responseView`
534
+ # @return [String]
535
+ attr_accessor :response_view
536
+
537
+ def initialize(**args)
538
+ update!(**args)
539
+ end
540
+
541
+ # Update properties of this object
542
+ def update!(**args)
543
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
544
+ @data_id = args[:data_id] if args.key?(:data_id)
545
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
546
+ @response_view = args[:response_view] if args.key?(:response_view)
547
+ end
548
+ end
549
+
550
+ # Checks if a particular data_id of a User data mapping in the given Consent
551
+ # store is consented for a given use.
552
+ class CheckDataAccessResponse
553
+ include Google::Apis::Core::Hashable
554
+
555
+ # The resource names of all evaluated Consents mapped to their evaluation.
556
+ # Corresponds to the JSON property `consentDetails`
557
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
558
+ attr_accessor :consent_details
559
+
560
+ # Whether the requested data is consented for the given use.
561
+ # Corresponds to the JSON property `consented`
562
+ # @return [Boolean]
563
+ attr_accessor :consented
564
+ alias_method :consented?, :consented
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
573
+ @consented = args[:consented] if args.key?(:consented)
574
+ end
575
+ end
576
+
362
577
  # Cloud Healthcare API resource.
363
578
  class CloudHealthcareSource
364
579
  include Google::Apis::Core::Hashable
@@ -378,6 +593,232 @@ module Google
378
593
  end
379
594
  end
380
595
 
596
+ # Represents an end user's consent.
597
+ class Consent
598
+ include Google::Apis::Core::Hashable
599
+
600
+ # Required. The resource name of the consent artifact that contains proof of the
601
+ # end user's consent, of the form `projects/`project_id`/locations/`location_id`/
602
+ # datasets/`dataset_id`/consentStores/`consent_store_id`/consentArtifacts/`
603
+ # consent_artifact_id``.
604
+ # Corresponds to the JSON property `consentArtifact`
605
+ # @return [String]
606
+ attr_accessor :consent_artifact
607
+
608
+ # Timestamp in UTC of when this consent is considered expired.
609
+ # Corresponds to the JSON property `expireTime`
610
+ # @return [String]
611
+ attr_accessor :expire_time
612
+
613
+ # Resource name of the Consent, of the form `projects/`project_id`/locations/`
614
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/consents/`
615
+ # consent_id``.
616
+ # Corresponds to the JSON property `name`
617
+ # @return [String]
618
+ attr_accessor :name
619
+
620
+ # Represents an end user's consent in terms of the resources that can be
621
+ # accessed and under what conditions.
622
+ # Corresponds to the JSON property `policies`
623
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentPolicy>]
624
+ attr_accessor :policies
625
+
626
+ # Output only. The timestamp that the revision was created.
627
+ # Corresponds to the JSON property `revisionCreateTime`
628
+ # @return [String]
629
+ attr_accessor :revision_create_time
630
+
631
+ # Output only. The revision ID of the consent. The format is an 8-character
632
+ # hexadecimal string. Refer to a specific revision of a Consent by appending `@`
633
+ # revision_id`` to the Consent's resource name.
634
+ # Corresponds to the JSON property `revisionId`
635
+ # @return [String]
636
+ attr_accessor :revision_id
637
+
638
+ # Indicates the current state of this consent.
639
+ # Corresponds to the JSON property `state`
640
+ # @return [String]
641
+ attr_accessor :state
642
+
643
+ # Input only. The time to live for this consent from when it is created.
644
+ # Corresponds to the JSON property `ttl`
645
+ # @return [String]
646
+ attr_accessor :ttl
647
+
648
+ # Required. User's UUID provided by the client.
649
+ # Corresponds to the JSON property `userId`
650
+ # @return [String]
651
+ attr_accessor :user_id
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
660
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
661
+ @name = args[:name] if args.key?(:name)
662
+ @policies = args[:policies] if args.key?(:policies)
663
+ @revision_create_time = args[:revision_create_time] if args.key?(:revision_create_time)
664
+ @revision_id = args[:revision_id] if args.key?(:revision_id)
665
+ @state = args[:state] if args.key?(:state)
666
+ @ttl = args[:ttl] if args.key?(:ttl)
667
+ @user_id = args[:user_id] if args.key?(:user_id)
668
+ end
669
+ end
670
+
671
+ # Proof of an end user's consent.
672
+ class ConsentArtifact
673
+ include Google::Apis::Core::Hashable
674
+
675
+ # Screenshots of the consent content.
676
+ # Corresponds to the JSON property `consentContentScreenshots`
677
+ # @return [Array<Google::Apis::HealthcareV1beta1::Image>]
678
+ attr_accessor :consent_content_screenshots
679
+
680
+ # An string indicating the version of the consent content.
681
+ # Corresponds to the JSON property `consentContentVersion`
682
+ # @return [String]
683
+ attr_accessor :consent_content_version
684
+
685
+ # User signature.
686
+ # Corresponds to the JSON property `guardianSignature`
687
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
688
+ attr_accessor :guardian_signature
689
+
690
+ # Metadata associated with the consent artifact. For example, the consent locale
691
+ # or user agent version.
692
+ # Corresponds to the JSON property `metadata`
693
+ # @return [Hash<String,String>]
694
+ attr_accessor :metadata
695
+
696
+ # Resource name of the Consent artifact, of the form `projects/`project_id`/
697
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
698
+ # consentArtifacts/`consent_artifact_id``.
699
+ # Corresponds to the JSON property `name`
700
+ # @return [String]
701
+ attr_accessor :name
702
+
703
+ # Required. User's UUID provided by the client.
704
+ # Corresponds to the JSON property `userId`
705
+ # @return [String]
706
+ attr_accessor :user_id
707
+
708
+ # User signature.
709
+ # Corresponds to the JSON property `userSignature`
710
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
711
+ attr_accessor :user_signature
712
+
713
+ # User signature.
714
+ # Corresponds to the JSON property `witnessSignature`
715
+ # @return [Google::Apis::HealthcareV1beta1::Signature]
716
+ attr_accessor :witness_signature
717
+
718
+ def initialize(**args)
719
+ update!(**args)
720
+ end
721
+
722
+ # Update properties of this object
723
+ def update!(**args)
724
+ @consent_content_screenshots = args[:consent_content_screenshots] if args.key?(:consent_content_screenshots)
725
+ @consent_content_version = args[:consent_content_version] if args.key?(:consent_content_version)
726
+ @guardian_signature = args[:guardian_signature] if args.key?(:guardian_signature)
727
+ @metadata = args[:metadata] if args.key?(:metadata)
728
+ @name = args[:name] if args.key?(:name)
729
+ @user_id = args[:user_id] if args.key?(:user_id)
730
+ @user_signature = args[:user_signature] if args.key?(:user_signature)
731
+ @witness_signature = args[:witness_signature] if args.key?(:witness_signature)
732
+ end
733
+ end
734
+
735
+ # The detailed evaluation of a particular Consent.
736
+ class ConsentEvaluation
737
+ include Google::Apis::Core::Hashable
738
+
739
+ # The evaluation result.
740
+ # Corresponds to the JSON property `evaluationResult`
741
+ # @return [String]
742
+ attr_accessor :evaluation_result
743
+
744
+ def initialize(**args)
745
+ update!(**args)
746
+ end
747
+
748
+ # Update properties of this object
749
+ def update!(**args)
750
+ @evaluation_result = args[:evaluation_result] if args.key?(:evaluation_result)
751
+ end
752
+ end
753
+
754
+ # List of resource names of Consent resources.
755
+ class ConsentList
756
+ include Google::Apis::Core::Hashable
757
+
758
+ # The resource names of the Consents to evaluate against, of the form `projects/`
759
+ # project_id`/locations/`location_id`/datasets/`dataset_id`/consentStores/`
760
+ # consent_store_id`/consents/`consent_id``.
761
+ # Corresponds to the JSON property `consents`
762
+ # @return [Array<String>]
763
+ attr_accessor :consents
764
+
765
+ def initialize(**args)
766
+ update!(**args)
767
+ end
768
+
769
+ # Update properties of this object
770
+ def update!(**args)
771
+ @consents = args[:consents] if args.key?(:consents)
772
+ end
773
+ end
774
+
775
+ # Represents a Consent store.
776
+ class ConsentStore
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # Default time to live for consents in this store. Must be at least 24 hours.
780
+ # Updating this field will not affect the expiration time of existing consents.
781
+ # Corresponds to the JSON property `defaultConsentTtl`
782
+ # @return [String]
783
+ attr_accessor :default_consent_ttl
784
+
785
+ # If true, UpdateConsent creates the consent if it does not already exist.
786
+ # Corresponds to the JSON property `enableConsentCreateOnUpdate`
787
+ # @return [Boolean]
788
+ attr_accessor :enable_consent_create_on_update
789
+ alias_method :enable_consent_create_on_update?, :enable_consent_create_on_update
790
+
791
+ # User-supplied key-value pairs used to organize Consent stores. Label keys must
792
+ # be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128
793
+ # bytes, and must conform to the following PCRE regular expression: \p`Ll`\p`Lo``
794
+ # 0,62` Label values must be between 1 and 63 characters long, have a UTF-8
795
+ # encoding of maximum 128 bytes, and must conform to the following PCRE regular
796
+ # expression: [\p`Ll`\p`Lo`\p`N`_-]`0,63` No more than 64 labels can be
797
+ # associated with a given store.
798
+ # Corresponds to the JSON property `labels`
799
+ # @return [Hash<String,String>]
800
+ attr_accessor :labels
801
+
802
+ # Resource name of the Consent store, of the form `projects/`project_id`/
803
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id``
804
+ # .
805
+ # Corresponds to the JSON property `name`
806
+ # @return [String]
807
+ attr_accessor :name
808
+
809
+ def initialize(**args)
810
+ update!(**args)
811
+ end
812
+
813
+ # Update properties of this object
814
+ def update!(**args)
815
+ @default_consent_ttl = args[:default_consent_ttl] if args.key?(:default_consent_ttl)
816
+ @enable_consent_create_on_update = args[:enable_consent_create_on_update] if args.key?(:enable_consent_create_on_update)
817
+ @labels = args[:labels] if args.key?(:labels)
818
+ @name = args[:name] if args.key?(:name)
819
+ end
820
+ end
821
+
381
822
  # Creates a new message.
382
823
  class CreateMessageRequest
383
824
  include Google::Apis::Core::Hashable
@@ -592,43 +1033,6 @@ module Google
592
1033
  end
593
1034
  end
594
1035
 
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
1036
  # Creates a new FHIR store with sensitive information de-identified.
633
1037
  class DeidentifyFhirStoreRequest
634
1038
  include Google::Apis::Core::Hashable
@@ -672,31 +1076,12 @@ module Google
672
1076
  class DeidentifySummary
673
1077
  include Google::Apis::Core::Hashable
674
1078
 
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
1079
  def initialize(**args)
692
1080
  update!(**args)
693
1081
  end
694
1082
 
695
1083
  # Update properties of this object
696
1084
  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
1085
  end
701
1086
  end
702
1087
 
@@ -928,13 +1313,6 @@ module Google
928
1313
  # @return [Google::Apis::HealthcareV1beta1::InfoTypeConfig]
929
1314
  attr_accessor :info_type_config
930
1315
 
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
1316
  def initialize(**args)
939
1317
  update!(**args)
940
1318
  end
@@ -946,7 +1324,6 @@ module Google
946
1324
  @golden_info_type_mapping = args[:golden_info_type_mapping] if args.key?(:golden_info_type_mapping)
947
1325
  @golden_store = args[:golden_store] if args.key?(:golden_store)
948
1326
  @info_type_config = args[:info_type_config] if args.key?(:info_type_config)
949
- @name = args[:name] if args.key?(:name)
950
1327
  end
951
1328
  end
952
1329
 
@@ -955,32 +1332,55 @@ module Google
955
1332
  class EvaluateAnnotationStoreResponse
956
1333
  include Google::Apis::Core::Hashable
957
1334
 
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
1335
+ def initialize(**args)
1336
+ update!(**args)
1337
+ end
1338
+
1339
+ # Update properties of this object
1340
+ def update!(**args)
1341
+ end
1342
+ end
1343
+
1344
+ # Evaluate an end user's Consents for all matching User data mappings.
1345
+ class EvaluateUserConsentsRequest
1346
+ include Google::Apis::Core::Hashable
1347
+
1348
+ # List of resource names of Consent resources.
1349
+ # Corresponds to the JSON property `consentList`
1350
+ # @return [Google::Apis::HealthcareV1beta1::ConsentList]
1351
+ attr_accessor :consent_list
964
1352
 
965
- # The number of Annotations in the ground truth Annotation store successfully
966
- # processed.
967
- # Corresponds to the JSON property `goldenCount`
1353
+ # Limit on the number of user data mappings to return in a single response. If
1354
+ # zero the default page size of 100 is used.
1355
+ # Corresponds to the JSON property `pageSize`
968
1356
  # @return [Fixnum]
969
- attr_accessor :golden_count
1357
+ attr_accessor :page_size
970
1358
 
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`
1359
+ # Token to retrieve the next page of results to get the first page.
1360
+ # Corresponds to the JSON property `pageToken`
975
1361
  # @return [String]
976
- attr_accessor :golden_store
1362
+ attr_accessor :page_token
977
1363
 
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
1364
+ # The values of request attributes associated with this access request.
1365
+ # Corresponds to the JSON property `requestAttributes`
1366
+ # @return [Hash<String,String>]
1367
+ attr_accessor :request_attributes
1368
+
1369
+ # The values of resources attributes associated with the type of data being
1370
+ # requested. If no values are specified, then all data types are queried.
1371
+ # Corresponds to the JSON property `resourceAttributes`
1372
+ # @return [Hash<String,String>]
1373
+ attr_accessor :resource_attributes
1374
+
1375
+ # The view for EvaluateUserConsentsResponse.
1376
+ # Corresponds to the JSON property `responseView`
1377
+ # @return [String]
1378
+ attr_accessor :response_view
1379
+
1380
+ # Required. User ID to evaluate consents for.
1381
+ # Corresponds to the JSON property `userId`
1382
+ # @return [String]
1383
+ attr_accessor :user_id
984
1384
 
985
1385
  def initialize(**args)
986
1386
  update!(**args)
@@ -988,34 +1388,30 @@ module Google
988
1388
 
989
1389
  # Update properties of this object
990
1390
  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)
1391
+ @consent_list = args[:consent_list] if args.key?(:consent_list)
1392
+ @page_size = args[:page_size] if args.key?(:page_size)
1393
+ @page_token = args[:page_token] if args.key?(:page_token)
1394
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
1395
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
1396
+ @response_view = args[:response_view] if args.key?(:response_view)
1397
+ @user_id = args[:user_id] if args.key?(:user_id)
995
1398
  end
996
1399
  end
997
1400
 
998
- # Deprecated. Response for failed annotation export operations. This structure
999
- # is included in error details upon operation completion.
1000
- class ExportAnnotationsErrorDetails
1401
+ # Evaluate an end user's Consents for all matching User data mappings.
1402
+ class EvaluateUserConsentsResponse
1001
1403
  include Google::Apis::Core::Hashable
1002
1404
 
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`
1405
+ # Token to retrieve the next page of results or empty if there are no more
1406
+ # results in the list. This token is valid for 72 hours after it is created.
1407
+ # Corresponds to the JSON property `nextPageToken`
1007
1408
  # @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
1409
+ attr_accessor :next_page_token
1014
1410
 
1015
- # The number of annotations successfully exported.
1016
- # Corresponds to the JSON property `successCount`
1017
- # @return [Fixnum]
1018
- attr_accessor :success_count
1411
+ # The consent evaluation result for each `data_id`.
1412
+ # Corresponds to the JSON property `results`
1413
+ # @return [Array<Google::Apis::HealthcareV1beta1::Result>]
1414
+ attr_accessor :results
1019
1415
 
1020
1416
  def initialize(**args)
1021
1417
  update!(**args)
@@ -1023,9 +1419,8 @@ module Google
1023
1419
 
1024
1420
  # Update properties of this object
1025
1421
  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)
1422
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1423
+ @results = args[:results] if args.key?(:results)
1029
1424
  end
1030
1425
  end
1031
1426
 
@@ -1044,13 +1439,6 @@ module Google
1044
1439
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsDestination]
1045
1440
  attr_accessor :gcs_destination
1046
1441
 
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
1442
  def initialize(**args)
1055
1443
  update!(**args)
1056
1444
  end
@@ -1059,7 +1447,6 @@ module Google
1059
1447
  def update!(**args)
1060
1448
  @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
1061
1449
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1062
- @name = args[:name] if args.key?(:name)
1063
1450
  end
1064
1451
  end
1065
1452
 
@@ -1068,26 +1455,12 @@ module Google
1068
1455
  class ExportAnnotationsResponse
1069
1456
  include Google::Apis::Core::Hashable
1070
1457
 
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
1458
  def initialize(**args)
1084
1459
  update!(**args)
1085
1460
  end
1086
1461
 
1087
1462
  # Update properties of this object
1088
1463
  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
1464
  end
1092
1465
  end
1093
1466
 
@@ -1144,7 +1517,7 @@ module Google
1144
1517
 
1145
1518
  # The configuration for exporting to Cloud Storage.
1146
1519
  # Corresponds to the JSON property `gcsDestination`
1147
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsDestination]
1520
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsDestination]
1148
1521
  attr_accessor :gcs_destination
1149
1522
 
1150
1523
  def initialize(**args)
@@ -1544,9 +1917,9 @@ module Google
1544
1917
  class GoogleCloudHealthcareV1beta1AnnotationBigQueryDestination
1545
1918
  include Google::Apis::Core::Hashable
1546
1919
 
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.
1920
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
1921
+ # parameter is ignored. force=false is equivalent to write_disposition=
1922
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1550
1923
  # Corresponds to the JSON property `force`
1551
1924
  # @return [Boolean]
1552
1925
  attr_accessor :force
@@ -1563,6 +1936,13 @@ module Google
1563
1936
  # @return [String]
1564
1937
  attr_accessor :table_uri
1565
1938
 
1939
+ # Determines whether existing tables in the destination dataset are overwritten
1940
+ # or appended to. If a write_disposition is specified, the `force` parameter is
1941
+ # ignored.
1942
+ # Corresponds to the JSON property `writeDisposition`
1943
+ # @return [String]
1944
+ attr_accessor :write_disposition
1945
+
1566
1946
  def initialize(**args)
1567
1947
  update!(**args)
1568
1948
  end
@@ -1572,6 +1952,7 @@ module Google
1572
1952
  @force = args[:force] if args.key?(:force)
1573
1953
  @schema_type = args[:schema_type] if args.key?(:schema_type)
1574
1954
  @table_uri = args[:table_uri] if args.key?(:table_uri)
1955
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1575
1956
  end
1576
1957
  end
1577
1958
 
@@ -1627,19 +2008,73 @@ module Google
1627
2008
  end
1628
2009
  end
1629
2010
 
1630
- # Contains a summary of the DeidentifyDicomStore operation.
1631
- class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
2011
+ # The Cloud Storage location for export.
2012
+ class GoogleCloudHealthcareV1beta1ConsentGcsDestination
1632
2013
  include Google::Apis::Core::Hashable
1633
2014
 
1634
- # Number of objects that processing failed for.
1635
- # Corresponds to the JSON property `failureResourceCount`
1636
- # @return [Fixnum]
1637
- attr_accessor :failure_resource_count
2015
+ # URI for a Cloud Storage directory where the server writes result files, in the
2016
+ # format `gs://`bucket-id`/`path/to/destination/dir``. If there is no trailing
2017
+ # slash, the service appends one when composing the object path. The user is
2018
+ # responsible for creating the Cloud Storage bucket and directory referenced in `
2019
+ # uri_prefix`.
2020
+ # Corresponds to the JSON property `uriPrefix`
2021
+ # @return [String]
2022
+ attr_accessor :uri_prefix
1638
2023
 
1639
- # Number of objects successfully processed.
1640
- # Corresponds to the JSON property `successResourceCount`
1641
- # @return [Fixnum]
1642
- attr_accessor :success_resource_count
2024
+ def initialize(**args)
2025
+ update!(**args)
2026
+ end
2027
+
2028
+ # Update properties of this object
2029
+ def update!(**args)
2030
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2031
+ end
2032
+ end
2033
+
2034
+ # Represents an end user's consent in terms of the resources that can be
2035
+ # accessed and under what conditions.
2036
+ class GoogleCloudHealthcareV1beta1ConsentPolicy
2037
+ include Google::Apis::Core::Hashable
2038
+
2039
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
2040
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
2041
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
2042
+ # "Summary size limit" description: "Determines if a summary is less than 100
2043
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
2044
+ # Requestor is owner" description: "Determines if requestor is the document
2045
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
2046
+ # Logic): title: "Public documents" description: "Determine whether the document
2047
+ # should be publicly visible" expression: "document.type != 'private' &&
2048
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
2049
+ # string" description: "Create a notification string with a timestamp."
2050
+ # expression: "'New message received at ' + string(document.create_time)" The
2051
+ # exact variables and functions that may be referenced within an expression are
2052
+ # determined by the service that evaluates it. See the service documentation for
2053
+ # additional information.
2054
+ # Corresponds to the JSON property `authorizationRule`
2055
+ # @return [Google::Apis::HealthcareV1beta1::Expr]
2056
+ attr_accessor :authorization_rule
2057
+
2058
+ # The data resources that this policy applies to. A data resource is a match if
2059
+ # it matches all the attributes listed here.
2060
+ # Corresponds to the JSON property `resourceAttributes`
2061
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
2062
+ attr_accessor :resource_attributes
2063
+
2064
+ def initialize(**args)
2065
+ update!(**args)
2066
+ end
2067
+
2068
+ # Update properties of this object
2069
+ def update!(**args)
2070
+ @authorization_rule = args[:authorization_rule] if args.key?(:authorization_rule)
2071
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
2072
+ end
2073
+ end
2074
+
2075
+ # Contains a summary of the DeidentifyDicomStore operation.
2076
+ class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyDicomStoreSummary
2077
+ include Google::Apis::Core::Hashable
1643
2078
 
1644
2079
  def initialize(**args)
1645
2080
  update!(**args)
@@ -1647,8 +2082,6 @@ module Google
1647
2082
 
1648
2083
  # Update properties of this object
1649
2084
  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
2085
  end
1653
2086
  end
1654
2087
 
@@ -1656,18 +2089,12 @@ module Google
1656
2089
  class GoogleCloudHealthcareV1beta1DeidentifyDeidentifyFhirStoreSummary
1657
2090
  include Google::Apis::Core::Hashable
1658
2091
 
1659
- # Number of resources successfully processed.
1660
- # Corresponds to the JSON property `successResourceCount`
1661
- # @return [Fixnum]
1662
- attr_accessor :success_resource_count
1663
-
1664
2092
  def initialize(**args)
1665
2093
  update!(**args)
1666
2094
  end
1667
2095
 
1668
2096
  # Update properties of this object
1669
2097
  def update!(**args)
1670
- @success_resource_count = args[:success_resource_count] if args.key?(:success_resource_count)
1671
2098
  end
1672
2099
  end
1673
2100
 
@@ -1675,9 +2102,9 @@ module Google
1675
2102
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1676
2103
  include Google::Apis::Core::Hashable
1677
2104
 
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.
2105
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
2106
+ # parameter is ignored. force=false is equivalent to write_disposition=
2107
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1681
2108
  # Corresponds to the JSON property `force`
1682
2109
  # @return [Boolean]
1683
2110
  attr_accessor :force
@@ -1689,6 +2116,13 @@ module Google
1689
2116
  # @return [String]
1690
2117
  attr_accessor :table_uri
1691
2118
 
2119
+ # Determines whether the existing table in the destination is to be overwritten
2120
+ # or appended to. If a write_disposition is specified, the `force` parameter is
2121
+ # ignored.
2122
+ # Corresponds to the JSON property `writeDisposition`
2123
+ # @return [String]
2124
+ attr_accessor :write_disposition
2125
+
1692
2126
  def initialize(**args)
1693
2127
  update!(**args)
1694
2128
  end
@@ -1697,6 +2131,7 @@ module Google
1697
2131
  def update!(**args)
1698
2132
  @force = args[:force] if args.key?(:force)
1699
2133
  @table_uri = args[:table_uri] if args.key?(:table_uri)
2134
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
1700
2135
  end
1701
2136
  end
1702
2137
 
@@ -1805,10 +2240,9 @@ module Google
1805
2240
  # @return [String]
1806
2241
  attr_accessor :dataset_uri
1807
2242
 
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.
2243
+ # Use `write_disposition` instead. If `write_disposition` is specified, this
2244
+ # parameter is ignored. force=false is equivalent to write_disposition=
2245
+ # WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
1812
2246
  # Corresponds to the JSON property `force`
1813
2247
  # @return [Boolean]
1814
2248
  attr_accessor :force
@@ -1820,6 +2254,13 @@ module Google
1820
2254
  # @return [Google::Apis::HealthcareV1beta1::SchemaConfig]
1821
2255
  attr_accessor :schema_config
1822
2256
 
2257
+ # Determines whether existing tables in the destination dataset are overwritten
2258
+ # or appended to. If a write_disposition is specified, the `force` parameter is
2259
+ # ignored.
2260
+ # Corresponds to the JSON property `writeDisposition`
2261
+ # @return [String]
2262
+ attr_accessor :write_disposition
2263
+
1823
2264
  def initialize(**args)
1824
2265
  update!(**args)
1825
2266
  end
@@ -1829,6 +2270,88 @@ module Google
1829
2270
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
1830
2271
  @force = args[:force] if args.key?(:force)
1831
2272
  @schema_config = args[:schema_config] if args.key?(:schema_config)
2273
+ @write_disposition = args[:write_disposition] if args.key?(:write_disposition)
2274
+ end
2275
+ end
2276
+
2277
+ # Response when all resources export successfully. This structure is included in
2278
+ # the response to describe the detailed outcome after the operation finishes
2279
+ # successfully.
2280
+ class GoogleCloudHealthcareV1beta1FhirExportResourcesResponse
2281
+ include Google::Apis::Core::Hashable
2282
+
2283
+ def initialize(**args)
2284
+ update!(**args)
2285
+ end
2286
+
2287
+ # Update properties of this object
2288
+ def update!(**args)
2289
+ end
2290
+ end
2291
+
2292
+ # The configuration for exporting to Cloud Storage.
2293
+ class GoogleCloudHealthcareV1beta1FhirGcsDestination
2294
+ include Google::Apis::Core::Hashable
2295
+
2296
+ # URI for a Cloud Storage directory where result files should be written (in the
2297
+ # format `gs://`bucket-id`/`path/to/destination/dir``). If there is no trailing
2298
+ # slash, the service appends one when composing the object path. The Cloud
2299
+ # Storage bucket referenced in `uri_prefix` must exist or an error occurs.
2300
+ # Corresponds to the JSON property `uriPrefix`
2301
+ # @return [String]
2302
+ attr_accessor :uri_prefix
2303
+
2304
+ def initialize(**args)
2305
+ update!(**args)
2306
+ end
2307
+
2308
+ # Update properties of this object
2309
+ def update!(**args)
2310
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
2311
+ end
2312
+ end
2313
+
2314
+ # Specifies the configuration for importing data from Cloud Storage.
2315
+ class GoogleCloudHealthcareV1beta1FhirGcsSource
2316
+ include Google::Apis::Core::Hashable
2317
+
2318
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
2319
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
2320
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
2321
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
2322
+ # characters (including separators). Must be used at the end of a path and with
2323
+ # no other wildcards in the path. Can also be used with a file extension (such
2324
+ # as .ndjson), which imports all files with the extension in the specified
2325
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
2326
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
2327
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
2328
+ # are expected to contain content only, no metadata.
2329
+ # Corresponds to the JSON property `uri`
2330
+ # @return [String]
2331
+ attr_accessor :uri
2332
+
2333
+ def initialize(**args)
2334
+ update!(**args)
2335
+ end
2336
+
2337
+ # Update properties of this object
2338
+ def update!(**args)
2339
+ @uri = args[:uri] if args.key?(:uri)
2340
+ end
2341
+ end
2342
+
2343
+ # Final response of importing resources. This structure is included in the
2344
+ # response to describe the detailed outcome after the operation finishes
2345
+ # successfully.
2346
+ class GoogleCloudHealthcareV1beta1FhirImportResourcesResponse
2347
+ include Google::Apis::Core::Hashable
2348
+
2349
+ def initialize(**args)
2350
+ update!(**args)
2351
+ end
2352
+
2353
+ # Update properties of this object
2354
+ def update!(**args)
1832
2355
  end
1833
2356
  end
1834
2357
 
@@ -1903,57 +2426,6 @@ module Google
1903
2426
  end
1904
2427
  end
1905
2428
 
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
2429
  # Error response of importing resources. This structure is included in the
1958
2430
  # error details to describe the detailed error after the operation finishes with
1959
2431
  # some failure.
@@ -2275,6 +2747,39 @@ module Google
2275
2747
  end
2276
2748
  end
2277
2749
 
2750
+ # An image.
2751
+ class Image
2752
+ include Google::Apis::Core::Hashable
2753
+
2754
+ # Input only. Points to a Cloud Storage URI containing the image. The URI must
2755
+ # be in the following format: `gs://`bucket_id`/`object_id``. The Cloud
2756
+ # Healthcare API service account must have the `roles/storage.objectViewer`
2757
+ # Cloud IAM role for this Cloud Storage location. The image at this URI is
2758
+ # copied to a Cloud Storage location managed by the Cloud Healthcare API.
2759
+ # Responses to image fetching requests return the image in raw_bytes.
2760
+ # Corresponds to the JSON property `gcsUri`
2761
+ # @return [String]
2762
+ attr_accessor :gcs_uri
2763
+
2764
+ # Image content represented as a stream of bytes. This field is populated when
2765
+ # returned in GetConsentArtifact response, but not included in
2766
+ # CreateConsentArtifact and ListConsentArtifact response.
2767
+ # Corresponds to the JSON property `rawBytes`
2768
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2769
+ # @return [String]
2770
+ attr_accessor :raw_bytes
2771
+
2772
+ def initialize(**args)
2773
+ update!(**args)
2774
+ end
2775
+
2776
+ # Update properties of this object
2777
+ def update!(**args)
2778
+ @gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
2779
+ @raw_bytes = args[:raw_bytes] if args.key?(:raw_bytes)
2780
+ end
2781
+ end
2782
+
2278
2783
  # Image annotation.
2279
2784
  class ImageAnnotation
2280
2785
  include Google::Apis::Core::Hashable
@@ -2305,43 +2810,10 @@ module Google
2305
2810
  class ImageConfig
2306
2811
  include Google::Apis::Core::Hashable
2307
2812
 
2308
- # Determines how to redact text from image.
2309
- # Corresponds to the JSON property `textRedactionMode`
2310
- # @return [String]
2311
- attr_accessor :text_redaction_mode
2312
-
2313
- def initialize(**args)
2314
- update!(**args)
2315
- end
2316
-
2317
- # Update properties of this object
2318
- def update!(**args)
2319
- @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2320
- end
2321
- end
2322
-
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
2327
- include Google::Apis::Core::Hashable
2328
-
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`
2813
+ # Determines how to redact text from image.
2814
+ # Corresponds to the JSON property `textRedactionMode`
2333
2815
  # @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
2816
+ attr_accessor :text_redaction_mode
2345
2817
 
2346
2818
  def initialize(**args)
2347
2819
  update!(**args)
@@ -2349,9 +2821,7 @@ module Google
2349
2821
 
2350
2822
  # Update properties of this object
2351
2823
  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)
2824
+ @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
2355
2825
  end
2356
2826
  end
2357
2827
 
@@ -2367,13 +2837,6 @@ module Google
2367
2837
  # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1AnnotationGcsSource]
2368
2838
  attr_accessor :gcs_source
2369
2839
 
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
2840
  def initialize(**args)
2378
2841
  update!(**args)
2379
2842
  end
@@ -2381,7 +2844,6 @@ module Google
2381
2844
  # Update properties of this object
2382
2845
  def update!(**args)
2383
2846
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2384
- @name = args[:name] if args.key?(:name)
2385
2847
  end
2386
2848
  end
2387
2849
 
@@ -2390,26 +2852,12 @@ module Google
2390
2852
  class ImportAnnotationsResponse
2391
2853
  include Google::Apis::Core::Hashable
2392
2854
 
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
2855
  def initialize(**args)
2406
2856
  update!(**args)
2407
2857
  end
2408
2858
 
2409
2859
  # Update properties of this object
2410
2860
  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
2861
  end
2414
2862
  end
2415
2863
 
@@ -2515,7 +2963,7 @@ module Google
2515
2963
 
2516
2964
  # Specifies the configuration for importing data from Cloud Storage.
2517
2965
  # Corresponds to the JSON property `gcsSource`
2518
- # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirRestGcsSource]
2966
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1FhirGcsSource]
2519
2967
  attr_accessor :gcs_source
2520
2968
 
2521
2969
  def initialize(**args)
@@ -2728,6 +3176,141 @@ module Google
2728
3176
  end
2729
3177
  end
2730
3178
 
3179
+ # Lists the Attribute definitions in the given Consent store.
3180
+ class ListAttributeDefinitionsResponse
3181
+ include Google::Apis::Core::Hashable
3182
+
3183
+ # The returned attribute definitions. The maximum number of attributes returned
3184
+ # is determined by the value of page_size in the ListAttributeDefinitionsRequest.
3185
+ # Corresponds to the JSON property `attributeDefinitions`
3186
+ # @return [Array<Google::Apis::HealthcareV1beta1::AttributeDefinition>]
3187
+ attr_accessor :attribute_definitions
3188
+
3189
+ # Token to retrieve the next page of results or empty if there are no more
3190
+ # results in the list.
3191
+ # Corresponds to the JSON property `nextPageToken`
3192
+ # @return [String]
3193
+ attr_accessor :next_page_token
3194
+
3195
+ def initialize(**args)
3196
+ update!(**args)
3197
+ end
3198
+
3199
+ # Update properties of this object
3200
+ def update!(**args)
3201
+ @attribute_definitions = args[:attribute_definitions] if args.key?(:attribute_definitions)
3202
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3203
+ end
3204
+ end
3205
+
3206
+ # Lists the Consent artifacts in the given Consent store.
3207
+ class ListConsentArtifactsResponse
3208
+ include Google::Apis::Core::Hashable
3209
+
3210
+ # The returned consent artifacts. The maximum number of artifacts returned is
3211
+ # determined by the value of page_size in the ListConsentArtifactsRequest.
3212
+ # Corresponds to the JSON property `consentArtifacts`
3213
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentArtifact>]
3214
+ attr_accessor :consent_artifacts
3215
+
3216
+ # Token to retrieve the next page of results or empty if there are no more
3217
+ # results in the list.
3218
+ # Corresponds to the JSON property `nextPageToken`
3219
+ # @return [String]
3220
+ attr_accessor :next_page_token
3221
+
3222
+ def initialize(**args)
3223
+ update!(**args)
3224
+ end
3225
+
3226
+ # Update properties of this object
3227
+ def update!(**args)
3228
+ @consent_artifacts = args[:consent_artifacts] if args.key?(:consent_artifacts)
3229
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3230
+ end
3231
+ end
3232
+
3233
+ # Lists the revisions of the given Consent in reverse chronological order.
3234
+ class ListConsentRevisionsResponse
3235
+ include Google::Apis::Core::Hashable
3236
+
3237
+ # The returned consent revisions. The maximum number of revisions returned is
3238
+ # determined by the value of `page_size` in the ListConsentRevisionsRequest.
3239
+ # Corresponds to the JSON property `consents`
3240
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3241
+ attr_accessor :consents
3242
+
3243
+ # Token to retrieve the next page of results or empty if there are no more
3244
+ # results in the list.
3245
+ # Corresponds to the JSON property `nextPageToken`
3246
+ # @return [String]
3247
+ attr_accessor :next_page_token
3248
+
3249
+ def initialize(**args)
3250
+ update!(**args)
3251
+ end
3252
+
3253
+ # Update properties of this object
3254
+ def update!(**args)
3255
+ @consents = args[:consents] if args.key?(:consents)
3256
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3257
+ end
3258
+ end
3259
+
3260
+ # Lists the Consent stores in the given dataset.
3261
+ class ListConsentStoresResponse
3262
+ include Google::Apis::Core::Hashable
3263
+
3264
+ # The returned Consent stores. The maximum number of stores returned is
3265
+ # determined by the value of page_size in the ListConsentStoresRequest.
3266
+ # Corresponds to the JSON property `consentStores`
3267
+ # @return [Array<Google::Apis::HealthcareV1beta1::ConsentStore>]
3268
+ attr_accessor :consent_stores
3269
+
3270
+ # Token to retrieve the next page of results or empty if there are no more
3271
+ # results in the list.
3272
+ # Corresponds to the JSON property `nextPageToken`
3273
+ # @return [String]
3274
+ attr_accessor :next_page_token
3275
+
3276
+ def initialize(**args)
3277
+ update!(**args)
3278
+ end
3279
+
3280
+ # Update properties of this object
3281
+ def update!(**args)
3282
+ @consent_stores = args[:consent_stores] if args.key?(:consent_stores)
3283
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3284
+ end
3285
+ end
3286
+
3287
+ # Lists the Consents in the given Consent store.
3288
+ class ListConsentsResponse
3289
+ include Google::Apis::Core::Hashable
3290
+
3291
+ # The returned consents. The maximum number of consents returned is determined
3292
+ # by the value of page_size in the ListConsentsRequest.
3293
+ # Corresponds to the JSON property `consents`
3294
+ # @return [Array<Google::Apis::HealthcareV1beta1::Consent>]
3295
+ attr_accessor :consents
3296
+
3297
+ # Token to retrieve the next page of results or empty if there are no more
3298
+ # results in the list.
3299
+ # Corresponds to the JSON property `nextPageToken`
3300
+ # @return [String]
3301
+ attr_accessor :next_page_token
3302
+
3303
+ def initialize(**args)
3304
+ update!(**args)
3305
+ end
3306
+
3307
+ # Update properties of this object
3308
+ def update!(**args)
3309
+ @consents = args[:consents] if args.key?(:consents)
3310
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3311
+ end
3312
+ end
3313
+
2731
3314
  # Lists the available datasets.
2732
3315
  class ListDatasetsResponse
2733
3316
  include Google::Apis::Core::Hashable
@@ -2912,6 +3495,34 @@ module Google
2912
3495
  end
2913
3496
  end
2914
3497
 
3498
+ # Lists the User data mappings in the given Consent store.
3499
+ class ListUserDataMappingsResponse
3500
+ include Google::Apis::Core::Hashable
3501
+
3502
+ # Token to retrieve the next page of results or empty if there are no more
3503
+ # results in the list.
3504
+ # Corresponds to the JSON property `nextPageToken`
3505
+ # @return [String]
3506
+ attr_accessor :next_page_token
3507
+
3508
+ # The returned user data mappings. The maximum number of user data mappings
3509
+ # returned is determined by the value of page_size in the
3510
+ # ListUserDataMappingsRequest.
3511
+ # Corresponds to the JSON property `userDataMappings`
3512
+ # @return [Array<Google::Apis::HealthcareV1beta1::UserDataMapping>]
3513
+ attr_accessor :user_data_mappings
3514
+
3515
+ def initialize(**args)
3516
+ update!(**args)
3517
+ end
3518
+
3519
+ # Update properties of this object
3520
+ def update!(**args)
3521
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3522
+ @user_data_mappings = args[:user_data_mappings] if args.key?(:user_data_mappings)
3523
+ end
3524
+ end
3525
+
2915
3526
  # A resource that represents Google Cloud Platform location.
2916
3527
  class Location
2917
3528
  include Google::Apis::Core::Hashable
@@ -3059,7 +3670,9 @@ module Google
3059
3670
  # that send notifications to fail. If a notification can't be published to Cloud
3060
3671
  # Pub/Sub, errors are logged to Cloud Logging (see [Viewing logs](/healthcare/
3061
3672
  # docs/how-tos/logging)). If the number of errors exceeds a certain rate, some
3062
- # aren't submitted.
3673
+ # aren't submitted. Note that not all operations trigger notifications, see [
3674
+ # Configuring Pub/Sub notifications](https://cloud.google.com/healthcare/docs/
3675
+ # how-tos/pubsub) for specific details.
3063
3676
  # Corresponds to the JSON property `pubsubTopic`
3064
3677
  # @return [String]
3065
3678
  attr_accessor :pubsub_topic
@@ -3231,6 +3844,12 @@ module Google
3231
3844
  # @return [String]
3232
3845
  attr_accessor :segment_terminator
3233
3846
 
3847
+ # Immutable. Determines the version of the unschematized parser to be used when `
3848
+ # schema` is not given. This field is immutable after store creation.
3849
+ # Corresponds to the JSON property `version`
3850
+ # @return [String]
3851
+ attr_accessor :version
3852
+
3234
3853
  def initialize(**args)
3235
3854
  update!(**args)
3236
3855
  end
@@ -3240,6 +3859,7 @@ module Google
3240
3859
  @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
3241
3860
  @schema = args[:schema] if args.key?(:schema)
3242
3861
  @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
3862
+ @version = args[:version] if args.key?(:version)
3243
3863
  end
3244
3864
  end
3245
3865
 
@@ -3389,6 +4009,43 @@ module Google
3389
4009
  end
3390
4010
  end
3391
4011
 
4012
+ # Queries all data_ids that are consented for a given use in the given Consent
4013
+ # store and writes them to a specified destination. The returned Operation
4014
+ # includes a progress counter for the number of User data mappings processed.
4015
+ # Errors are logged to Cloud Logging (see [Viewing logs] (/healthcare/docs/how-
4016
+ # tos/logging) and [QueryAccessibleData] for a sample log entry).
4017
+ class QueryAccessibleDataRequest
4018
+ include Google::Apis::Core::Hashable
4019
+
4020
+ # The Cloud Storage location for export.
4021
+ # Corresponds to the JSON property `gcsDestination`
4022
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1ConsentGcsDestination]
4023
+ attr_accessor :gcs_destination
4024
+
4025
+ # The values of request attributes associated with this access request.
4026
+ # Corresponds to the JSON property `requestAttributes`
4027
+ # @return [Hash<String,String>]
4028
+ attr_accessor :request_attributes
4029
+
4030
+ # The values of resources attributes associated with the type of data being
4031
+ # requested. If no values are specified, then all data types are included in the
4032
+ # output.
4033
+ # Corresponds to the JSON property `resourceAttributes`
4034
+ # @return [Hash<String,String>]
4035
+ attr_accessor :resource_attributes
4036
+
4037
+ def initialize(**args)
4038
+ update!(**args)
4039
+ end
4040
+
4041
+ # Update properties of this object
4042
+ def update!(**args)
4043
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
4044
+ @request_attributes = args[:request_attributes] if args.key?(:request_attributes)
4045
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4046
+ end
4047
+ end
4048
+
3392
4049
  # Define how to redact sensitive values. Default behaviour is erase. For example,
3393
4050
  # "My name is Jane." becomes "My name is ."
3394
4051
  class RedactConfig
@@ -3403,6 +4060,31 @@ module Google
3403
4060
  end
3404
4061
  end
3405
4062
 
4063
+ # Rejects the latest revision of the specified Consent by committing a new
4064
+ # revision with `state` updated to `REJECTED`. If the latest revision of the
4065
+ # given consent is in the `REJECTED` state, no new revision is committed.
4066
+ class RejectConsentRequest
4067
+ include Google::Apis::Core::Hashable
4068
+
4069
+ # The resource name of the consent artifact that contains proof of the end user'
4070
+ # s rejection of the draft consent, of the form `projects/`project_id`/locations/
4071
+ # `location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4072
+ # consentArtifacts/`consent_artifact_id``. If the draft consent had a consent
4073
+ # artifact, this consent artifact overwrites it.
4074
+ # Corresponds to the JSON property `consentArtifact`
4075
+ # @return [String]
4076
+ attr_accessor :consent_artifact
4077
+
4078
+ def initialize(**args)
4079
+ update!(**args)
4080
+ end
4081
+
4082
+ # Update properties of this object
4083
+ def update!(**args)
4084
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4085
+ end
4086
+ end
4087
+
3406
4088
  # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
3407
4089
  # name of the info_type. For example, "My name is Jane" becomes "My name is [
3408
4090
  # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
@@ -3456,6 +4138,62 @@ module Google
3456
4138
  end
3457
4139
  end
3458
4140
 
4141
+ # The consent evaluation result for a single `data_id`.
4142
+ class Result
4143
+ include Google::Apis::Core::Hashable
4144
+
4145
+ # The resource names of all evaluated Consents mapped to their evaluation.
4146
+ # Corresponds to the JSON property `consentDetails`
4147
+ # @return [Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>]
4148
+ attr_accessor :consent_details
4149
+
4150
+ # Whether the requested data is consented for the given use.
4151
+ # Corresponds to the JSON property `consented`
4152
+ # @return [Boolean]
4153
+ attr_accessor :consented
4154
+ alias_method :consented?, :consented
4155
+
4156
+ # The unique identifier of the data the consents were checked for.
4157
+ # Corresponds to the JSON property `dataId`
4158
+ # @return [String]
4159
+ attr_accessor :data_id
4160
+
4161
+ def initialize(**args)
4162
+ update!(**args)
4163
+ end
4164
+
4165
+ # Update properties of this object
4166
+ def update!(**args)
4167
+ @consent_details = args[:consent_details] if args.key?(:consent_details)
4168
+ @consented = args[:consented] if args.key?(:consented)
4169
+ @data_id = args[:data_id] if args.key?(:data_id)
4170
+ end
4171
+ end
4172
+
4173
+ # Revokes the latest revision of the specified Consent by committing a new
4174
+ # revision with `state` updated to `REVOKED`. If the latest revision of the
4175
+ # given consent is in the `REVOKED` state, no new revision is committed.
4176
+ class RevokeConsentRequest
4177
+ include Google::Apis::Core::Hashable
4178
+
4179
+ # The resource name of the consent artifact that contains proof of the end user'
4180
+ # s revocation of the consent, of the form `projects/`project_id`/locations/`
4181
+ # location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4182
+ # consentArtifacts/`consent_artifact_id``.
4183
+ # Corresponds to the JSON property `consentArtifact`
4184
+ # @return [String]
4185
+ attr_accessor :consent_artifact
4186
+
4187
+ def initialize(**args)
4188
+ update!(**args)
4189
+ end
4190
+
4191
+ # Update properties of this object
4192
+ def update!(**args)
4193
+ @consent_artifact = args[:consent_artifact] if args.key?(:consent_artifact)
4194
+ end
4195
+ end
4196
+
3459
4197
  # Configuration for the FHIR BigQuery schema. Determines how the server
3460
4198
  # generates the schema.
3461
4199
  class SchemaConfig
@@ -3780,6 +4518,44 @@ module Google
3780
4518
  end
3781
4519
  end
3782
4520
 
4521
+ # User signature.
4522
+ class Signature
4523
+ include Google::Apis::Core::Hashable
4524
+
4525
+ # An image.
4526
+ # Corresponds to the JSON property `image`
4527
+ # @return [Google::Apis::HealthcareV1beta1::Image]
4528
+ attr_accessor :image
4529
+
4530
+ # Metadata associated with the user's signature. For example, the user's name or
4531
+ # the user's title.
4532
+ # Corresponds to the JSON property `metadata`
4533
+ # @return [Hash<String,String>]
4534
+ attr_accessor :metadata
4535
+
4536
+ # Timestamp of the signature.
4537
+ # Corresponds to the JSON property `signatureTime`
4538
+ # @return [String]
4539
+ attr_accessor :signature_time
4540
+
4541
+ # User's UUID provided by the client.
4542
+ # Corresponds to the JSON property `userId`
4543
+ # @return [String]
4544
+ attr_accessor :user_id
4545
+
4546
+ def initialize(**args)
4547
+ update!(**args)
4548
+ end
4549
+
4550
+ # Update properties of this object
4551
+ def update!(**args)
4552
+ @image = args[:image] if args.key?(:image)
4553
+ @metadata = args[:metadata] if args.key?(:metadata)
4554
+ @signature_time = args[:signature_time] if args.key?(:signature_time)
4555
+ @user_id = args[:user_id] if args.key?(:user_id)
4556
+ end
4557
+ end
4558
+
3783
4559
  # The `Status` type defines a logical error model that is suitable for different
3784
4560
  # programming environments, including REST APIs and RPC APIs. It is used by [
3785
4561
  # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
@@ -3961,6 +4737,62 @@ module Google
3961
4737
  end
3962
4738
  end
3963
4739
 
4740
+ # Maps a user data entry to its end user and Attributes.
4741
+ class UserDataMapping
4742
+ include Google::Apis::Core::Hashable
4743
+
4744
+ # Output only. Indicates the time when this data mapping was archived.
4745
+ # Corresponds to the JSON property `archiveTime`
4746
+ # @return [String]
4747
+ attr_accessor :archive_time
4748
+
4749
+ # Output only. Indicates whether this data mapping is archived.
4750
+ # Corresponds to the JSON property `archived`
4751
+ # @return [Boolean]
4752
+ attr_accessor :archived
4753
+ alias_method :archived?, :archived
4754
+
4755
+ # Required. A unique identifier for the mapped data.
4756
+ # Corresponds to the JSON property `dataId`
4757
+ # @return [String]
4758
+ attr_accessor :data_id
4759
+
4760
+ # Resource name of the User data mapping, of the form `projects/`project_id`/
4761
+ # locations/`location_id`/datasets/`dataset_id`/consentStores/`consent_store_id`/
4762
+ # userDataMappings/`user_data_mapping_id``.
4763
+ # Corresponds to the JSON property `name`
4764
+ # @return [String]
4765
+ attr_accessor :name
4766
+
4767
+ # Attributes of end user data. Each attribute can have exactly one value
4768
+ # specified. Only explicitly set attributes are displayed here. Attribute
4769
+ # definitions with defaults set implicitly apply to these User data mappings.
4770
+ # Attributes listed here must be single valued, that is, exactly one value is
4771
+ # specified for the field "values" in each Attribute.
4772
+ # Corresponds to the JSON property `resourceAttributes`
4773
+ # @return [Array<Google::Apis::HealthcareV1beta1::Attribute>]
4774
+ attr_accessor :resource_attributes
4775
+
4776
+ # Required. User's UUID provided by the client.
4777
+ # Corresponds to the JSON property `userId`
4778
+ # @return [String]
4779
+ attr_accessor :user_id
4780
+
4781
+ def initialize(**args)
4782
+ update!(**args)
4783
+ end
4784
+
4785
+ # Update properties of this object
4786
+ def update!(**args)
4787
+ @archive_time = args[:archive_time] if args.key?(:archive_time)
4788
+ @archived = args[:archived] if args.key?(:archived)
4789
+ @data_id = args[:data_id] if args.key?(:data_id)
4790
+ @name = args[:name] if args.key?(:name)
4791
+ @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes)
4792
+ @user_id = args[:user_id] if args.key?(:user_id)
4793
+ end
4794
+ end
4795
+
3964
4796
  # Describes a selector for extracting and matching an MSH field to a value.
3965
4797
  class VersionSource
3966
4798
  include Google::Apis::Core::Hashable