google-api-client 0.32.1 → 0.40.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (948) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -2
  9. data/CHANGELOG.md +1354 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/api_list_config.yaml +1 -0
  15. data/api_names.yaml +2 -0
  16. data/bin/generate-api +10 -2
  17. data/docs/api-keys.md +20 -0
  18. data/docs/auth.md +53 -0
  19. data/docs/client-secrets.md +69 -0
  20. data/docs/getting-started.md +340 -0
  21. data/docs/installation.md +0 -0
  22. data/docs/logging.md +34 -0
  23. data/docs/media-upload.md +25 -0
  24. data/docs/oauth-installed.md +191 -0
  25. data/docs/oauth-server.md +135 -0
  26. data/docs/oauth-web.md +280 -0
  27. data/docs/oauth.md +268 -0
  28. data/docs/pagination.md +29 -0
  29. data/docs/performance.md +25 -0
  30. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  31. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  32. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  33. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  34. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  35. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  36. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  37. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  38. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  39. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  40. data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
  41. data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
  42. data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
  43. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  44. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
  45. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
  46. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
  47. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  48. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
  49. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
  50. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  51. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  52. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  53. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  54. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  55. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  56. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  57. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  58. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  59. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  60. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  61. data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
  62. data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
  63. data/generated/google/apis/admin_directory_v1/service.rb +0 -60
  64. data/generated/google/apis/admin_directory_v1.rb +4 -1
  65. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  66. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  67. data/generated/google/apis/admin_reports_v1.rb +2 -2
  68. data/generated/google/apis/admob_v1/classes.rb +951 -0
  69. data/generated/google/apis/admob_v1/representations.rb +378 -0
  70. data/generated/google/apis/admob_v1/service.rb +196 -0
  71. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  72. data/generated/google/apis/adsense_v1_4.rb +1 -1
  73. data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
  74. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  75. data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
  76. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  77. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  78. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  79. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
  80. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  81. data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
  82. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  83. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  84. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  85. data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
  86. data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
  87. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  88. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  89. data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
  90. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
  91. data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
  92. data/generated/google/apis/androidpublisher_v1.rb +1 -4
  93. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
  94. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
  95. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
  96. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  97. data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
  98. data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
  99. data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
  100. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  101. data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
  102. data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
  103. data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
  104. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  105. data/generated/google/apis/apigee_v1/classes.rb +4928 -0
  106. data/generated/google/apis/apigee_v1/representations.rb +1822 -0
  107. data/generated/google/apis/apigee_v1/service.rb +5578 -0
  108. data/generated/google/apis/apigee_v1.rb +40 -0
  109. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  110. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  111. data/generated/google/apis/appengine_v1/service.rb +10 -6
  112. data/generated/google/apis/appengine_v1.rb +1 -1
  113. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  114. data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
  115. data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
  116. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  117. data/generated/google/apis/appengine_v1beta.rb +1 -1
  118. data/generated/google/apis/appsactivity_v1.rb +1 -1
  119. data/generated/google/apis/appsmarket_v2.rb +1 -1
  120. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
  121. data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
  122. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  123. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  124. data/generated/google/apis/bigquery_v2/classes.rb +993 -43
  125. data/generated/google/apis/bigquery_v2/representations.rb +273 -2
  126. data/generated/google/apis/bigquery_v2/service.rb +137 -4
  127. data/generated/google/apis/bigquery_v2.rb +1 -1
  128. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
  129. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  130. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
  131. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  132. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  133. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  134. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
  135. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  136. data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
  137. data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
  138. data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
  139. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  140. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
  141. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
  142. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  143. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  144. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
  145. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
  146. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
  147. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  148. data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
  149. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  150. data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
  151. data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
  152. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  153. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
  154. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
  155. data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
  156. data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
  157. data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
  158. data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
  159. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  160. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
  161. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
  162. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  163. data/generated/google/apis/blogger_v2/classes.rb +297 -45
  164. data/generated/google/apis/blogger_v2/representations.rb +105 -26
  165. data/generated/google/apis/blogger_v2/service.rb +79 -134
  166. data/generated/google/apis/blogger_v2.rb +5 -4
  167. data/generated/google/apis/blogger_v3/classes.rb +60 -53
  168. data/generated/google/apis/blogger_v3/representations.rb +10 -18
  169. data/generated/google/apis/blogger_v3/service.rb +183 -463
  170. data/generated/google/apis/blogger_v3.rb +4 -3
  171. data/generated/google/apis/books_v1/classes.rb +494 -242
  172. data/generated/google/apis/books_v1/representations.rb +145 -72
  173. data/generated/google/apis/books_v1/service.rb +354 -484
  174. data/generated/google/apis/books_v1.rb +3 -3
  175. data/generated/google/apis/calendar_v3/classes.rb +8 -21
  176. data/generated/google/apis/calendar_v3/service.rb +18 -30
  177. data/generated/google/apis/calendar_v3.rb +1 -1
  178. data/generated/google/apis/chat_v1/classes.rb +29 -3
  179. data/generated/google/apis/chat_v1/representations.rb +3 -0
  180. data/generated/google/apis/chat_v1/service.rb +5 -2
  181. data/generated/google/apis/chat_v1.rb +1 -1
  182. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  183. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  184. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  185. data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
  186. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  187. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  188. data/generated/google/apis/civicinfo_v2.rb +1 -1
  189. data/generated/google/apis/classroom_v1/classes.rb +14 -14
  190. data/generated/google/apis/classroom_v1/service.rb +11 -11
  191. data/generated/google/apis/classroom_v1.rb +1 -1
  192. data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
  193. data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
  194. data/generated/google/apis/cloudasset_v1/service.rb +363 -12
  195. data/generated/google/apis/cloudasset_v1.rb +2 -2
  196. data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
  197. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
  198. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  199. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
  200. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
  201. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
  202. data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
  203. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
  204. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
  205. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
  206. data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
  207. data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
  208. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  209. data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
  210. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  211. data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
  212. data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
  213. data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
  214. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  215. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
  216. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
  217. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
  218. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  219. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
  220. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
  221. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
  222. data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
  223. data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
  224. data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
  225. data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
  226. data/generated/google/apis/clouddebugger_v2.rb +2 -2
  227. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  228. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
  229. data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
  230. data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
  231. data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
  232. data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
  233. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  234. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  235. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  236. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  237. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  238. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  239. data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
  240. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  241. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
  242. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
  243. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
  244. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  245. data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
  246. data/generated/google/apis/cloudiot_v1.rb +1 -1
  247. data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
  248. data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
  249. data/generated/google/apis/cloudkms_v1/service.rb +15 -3
  250. data/generated/google/apis/cloudkms_v1.rb +1 -1
  251. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  252. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
  253. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
  254. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  255. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
  256. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  257. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  258. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
  259. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  260. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  261. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
  262. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  263. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
  265. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  266. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
  267. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  268. data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
  269. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
  270. data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
  271. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  272. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  273. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  274. data/generated/google/apis/cloudshell_v1.rb +1 -1
  275. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
  276. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
  277. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  278. data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
  279. data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
  280. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  281. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
  282. data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
  283. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  284. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
  285. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  286. data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
  287. data/generated/google/apis/cloudtrace_v1.rb +5 -5
  288. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
  289. data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
  290. data/generated/google/apis/cloudtrace_v2.rb +5 -5
  291. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
  292. data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
  293. data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
  294. data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
  295. data/generated/google/apis/composer_v1/classes.rb +180 -0
  296. data/generated/google/apis/composer_v1/representations.rb +54 -0
  297. data/generated/google/apis/composer_v1.rb +1 -1
  298. data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
  299. data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
  300. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  301. data/generated/google/apis/composer_v1beta1.rb +1 -1
  302. data/generated/google/apis/compute_alpha/classes.rb +3252 -973
  303. data/generated/google/apis/compute_alpha/representations.rb +634 -69
  304. data/generated/google/apis/compute_alpha/service.rb +9085 -6210
  305. data/generated/google/apis/compute_alpha.rb +1 -1
  306. data/generated/google/apis/compute_beta/classes.rb +4787 -1066
  307. data/generated/google/apis/compute_beta/representations.rb +1394 -31
  308. data/generated/google/apis/compute_beta/service.rb +8858 -5018
  309. data/generated/google/apis/compute_beta.rb +1 -1
  310. data/generated/google/apis/compute_v1/classes.rb +2976 -599
  311. data/generated/google/apis/compute_v1/representations.rb +850 -0
  312. data/generated/google/apis/compute_v1/service.rb +4634 -2481
  313. data/generated/google/apis/compute_v1.rb +1 -1
  314. data/generated/google/apis/container_v1/classes.rb +925 -164
  315. data/generated/google/apis/container_v1/representations.rb +278 -0
  316. data/generated/google/apis/container_v1/service.rb +175 -158
  317. data/generated/google/apis/container_v1.rb +1 -1
  318. data/generated/google/apis/container_v1beta1/classes.rb +803 -340
  319. data/generated/google/apis/container_v1beta1/representations.rb +185 -39
  320. data/generated/google/apis/container_v1beta1/service.rb +294 -277
  321. data/generated/google/apis/container_v1beta1.rb +1 -1
  322. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
  323. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  324. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
  325. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
  326. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  327. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  328. data/generated/google/apis/content_v2/classes.rb +1566 -634
  329. data/generated/google/apis/content_v2/representations.rb +78 -115
  330. data/generated/google/apis/content_v2/service.rb +81 -206
  331. data/generated/google/apis/content_v2.rb +1 -1
  332. data/generated/google/apis/content_v2_1/classes.rb +2706 -683
  333. data/generated/google/apis/content_v2_1/representations.rb +551 -0
  334. data/generated/google/apis/content_v2_1/service.rb +520 -46
  335. data/generated/google/apis/content_v2_1.rb +1 -1
  336. data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
  337. data/generated/google/apis/customsearch_v1/representations.rb +166 -95
  338. data/generated/google/apis/customsearch_v1/service.rb +373 -104
  339. data/generated/google/apis/customsearch_v1.rb +3 -3
  340. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
  341. data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
  342. data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
  343. data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
  344. data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
  345. data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
  346. data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
  347. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  348. data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
  349. data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
  350. data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
  351. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  352. data/generated/google/apis/dataproc_v1/classes.rb +533 -177
  353. data/generated/google/apis/dataproc_v1/representations.rb +85 -0
  354. data/generated/google/apis/dataproc_v1/service.rb +102 -36
  355. data/generated/google/apis/dataproc_v1.rb +1 -1
  356. data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
  357. data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
  358. data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
  359. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  360. data/generated/google/apis/datastore_v1/classes.rb +17 -23
  361. data/generated/google/apis/datastore_v1/service.rb +93 -9
  362. data/generated/google/apis/datastore_v1.rb +1 -1
  363. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  364. data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
  365. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  366. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  367. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  368. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  369. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  370. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  371. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  372. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  373. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  374. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  375. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  376. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  377. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  378. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  379. data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
  380. data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
  381. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  382. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
  383. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
  384. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
  385. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  386. data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
  387. data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
  388. data/generated/google/apis/dialogflow_v2/service.rb +849 -158
  389. data/generated/google/apis/dialogflow_v2.rb +1 -1
  390. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
  391. data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
  392. data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
  393. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  394. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
  395. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
  396. data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
  397. data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
  398. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  399. data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
  400. data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
  401. data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
  402. data/generated/google/apis/displayvideo_v1.rb +38 -0
  403. data/generated/google/apis/dlp_v2/classes.rb +798 -130
  404. data/generated/google/apis/dlp_v2/representations.rb +277 -3
  405. data/generated/google/apis/dlp_v2/service.rb +2074 -231
  406. data/generated/google/apis/dlp_v2.rb +1 -1
  407. data/generated/google/apis/dns_v1/classes.rb +220 -251
  408. data/generated/google/apis/dns_v1/representations.rb +49 -0
  409. data/generated/google/apis/dns_v1/service.rb +21 -141
  410. data/generated/google/apis/dns_v1.rb +1 -1
  411. data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
  412. data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
  413. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  414. data/generated/google/apis/dns_v1beta2.rb +1 -1
  415. data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
  416. data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
  417. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  418. data/generated/google/apis/dns_v2beta1.rb +1 -1
  419. data/generated/google/apis/docs_v1/classes.rb +608 -2
  420. data/generated/google/apis/docs_v1/representations.rb +211 -0
  421. data/generated/google/apis/docs_v1.rb +1 -1
  422. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  423. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  424. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  425. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
  426. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
  427. data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
  428. data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  429. data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
  430. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  431. data/generated/google/apis/drive_v2/classes.rb +58 -5
  432. data/generated/google/apis/drive_v2/representations.rb +18 -0
  433. data/generated/google/apis/drive_v2/service.rb +92 -118
  434. data/generated/google/apis/drive_v2.rb +1 -1
  435. data/generated/google/apis/drive_v3/classes.rb +66 -5
  436. data/generated/google/apis/drive_v3/representations.rb +18 -0
  437. data/generated/google/apis/drive_v3/service.rb +46 -14
  438. data/generated/google/apis/drive_v3.rb +1 -1
  439. data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
  440. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  441. data/generated/google/apis/driveactivity_v2.rb +1 -1
  442. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  443. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  444. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  445. data/generated/google/apis/fcm_v1.rb +1 -1
  446. data/generated/google/apis/file_v1/classes.rb +1235 -158
  447. data/generated/google/apis/file_v1/representations.rb +401 -22
  448. data/generated/google/apis/file_v1/service.rb +14 -10
  449. data/generated/google/apis/file_v1.rb +1 -1
  450. data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
  451. data/generated/google/apis/file_v1beta1/representations.rb +401 -22
  452. data/generated/google/apis/file_v1beta1/service.rb +18 -11
  453. data/generated/google/apis/file_v1beta1.rb +1 -1
  454. data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
  455. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  456. data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
  457. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  458. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  459. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
  460. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
  461. data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
  462. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  464. data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
  465. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  466. data/generated/google/apis/firebaseml_v1.rb +34 -0
  467. data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
  468. data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
  469. data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
  470. data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
  471. data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
  472. data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
  473. data/generated/google/apis/firebaserules_v1.rb +1 -1
  474. data/generated/google/apis/firestore_v1/classes.rb +16 -5
  475. data/generated/google/apis/firestore_v1/representations.rb +2 -0
  476. data/generated/google/apis/firestore_v1/service.rb +26 -24
  477. data/generated/google/apis/firestore_v1.rb +1 -1
  478. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
  479. data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
  480. data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
  481. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  482. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  483. data/generated/google/apis/fitness_v1/classes.rb +189 -153
  484. data/generated/google/apis/fitness_v1/service.rb +192 -198
  485. data/generated/google/apis/fitness_v1.rb +14 -14
  486. data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
  487. data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
  488. data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
  489. data/generated/google/apis/games_management_v1management/classes.rb +50 -109
  490. data/generated/google/apis/games_management_v1management/representations.rb +0 -30
  491. data/generated/google/apis/games_management_v1management/service.rb +116 -452
  492. data/generated/google/apis/games_management_v1management.rb +6 -4
  493. data/generated/google/apis/games_v1/classes.rb +14 -293
  494. data/generated/google/apis/games_v1/representations.rb +2 -98
  495. data/generated/google/apis/games_v1/service.rb +3 -135
  496. data/generated/google/apis/games_v1.rb +1 -1
  497. data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
  498. data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
  499. data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
  500. data/generated/google/apis/gameservices_v1beta.rb +34 -0
  501. data/generated/google/apis/genomics_v1.rb +1 -1
  502. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  503. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  504. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  505. data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
  506. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  507. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  508. data/generated/google/apis/gmail_v1/service.rb +1 -1
  509. data/generated/google/apis/gmail_v1.rb +13 -1
  510. data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
  511. data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
  512. data/generated/google/apis/healthcare_v1/service.rb +3439 -0
  513. data/generated/google/apis/healthcare_v1.rb +34 -0
  514. data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
  515. data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
  516. data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
  517. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  518. data/generated/google/apis/homegraph_v1/classes.rb +79 -56
  519. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  520. data/generated/google/apis/homegraph_v1/service.rb +43 -47
  521. data/generated/google/apis/homegraph_v1.rb +1 -1
  522. data/generated/google/apis/iam_v1/classes.rb +201 -169
  523. data/generated/google/apis/iam_v1/representations.rb +1 -6
  524. data/generated/google/apis/iam_v1/service.rb +18 -21
  525. data/generated/google/apis/iam_v1.rb +1 -1
  526. data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
  527. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  528. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  529. data/generated/google/apis/iap_v1/classes.rb +691 -59
  530. data/generated/google/apis/iap_v1/representations.rb +254 -0
  531. data/generated/google/apis/iap_v1/service.rb +362 -0
  532. data/generated/google/apis/iap_v1.rb +1 -1
  533. data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
  534. data/generated/google/apis/iap_v1beta1.rb +1 -1
  535. data/generated/google/apis/indexing_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  537. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  538. data/generated/google/apis/jobs_v2.rb +1 -1
  539. data/generated/google/apis/jobs_v3/classes.rb +180 -0
  540. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  541. data/generated/google/apis/jobs_v3.rb +1 -1
  542. data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
  543. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  544. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  545. data/generated/google/apis/kgsearch_v1.rb +1 -1
  546. data/generated/google/apis/language_v1/classes.rb +6 -6
  547. data/generated/google/apis/language_v1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  549. data/generated/google/apis/language_v1beta1.rb +1 -1
  550. data/generated/google/apis/language_v1beta2/classes.rb +23 -7
  551. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  552. data/generated/google/apis/language_v1beta2.rb +1 -1
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  555. data/generated/google/apis/licensing_v1/service.rb +81 -37
  556. data/generated/google/apis/licensing_v1.rb +4 -4
  557. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  558. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  559. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  560. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  561. data/generated/google/apis/logging_v2/classes.rb +292 -91
  562. data/generated/google/apis/logging_v2/representations.rb +51 -0
  563. data/generated/google/apis/logging_v2/service.rb +888 -15
  564. data/generated/google/apis/logging_v2.rb +6 -6
  565. data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
  566. data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
  567. data/generated/google/apis/managedidentities_v1/service.rb +779 -0
  568. data/generated/google/apis/managedidentities_v1.rb +35 -0
  569. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
  570. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
  571. data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
  572. data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
  573. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
  574. data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
  575. data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
  576. data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
  577. data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
  578. data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
  579. data/generated/google/apis/manufacturers_v1.rb +1 -1
  580. data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
  581. data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
  582. data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
  583. data/generated/google/apis/memcache_v1beta2.rb +35 -0
  584. data/generated/google/apis/ml_v1/classes.rb +1518 -233
  585. data/generated/google/apis/ml_v1/representations.rb +559 -0
  586. data/generated/google/apis/ml_v1/service.rb +560 -25
  587. data/generated/google/apis/ml_v1.rb +5 -2
  588. data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
  589. data/generated/google/apis/monitoring_v1/representations.rb +513 -0
  590. data/generated/google/apis/monitoring_v1/service.rb +246 -0
  591. data/generated/google/apis/monitoring_v1.rb +47 -0
  592. data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
  593. data/generated/google/apis/monitoring_v3/representations.rb +482 -1
  594. data/generated/google/apis/monitoring_v3/service.rb +614 -162
  595. data/generated/google/apis/monitoring_v3.rb +7 -8
  596. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  597. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  598. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  599. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  600. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
  601. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
  602. data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
  603. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
  604. data/generated/google/apis/oauth2_v2/classes.rb +1 -81
  605. data/generated/google/apis/oauth2_v2/representations.rb +2 -36
  606. data/generated/google/apis/oauth2_v2/service.rb +10 -42
  607. data/generated/google/apis/oauth2_v2.rb +5 -5
  608. data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
  609. data/generated/google/apis/osconfig_v1/representations.rb +506 -0
  610. data/generated/google/apis/osconfig_v1/service.rb +386 -0
  611. data/generated/google/apis/osconfig_v1.rb +35 -0
  612. data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
  613. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  614. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  615. data/generated/google/apis/osconfig_v1beta.rb +35 -0
  616. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  617. data/generated/google/apis/oslogin_v1/service.rb +10 -7
  618. data/generated/google/apis/oslogin_v1.rb +1 -2
  619. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  620. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  621. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
  623. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  624. data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
  625. data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
  626. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  627. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  628. data/generated/google/apis/people_v1/classes.rb +104 -81
  629. data/generated/google/apis/people_v1/representations.rb +1 -0
  630. data/generated/google/apis/people_v1/service.rb +72 -79
  631. data/generated/google/apis/people_v1.rb +10 -1
  632. data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
  633. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  634. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  635. data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
  636. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
  637. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  638. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  639. data/generated/google/apis/poly_v1.rb +1 -1
  640. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
  641. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
  642. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
  643. data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
  644. data/generated/google/apis/pubsub_v1/classes.rb +248 -76
  645. data/generated/google/apis/pubsub_v1/representations.rb +18 -0
  646. data/generated/google/apis/pubsub_v1/service.rb +43 -31
  647. data/generated/google/apis/pubsub_v1.rb +1 -1
  648. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  649. data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
  650. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
  651. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  652. data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
  653. data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
  654. data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
  655. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  656. data/generated/google/apis/redis_v1/classes.rb +48 -18
  657. data/generated/google/apis/redis_v1/representations.rb +14 -0
  658. data/generated/google/apis/redis_v1/service.rb +41 -5
  659. data/generated/google/apis/redis_v1.rb +1 -1
  660. data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
  661. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  662. data/generated/google/apis/redis_v1beta1/service.rb +41 -5
  663. data/generated/google/apis/redis_v1beta1.rb +1 -1
  664. data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
  665. data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
  666. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  667. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
  668. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
  669. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  670. data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
  671. data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
  672. data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
  673. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  674. data/generated/google/apis/reseller_v1/service.rb +1 -1
  675. data/generated/google/apis/reseller_v1.rb +1 -1
  676. data/generated/google/apis/run_v1/classes.rb +308 -325
  677. data/generated/google/apis/run_v1/representations.rb +63 -103
  678. data/generated/google/apis/run_v1/service.rb +336 -933
  679. data/generated/google/apis/run_v1.rb +1 -1
  680. data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
  681. data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
  682. data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
  683. data/generated/google/apis/run_v1alpha1.rb +1 -1
  684. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  685. data/generated/google/apis/run_v1beta1.rb +4 -1
  686. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  687. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
  688. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
  689. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  690. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  691. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  692. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
  693. data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
  694. data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
  695. data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
  696. data/generated/google/apis/script_v1/classes.rb +4 -22
  697. data/generated/google/apis/script_v1.rb +1 -1
  698. data/generated/google/apis/searchconsole_v1.rb +1 -1
  699. data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
  700. data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
  701. data/generated/google/apis/secretmanager_v1/service.rb +681 -0
  702. data/generated/google/apis/secretmanager_v1.rb +35 -0
  703. data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
  704. data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
  705. data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
  706. data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
  707. data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
  708. data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
  709. data/generated/google/apis/securitycenter_v1/service.rb +225 -21
  710. data/generated/google/apis/securitycenter_v1.rb +4 -4
  711. data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
  712. data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
  713. data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
  714. data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
  715. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
  716. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
  717. data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
  718. data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
  719. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
  720. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
  721. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
  722. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  723. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
  724. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
  725. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  726. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
  727. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
  728. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
  729. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
  730. data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
  731. data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
  732. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  733. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  734. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
  735. data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
  736. data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
  737. data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
  738. data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
  739. data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
  740. data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
  741. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  742. data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
  743. data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
  744. data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
  745. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  746. data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
  747. data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
  748. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  749. data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
  750. data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
  751. data/generated/google/apis/serviceusage_v1/service.rb +42 -0
  752. data/generated/google/apis/serviceusage_v1.rb +1 -1
  753. data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
  754. data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
  755. data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
  756. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  757. data/generated/google/apis/sheets_v4/classes.rb +1741 -253
  758. data/generated/google/apis/sheets_v4/representations.rb +283 -0
  759. data/generated/google/apis/sheets_v4/service.rb +9 -11
  760. data/generated/google/apis/sheets_v4.rb +1 -1
  761. data/generated/google/apis/slides_v1/classes.rb +1 -1
  762. data/generated/google/apis/slides_v1/service.rb +1 -1
  763. data/generated/google/apis/slides_v1.rb +1 -1
  764. data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
  765. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  766. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  767. data/generated/google/apis/spanner_v1/classes.rb +706 -71
  768. data/generated/google/apis/spanner_v1/representations.rb +194 -0
  769. data/generated/google/apis/spanner_v1/service.rb +770 -7
  770. data/generated/google/apis/spanner_v1.rb +1 -1
  771. data/generated/google/apis/speech_v1/classes.rb +15 -11
  772. data/generated/google/apis/speech_v1/representations.rb +2 -1
  773. data/generated/google/apis/speech_v1.rb +1 -1
  774. data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
  775. data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
  776. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  777. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
  778. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
  779. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  780. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  781. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
  782. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
  783. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
  784. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  785. data/generated/google/apis/storage_v1/classes.rb +73 -7
  786. data/generated/google/apis/storage_v1/representations.rb +10 -0
  787. data/generated/google/apis/storage_v1/service.rb +29 -4
  788. data/generated/google/apis/storage_v1.rb +1 -1
  789. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  790. data/generated/google/apis/storage_v1beta2.rb +1 -1
  791. data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
  792. data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
  793. data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
  794. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  795. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  796. data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
  797. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  798. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  799. data/generated/google/apis/tagmanager_v1/service.rb +1 -1
  800. data/generated/google/apis/tagmanager_v1.rb +1 -1
  801. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  802. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  803. data/generated/google/apis/tagmanager_v2/service.rb +1 -1
  804. data/generated/google/apis/tagmanager_v2.rb +1 -1
  805. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  806. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  807. data/generated/google/apis/tasks_v1/service.rb +78 -124
  808. data/generated/google/apis/tasks_v1.rb +3 -3
  809. data/generated/google/apis/testing_v1/classes.rb +187 -1
  810. data/generated/google/apis/testing_v1/representations.rb +93 -0
  811. data/generated/google/apis/testing_v1.rb +1 -1
  812. data/generated/google/apis/texttospeech_v1.rb +1 -1
  813. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  814. data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
  815. data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
  816. data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
  817. data/generated/google/apis/toolresults_v1beta3.rb +2 -2
  818. data/generated/google/apis/tpu_v1/classes.rb +3 -4
  819. data/generated/google/apis/tpu_v1.rb +1 -1
  820. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
  821. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  822. data/generated/google/apis/translate_v3/classes.rb +946 -0
  823. data/generated/google/apis/translate_v3/representations.rb +439 -0
  824. data/generated/google/apis/translate_v3/service.rb +781 -0
  825. data/generated/google/apis/translate_v3.rb +37 -0
  826. data/generated/google/apis/translate_v3beta1.rb +1 -1
  827. data/generated/google/apis/vault_v1/classes.rb +10 -7
  828. data/generated/google/apis/vault_v1/service.rb +7 -7
  829. data/generated/google/apis/vault_v1.rb +1 -1
  830. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  831. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  832. data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
  833. data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
  834. data/generated/google/apis/videointelligence_v1.rb +1 -1
  835. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
  836. data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
  837. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  838. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
  839. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
  840. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  841. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
  842. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
  843. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  844. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
  845. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
  846. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  847. data/generated/google/apis/vision_v1/classes.rb +67 -1
  848. data/generated/google/apis/vision_v1/representations.rb +32 -0
  849. data/generated/google/apis/vision_v1/service.rb +1 -1
  850. data/generated/google/apis/vision_v1.rb +1 -1
  851. data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
  852. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  853. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  854. data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
  855. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  856. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  857. data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
  858. data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
  859. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  860. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  861. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  862. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  863. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  864. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
  865. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
  866. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  867. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  868. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  869. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  870. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  871. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  872. data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
  873. data/generated/google/apis/youtube_v3/representations.rb +99 -191
  874. data/generated/google/apis/youtube_v3/service.rb +1829 -2150
  875. data/generated/google/apis/youtube_v3.rb +8 -5
  876. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  877. data/google-api-client.gemspec +6 -3
  878. data/lib/google/apis/core/api_command.rb +7 -0
  879. data/lib/google/apis/core/base_service.rb +1 -1
  880. data/lib/google/apis/core/http_command.rb +11 -10
  881. data/lib/google/apis/core/upload.rb +4 -0
  882. data/lib/google/apis/generator/annotator.rb +1 -1
  883. data/lib/google/apis/version.rb +9 -4
  884. data/rakelib/devsite/devsite_builder.rb +126 -0
  885. data/rakelib/devsite/link_checker.rb +64 -0
  886. data/rakelib/devsite/repo_metadata.rb +56 -0
  887. metadata +193 -110
  888. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  889. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  890. data/generated/google/apis/analytics_v2_4.rb +0 -37
  891. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
  892. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
  893. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
  894. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
  895. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
  896. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
  897. data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
  898. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  899. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  900. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  901. data/generated/google/apis/fusiontables_v1.rb +0 -37
  902. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  903. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  904. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
  905. data/generated/google/apis/fusiontables_v2.rb +0 -37
  906. data/generated/google/apis/mirror_v1/classes.rb +0 -1072
  907. data/generated/google/apis/mirror_v1/representations.rb +0 -390
  908. data/generated/google/apis/mirror_v1/service.rb +0 -928
  909. data/generated/google/apis/mirror_v1.rb +0 -37
  910. data/generated/google/apis/oauth2_v1/classes.rb +0 -197
  911. data/generated/google/apis/oauth2_v1/service.rb +0 -160
  912. data/generated/google/apis/oauth2_v1.rb +0 -40
  913. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  914. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  915. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  916. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  917. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  918. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  919. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  920. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  921. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
  922. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  923. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  924. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  925. data/generated/google/apis/plus_domains_v1.rb +0 -55
  926. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
  927. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
  928. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
  929. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  930. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  931. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  932. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  933. data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
  934. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  935. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
  936. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  937. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
  938. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
  939. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  940. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  941. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  942. data/generated/google/apis/storage_v1beta1.rb +0 -40
  943. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  944. data/generated/google/apis/surveys_v2.rb +0 -40
  945. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  946. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  947. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
  948. data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -167,10 +167,15 @@ module Google
167
167
  # response field type is
168
168
  # DeidentifySummary.
169
169
  # If errors occur,
170
+ # error
170
171
  # details field type is
171
172
  # DeidentifyErrorDetails.
172
- # Errors are also logged to Stackdriver Logging. For more information,
173
- # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
173
+ # The LRO result may still be successful if de-identification fails for some
174
+ # DICOM instances. The new de-identified dataset will not contain these
175
+ # failed resources. Failed resource totals are tracked in
176
+ # DeidentifySummary.failure_resource_count.
177
+ # Error details are also logged to Cloud Logging. For more information,
178
+ # see [Viewing logs](/healthcare/docs/how-tos/logging).
174
179
  # @param [String] source_dataset
175
180
  # Source dataset resource name. For example,
176
181
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
@@ -281,6 +286,9 @@ module Google
281
286
  # Requests for policies with any conditional bindings must specify version 3.
282
287
  # Policies without any conditional bindings may specify any valid value or
283
288
  # leave the field unset.
289
+ # To learn which resources support conditions in their IAM policies, see the
290
+ # [IAM
291
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
284
292
  # @param [String] fields
285
293
  # Selector specifying which fields to include in a partial response.
286
294
  # @param [String] quota_user
@@ -389,6 +397,7 @@ module Google
389
397
 
390
398
  # Sets the access control policy on the specified resource. Replaces any
391
399
  # existing policy.
400
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
392
401
  # @param [String] resource
393
402
  # REQUIRED: The resource for which the policy is being specified.
394
403
  # See the operation documentation for the appropriate value for this field.
@@ -424,7 +433,7 @@ module Google
424
433
 
425
434
  # Returns permissions that a caller has on the specified resource.
426
435
  # If the resource does not exist, this will return an empty set of
427
- # permissions, not a NOT_FOUND error.
436
+ # permissions, not a `NOT_FOUND` error.
428
437
  # Note: This operation is designed to be used for building permission-aware
429
438
  # UIs and command-line tools, not for authorization checking. This operation
430
439
  # may "fail open" without warning.
@@ -461,6 +470,125 @@ module Google
461
470
  execute_or_queue_command(command, &block)
462
471
  end
463
472
 
473
+ # Gets the access control policy for a resource.
474
+ # Returns an empty policy if the resource exists and does not have a policy
475
+ # set.
476
+ # @param [String] resource
477
+ # REQUIRED: The resource for which the policy is being requested.
478
+ # See the operation documentation for the appropriate value for this field.
479
+ # @param [Fixnum] options_requested_policy_version
480
+ # Optional. The policy format version to be returned.
481
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
482
+ # rejected.
483
+ # Requests for policies with any conditional bindings must specify version 3.
484
+ # Policies without any conditional bindings may specify any valid value or
485
+ # leave the field unset.
486
+ # To learn which resources support conditions in their IAM policies, see the
487
+ # [IAM
488
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
489
+ # @param [String] fields
490
+ # Selector specifying which fields to include in a partial response.
491
+ # @param [String] quota_user
492
+ # Available to use for quota purposes for server-side applications. Can be any
493
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
494
+ # @param [Google::Apis::RequestOptions] options
495
+ # Request-specific options
496
+ #
497
+ # @yield [result, err] Result & error if block supplied
498
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
499
+ # @yieldparam err [StandardError] error object if request failed
500
+ #
501
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
502
+ #
503
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
504
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
505
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
506
+ def get_project_location_dataset_annotation_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
507
+ command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
508
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
509
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
510
+ command.params['resource'] = resource unless resource.nil?
511
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
512
+ command.query['fields'] = fields unless fields.nil?
513
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
514
+ execute_or_queue_command(command, &block)
515
+ end
516
+
517
+ # Sets the access control policy on the specified resource. Replaces any
518
+ # existing policy.
519
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
520
+ # @param [String] resource
521
+ # REQUIRED: The resource for which the policy is being specified.
522
+ # See the operation documentation for the appropriate value for this field.
523
+ # @param [Google::Apis::HealthcareV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
524
+ # @param [String] fields
525
+ # Selector specifying which fields to include in a partial response.
526
+ # @param [String] quota_user
527
+ # Available to use for quota purposes for server-side applications. Can be any
528
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
529
+ # @param [Google::Apis::RequestOptions] options
530
+ # Request-specific options
531
+ #
532
+ # @yield [result, err] Result & error if block supplied
533
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Policy] parsed result object
534
+ # @yieldparam err [StandardError] error object if request failed
535
+ #
536
+ # @return [Google::Apis::HealthcareV1beta1::Policy]
537
+ #
538
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
539
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
540
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
541
+ def set_annotation_store_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
542
+ command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
543
+ command.request_representation = Google::Apis::HealthcareV1beta1::SetIamPolicyRequest::Representation
544
+ command.request_object = set_iam_policy_request_object
545
+ command.response_representation = Google::Apis::HealthcareV1beta1::Policy::Representation
546
+ command.response_class = Google::Apis::HealthcareV1beta1::Policy
547
+ command.params['resource'] = resource unless resource.nil?
548
+ command.query['fields'] = fields unless fields.nil?
549
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
550
+ execute_or_queue_command(command, &block)
551
+ end
552
+
553
+ # Returns permissions that a caller has on the specified resource.
554
+ # If the resource does not exist, this will return an empty set of
555
+ # permissions, not a `NOT_FOUND` error.
556
+ # Note: This operation is designed to be used for building permission-aware
557
+ # UIs and command-line tools, not for authorization checking. This operation
558
+ # may "fail open" without warning.
559
+ # @param [String] resource
560
+ # REQUIRED: The resource for which the policy detail is being requested.
561
+ # See the operation documentation for the appropriate value for this field.
562
+ # @param [Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
563
+ # @param [String] fields
564
+ # Selector specifying which fields to include in a partial response.
565
+ # @param [String] quota_user
566
+ # Available to use for quota purposes for server-side applications. Can be any
567
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
568
+ # @param [Google::Apis::RequestOptions] options
569
+ # Request-specific options
570
+ #
571
+ # @yield [result, err] Result & error if block supplied
572
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse] parsed result object
573
+ # @yieldparam err [StandardError] error object if request failed
574
+ #
575
+ # @return [Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse]
576
+ #
577
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
578
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
579
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
580
+ def test_annotation_store_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
581
+ command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
582
+ command.request_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsRequest::Representation
583
+ command.request_object = test_iam_permissions_request_object
584
+ command.response_representation = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse::Representation
585
+ command.response_class = Google::Apis::HealthcareV1beta1::TestIamPermissionsResponse
586
+ command.params['resource'] = resource unless resource.nil?
587
+ command.query['fields'] = fields unless fields.nil?
588
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
589
+ execute_or_queue_command(command, &block)
590
+ end
591
+
464
592
  # Creates a new DICOM store within the parent dataset.
465
593
  # @param [String] parent
466
594
  # The name of the dataset this DICOM store belongs to.
@@ -498,6 +626,55 @@ module Google
498
626
  execute_or_queue_command(command, &block)
499
627
  end
500
628
 
629
+ # De-identifies data from the source store and writes it to the destination
630
+ # store. The metadata field type
631
+ # is OperationMetadata.
632
+ # If the request is successful, the
633
+ # response field type is
634
+ # DeidentifyDicomStoreSummary. If errors occur,
635
+ # error
636
+ # details field type is
637
+ # DeidentifyErrorDetails.
638
+ # The LRO result may still be successful if de-identification fails for some
639
+ # DICOM instances. The output DICOM store will not contain
640
+ # these failed resources. Failed resource totals are tracked in
641
+ # DeidentifySummary.failure_resource_count.
642
+ # Error details are also logged to Cloud Logging
643
+ # (see [Viewing logs](/healthcare/docs/how-tos/logging)).
644
+ # @param [String] source_store
645
+ # Source DICOM store resource name. For example,
646
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
647
+ # dicomStores/`dicom_store_id``.
648
+ # @param [Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest] deidentify_dicom_store_request_object
649
+ # @param [String] fields
650
+ # Selector specifying which fields to include in a partial response.
651
+ # @param [String] quota_user
652
+ # Available to use for quota purposes for server-side applications. Can be any
653
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
654
+ # @param [Google::Apis::RequestOptions] options
655
+ # Request-specific options
656
+ #
657
+ # @yield [result, err] Result & error if block supplied
658
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
659
+ # @yieldparam err [StandardError] error object if request failed
660
+ #
661
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
662
+ #
663
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
664
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
665
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
666
+ def deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
667
+ command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
668
+ command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest::Representation
669
+ command.request_object = deidentify_dicom_store_request_object
670
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
671
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
672
+ command.params['sourceStore'] = source_store unless source_store.nil?
673
+ command.query['fields'] = fields unless fields.nil?
674
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
675
+ execute_or_queue_command(command, &block)
676
+ end
677
+
501
678
  # Deletes the specified DICOM store and removes all images that are contained
502
679
  # within it.
503
680
  # @param [String] name
@@ -531,6 +708,8 @@ module Google
531
708
 
532
709
  # Exports data to the specified destination by copying it from the DICOM
533
710
  # store.
711
+ # Errors are also logged to Cloud Logging. For more information,
712
+ # see [Viewing logs](/healthcare/docs/how-tos/logging).
534
713
  # The metadata field type is
535
714
  # OperationMetadata.
536
715
  # @param [String] name
@@ -611,6 +790,9 @@ module Google
611
790
  # Requests for policies with any conditional bindings must specify version 3.
612
791
  # Policies without any conditional bindings may specify any valid value or
613
792
  # leave the field unset.
793
+ # To learn which resources support conditions in their IAM policies, see the
794
+ # [IAM
795
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
614
796
  # @param [String] fields
615
797
  # Selector specifying which fields to include in a partial response.
616
798
  # @param [String] quota_user
@@ -642,9 +824,8 @@ module Google
642
824
  # Imports data into the DICOM store by copying it from the specified source.
643
825
  # For errors, the Operation is populated with error details (in the form
644
826
  # of ImportDicomDataErrorDetails in error.details), which hold
645
- # finer-grained error information. Errors are also logged to Stackdriver
646
- # Logging. For more information,
647
- # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
827
+ # finer-grained error information. Errors are also logged to Cloud Logging.
828
+ # For more information, see [Viewing logs](/healthcare/docs/how-tos/logging).
648
829
  # The metadata field type is
649
830
  # OperationMetadata.
650
831
  # @param [String] name
@@ -766,15 +947,16 @@ module Google
766
947
  end
767
948
 
768
949
  # SearchForInstances returns a list of matching instances. See
769
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
950
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
951
+ # part18.html#sect_10.4).
770
952
  # @param [String] parent
771
- # The name of the DICOM store that is being accessed (for example,
953
+ # The name of the DICOM store that is being accessed. For example,
772
954
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
773
- # dicomStores/`dicom_store_id``).
955
+ # dicomStores/`dicom_store_id``.
774
956
  # @param [String] dicom_web_path
775
- # The path of the SearchForInstancesRequest DICOMweb request (for example,
776
- # `instances` or `series/`series_uid`/instances` or
777
- # `studies/`study_uid`/instances`).
957
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
958
+ # `instances`, `series/`series_uid`/instances`, or
959
+ # `studies/`study_uid`/instances`.
778
960
  # @param [String] fields
779
961
  # Selector specifying which fields to include in a partial response.
780
962
  # @param [String] quota_user
@@ -804,14 +986,15 @@ module Google
804
986
  end
805
987
 
806
988
  # SearchForSeries returns a list of matching series. See
807
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
989
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
990
+ # part18.html#sect_10.4).
808
991
  # @param [String] parent
809
- # The name of the DICOM store that is being accessed (for example,
992
+ # The name of the DICOM store that is being accessed. For example,
810
993
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
811
- # dicomStores/`dicom_store_id``).
994
+ # dicomStores/`dicom_store_id``.
812
995
  # @param [String] dicom_web_path
813
- # The path of the SearchForSeries DICOMweb request(for example, `series` or
814
- # `studies/`study_uid`/series`).
996
+ # The path of the SearchForSeries DICOMweb request. For example, `series` or
997
+ # `studies/`study_uid`/series`.
815
998
  # @param [String] fields
816
999
  # Selector specifying which fields to include in a partial response.
817
1000
  # @param [String] quota_user
@@ -841,13 +1024,14 @@ module Google
841
1024
  end
842
1025
 
843
1026
  # SearchForStudies returns a list of matching studies. See
844
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1027
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1028
+ # part18.html#sect_10.4).
845
1029
  # @param [String] parent
846
- # The name of the DICOM store that is being accessed (for example,
1030
+ # The name of the DICOM store that is being accessed. For example,
847
1031
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
848
- # dicomStores/`dicom_store_id``).
1032
+ # dicomStores/`dicom_store_id``.
849
1033
  # @param [String] dicom_web_path
850
- # The path of the SearchForStudies DICOMweb request (for example, `studies`).
1034
+ # The path of the SearchForStudies DICOMweb request. For example, `studies`.
851
1035
  # @param [String] fields
852
1036
  # Selector specifying which fields to include in a partial response.
853
1037
  # @param [String] quota_user
@@ -878,6 +1062,7 @@ module Google
878
1062
 
879
1063
  # Sets the access control policy on the specified resource. Replaces any
880
1064
  # existing policy.
1065
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
881
1066
  # @param [String] resource
882
1067
  # REQUIRED: The resource for which the policy is being specified.
883
1068
  # See the operation documentation for the appropriate value for this field.
@@ -913,14 +1098,16 @@ module Google
913
1098
 
914
1099
  # StoreInstances stores DICOM instances associated with study instance unique
915
1100
  # identifiers (SUID). See
916
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
1101
+ # [Store
1102
+ # Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.
1103
+ # html#sect_10.5).
917
1104
  # @param [String] parent
918
- # The name of the DICOM store that is being accessed (for example,
1105
+ # The name of the DICOM store that is being accessed. For example,
919
1106
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
920
- # dicomStores/`dicom_store_id``).
1107
+ # dicomStores/`dicom_store_id``.
921
1108
  # @param [String] dicom_web_path
922
- # The path of the StoreInstances DICOMweb request (for example,
923
- # `studies/[`study_uid`]`). Note that the `study_uid` is optional.
1109
+ # The path of the StoreInstances DICOMweb request. For example,
1110
+ # `studies/[`study_uid`]`. Note that the `study_uid` is optional.
924
1111
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
925
1112
  # @param [String] fields
926
1113
  # Selector specifying which fields to include in a partial response.
@@ -954,7 +1141,7 @@ module Google
954
1141
 
955
1142
  # Returns permissions that a caller has on the specified resource.
956
1143
  # If the resource does not exist, this will return an empty set of
957
- # permissions, not a NOT_FOUND error.
1144
+ # permissions, not a `NOT_FOUND` error.
958
1145
  # Note: This operation is designed to be used for building permission-aware
959
1146
  # UIs and command-line tools, not for authorization checking. This operation
960
1147
  # may "fail open" without warning.
@@ -992,13 +1179,10 @@ module Google
992
1179
  end
993
1180
 
994
1181
  # DeleteStudy deletes all instances within the given study. Delete requests
995
- # are equivalent to the GET requests specified in the WADO-RS standard.
1182
+ # are equivalent to the GET requests specified in the Retrieve transaction.
996
1183
  # @param [String] parent
997
- # The name of the DICOM store that is being accessed (for example,
998
- # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
999
- # dicomStores/`dicom_store_id``).
1000
1184
  # @param [String] dicom_web_path
1001
- # The path of the DeleteStudy request (for example, `studies/`study_uid``).
1185
+ # The path of the DeleteStudy request. For example, `studies/`study_uid``.
1002
1186
  # @param [String] fields
1003
1187
  # Selector specifying which fields to include in a partial response.
1004
1188
  # @param [String] quota_user
@@ -1029,14 +1213,15 @@ module Google
1029
1213
 
1030
1214
  # RetrieveStudyMetadata returns instance associated with the given study
1031
1215
  # presented as metadata with the bulk data removed. See
1032
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1216
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1217
+ # part18.html#sect_10.4).
1033
1218
  # @param [String] parent
1034
- # The name of the DICOM store that is being accessed (for example,
1219
+ # The name of the DICOM store that is being accessed. For example,
1035
1220
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1036
- # dicomStores/`dicom_store_id``).
1221
+ # dicomStores/`dicom_store_id``.
1037
1222
  # @param [String] dicom_web_path
1038
- # The path of the RetrieveStudyMetadata DICOMweb request (for example,
1039
- # `studies/`study_uid`/metadata`).
1223
+ # The path of the RetrieveStudyMetadata DICOMweb request. For example,
1224
+ # `studies/`study_uid`/metadata`.
1040
1225
  # @param [String] fields
1041
1226
  # Selector specifying which fields to include in a partial response.
1042
1227
  # @param [String] quota_user
@@ -1066,14 +1251,15 @@ module Google
1066
1251
  end
1067
1252
 
1068
1253
  # RetrieveStudy returns all instances within the given study. See
1069
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1254
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1255
+ # part18.html#sect_10.4).
1070
1256
  # @param [String] parent
1071
- # The name of the DICOM store that is being accessed (for example,
1257
+ # The name of the DICOM store that is being accessed. For example,
1072
1258
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1073
- # dicomStores/`dicom_store_id``).
1259
+ # dicomStores/`dicom_store_id``.
1074
1260
  # @param [String] dicom_web_path
1075
- # The path of the RetrieveStudy DICOMweb request (for example,
1076
- # `studies/`study_uid``).
1261
+ # The path of the RetrieveStudy DICOMweb request. For example,
1262
+ # `studies/`study_uid``.
1077
1263
  # @param [String] fields
1078
1264
  # Selector specifying which fields to include in a partial response.
1079
1265
  # @param [String] quota_user
@@ -1103,15 +1289,16 @@ module Google
1103
1289
  end
1104
1290
 
1105
1291
  # SearchForInstances returns a list of matching instances. See
1106
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1292
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1293
+ # part18.html#sect_10.4).
1107
1294
  # @param [String] parent
1108
- # The name of the DICOM store that is being accessed (for example,
1295
+ # The name of the DICOM store that is being accessed. For example,
1109
1296
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1110
- # dicomStores/`dicom_store_id``).
1297
+ # dicomStores/`dicom_store_id``.
1111
1298
  # @param [String] dicom_web_path
1112
- # The path of the SearchForInstancesRequest DICOMweb request (for example,
1113
- # `instances` or `series/`series_uid`/instances` or
1114
- # `studies/`study_uid`/instances`).
1299
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
1300
+ # `instances`, `series/`series_uid`/instances`, or
1301
+ # `studies/`study_uid`/instances`.
1115
1302
  # @param [String] fields
1116
1303
  # Selector specifying which fields to include in a partial response.
1117
1304
  # @param [String] quota_user
@@ -1141,14 +1328,15 @@ module Google
1141
1328
  end
1142
1329
 
1143
1330
  # SearchForSeries returns a list of matching series. See
1144
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1331
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1332
+ # part18.html#sect_10.4).
1145
1333
  # @param [String] parent
1146
- # The name of the DICOM store that is being accessed (for example,
1334
+ # The name of the DICOM store that is being accessed. For example,
1147
1335
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1148
- # dicomStores/`dicom_store_id``).
1336
+ # dicomStores/`dicom_store_id``.
1149
1337
  # @param [String] dicom_web_path
1150
- # The path of the SearchForSeries DICOMweb request(for example, `series` or
1151
- # `studies/`study_uid`/series`).
1338
+ # The path of the SearchForSeries DICOMweb request. For example, `series` or
1339
+ # `studies/`study_uid`/series`.
1152
1340
  # @param [String] fields
1153
1341
  # Selector specifying which fields to include in a partial response.
1154
1342
  # @param [String] quota_user
@@ -1179,14 +1367,16 @@ module Google
1179
1367
 
1180
1368
  # StoreInstances stores DICOM instances associated with study instance unique
1181
1369
  # identifiers (SUID). See
1182
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
1370
+ # [Store
1371
+ # Transaction](http://dicom.nema.org/medical/dicom/current/output/html/part18.
1372
+ # html#sect_10.5).
1183
1373
  # @param [String] parent
1184
- # The name of the DICOM store that is being accessed (for example,
1374
+ # The name of the DICOM store that is being accessed. For example,
1185
1375
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1186
- # dicomStores/`dicom_store_id``).
1376
+ # dicomStores/`dicom_store_id``.
1187
1377
  # @param [String] dicom_web_path
1188
- # The path of the StoreInstances DICOMweb request (for example,
1189
- # `studies/[`study_uid`]`). Note that the `study_uid` is optional.
1378
+ # The path of the StoreInstances DICOMweb request. For example,
1379
+ # `studies/[`study_uid`]`. Note that the `study_uid` is optional.
1190
1380
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
1191
1381
  # @param [String] fields
1192
1382
  # Selector specifying which fields to include in a partial response.
@@ -1219,15 +1409,15 @@ module Google
1219
1409
  end
1220
1410
 
1221
1411
  # DeleteSeries deletes all instances within the given study and series.
1222
- # Delete requests are equivalent to the GET requests specified in the WADO-RS
1223
- # standard.
1412
+ # Delete requests are equivalent to the GET requests specified in the
1413
+ # Retrieve transaction.
1224
1414
  # @param [String] parent
1225
- # The name of the DICOM store that is being accessed (for example,
1415
+ # The name of the DICOM store that is being accessed. For example,
1226
1416
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1227
- # dicomStores/`dicom_store_id``).
1417
+ # dicomStores/`dicom_store_id``.
1228
1418
  # @param [String] dicom_web_path
1229
- # The path of the DeleteSeries request (for example,
1230
- # `studies/`study_uid`/series/`series_uid``).
1419
+ # The path of the DeleteSeries request. For example,
1420
+ # `studies/`study_uid`/series/`series_uid``.
1231
1421
  # @param [String] fields
1232
1422
  # Selector specifying which fields to include in a partial response.
1233
1423
  # @param [String] quota_user
@@ -1258,14 +1448,15 @@ module Google
1258
1448
 
1259
1449
  # RetrieveSeriesMetadata returns instance associated with the given study and
1260
1450
  # series, presented as metadata with the bulk data removed. See
1261
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1451
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1452
+ # part18.html#sect_10.4).
1262
1453
  # @param [String] parent
1263
- # The name of the DICOM store that is being accessed (for example,
1454
+ # The name of the DICOM store that is being accessed. For example,
1264
1455
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1265
- # dicomStores/`dicom_store_id``).
1456
+ # dicomStores/`dicom_store_id``.
1266
1457
  # @param [String] dicom_web_path
1267
- # The path of the RetrieveSeriesMetadata DICOMweb request (for example,
1268
- # `studies/`study_uid`/series/`series_uid`/metadata`).
1458
+ # The path of the RetrieveSeriesMetadata DICOMweb request. For example,
1459
+ # `studies/`study_uid`/series/`series_uid`/metadata`.
1269
1460
  # @param [String] fields
1270
1461
  # Selector specifying which fields to include in a partial response.
1271
1462
  # @param [String] quota_user
@@ -1295,14 +1486,15 @@ module Google
1295
1486
  end
1296
1487
 
1297
1488
  # RetrieveSeries returns all instances within the given study and series. See
1298
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1489
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1490
+ # part18.html#sect_10.4).
1299
1491
  # @param [String] parent
1300
- # The name of the DICOM store that is being accessed (for example,
1492
+ # The name of the DICOM store that is being accessed. For example,
1301
1493
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1302
- # dicomStores/`dicom_store_id``).
1494
+ # dicomStores/`dicom_store_id``.
1303
1495
  # @param [String] dicom_web_path
1304
- # The path of the RetrieveSeries DICOMweb request (for example,
1305
- # `studies/`study_uid`/series/`series_uid``).
1496
+ # The path of the RetrieveSeries DICOMweb request. For example,
1497
+ # `studies/`study_uid`/series/`series_uid``.
1306
1498
  # @param [String] fields
1307
1499
  # Selector specifying which fields to include in a partial response.
1308
1500
  # @param [String] quota_user
@@ -1332,15 +1524,16 @@ module Google
1332
1524
  end
1333
1525
 
1334
1526
  # SearchForInstances returns a list of matching instances. See
1335
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1527
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1528
+ # part18.html#sect_10.4).
1336
1529
  # @param [String] parent
1337
- # The name of the DICOM store that is being accessed (for example,
1530
+ # The name of the DICOM store that is being accessed. For example,
1338
1531
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1339
- # dicomStores/`dicom_store_id``).
1532
+ # dicomStores/`dicom_store_id``.
1340
1533
  # @param [String] dicom_web_path
1341
- # The path of the SearchForInstancesRequest DICOMweb request (for example,
1342
- # `instances` or `series/`series_uid`/instances` or
1343
- # `studies/`study_uid`/instances`).
1534
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
1535
+ # `instances`, `series/`series_uid`/instances`, or
1536
+ # `studies/`study_uid`/instances`.
1344
1537
  # @param [String] fields
1345
1538
  # Selector specifying which fields to include in a partial response.
1346
1539
  # @param [String] quota_user
@@ -1371,14 +1564,14 @@ module Google
1371
1564
 
1372
1565
  # DeleteInstance deletes an instance associated with the given study, series,
1373
1566
  # and SOP Instance UID. Delete requests are equivalent to the GET requests
1374
- # specified in the WADO-RS standard.
1567
+ # specified in the Retrieve transaction.
1375
1568
  # @param [String] parent
1376
- # The name of the DICOM store that is being accessed (for example,
1569
+ # The name of the DICOM store that is being accessed. For example,
1377
1570
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1378
- # dicomStores/`dicom_store_id``).
1571
+ # dicomStores/`dicom_store_id``.
1379
1572
  # @param [String] dicom_web_path
1380
- # The path of the DeleteInstance request (for example,
1381
- # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``).
1573
+ # The path of the DeleteInstance request. For example,
1574
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
1382
1575
  # @param [String] fields
1383
1576
  # Selector specifying which fields to include in a partial response.
1384
1577
  # @param [String] quota_user
@@ -1409,14 +1602,15 @@ module Google
1409
1602
 
1410
1603
  # RetrieveInstance returns instance associated with the given study, series,
1411
1604
  # and SOP Instance UID. See
1412
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1605
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1606
+ # part18.html#sect_10.4).
1413
1607
  # @param [String] parent
1414
- # The name of the DICOM store that is being accessed (for example,
1608
+ # The name of the DICOM store that is being accessed. For example,
1415
1609
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1416
- # dicomStores/`dicom_store_id``).
1610
+ # dicomStores/`dicom_store_id``.
1417
1611
  # @param [String] dicom_web_path
1418
- # The path of the RetrieveInstance DICOMweb request (for example,
1419
- # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``).
1612
+ # The path of the RetrieveInstance DICOMweb request. For example,
1613
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
1420
1614
  # @param [String] fields
1421
1615
  # Selector specifying which fields to include in a partial response.
1422
1616
  # @param [String] quota_user
@@ -1448,14 +1642,15 @@ module Google
1448
1642
  # RetrieveInstanceMetadata returns instance associated with the given study,
1449
1643
  # series, and SOP Instance UID presented as metadata with the bulk data
1450
1644
  # removed. See
1451
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1645
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1646
+ # part18.html#sect_10.4).
1452
1647
  # @param [String] parent
1453
- # The name of the DICOM store that is being accessed (for example,
1648
+ # The name of the DICOM store that is being accessed. For example,
1454
1649
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1455
- # dicomStores/`dicom_store_id``).
1650
+ # dicomStores/`dicom_store_id``.
1456
1651
  # @param [String] dicom_web_path
1457
- # The path of the RetrieveInstanceMetadata DICOMweb request (for example,
1458
- # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/metadata`).
1652
+ # The path of the RetrieveInstanceMetadata DICOMweb request. For example,
1653
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/metadata`.
1459
1654
  # @param [String] fields
1460
1655
  # Selector specifying which fields to include in a partial response.
1461
1656
  # @param [String] quota_user
@@ -1486,14 +1681,15 @@ module Google
1486
1681
 
1487
1682
  # RetrieveRenderedInstance returns instance associated with the given study,
1488
1683
  # series, and SOP Instance UID in an acceptable Rendered Media Type. See
1489
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1684
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1685
+ # part18.html#sect_10.4).
1490
1686
  # @param [String] parent
1491
- # The name of the DICOM store that is being accessed (for example,
1687
+ # The name of the DICOM store that is being accessed. For example,
1492
1688
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1493
- # dicomStores/`dicom_store_id``).
1689
+ # dicomStores/`dicom_store_id``.
1494
1690
  # @param [String] dicom_web_path
1495
- # The path of the RetrieveRenderedInstance DICOMweb request (for example,
1496
- # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/rendered`).
1691
+ # The path of the RetrieveRenderedInstance DICOMweb request. For example,
1692
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/rendered`.
1497
1693
  # @param [String] fields
1498
1694
  # Selector specifying which fields to include in a partial response.
1499
1695
  # @param [String] quota_user
@@ -1524,15 +1720,16 @@ module Google
1524
1720
 
1525
1721
  # RetrieveFrames returns instances associated with the given study, series,
1526
1722
  # SOP Instance UID and frame numbers. See
1527
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1723
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1724
+ # part18.html#sect_10.4).
1528
1725
  # @param [String] parent
1529
- # The name of the DICOM store that is being accessed (for example,
1726
+ # The name of the DICOM store that is being accessed. For example,
1530
1727
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1531
- # dicomStores/`dicom_store_id``).
1728
+ # dicomStores/`dicom_store_id``.
1532
1729
  # @param [String] dicom_web_path
1533
- # The path of the RetrieveFrames DICOMweb request (for example,
1730
+ # The path of the RetrieveFrames DICOMweb request. For example,
1534
1731
  # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
1535
- # frame_list``).
1732
+ # frame_list``.
1536
1733
  # @param [String] fields
1537
1734
  # Selector specifying which fields to include in a partial response.
1538
1735
  # @param [String] quota_user
@@ -1564,15 +1761,16 @@ module Google
1564
1761
  # RetrieveRenderedFrames returns instances associated with the given study,
1565
1762
  # series, SOP Instance UID and frame numbers in an acceptable Rendered Media
1566
1763
  # Type. See
1567
- # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1764
+ # [RetrieveTransaction](http://dicom.nema.org/medical/dicom/current/output/html/
1765
+ # part18.html#sect_10.4).
1568
1766
  # @param [String] parent
1569
- # The name of the DICOM store that is being accessed (for example,
1767
+ # The name of the DICOM store that is being accessed. For example,
1570
1768
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1571
- # dicomStores/`dicom_store_id``).
1769
+ # dicomStores/`dicom_store_id``.
1572
1770
  # @param [String] dicom_web_path
1573
- # The path of the RetrieveRenderedFrames DICOMweb request (for example,
1771
+ # The path of the RetrieveRenderedFrames DICOMweb request. For example,
1574
1772
  # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
1575
- # frame_list`/rendered`).
1773
+ # frame_list`/rendered`.
1576
1774
  # @param [String] fields
1577
1775
  # Selector specifying which fields to include in a partial response.
1578
1776
  # @param [String] quota_user
@@ -1638,6 +1836,51 @@ module Google
1638
1836
  execute_or_queue_command(command, &block)
1639
1837
  end
1640
1838
 
1839
+ # De-identifies data from the source store and writes it to the destination
1840
+ # store. The metadata field type
1841
+ # is OperationMetadata.
1842
+ # If the request is successful, the
1843
+ # response field type is
1844
+ # DeidentifyFhirStoreSummary. If errors occur,
1845
+ # error
1846
+ # details field type is
1847
+ # DeidentifyErrorDetails.
1848
+ # Errors are also logged to Cloud Logging
1849
+ # (see [Viewing logs](/healthcare/docs/how-tos/logging)).
1850
+ # @param [String] source_store
1851
+ # Source FHIR store resource name. For example,
1852
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1853
+ # fhirStores/`fhir_store_id``.
1854
+ # @param [Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest] deidentify_fhir_store_request_object
1855
+ # @param [String] fields
1856
+ # Selector specifying which fields to include in a partial response.
1857
+ # @param [String] quota_user
1858
+ # Available to use for quota purposes for server-side applications. Can be any
1859
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1860
+ # @param [Google::Apis::RequestOptions] options
1861
+ # Request-specific options
1862
+ #
1863
+ # @yield [result, err] Result & error if block supplied
1864
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
1865
+ # @yieldparam err [StandardError] error object if request failed
1866
+ #
1867
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
1868
+ #
1869
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1870
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1871
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1872
+ def deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1873
+ command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
1874
+ command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest::Representation
1875
+ command.request_object = deidentify_fhir_store_request_object
1876
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
1877
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
1878
+ command.params['sourceStore'] = source_store unless source_store.nil?
1879
+ command.query['fields'] = fields unless fields.nil?
1880
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1881
+ execute_or_queue_command(command, &block)
1882
+ end
1883
+
1641
1884
  # Deletes the specified FHIR store and removes all resources within it.
1642
1885
  # @param [String] name
1643
1886
  # The resource name of the FHIR store to delete.
@@ -1674,16 +1917,15 @@ module Google
1674
1917
  # GetOperation.
1675
1918
  # Immediate fatal errors appear in the
1676
1919
  # error field, errors are also logged
1677
- # to Stackdriver (see [Viewing
1678
- # logs](/healthcare/docs/how-tos/stackdriver-logging)).
1920
+ # to Cloud Logging (see [Viewing
1921
+ # logs](/healthcare/docs/how-tos/logging)).
1679
1922
  # Otherwise, when the operation finishes, a detailed response of type
1680
1923
  # ExportResourcesResponse is returned in the
1681
1924
  # response field.
1682
1925
  # The metadata field type for this
1683
1926
  # operation is OperationMetadata.
1684
1927
  # @param [String] name
1685
- # The name of the FHIR store to export resource from. The name should be in
1686
- # the format of
1928
+ # The name of the FHIR store to export resource from, in the format of
1687
1929
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1688
1930
  # fhirStores/`fhir_store_id``.
1689
1931
  # @param [Google::Apis::HealthcareV1beta1::ExportResourcesRequest] export_resources_request_object
@@ -1759,6 +2001,9 @@ module Google
1759
2001
  # Requests for policies with any conditional bindings must specify version 3.
1760
2002
  # Policies without any conditional bindings may specify any valid value or
1761
2003
  # leave the field unset.
2004
+ # To learn which resources support conditions in their IAM policies, see the
2005
+ # [IAM
2006
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1762
2007
  # @param [String] fields
1763
2008
  # Selector specifying which fields to include in a partial response.
1764
2009
  # @param [String] quota_user
@@ -1794,8 +2039,8 @@ module Google
1794
2039
  # an empty FHIR store that is not being used by other clients. In cases
1795
2040
  # where this method is not appropriate, consider using ExecuteBundle to
1796
2041
  # load data.
1797
- # Every resource in the input must contain a client-supplied ID, and will be
1798
- # stored using that ID regardless of the
2042
+ # Every resource in the input must contain a client-supplied ID. Each
2043
+ # resource is stored using the supplied ID regardless of the
1799
2044
  # enable_update_create setting on the FHIR
1800
2045
  # store.
1801
2046
  # The import process does not enforce referential integrity, regardless of
@@ -1806,6 +2051,8 @@ module Google
1806
2051
  # if the input data contains invalid references or if some resources fail to
1807
2052
  # be imported, the FHIR store might be left in a state that violates
1808
2053
  # referential integrity.
2054
+ # The import process does not trigger Cloud Pub/Sub notification or BigQuery
2055
+ # streaming update, regardless of how those are configured on the FHIR store.
1809
2056
  # If a resource with the specified ID already exists, the most recent
1810
2057
  # version of the resource is overwritten without creating a new historical
1811
2058
  # version, regardless of the
@@ -1815,10 +2062,10 @@ module Google
1815
2062
  # more than once.
1816
2063
  # The import operation is idempotent unless the input data contains multiple
1817
2064
  # valid resources with the same ID but different contents. In that case,
1818
- # after the import completes, the store will contain exactly one resource
2065
+ # after the import completes, the store contains exactly one resource
1819
2066
  # with that ID but there is no ordering guarantee on which version of the
1820
2067
  # contents it will have. The operation result counters do not count
1821
- # duplicate IDs as an error and will count one success for each resource in
2068
+ # duplicate IDs as an error and count one success for each resource in
1822
2069
  # the input, which might result in a success count larger than the number
1823
2070
  # of resources in the FHIR store. This often occurs when importing data
1824
2071
  # organized in bundles produced by Patient-everything
@@ -1843,15 +2090,14 @@ module Google
1843
2090
  # GetOperation.
1844
2091
  # Immediate fatal errors appear in the
1845
2092
  # error field, errors are also logged
1846
- # to Stackdriver (see [Viewing
1847
- # logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
2093
+ # to Cloud Logging (see [Viewing
2094
+ # logs](/healthcare/docs/how-tos/logging)). Otherwise, when the
1848
2095
  # operation finishes, a detailed response of type ImportResourcesResponse
1849
2096
  # is returned in the response field.
1850
2097
  # The metadata field type for this
1851
2098
  # operation is OperationMetadata.
1852
2099
  # @param [String] name
1853
- # The name of the FHIR store to import FHIR resources to. The name should be
1854
- # in the format of
2100
+ # The name of the FHIR store to import FHIR resources to, in the format of
1855
2101
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1856
2102
  # fhirStores/`fhir_store_id``.
1857
2103
  # @param [Google::Apis::HealthcareV1beta1::ImportResourcesRequest] import_resources_request_object
@@ -1968,6 +2214,7 @@ module Google
1968
2214
 
1969
2215
  # Sets the access control policy on the specified resource. Replaces any
1970
2216
  # existing policy.
2217
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
1971
2218
  # @param [String] resource
1972
2219
  # REQUIRED: The resource for which the policy is being specified.
1973
2220
  # See the operation documentation for the appropriate value for this field.
@@ -2003,7 +2250,7 @@ module Google
2003
2250
 
2004
2251
  # Returns permissions that a caller has on the specified resource.
2005
2252
  # If the resource does not exist, this will return an empty set of
2006
- # permissions, not a NOT_FOUND error.
2253
+ # permissions, not a `NOT_FOUND` error.
2007
2254
  # Note: This operation is designed to be used for building permission-aware
2008
2255
  # UIs and command-line tools, not for authorization checking. This operation
2009
2256
  # may "fail open" without warning.
@@ -2040,20 +2287,148 @@ module Google
2040
2287
  execute_or_queue_command(command, &block)
2041
2288
  end
2042
2289
 
2290
+ # Translates a code from one value set to another by searching for
2291
+ # appropriate concept maps.
2292
+ # Implements the FHIR standard $translate operation
2293
+ # ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html),
2294
+ # [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html),
2295
+ # [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html)).
2296
+ # On success, the response body contains a JSON-encoded representation
2297
+ # of a FHIR Parameters resource, which includes the translation result.
2298
+ # Errors generated by the FHIR store contain a JSON-encoded
2299
+ # `OperationOutcome` resource describing the reason for the error. If the
2300
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
2301
+ # GCP error might be returned instead.
2302
+ # @param [String] parent
2303
+ # The name for the FHIR store containing the concept map(s) to use for the
2304
+ # translation.
2305
+ # @param [String] code
2306
+ # The code to translate.
2307
+ # @param [String] concept_map_version
2308
+ # The version of the concept map to use. If unset, the most current version
2309
+ # is used.
2310
+ # @param [String] source
2311
+ # The source value set of the concept map to be used. If unset, target is
2312
+ # used to search for concept maps.
2313
+ # @param [String] system
2314
+ # The system for the code to be translated.
2315
+ # @param [String] target
2316
+ # The target value set of the concept map to be used. If unset, source is
2317
+ # used to search for concept maps.
2318
+ # @param [String] url
2319
+ # The canonical url of the concept map to use. If unset, the source and
2320
+ # target is used to search for concept maps.
2321
+ # @param [String] fields
2322
+ # Selector specifying which fields to include in a partial response.
2323
+ # @param [String] quota_user
2324
+ # Available to use for quota purposes for server-side applications. Can be any
2325
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2326
+ # @param [Google::Apis::RequestOptions] options
2327
+ # Request-specific options
2328
+ #
2329
+ # @yield [result, err] Result & error if block supplied
2330
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
2331
+ # @yieldparam err [StandardError] error object if request failed
2332
+ #
2333
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
2334
+ #
2335
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2336
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2337
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2338
+ def concept_project_location_dataset_fhir_store_fhir_map_search_translate(parent, code: nil, concept_map_version: nil, source: nil, system: nil, target: nil, url: nil, fields: nil, quota_user: nil, options: nil, &block)
2339
+ command = make_simple_command(:get, 'v1beta1/{+parent}/fhir/ConceptMap/$translate', options)
2340
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
2341
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
2342
+ command.params['parent'] = parent unless parent.nil?
2343
+ command.query['code'] = code unless code.nil?
2344
+ command.query['conceptMapVersion'] = concept_map_version unless concept_map_version.nil?
2345
+ command.query['source'] = source unless source.nil?
2346
+ command.query['system'] = system unless system.nil?
2347
+ command.query['target'] = target unless target.nil?
2348
+ command.query['url'] = url unless url.nil?
2349
+ command.query['fields'] = fields unless fields.nil?
2350
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2351
+ execute_or_queue_command(command, &block)
2352
+ end
2353
+
2354
+ # Translates a code from one value set to another using a concept map.
2355
+ # Implements the FHIR standard $translate operation
2356
+ # ([DSTU2](https://www.hl7.org/fhir/DSTU2/operation-conceptmap-translate.html),
2357
+ # [STU3](https://www.hl7.org/fhir/STU3/operation-conceptmap-translate.html),
2358
+ # [R4](https://www.hl7.org/fhir/R4/operation-conceptmap-translate.html)).
2359
+ # On success, the response body contains a JSON-encoded representation
2360
+ # of a FHIR Parameters resource, which includes the translation result.
2361
+ # Errors generated by the FHIR store contain a JSON-encoded
2362
+ # `OperationOutcome` resource describing the reason for the error. If the
2363
+ # request cannot be mapped to a valid API method on a FHIR store, a generic
2364
+ # GCP error might be returned instead.
2365
+ # @param [String] name
2366
+ # The URL for the concept map to use for the translation.
2367
+ # @param [String] code
2368
+ # The code to translate.
2369
+ # @param [String] concept_map_version
2370
+ # The version of the concept map to use. If unset, the most current version
2371
+ # is used.
2372
+ # @param [String] system
2373
+ # The system for the code to be translated.
2374
+ # @param [String] fields
2375
+ # Selector specifying which fields to include in a partial response.
2376
+ # @param [String] quota_user
2377
+ # Available to use for quota purposes for server-side applications. Can be any
2378
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2379
+ # @param [Google::Apis::RequestOptions] options
2380
+ # Request-specific options
2381
+ #
2382
+ # @yield [result, err] Result & error if block supplied
2383
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::HttpBody] parsed result object
2384
+ # @yieldparam err [StandardError] error object if request failed
2385
+ #
2386
+ # @return [Google::Apis::HealthcareV1beta1::HttpBody]
2387
+ #
2388
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2389
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2390
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2391
+ def concept_project_location_dataset_fhir_store_fhir_map_translate(name, code: nil, concept_map_version: nil, system: nil, fields: nil, quota_user: nil, options: nil, &block)
2392
+ command = make_simple_command(:get, 'v1beta1/{+name}/$translate', options)
2393
+ command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
2394
+ command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
2395
+ command.params['name'] = name unless name.nil?
2396
+ command.query['code'] = code unless code.nil?
2397
+ command.query['conceptMapVersion'] = concept_map_version unless concept_map_version.nil?
2398
+ command.query['system'] = system unless system.nil?
2399
+ command.query['fields'] = fields unless fields.nil?
2400
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2401
+ execute_or_queue_command(command, &block)
2402
+ end
2403
+
2043
2404
  # Retrieves the N most recent `Observation` resources for a subject matching
2044
2405
  # search criteria specified as query parameters, grouped by
2045
2406
  # `Observation.code`, sorted from most recent to oldest.
2046
- # Implements the FHIR extended operation
2047
- # [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
2048
- # operations.html#lastn).
2407
+ # Implements the FHIR extended operation Observation-lastn
2408
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/observation-operations.
2409
+ # html#lastn),
2410
+ # [R4](https://hl7.org/implement/standards/fhir/R4/observation-operations.html#
2411
+ # lastn)).
2412
+ # DSTU2 doesn't define the Observation-lastn method, but the server supports
2413
+ # it the same way it supports STU3.
2049
2414
  # Search terms are provided as query parameters following the same pattern as
2050
- # the search method. This operation accepts an additional
2051
- # query parameter `max`, which specifies N, the maximum number of
2052
- # Observations to return from each group, with a default of 1.
2053
- # On success, the response body will contain a JSON-encoded representation
2415
+ # the search method. The following search parameters must
2416
+ # be provided:
2417
+ # - `subject` or `patient` to specify a subject for the Observation.
2418
+ # - `code`, `category` or any of the composite parameters that include
2419
+ # `code`.
2420
+ # Any other valid Observation search parameters can also be provided. This
2421
+ # operation accepts an additional query parameter `max`, which specifies N,
2422
+ # the maximum number of Observations to return from each group, with a
2423
+ # default of 1.
2424
+ # Searches with over 1000 results are rejected. Results are counted before
2425
+ # grouping and limiting the results with `max`. To stay within the limit,
2426
+ # constrain these searches using Observation search parameters such as
2427
+ # `_lastUpdated` or `date`.
2428
+ # On success, the response body contains a JSON-encoded representation
2054
2429
  # of a `Bundle` resource of type `searchset`, containing the results of the
2055
2430
  # operation.
2056
- # Errors generated by the FHIR store will contain a JSON-encoded
2431
+ # Errors generated by the FHIR store contain a JSON-encoded
2057
2432
  # `OperationOutcome` resource describing the reason for the error. If the
2058
2433
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2059
2434
  # GCP error might be returned instead.
@@ -2086,32 +2461,45 @@ module Google
2086
2461
  execute_or_queue_command(command, &block)
2087
2462
  end
2088
2463
 
2089
- # Retrieves all the resources directly referenced by a patient, as well as
2090
- # all of the resources in the patient compartment.
2091
- # Implements the FHIR extended operation
2092
- # [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-
2093
- # operations.html#everything).
2094
- # On success, the response body will contain a JSON-encoded representation
2464
+ # Retrieves a Patient resource and resources related to that patient.
2465
+ # Implements the FHIR extended operation Patient-everything
2466
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/patient-operations.
2467
+ # html#everything),
2468
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/patient-operations.html#
2469
+ # everything),
2470
+ # [R4](https://hl7.org/implement/standards/fhir/R4/patient-operations.html#
2471
+ # everything)).
2472
+ # On success, the response body contains a JSON-encoded representation
2095
2473
  # of a `Bundle` resource of type `searchset`, containing the results of the
2096
2474
  # operation.
2097
- # Errors generated by the FHIR store will contain a JSON-encoded
2475
+ # Errors generated by the FHIR store contain a JSON-encoded
2098
2476
  # `OperationOutcome` resource describing the reason for the error. If the
2099
2477
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2100
2478
  # GCP error might be returned instead.
2479
+ # The resources in scope for the response are:
2480
+ # * The patient resource itself.
2481
+ # * All the resources directly referenced by the patient resource.
2482
+ # * Resources directly referencing the patient resource that meet the
2483
+ # inclusion criteria. The inclusion criteria are based on the membership
2484
+ # rules in the patient compartment definition
2485
+ # ([DSTU2](https://hl7.org/fhir/DSTU2/compartment-patient.html),
2486
+ # [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html),
2487
+ # [R4](https://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which
2488
+ # details the eligible resource types and referencing search parameters.
2101
2489
  # @param [String] name
2102
2490
  # Name of the `Patient` resource for which the information is required.
2103
2491
  # @param [Fixnum] _count
2104
2492
  # Maximum number of resources in a page. Defaults to 100.
2105
- # @param [String] end_
2106
- # The response includes records prior to the end date. If no end date is
2107
- # provided, all records subsequent to the start date are in scope.
2108
- # @param [String] page_token
2493
+ # @param [String] _page_token
2109
2494
  # Used to retrieve the next or previous page of results
2110
- # when using pagination. Value should be set to the value of page_token set
2111
- # in next or previous page links' urls. Next and previous page are returned
2495
+ # when using pagination. Value should be set to the value of `page_token` set
2496
+ # in next or previous page links' URLs. Next and previous page are returned
2112
2497
  # in the response bundle's links field, where `link.relation` is "previous"
2113
2498
  # or "next".
2114
2499
  # Omit `page_token` if no previous request has been made.
2500
+ # @param [String] end_
2501
+ # The response includes records prior to the end date. If no end date is
2502
+ # provided, all records subsequent to the start date are in scope.
2115
2503
  # @param [String] start
2116
2504
  # The response includes records subsequent to the start date. If no start
2117
2505
  # date is provided, all records prior to the end date are in scope.
@@ -2132,14 +2520,14 @@ module Google
2132
2520
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2133
2521
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2134
2522
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2135
- def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, end_: nil, page_token: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
2523
+ def patient_project_location_dataset_fhir_store_fhir_everything(name, _count: nil, _page_token: nil, end_: nil, start: nil, fields: nil, quota_user: nil, options: nil, &block)
2136
2524
  command = make_simple_command(:get, 'v1beta1/{+name}/$everything', options)
2137
2525
  command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
2138
2526
  command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
2139
2527
  command.params['name'] = name unless name.nil?
2140
2528
  command.query['_count'] = _count unless _count.nil?
2529
+ command.query['_page_token'] = _page_token unless _page_token.nil?
2141
2530
  command.query['end'] = end_ unless end_.nil?
2142
- command.query['pageToken'] = page_token unless page_token.nil?
2143
2531
  command.query['start'] = start unless start.nil?
2144
2532
  command.query['fields'] = fields unless fields.nil?
2145
2533
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -2179,15 +2567,22 @@ module Google
2179
2567
  execute_or_queue_command(command, &block)
2180
2568
  end
2181
2569
 
2182
- # Gets the FHIR [capability
2183
- # statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
2184
- # html)
2185
- # for the store, which contains a description of functionality supported by
2186
- # the server.
2187
- # Implements the FHIR standard [capabilities
2188
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2189
- # capabilities).
2190
- # On success, the response body will contain a JSON-encoded representation
2570
+ # Gets the FHIR capability statement
2571
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html)
2572
+ # ,
2573
+ # [R4](https://hl7.org/implement/standards/fhir/R4/capabilitystatement.html)),
2574
+ # or the [conformance
2575
+ # statement](https://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
2576
+ # in the DSTU2 case for the store, which contains a description of
2577
+ # functionality supported by the server.
2578
+ # Implements the FHIR standard capabilities interaction
2579
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#capabilities),
2580
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#capabilities)),
2581
+ # or the [conformance
2582
+ # interaction](https://hl7.org/implement/standards/fhir/DSTU2/http.html#
2583
+ # conformance)
2584
+ # in the DSTU2 case.
2585
+ # On success, the response body contains a JSON-encoded representation
2191
2586
  # of a `CapabilityStatement` resource.
2192
2587
  # @param [String] name
2193
2588
  # Name of the FHIR store to retrieve the capabilities for.
@@ -2219,24 +2614,29 @@ module Google
2219
2614
  end
2220
2615
 
2221
2616
  # Deletes FHIR resources that match a search query.
2222
- # Implements the FHIR standard [conditional delete
2223
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.
2224
- # 1).
2225
- # If multiple resources match, all of them will be deleted.
2617
+ # Implements the FHIR standard conditional delete interaction
2618
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.12.1),
2619
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.1),
2620
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#3.1.0.7.1)).
2621
+ # If multiple resources match, all matching resources are deleted.
2226
2622
  # Search terms are provided as query parameters following the same pattern as
2227
2623
  # the search method.
2228
2624
  # Note: Unless resource versioning is disabled by setting the
2229
2625
  # disable_resource_versioning flag
2230
- # on the FHIR store, the deleted resources will be moved to a history
2626
+ # on the FHIR store, the deleted resources are moved to a history
2231
2627
  # repository that can still be retrieved through vread
2232
2628
  # and related methods, unless they are removed by the
2233
2629
  # purge method.
2630
+ # This method requires the`healthcare.fhirStores.searchResources` and
2631
+ # `healthcare.fhirResources.delete` permissions on the parent FHIR store.
2234
2632
  # @param [String] parent
2235
2633
  # The name of the FHIR store this resource belongs to.
2236
2634
  # @param [String] type
2237
2635
  # The FHIR resource type to delete, such as Patient or Observation. For a
2238
- # complete list, see the [FHIR Resource
2239
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2636
+ # complete list, see the FHIR Resource Index
2637
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2638
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
2639
+ # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
2240
2640
  # @param [String] fields
2241
2641
  # Selector specifying which fields to include in a partial response.
2242
2642
  # @param [String] quota_user
@@ -2268,26 +2668,34 @@ module Google
2268
2668
  # If a resource is found based on the search criteria specified in the query
2269
2669
  # parameters, updates part of that resource by applying the operations
2270
2670
  # specified in a [JSON Patch](http://jsonpatch.com/) document.
2271
- # Implements the FHIR standard [conditional patch
2272
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
2671
+ # Implements the FHIR standard conditional patch interaction
2672
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#patch),
2673
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#patch)).
2674
+ # DSTU2 doesn't define a conditional patch method, but the server supports it
2675
+ # in the same way it supports STU3.
2273
2676
  # Search terms are provided as query parameters following the same pattern as
2274
2677
  # the search method.
2275
- # If the search criteria identify more than one match, the request will
2276
- # return a `412 Precondition Failed` error.
2678
+ # If the search criteria identify more than one match, the request
2679
+ # returns a `412 Precondition Failed` error.
2277
2680
  # The request body must contain a JSON Patch document, and the request
2278
2681
  # headers must contain `Content-Type: application/json-patch+json`.
2279
- # On success, the response body will contain a JSON-encoded representation
2682
+ # On success, the response body contains a JSON-encoded representation
2280
2683
  # of the updated resource, including the server-assigned version ID.
2281
- # Errors generated by the FHIR store will contain a JSON-encoded
2684
+ # Errors generated by the FHIR store contain a JSON-encoded
2282
2685
  # `OperationOutcome` resource describing the reason for the error. If the
2283
2686
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2284
2687
  # GCP error might be returned instead.
2688
+ # This method requires the`healthcare.fhirStores.searchResources` permission
2689
+ # on the parent FHIR store and the `healthcare.fhirResources.patch`
2690
+ # permission on the requested FHIR store resource.
2285
2691
  # @param [String] parent
2286
2692
  # The name of the FHIR store this resource belongs to.
2287
2693
  # @param [String] type
2288
2694
  # The FHIR resource type to update, such as Patient or Observation. For a
2289
- # complete list, see the [FHIR Resource
2290
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2695
+ # complete list, see the FHIR Resource Index
2696
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2697
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
2698
+ # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
2291
2699
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2292
2700
  # @param [String] fields
2293
2701
  # Selector specifying which fields to include in a partial response.
@@ -2321,34 +2729,39 @@ module Google
2321
2729
 
2322
2730
  # If a resource is found based on the search criteria specified in the query
2323
2731
  # parameters, updates the entire contents of that resource.
2324
- # Implements the FHIR standard [conditional update
2325
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-
2326
- # update).
2732
+ # Implements the FHIR standard conditional update interaction
2733
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.10.2),
2734
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#cond-update),
2735
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#cond-update)).
2327
2736
  # Search terms are provided as query parameters following the same pattern as
2328
2737
  # the search method.
2329
- # If the search criteria identify more than one match, the request will
2330
- # return a `412 Precondition Failed` error.
2738
+ # If the search criteria identify more than one match, the request
2739
+ # returns a `412 Precondition Failed` error.
2331
2740
  # If the search criteria identify zero matches, and the supplied resource
2332
2741
  # body contains an `id`, and the FHIR store has
2333
2742
  # enable_update_create set, creates the
2334
2743
  # resource with the client-specified ID. If the search criteria identify zero
2335
2744
  # matches, and the supplied resource body does not contain an `id`, the
2336
- # resource will be created with a server-assigned ID as per the
2745
+ # resource is created with a server-assigned ID as per the
2337
2746
  # create method.
2338
2747
  # The request body must contain a JSON-encoded FHIR resource, and the request
2339
2748
  # headers must contain `Content-Type: application/fhir+json`.
2340
- # On success, the response body will contain a JSON-encoded representation
2749
+ # On success, the response body contains a JSON-encoded representation
2341
2750
  # of the updated resource, including the server-assigned version ID.
2342
- # Errors generated by the FHIR store will contain a JSON-encoded
2751
+ # Errors generated by the FHIR store contain a JSON-encoded
2343
2752
  # `OperationOutcome` resource describing the reason for the error. If the
2344
2753
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2345
2754
  # GCP error might be returned instead.
2755
+ # This method requires the`healthcare.fhirStores.searchResources` and
2756
+ # `healthcare.fhirResources.update` permissions on the parent FHIR store.
2346
2757
  # @param [String] parent
2347
2758
  # The name of the FHIR store this resource belongs to.
2348
2759
  # @param [String] type
2349
2760
  # The FHIR resource type to update, such as Patient or Observation. For a
2350
- # complete list, see the [FHIR Resource
2351
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2761
+ # complete list, see the FHIR Resource Index
2762
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2763
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
2764
+ # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
2352
2765
  # Must match the resource type in the provided content.
2353
2766
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2354
2767
  # @param [String] fields
@@ -2382,20 +2795,24 @@ module Google
2382
2795
  end
2383
2796
 
2384
2797
  # Creates a FHIR resource.
2385
- # Implements the FHIR standard [create
2386
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
2798
+ # Implements the FHIR standard create interaction
2799
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#create),
2800
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#create),
2801
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#create)),
2387
2802
  # which creates a new resource with a server-assigned resource ID.
2388
- # Also supports the FHIR standard [conditional create
2389
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
2803
+ # Also supports the FHIR standard conditional create interaction
2804
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate),
2805
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
2806
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#ccreate)),
2390
2807
  # specified by supplying an `If-None-Exist` header containing a FHIR search
2391
2808
  # query. If no resources match this search query, the server processes the
2392
2809
  # create operation as normal.
2393
2810
  # The request body must contain a JSON-encoded FHIR resource, and the request
2394
2811
  # headers must contain `Content-Type: application/fhir+json`.
2395
- # On success, the response body will contain a JSON-encoded representation
2812
+ # On success, the response body contains a JSON-encoded representation
2396
2813
  # of the resource as it was created on the server, including the
2397
2814
  # server-assigned resource ID and version ID.
2398
- # Errors generated by the FHIR store will contain a JSON-encoded
2815
+ # Errors generated by the FHIR store contain a JSON-encoded
2399
2816
  # `OperationOutcome` resource describing the reason for the error. If the
2400
2817
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2401
2818
  # GCP error might be returned instead.
@@ -2403,8 +2820,10 @@ module Google
2403
2820
  # The name of the FHIR store this resource belongs to.
2404
2821
  # @param [String] type
2405
2822
  # The FHIR resource type to create, such as Patient or Observation. For a
2406
- # complete list, see the [FHIR Resource
2407
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2823
+ # complete list, see the FHIR Resource Index
2824
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2825
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
2826
+ # [R4](https://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
2408
2827
  # Must match the resource type in the provided content.
2409
2828
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
2410
2829
  # @param [String] fields
@@ -2438,11 +2857,13 @@ module Google
2438
2857
  end
2439
2858
 
2440
2859
  # Deletes a FHIR resource.
2441
- # Implements the FHIR standard [delete
2442
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#delete).
2860
+ # Implements the FHIR standard delete interaction
2861
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#delete),
2862
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#delete),
2863
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#delete)).
2443
2864
  # Note: Unless resource versioning is disabled by setting the
2444
2865
  # disable_resource_versioning flag
2445
- # on the FHIR store, the deleted resources will be moved to a history
2866
+ # on the FHIR store, the deleted resources are moved to a history
2446
2867
  # repository that can still be retrieved through vread
2447
2868
  # and related methods, unless they are removed by the
2448
2869
  # purge method.
@@ -2476,25 +2897,36 @@ module Google
2476
2897
  end
2477
2898
 
2478
2899
  # Executes all the requests in the given Bundle.
2479
- # Implements the FHIR standard [batch/transaction
2480
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2481
- # transaction).
2900
+ # Implements the FHIR standard batch/transaction interaction
2901
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction),
2902
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#transaction),
2903
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#transaction)).
2482
2904
  # Supports all interactions within a bundle, except search. This method
2483
2905
  # accepts Bundles of type `batch` and `transaction`, processing them
2484
- # according to the [batch processing
2485
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1)
2486
- # and [transaction processing
2487
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2).
2906
+ # according to the batch processing rules
2907
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1),
2908
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1),
2909
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#brules))
2910
+ # and transaction processing rules
2911
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2),
2912
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2),
2913
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#trules)).
2488
2914
  # The request body must contain a JSON-encoded FHIR `Bundle` resource, and
2489
2915
  # the request headers must contain `Content-Type: application/fhir+json`.
2490
- # For a batch bundle or a successful transaction the response body will
2491
- # contain a JSON-encoded representation of a `Bundle` resource of type
2916
+ # For a batch bundle or a successful transaction the response body
2917
+ # contains a JSON-encoded representation of a `Bundle` resource of type
2492
2918
  # `batch-response` or `transaction-response` containing one entry for each
2493
2919
  # entry in the request, with the outcome of processing the entry. In the
2494
- # case of an error for a transaction bundle, the response body will contain
2920
+ # case of an error for a transaction bundle, the response body contains
2495
2921
  # a JSON-encoded `OperationOutcome` resource describing the reason for the
2496
2922
  # error. If the request cannot be mapped to a valid API method on a FHIR
2497
2923
  # store, a generic GCP error might be returned instead.
2924
+ # This method requires permission for executing the requests in the bundle.
2925
+ # The `executeBundle` permission grants permission to execute the request in
2926
+ # the bundle but you must grant sufficient permissions to execute the
2927
+ # individual requests in the bundle. For example, if the bundle contains a
2928
+ # `create` request, you must have permission to execute the `create` request.
2929
+ # Logging is available for the `executeBundle` permission.
2498
2930
  # @param [String] parent
2499
2931
  # Name of the FHIR store in which this bundle will be executed.
2500
2932
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
@@ -2529,20 +2961,20 @@ module Google
2529
2961
 
2530
2962
  # Lists all the versions of a resource (including the current version and
2531
2963
  # deleted versions) from the FHIR store.
2532
- # Implements the per-resource form of the FHIR standard [history
2533
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#history).
2534
- # On success, the response body will contain a JSON-encoded representation
2964
+ # Implements the per-resource form of the FHIR standard history interaction
2965
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#history),
2966
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#history),
2967
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#history)).
2968
+ # On success, the response body contains a JSON-encoded representation
2535
2969
  # of a `Bundle` resource of type `history`, containing the version history
2536
2970
  # sorted from most recent to oldest versions.
2537
- # Errors generated by the FHIR store will contain a JSON-encoded
2971
+ # Errors generated by the FHIR store contain a JSON-encoded
2538
2972
  # `OperationOutcome` resource describing the reason for the error. If the
2539
2973
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2540
2974
  # GCP error might be returned instead.
2541
2975
  # @param [String] name
2542
2976
  # The name of the resource to retrieve.
2543
- # @param [String] _page_token
2544
- # Same as `page`. Please use either `page` or `_page_token`.
2545
- # @param [String] at
2977
+ # @param [String] _at
2546
2978
  # Only include resource versions that were current at some point during the
2547
2979
  # time period specified in the date time value. The date parameter format is
2548
2980
  # yyyy-mm-ddThh:mm:ss[Z|(+|-)hh:mm]
@@ -2551,16 +2983,16 @@ module Google
2551
2983
  # * An entire month: `_at=2019-01`
2552
2984
  # * A specific day: `_at=2019-01-20`
2553
2985
  # * A specific second: `_at=2018-12-31T23:59:58Z`
2554
- # @param [Fixnum] count
2986
+ # @param [Fixnum] _count
2555
2987
  # The maximum number of search results on a page. Defaults to 1000.
2556
- # @param [String] page
2988
+ # @param [String] _page_token
2557
2989
  # Used to retrieve the first, previous, next, or last page of resource
2558
2990
  # versions when using pagination. Value should be set to the value of
2559
- # `page` set in next or previous page links' URLs. Next and previous
2991
+ # `_page_token` set in next or previous page links' URLs. Next and previous
2560
2992
  # page are returned in the response bundle's links field, where
2561
2993
  # `link.relation` is "previous" or "next".
2562
- # Omit `page` if no previous request has been made.
2563
- # @param [String] since
2994
+ # Omit `_page_token` if no previous request has been made.
2995
+ # @param [String] _since
2564
2996
  # Only include resource versions that were created at or after the given
2565
2997
  # instant in time. The instant in time uses the format
2566
2998
  # YYYY-MM-DDThh:mm:ss.sss+zz:zz (for example 2015-02-07T13:28:17.239+02:00 or
@@ -2583,16 +3015,15 @@ module Google
2583
3015
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2584
3016
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2585
3017
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2586
- def history_project_location_dataset_fhir_store_fhir(name, _page_token: nil, at: nil, count: nil, page: nil, since: nil, fields: nil, quota_user: nil, options: nil, &block)
3018
+ def history_project_location_dataset_fhir_store_fhir(name, _at: nil, _count: nil, _page_token: nil, _since: nil, fields: nil, quota_user: nil, options: nil, &block)
2587
3019
  command = make_simple_command(:get, 'v1beta1/{+name}/_history', options)
2588
3020
  command.response_representation = Google::Apis::HealthcareV1beta1::HttpBody::Representation
2589
3021
  command.response_class = Google::Apis::HealthcareV1beta1::HttpBody
2590
3022
  command.params['name'] = name unless name.nil?
3023
+ command.query['_at'] = _at unless _at.nil?
3024
+ command.query['_count'] = _count unless _count.nil?
2591
3025
  command.query['_page_token'] = _page_token unless _page_token.nil?
2592
- command.query['at'] = at unless at.nil?
2593
- command.query['count'] = count unless count.nil?
2594
- command.query['page'] = page unless page.nil?
2595
- command.query['since'] = since unless since.nil?
3026
+ command.query['_since'] = _since unless _since.nil?
2596
3027
  command.query['fields'] = fields unless fields.nil?
2597
3028
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2598
3029
  execute_or_queue_command(command, &block)
@@ -2600,13 +3031,16 @@ module Google
2600
3031
 
2601
3032
  # Updates part of an existing resource by applying the operations specified
2602
3033
  # in a [JSON Patch](http://jsonpatch.com/) document.
2603
- # Implements the FHIR standard [patch
2604
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
3034
+ # Implements the FHIR standard patch interaction
3035
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#patch),
3036
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#patch)).
3037
+ # DSTU2 doesn't define a patch method, but the server supports it in the same
3038
+ # way it supports STU3.
2605
3039
  # The request body must contain a JSON Patch document, and the request
2606
3040
  # headers must contain `Content-Type: application/json-patch+json`.
2607
- # On success, the response body will contain a JSON-encoded representation
3041
+ # On success, the response body contains a JSON-encoded representation
2608
3042
  # of the updated resource, including the server-assigned version ID.
2609
- # Errors generated by the FHIR store will contain a JSON-encoded
3043
+ # Errors generated by the FHIR store contain a JSON-encoded
2610
3044
  # `OperationOutcome` resource describing the reason for the error. If the
2611
3045
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2612
3046
  # GCP error might be returned instead.
@@ -2643,15 +3077,19 @@ module Google
2643
3077
  end
2644
3078
 
2645
3079
  # Gets the contents of a FHIR resource.
2646
- # Implements the FHIR standard [read
2647
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#read).
2648
- # Also supports the FHIR standard [conditional read
2649
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cread)
3080
+ # Implements the FHIR standard read interaction
3081
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#read),
3082
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#read),
3083
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#read)).
3084
+ # Also supports the FHIR standard conditional read interaction
3085
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#cread),
3086
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#cread),
3087
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#cread))
2650
3088
  # specified by supplying an `If-Modified-Since` header with a date/time value
2651
3089
  # or an `If-None-Match` header with an ETag value.
2652
- # On success, the response body will contain a JSON-encoded representation
3090
+ # On success, the response body contains a JSON-encoded representation
2653
3091
  # of the resource.
2654
- # Errors generated by the FHIR store will contain a JSON-encoded
3092
+ # Errors generated by the FHIR store contain a JSON-encoded
2655
3093
  # `OperationOutcome` resource describing the reason for the error. If the
2656
3094
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2657
3095
  # GCP error might be returned instead.
@@ -2686,10 +3124,14 @@ module Google
2686
3124
 
2687
3125
  # Searches for resources in the given FHIR store according to criteria
2688
3126
  # specified as query parameters.
2689
- # Implements the FHIR standard [search
2690
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#search)
2691
- # using the search semantics described in the [FHIR Search
2692
- # specification](http://hl7.org/implement/standards/fhir/STU3/search.html).
3127
+ # Implements the FHIR standard search interaction
3128
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
3129
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#search),
3130
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#search))
3131
+ # using the search semantics described in the FHIR Search specification
3132
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/search.html),
3133
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/search.html),
3134
+ # [R4](https://hl7.org/implement/standards/fhir/R4/search.html)).
2693
3135
  # Supports three methods of search defined by the specification:
2694
3136
  # * `GET [base]?[parameters]` to search across all resources.
2695
3137
  # * `GET [base]/[type]?[parameters]` to search resources of a specified
@@ -2698,26 +3140,31 @@ module Google
2698
3140
  # the same semantics as the `GET` method.
2699
3141
  # The `GET` methods do not support compartment searches. The `POST` method
2700
3142
  # does not support `application/x-www-form-urlencoded` search parameters.
2701
- # On success, the response body will contain a JSON-encoded representation
3143
+ # On success, the response body contains a JSON-encoded representation
2702
3144
  # of a `Bundle` resource of type `searchset`, containing the results of the
2703
3145
  # search.
2704
- # Errors generated by the FHIR store will contain a JSON-encoded
3146
+ # Errors generated by the FHIR store contain a JSON-encoded
2705
3147
  # `OperationOutcome` resource describing the reason for the error. If the
2706
3148
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2707
3149
  # GCP error might be returned instead.
2708
3150
  # The server's capability statement, retrieved through
2709
3151
  # capabilities, indicates what search parameters
2710
3152
  # are supported on each FHIR resource. A list of all search parameters
2711
- # defined by the specification can be found in the [FHIR Search Parameter
2712
- # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
2713
- # registry.html).
3153
+ # defined by the specification can be found in the FHIR Search Parameter
3154
+ # Registry
3155
+ # ([STU3](https://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
3156
+ # html),
3157
+ # [R4](https://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html)
3158
+ # ).
3159
+ # FHIR search parameters for DSTU2 can be found on each resource's definition
3160
+ # page.
2714
3161
  # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
2715
3162
  # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
2716
3163
  # Supported search result parameters: `_sort`, `_count`, `_include`,
2717
3164
  # `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
2718
3165
  # The maximum number of search results returned defaults to 100, which can
2719
3166
  # be overridden by the `_count` parameter up to a maximum limit of 1000. If
2720
- # there are additional results, the returned `Bundle` will contain
3167
+ # there are additional results, the returned `Bundle` contains
2721
3168
  # pagination links.
2722
3169
  # Resources with a total size larger than 5MB or a field count larger than
2723
3170
  # 50,000 might not be fully searchable as the server might trim its generated
@@ -2758,8 +3205,10 @@ module Google
2758
3205
  end
2759
3206
 
2760
3207
  # Updates the entire contents of a resource.
2761
- # Implements the FHIR standard [update
2762
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update).
3208
+ # Implements the FHIR standard update interaction
3209
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
3210
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#update),
3211
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#update)).
2763
3212
  # If the specified resource does
2764
3213
  # not exist and the FHIR store has
2765
3214
  # enable_update_create set, creates the
@@ -2768,9 +3217,9 @@ module Google
2768
3217
  # headers must contain `Content-Type: application/fhir+json`. The resource
2769
3218
  # must contain an `id` element having an identical value to the ID in the
2770
3219
  # REST path of the request.
2771
- # On success, the response body will contain a JSON-encoded representation
3220
+ # On success, the response body contains a JSON-encoded representation
2772
3221
  # of the updated resource, including the server-assigned version ID.
2773
- # Errors generated by the FHIR store will contain a JSON-encoded
3222
+ # Errors generated by the FHIR store contain a JSON-encoded
2774
3223
  # `OperationOutcome` resource describing the reason for the error. If the
2775
3224
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2776
3225
  # GCP error might be returned instead.
@@ -2808,11 +3257,13 @@ module Google
2808
3257
 
2809
3258
  # Gets the contents of a version (current or historical) of a FHIR resource
2810
3259
  # by version ID.
2811
- # Implements the FHIR standard [vread
2812
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
2813
- # On success, the response body will contain a JSON-encoded representation
3260
+ # Implements the FHIR standard vread interaction
3261
+ # ([DSTU2](https://hl7.org/implement/standards/fhir/DSTU2/http.html#vread),
3262
+ # [STU3](https://hl7.org/implement/standards/fhir/STU3/http.html#vread),
3263
+ # [R4](https://hl7.org/implement/standards/fhir/R4/http.html#vread)).
3264
+ # On success, the response body contains a JSON-encoded representation
2814
3265
  # of the resource.
2815
- # Errors generated by the FHIR store will contain a JSON-encoded
3266
+ # Errors generated by the FHIR store contain a JSON-encoded
2816
3267
  # `OperationOutcome` resource describing the reason for the error. If the
2817
3268
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2818
3269
  # GCP error might be returned instead.
@@ -2882,8 +3333,8 @@ module Google
2882
3333
  execute_or_queue_command(command, &block)
2883
3334
  end
2884
3335
 
2885
- # Deletes the specified HL7v2 store and removes all messages that are
2886
- # contained within it.
3336
+ # Deletes the specified HL7v2 store and removes all messages that it
3337
+ # contains.
2887
3338
  # @param [String] name
2888
3339
  # The resource name of the HL7v2 store to delete.
2889
3340
  # @param [String] fields
@@ -2956,6 +3407,9 @@ module Google
2956
3407
  # Requests for policies with any conditional bindings must specify version 3.
2957
3408
  # Policies without any conditional bindings may specify any valid value or
2958
3409
  # leave the field unset.
3410
+ # To learn which resources support conditions in their IAM policies, see the
3411
+ # [IAM
3412
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2959
3413
  # @param [String] fields
2960
3414
  # Selector specifying which fields to include in a partial response.
2961
3415
  # @param [String] quota_user
@@ -3068,6 +3522,7 @@ module Google
3068
3522
 
3069
3523
  # Sets the access control policy on the specified resource. Replaces any
3070
3524
  # existing policy.
3525
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3071
3526
  # @param [String] resource
3072
3527
  # REQUIRED: The resource for which the policy is being specified.
3073
3528
  # See the operation documentation for the appropriate value for this field.
@@ -3103,7 +3558,7 @@ module Google
3103
3558
 
3104
3559
  # Returns permissions that a caller has on the specified resource.
3105
3560
  # If the resource does not exist, this will return an empty set of
3106
- # permissions, not a NOT_FOUND error.
3561
+ # permissions, not a `NOT_FOUND` error.
3107
3562
  # Note: This operation is designed to be used for building permission-aware
3108
3563
  # UIs and command-line tools, not for authorization checking. This operation
3109
3564
  # may "fail open" without warning.
@@ -3213,6 +3668,7 @@ module Google
3213
3668
  # The resource name of the HL7v2 message to retrieve.
3214
3669
  # @param [String] view
3215
3670
  # Specifies which parts of the Message resource to return in the response.
3671
+ # When unspecified, equivalent to FULL.
3216
3672
  # @param [String] fields
3217
3673
  # Selector specifying which fields to include in a partial response.
3218
3674
  # @param [String] quota_user
@@ -3243,9 +3699,7 @@ module Google
3243
3699
 
3244
3700
  # Ingests a new HL7v2 message from the hospital and sends a notification to
3245
3701
  # the Cloud Pub/Sub topic. Return is an HL7v2 ACK message if the message was
3246
- # successfully stored. Otherwise an error is returned. If an identical
3247
- # HL7v2 message is created twice only one resource is created on the server
3248
- # and no error is reported.
3702
+ # successfully stored. Otherwise an error is returned.
3249
3703
  # @param [String] parent
3250
3704
  # The name of the HL7v2 store this message belongs to.
3251
3705
  # @param [Google::Apis::HealthcareV1beta1::IngestMessageRequest] ingest_message_request_object
@@ -3287,8 +3741,8 @@ module Google
3287
3741
  # @param [String] filter
3288
3742
  # Restricts messages returned to those matching a filter. Syntax:
3289
3743
  # https://cloud.google.com/appengine/docs/standard/python/search/query_strings
3290
- # Fields/functions available for filtering are:
3291
- # * `message_type`, from the MSH-9 segment. For example,
3744
+ # The following fields and functions are available for filtering:
3745
+ # * `message_type`, from the MSH-9.1 field. For example,
3292
3746
  # `NOT message_type = "ADT"`.
3293
3747
  # * `send_date` or `sendDate`, the YYYY-MM-DD date the message was sent in
3294
3748
  # the dataset's time_zone, from the MSH-7 segment. For example,
@@ -3298,10 +3752,6 @@ module Google
3298
3752
  # `send_time < "2017-01-02T00:00:00-05:00"`.
3299
3753
  # * `send_facility`, the care center that the message came from, from the
3300
3754
  # MSH-4 segment. For example, `send_facility = "ABC"`.
3301
- # * `HL7RegExp(expr)`, which does regular expression matching of `expr`
3302
- # against the message payload using RE2 syntax
3303
- # (https://github.com/google/re2/wiki/Syntax). For example,
3304
- # `HL7RegExp("^.*\|.*\|EMERG")`.
3305
3755
  # * `PatientId(value, type)`, which matches if the message lists a patient
3306
3756
  # having an ID of the given value and type in the PID-2, PID-3, or PID-4
3307
3757
  # segments. For example, `PatientId("123456", "MRN")`.
@@ -3309,19 +3759,6 @@ module Google
3309
3759
  # Message.labels
3310
3760
  # map. For example, `labels."priority"="high"`. The operator `:*` can be used
3311
3761
  # to assert the existence of a label. For example, `labels."priority":*`.
3312
- # Limitations on conjunctions:
3313
- # * Negation on the patient ID function or the labels field is not
3314
- # supported. For example, these queries are invalid:
3315
- # `NOT PatientId("123456", "MRN")`, `NOT labels."tag1":*`,
3316
- # `NOT labels."tag2"="val2"`.
3317
- # * Conjunction of multiple patient ID functions is not supported, for
3318
- # example this query is invalid:
3319
- # `PatientId("123456", "MRN") AND PatientId("456789", "MRN")`.
3320
- # * Conjunction of multiple labels fields is also not supported, for
3321
- # example this query is invalid: `labels."tag1":* AND labels."tag2"="val2"`.
3322
- # * Conjunction of one patient ID function, one labels field and conditions
3323
- # on other fields is supported. For example, this query is valid:
3324
- # `PatientId("123456", "MRN") AND labels."tag1":* AND message_type = "ADT"`.
3325
3762
  # @param [String] order_by
3326
3763
  # Orders messages returned by the specified order_by clause.
3327
3764
  # Syntax: https://cloud.google.com/apis/design/design_patterns#sorting_order
@@ -3332,6 +3769,11 @@ module Google
3332
3769
  # If zero the default page size of 100 is used.
3333
3770
  # @param [String] page_token
3334
3771
  # The next_page_token value returned from the previous List request, if any.
3772
+ # @param [String] view
3773
+ # Specifies the parts of the Message to return in the response.
3774
+ # When unspecified, equivalent to BASIC. Setting this to anything other than
3775
+ # BASIC with a `page_size` larger than the default can generate a large
3776
+ # response, which impacts the performance of this method.
3335
3777
  # @param [String] fields
3336
3778
  # Selector specifying which fields to include in a partial response.
3337
3779
  # @param [String] quota_user
@@ -3349,7 +3791,7 @@ module Google
3349
3791
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3350
3792
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3351
3793
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3352
- def list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3794
+ def list_project_location_dataset_hl7_v2_store_messages(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
3353
3795
  command = make_simple_command(:get, 'v1beta1/{+parent}/messages', options)
3354
3796
  command.response_representation = Google::Apis::HealthcareV1beta1::ListMessagesResponse::Representation
3355
3797
  command.response_class = Google::Apis::HealthcareV1beta1::ListMessagesResponse
@@ -3358,12 +3800,18 @@ module Google
3358
3800
  command.query['orderBy'] = order_by unless order_by.nil?
3359
3801
  command.query['pageSize'] = page_size unless page_size.nil?
3360
3802
  command.query['pageToken'] = page_token unless page_token.nil?
3803
+ command.query['view'] = view unless view.nil?
3361
3804
  command.query['fields'] = fields unless fields.nil?
3362
3805
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3363
3806
  execute_or_queue_command(command, &block)
3364
3807
  end
3365
3808
 
3366
3809
  # Update the message.
3810
+ # The contents of the message in Message.data and data extracted from
3811
+ # the contents such as Message.create_time can't be altered. Only the
3812
+ # Message.labels field is allowed to be updated. The labels in the
3813
+ # request are merged with the existing set of labels. Existing labels with
3814
+ # the same keys are updated.
3367
3815
  # @param [String] name
3368
3816
  # Resource name of the Message, of the form
3369
3817
  # `projects/`project_id`/datasets/`dataset_id`/hl7V2Stores/`hl7_v2_store_id`/
@@ -3375,9 +3823,6 @@ module Google
3375
3823
  # see
3376
3824
  # https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
3377
3825
  # fieldmask
3378
- # Only the `labels` field is allowed to be updated.
3379
- # The labels in the request are merged with the existing set of labels.
3380
- # Existing labels with the same keys are updated.
3381
3826
  # @param [String] fields
3382
3827
  # Selector specifying which fields to include in a partial response.
3383
3828
  # @param [String] quota_user
@@ -3408,6 +3853,48 @@ module Google
3408
3853
  execute_or_queue_command(command, &block)
3409
3854
  end
3410
3855
 
3856
+ # Starts asynchronous cancellation on a long-running operation. The server
3857
+ # makes a best effort to cancel the operation, but success is not
3858
+ # guaranteed. If the server doesn't support this method, it returns
3859
+ # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
3860
+ # Operations.GetOperation or
3861
+ # other methods to check whether the cancellation succeeded or whether the
3862
+ # operation completed despite cancellation. On successful cancellation,
3863
+ # the operation is not deleted; instead, it becomes an operation with
3864
+ # an Operation.error value with a google.rpc.Status.code of 1,
3865
+ # corresponding to `Code.CANCELLED`.
3866
+ # @param [String] name
3867
+ # The name of the operation resource to be cancelled.
3868
+ # @param [Google::Apis::HealthcareV1beta1::CancelOperationRequest] cancel_operation_request_object
3869
+ # @param [String] fields
3870
+ # Selector specifying which fields to include in a partial response.
3871
+ # @param [String] quota_user
3872
+ # Available to use for quota purposes for server-side applications. Can be any
3873
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3874
+ # @param [Google::Apis::RequestOptions] options
3875
+ # Request-specific options
3876
+ #
3877
+ # @yield [result, err] Result & error if block supplied
3878
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Empty] parsed result object
3879
+ # @yieldparam err [StandardError] error object if request failed
3880
+ #
3881
+ # @return [Google::Apis::HealthcareV1beta1::Empty]
3882
+ #
3883
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3884
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3885
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3886
+ def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3887
+ command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
3888
+ command.request_representation = Google::Apis::HealthcareV1beta1::CancelOperationRequest::Representation
3889
+ command.request_object = cancel_operation_request_object
3890
+ command.response_representation = Google::Apis::HealthcareV1beta1::Empty::Representation
3891
+ command.response_class = Google::Apis::HealthcareV1beta1::Empty
3892
+ command.params['name'] = name unless name.nil?
3893
+ command.query['fields'] = fields unless fields.nil?
3894
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3895
+ execute_or_queue_command(command, &block)
3896
+ end
3897
+
3411
3898
  # Gets the latest state of a long-running operation. Clients can use this
3412
3899
  # method to poll the operation result at intervals as recommended by the API
3413
3900
  # service.