google-api-client 0.32.1 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (292) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +159 -0
  3. data/README.md +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  7. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  11. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  12. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +15 -2
  15. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  16. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +16 -3
  17. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  18. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  20. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  22. data/generated/google/apis/admin_directory_v1.rb +4 -1
  23. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  24. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  25. data/generated/google/apis/admin_reports_v1.rb +2 -2
  26. data/generated/google/apis/androidpublisher_v3/classes.rb +12 -0
  27. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/appengine_v1/service.rb +10 -6
  30. data/generated/google/apis/appengine_v1.rb +1 -1
  31. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/bigquery_v2/classes.rb +25 -19
  34. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  35. data/generated/google/apis/bigquery_v2.rb +1 -1
  36. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/classes.rb +62 -29
  39. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  40. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  41. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  42. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  43. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  44. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  45. data/generated/google/apis/civicinfo_v2.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
  47. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  48. data/generated/google/apis/cloudasset_v1.rb +1 -1
  49. data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
  50. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  51. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  52. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  53. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  54. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  55. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  58. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  59. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  60. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  61. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  62. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  63. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  64. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  65. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  66. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  68. data/generated/google/apis/cloudkms_v1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -12
  70. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  71. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +4 -8
  72. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  73. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  74. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +4 -8
  75. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  77. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
  78. data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
  79. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  80. data/generated/google/apis/cloudshell_v1/classes.rb +22 -0
  81. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  82. data/generated/google/apis/cloudshell_v1.rb +1 -1
  83. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +22 -0
  84. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  86. data/generated/google/apis/compute_alpha/classes.rb +519 -152
  87. data/generated/google/apis/compute_alpha/representations.rb +108 -2
  88. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  89. data/generated/google/apis/compute_alpha.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +1016 -266
  91. data/generated/google/apis/compute_beta/representations.rb +284 -0
  92. data/generated/google/apis/compute_beta/service.rb +1242 -532
  93. data/generated/google/apis/compute_beta.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +283 -125
  95. data/generated/google/apis/compute_v1/representations.rb +24 -0
  96. data/generated/google/apis/compute_v1/service.rb +759 -473
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/container_v1/classes.rb +207 -5
  99. data/generated/google/apis/container_v1/representations.rb +85 -0
  100. data/generated/google/apis/container_v1.rb +1 -1
  101. data/generated/google/apis/container_v1beta1/classes.rb +125 -3
  102. data/generated/google/apis/container_v1beta1/representations.rb +22 -0
  103. data/generated/google/apis/container_v1beta1.rb +1 -1
  104. data/generated/google/apis/content_v2/classes.rb +23 -220
  105. data/generated/google/apis/content_v2/representations.rb +0 -115
  106. data/generated/google/apis/content_v2/service.rb +0 -160
  107. data/generated/google/apis/content_v2.rb +1 -1
  108. data/generated/google/apis/content_v2_1/classes.rb +57 -18
  109. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  110. data/generated/google/apis/content_v2_1.rb +1 -1
  111. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  112. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  113. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  114. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  115. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  116. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  117. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  118. data/generated/google/apis/datastore_v1/service.rb +85 -1
  119. data/generated/google/apis/datastore_v1.rb +1 -1
  120. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  121. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  122. data/generated/google/apis/dialogflow_v2/classes.rb +25 -7
  123. data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
  124. data/generated/google/apis/dialogflow_v2.rb +1 -1
  125. data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -7
  126. data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -0
  127. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  128. data/generated/google/apis/dlp_v2/classes.rb +19 -11
  129. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  130. data/generated/google/apis/dlp_v2/service.rb +43 -0
  131. data/generated/google/apis/dlp_v2.rb +1 -1
  132. data/generated/google/apis/docs_v1/classes.rb +175 -0
  133. data/generated/google/apis/docs_v1/representations.rb +77 -0
  134. data/generated/google/apis/docs_v1.rb +1 -1
  135. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  136. data/generated/google/apis/drive_v2/classes.rb +2 -1
  137. data/generated/google/apis/drive_v2/service.rb +3 -3
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v3.rb +1 -1
  140. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
  141. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
  142. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  143. data/generated/google/apis/firestore_v1.rb +1 -1
  144. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  145. data/generated/google/apis/fitness_v1/service.rb +1 -1
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  148. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  149. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  150. data/generated/google/apis/games_management_v1management.rb +1 -1
  151. data/generated/google/apis/games_v1/classes.rb +6 -292
  152. data/generated/google/apis/games_v1/representations.rb +1 -98
  153. data/generated/google/apis/games_v1/service.rb +0 -123
  154. data/generated/google/apis/games_v1.rb +1 -1
  155. data/generated/google/apis/healthcare_v1beta1/classes.rb +205 -9
  156. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  157. data/generated/google/apis/healthcare_v1beta1/service.rb +198 -104
  158. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  159. data/generated/google/apis/iam_v1/classes.rb +9 -2
  160. data/generated/google/apis/iam_v1/representations.rb +1 -0
  161. data/generated/google/apis/iam_v1.rb +1 -1
  162. data/generated/google/apis/iap_v1/classes.rb +187 -2
  163. data/generated/google/apis/iap_v1/representations.rb +102 -0
  164. data/generated/google/apis/iap_v1/service.rb +72 -0
  165. data/generated/google/apis/iap_v1.rb +1 -1
  166. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  167. data/generated/google/apis/iap_v1beta1.rb +1 -1
  168. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  169. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  170. data/generated/google/apis/jobs_v2.rb +1 -1
  171. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  172. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  173. data/generated/google/apis/jobs_v3.rb +1 -1
  174. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  175. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  176. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  178. data/generated/google/apis/licensing_v1/service.rb +81 -37
  179. data/generated/google/apis/licensing_v1.rb +4 -4
  180. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  181. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  182. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  183. data/generated/google/apis/{urlshortener_v1.rb → lifesciences_v2beta.rb} +12 -11
  184. data/generated/google/apis/logging_v2/classes.rb +12 -0
  185. data/generated/google/apis/logging_v2/representations.rb +2 -0
  186. data/generated/google/apis/logging_v2/service.rb +10 -5
  187. data/generated/google/apis/logging_v2.rb +1 -1
  188. data/generated/google/apis/ml_v1/classes.rb +66 -23
  189. data/generated/google/apis/ml_v1/representations.rb +1 -0
  190. data/generated/google/apis/ml_v1/service.rb +7 -3
  191. data/generated/google/apis/ml_v1.rb +2 -2
  192. data/generated/google/apis/monitoring_v1/classes.rb +260 -0
  193. data/generated/google/apis/monitoring_v1/representations.rb +123 -0
  194. data/generated/google/apis/monitoring_v1/service.rb +64 -0
  195. data/generated/google/apis/monitoring_v1.rb +36 -0
  196. data/generated/google/apis/monitoring_v3/classes.rb +27 -13
  197. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  198. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  199. data/generated/google/apis/monitoring_v3.rb +1 -1
  200. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  201. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  202. data/generated/google/apis/oslogin_v1.rb +1 -1
  203. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  204. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  205. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  206. data/generated/google/apis/people_v1/classes.rb +67 -63
  207. data/generated/google/apis/people_v1/service.rb +53 -44
  208. data/generated/google/apis/people_v1.rb +1 -1
  209. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
  210. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  211. data/generated/google/apis/pubsub_v1/service.rb +3 -0
  212. data/generated/google/apis/pubsub_v1.rb +1 -1
  213. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  214. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  215. data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
  216. data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
  217. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  218. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
  219. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
  220. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  221. data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
  222. data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
  223. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  224. data/generated/google/apis/reseller_v1/service.rb +1 -1
  225. data/generated/google/apis/reseller_v1.rb +1 -1
  226. data/generated/google/apis/run_v1/classes.rb +0 -7
  227. data/generated/google/apis/run_v1/service.rb +156 -94
  228. data/generated/google/apis/run_v1.rb +1 -1
  229. data/generated/google/apis/run_v1alpha1/classes.rb +319 -0
  230. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  231. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  232. data/generated/google/apis/run_v1alpha1.rb +1 -1
  233. data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
  234. data/generated/google/apis/securitycenter_v1.rb +1 -1
  235. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
  236. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  237. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
  238. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  239. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  240. data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
  241. data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
  242. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  243. data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
  244. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  245. data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
  246. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  247. data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
  248. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  249. data/generated/google/apis/serviceusage_v1.rb +1 -1
  250. data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
  251. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  252. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  253. data/generated/google/apis/sheets_v4/classes.rb +389 -0
  254. data/generated/google/apis/sheets_v4/representations.rb +79 -0
  255. data/generated/google/apis/sheets_v4.rb +1 -1
  256. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  257. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  258. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  259. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  260. data/generated/google/apis/sql_v1beta4/classes.rb +2752 -0
  261. data/generated/google/apis/sql_v1beta4/representations.rb +1131 -0
  262. data/generated/google/apis/sql_v1beta4/service.rb +1791 -0
  263. data/generated/google/apis/sql_v1beta4.rb +37 -0
  264. data/generated/google/apis/storage_v1.rb +1 -1
  265. data/generated/google/apis/testing_v1/classes.rb +142 -1
  266. data/generated/google/apis/testing_v1/representations.rb +76 -0
  267. data/generated/google/apis/testing_v1.rb +1 -1
  268. data/generated/google/apis/videointelligence_v1/classes.rb +35 -36
  269. data/generated/google/apis/videointelligence_v1.rb +1 -1
  270. data/generated/google/apis/videointelligence_v1beta2/classes.rb +35 -36
  271. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  272. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +35 -36
  273. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +35 -36
  275. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  276. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +35 -36
  277. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  278. data/generated/google/apis/vision_v1.rb +1 -1
  279. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  281. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  282. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  283. data/google-api-client.gemspec +6 -3
  284. data/lib/google/apis/version.rb +1 -1
  285. metadata +28 -30
  286. data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
  287. data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
  288. data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
  289. data/generated/google/apis/dfareporting_v3_2.rb +0 -40
  290. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  291. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  292. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -167,6 +167,7 @@ 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
173
  # Errors are also logged to Stackdriver Logging. For more information,
@@ -389,6 +390,7 @@ module Google
389
390
 
390
391
  # Sets the access control policy on the specified resource. Replaces any
391
392
  # existing policy.
393
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
392
394
  # @param [String] resource
393
395
  # REQUIRED: The resource for which the policy is being specified.
394
396
  # See the operation documentation for the appropriate value for this field.
@@ -498,6 +500,51 @@ module Google
498
500
  execute_or_queue_command(command, &block)
499
501
  end
500
502
 
503
+ # Creates a new DICOM store containing de-identified data from the source
504
+ # store. The metadata field type
505
+ # is OperationMetadata.
506
+ # If the request is successful, the
507
+ # response field type is
508
+ # DeidentifyDicomStoreSummary. If errors occur,
509
+ # error
510
+ # details field type is
511
+ # DeidentifyErrorDetails.
512
+ # Errors are also logged to Stackdriver
513
+ # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
514
+ # @param [String] source_store
515
+ # Source DICOM store resource name. For example,
516
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
517
+ # dicomStores/`dicom_store_id``.
518
+ # @param [Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest] deidentify_dicom_store_request_object
519
+ # @param [String] fields
520
+ # Selector specifying which fields to include in a partial response.
521
+ # @param [String] quota_user
522
+ # Available to use for quota purposes for server-side applications. Can be any
523
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
524
+ # @param [Google::Apis::RequestOptions] options
525
+ # Request-specific options
526
+ #
527
+ # @yield [result, err] Result & error if block supplied
528
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
529
+ # @yieldparam err [StandardError] error object if request failed
530
+ #
531
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
532
+ #
533
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
534
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
536
+ def deidentify_dicom_store(source_store, deidentify_dicom_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
537
+ command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
538
+ command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyDicomStoreRequest::Representation
539
+ command.request_object = deidentify_dicom_store_request_object
540
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
541
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
542
+ command.params['sourceStore'] = source_store unless source_store.nil?
543
+ command.query['fields'] = fields unless fields.nil?
544
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
545
+ execute_or_queue_command(command, &block)
546
+ end
547
+
501
548
  # Deletes the specified DICOM store and removes all images that are contained
502
549
  # within it.
503
550
  # @param [String] name
@@ -768,13 +815,13 @@ module Google
768
815
  # SearchForInstances returns a list of matching instances. See
769
816
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
770
817
  # @param [String] parent
771
- # The name of the DICOM store that is being accessed (for example,
818
+ # The name of the DICOM store that is being accessed. For example,
772
819
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
773
- # dicomStores/`dicom_store_id``).
820
+ # dicomStores/`dicom_store_id``.
774
821
  # @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`).
822
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
823
+ # `instances`, `series/`series_uid`/instances`, or
824
+ # `studies/`study_uid`/instances`.
778
825
  # @param [String] fields
779
826
  # Selector specifying which fields to include in a partial response.
780
827
  # @param [String] quota_user
@@ -806,12 +853,12 @@ module Google
806
853
  # SearchForSeries returns a list of matching series. See
807
854
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
808
855
  # @param [String] parent
809
- # The name of the DICOM store that is being accessed (for example,
856
+ # The name of the DICOM store that is being accessed. For example,
810
857
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
811
- # dicomStores/`dicom_store_id``).
858
+ # dicomStores/`dicom_store_id``.
812
859
  # @param [String] dicom_web_path
813
- # The path of the SearchForSeries DICOMweb request(for example, `series` or
814
- # `studies/`study_uid`/series`).
860
+ # The path of the SearchForSeries DICOMweb request. For example, `series` or
861
+ # `studies/`study_uid`/series`.
815
862
  # @param [String] fields
816
863
  # Selector specifying which fields to include in a partial response.
817
864
  # @param [String] quota_user
@@ -843,11 +890,11 @@ module Google
843
890
  # SearchForStudies returns a list of matching studies. See
844
891
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
845
892
  # @param [String] parent
846
- # The name of the DICOM store that is being accessed (for example,
893
+ # The name of the DICOM store that is being accessed. For example,
847
894
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
848
- # dicomStores/`dicom_store_id``).
895
+ # dicomStores/`dicom_store_id``.
849
896
  # @param [String] dicom_web_path
850
- # The path of the SearchForStudies DICOMweb request (for example, `studies`).
897
+ # The path of the SearchForStudies DICOMweb request. For example, `studies`.
851
898
  # @param [String] fields
852
899
  # Selector specifying which fields to include in a partial response.
853
900
  # @param [String] quota_user
@@ -878,6 +925,7 @@ module Google
878
925
 
879
926
  # Sets the access control policy on the specified resource. Replaces any
880
927
  # existing policy.
928
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
881
929
  # @param [String] resource
882
930
  # REQUIRED: The resource for which the policy is being specified.
883
931
  # See the operation documentation for the appropriate value for this field.
@@ -915,12 +963,12 @@ module Google
915
963
  # identifiers (SUID). See
916
964
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
917
965
  # @param [String] parent
918
- # The name of the DICOM store that is being accessed (for example,
966
+ # The name of the DICOM store that is being accessed. For example,
919
967
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
920
- # dicomStores/`dicom_store_id``).
968
+ # dicomStores/`dicom_store_id``.
921
969
  # @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.
970
+ # The path of the StoreInstances DICOMweb request. For example,
971
+ # `studies/[`study_uid`]`. Note that the `study_uid` is optional.
924
972
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
925
973
  # @param [String] fields
926
974
  # Selector specifying which fields to include in a partial response.
@@ -994,11 +1042,8 @@ module Google
994
1042
  # DeleteStudy deletes all instances within the given study. Delete requests
995
1043
  # are equivalent to the GET requests specified in the WADO-RS standard.
996
1044
  # @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
1045
  # @param [String] dicom_web_path
1001
- # The path of the DeleteStudy request (for example, `studies/`study_uid``).
1046
+ # The path of the DeleteStudy request. For example, `studies/`study_uid``.
1002
1047
  # @param [String] fields
1003
1048
  # Selector specifying which fields to include in a partial response.
1004
1049
  # @param [String] quota_user
@@ -1031,12 +1076,12 @@ module Google
1031
1076
  # presented as metadata with the bulk data removed. See
1032
1077
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1033
1078
  # @param [String] parent
1034
- # The name of the DICOM store that is being accessed (for example,
1079
+ # The name of the DICOM store that is being accessed. For example,
1035
1080
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1036
- # dicomStores/`dicom_store_id``).
1081
+ # dicomStores/`dicom_store_id``.
1037
1082
  # @param [String] dicom_web_path
1038
- # The path of the RetrieveStudyMetadata DICOMweb request (for example,
1039
- # `studies/`study_uid`/metadata`).
1083
+ # The path of the RetrieveStudyMetadata DICOMweb request. For example,
1084
+ # `studies/`study_uid`/metadata`.
1040
1085
  # @param [String] fields
1041
1086
  # Selector specifying which fields to include in a partial response.
1042
1087
  # @param [String] quota_user
@@ -1068,12 +1113,12 @@ module Google
1068
1113
  # RetrieveStudy returns all instances within the given study. See
1069
1114
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1070
1115
  # @param [String] parent
1071
- # The name of the DICOM store that is being accessed (for example,
1116
+ # The name of the DICOM store that is being accessed. For example,
1072
1117
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1073
- # dicomStores/`dicom_store_id``).
1118
+ # dicomStores/`dicom_store_id``.
1074
1119
  # @param [String] dicom_web_path
1075
- # The path of the RetrieveStudy DICOMweb request (for example,
1076
- # `studies/`study_uid``).
1120
+ # The path of the RetrieveStudy DICOMweb request. For example,
1121
+ # `studies/`study_uid``.
1077
1122
  # @param [String] fields
1078
1123
  # Selector specifying which fields to include in a partial response.
1079
1124
  # @param [String] quota_user
@@ -1105,13 +1150,13 @@ module Google
1105
1150
  # SearchForInstances returns a list of matching instances. See
1106
1151
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1107
1152
  # @param [String] parent
1108
- # The name of the DICOM store that is being accessed (for example,
1153
+ # The name of the DICOM store that is being accessed. For example,
1109
1154
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1110
- # dicomStores/`dicom_store_id``).
1155
+ # dicomStores/`dicom_store_id``.
1111
1156
  # @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`).
1157
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
1158
+ # `instances`, `series/`series_uid`/instances`, or
1159
+ # `studies/`study_uid`/instances`.
1115
1160
  # @param [String] fields
1116
1161
  # Selector specifying which fields to include in a partial response.
1117
1162
  # @param [String] quota_user
@@ -1143,12 +1188,12 @@ module Google
1143
1188
  # SearchForSeries returns a list of matching series. See
1144
1189
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1145
1190
  # @param [String] parent
1146
- # The name of the DICOM store that is being accessed (for example,
1191
+ # The name of the DICOM store that is being accessed. For example,
1147
1192
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1148
- # dicomStores/`dicom_store_id``).
1193
+ # dicomStores/`dicom_store_id``.
1149
1194
  # @param [String] dicom_web_path
1150
- # The path of the SearchForSeries DICOMweb request(for example, `series` or
1151
- # `studies/`study_uid`/series`).
1195
+ # The path of the SearchForSeries DICOMweb request. For example, `series` or
1196
+ # `studies/`study_uid`/series`.
1152
1197
  # @param [String] fields
1153
1198
  # Selector specifying which fields to include in a partial response.
1154
1199
  # @param [String] quota_user
@@ -1181,12 +1226,12 @@ module Google
1181
1226
  # identifiers (SUID). See
1182
1227
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5.
1183
1228
  # @param [String] parent
1184
- # The name of the DICOM store that is being accessed (for example,
1229
+ # The name of the DICOM store that is being accessed. For example,
1185
1230
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1186
- # dicomStores/`dicom_store_id``).
1231
+ # dicomStores/`dicom_store_id``.
1187
1232
  # @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.
1233
+ # The path of the StoreInstances DICOMweb request. For example,
1234
+ # `studies/[`study_uid`]`. Note that the `study_uid` is optional.
1190
1235
  # @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
1191
1236
  # @param [String] fields
1192
1237
  # Selector specifying which fields to include in a partial response.
@@ -1222,12 +1267,12 @@ module Google
1222
1267
  # Delete requests are equivalent to the GET requests specified in the WADO-RS
1223
1268
  # standard.
1224
1269
  # @param [String] parent
1225
- # The name of the DICOM store that is being accessed (for example,
1270
+ # The name of the DICOM store that is being accessed. For example,
1226
1271
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1227
- # dicomStores/`dicom_store_id``).
1272
+ # dicomStores/`dicom_store_id``.
1228
1273
  # @param [String] dicom_web_path
1229
- # The path of the DeleteSeries request (for example,
1230
- # `studies/`study_uid`/series/`series_uid``).
1274
+ # The path of the DeleteSeries request. For example,
1275
+ # `studies/`study_uid`/series/`series_uid``.
1231
1276
  # @param [String] fields
1232
1277
  # Selector specifying which fields to include in a partial response.
1233
1278
  # @param [String] quota_user
@@ -1260,12 +1305,12 @@ module Google
1260
1305
  # series, presented as metadata with the bulk data removed. See
1261
1306
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1262
1307
  # @param [String] parent
1263
- # The name of the DICOM store that is being accessed (for example,
1308
+ # The name of the DICOM store that is being accessed. For example,
1264
1309
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1265
- # dicomStores/`dicom_store_id``).
1310
+ # dicomStores/`dicom_store_id``.
1266
1311
  # @param [String] dicom_web_path
1267
- # The path of the RetrieveSeriesMetadata DICOMweb request (for example,
1268
- # `studies/`study_uid`/series/`series_uid`/metadata`).
1312
+ # The path of the RetrieveSeriesMetadata DICOMweb request. For example,
1313
+ # `studies/`study_uid`/series/`series_uid`/metadata`.
1269
1314
  # @param [String] fields
1270
1315
  # Selector specifying which fields to include in a partial response.
1271
1316
  # @param [String] quota_user
@@ -1297,12 +1342,12 @@ module Google
1297
1342
  # RetrieveSeries returns all instances within the given study and series. See
1298
1343
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1299
1344
  # @param [String] parent
1300
- # The name of the DICOM store that is being accessed (for example,
1345
+ # The name of the DICOM store that is being accessed. For example,
1301
1346
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1302
- # dicomStores/`dicom_store_id``).
1347
+ # dicomStores/`dicom_store_id``.
1303
1348
  # @param [String] dicom_web_path
1304
- # The path of the RetrieveSeries DICOMweb request (for example,
1305
- # `studies/`study_uid`/series/`series_uid``).
1349
+ # The path of the RetrieveSeries DICOMweb request. For example,
1350
+ # `studies/`study_uid`/series/`series_uid``.
1306
1351
  # @param [String] fields
1307
1352
  # Selector specifying which fields to include in a partial response.
1308
1353
  # @param [String] quota_user
@@ -1334,13 +1379,13 @@ module Google
1334
1379
  # SearchForInstances returns a list of matching instances. See
1335
1380
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6.
1336
1381
  # @param [String] parent
1337
- # The name of the DICOM store that is being accessed (for example,
1382
+ # The name of the DICOM store that is being accessed. For example,
1338
1383
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1339
- # dicomStores/`dicom_store_id``).
1384
+ # dicomStores/`dicom_store_id``.
1340
1385
  # @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`).
1386
+ # The path of the SearchForInstancesRequest DICOMweb request. For example,
1387
+ # `instances`, `series/`series_uid`/instances`, or
1388
+ # `studies/`study_uid`/instances`.
1344
1389
  # @param [String] fields
1345
1390
  # Selector specifying which fields to include in a partial response.
1346
1391
  # @param [String] quota_user
@@ -1373,12 +1418,12 @@ module Google
1373
1418
  # and SOP Instance UID. Delete requests are equivalent to the GET requests
1374
1419
  # specified in the WADO-RS standard.
1375
1420
  # @param [String] parent
1376
- # The name of the DICOM store that is being accessed (for example,
1421
+ # The name of the DICOM store that is being accessed. For example,
1377
1422
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1378
- # dicomStores/`dicom_store_id``).
1423
+ # dicomStores/`dicom_store_id``.
1379
1424
  # @param [String] dicom_web_path
1380
- # The path of the DeleteInstance request (for example,
1381
- # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``).
1425
+ # The path of the DeleteInstance request. For example,
1426
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
1382
1427
  # @param [String] fields
1383
1428
  # Selector specifying which fields to include in a partial response.
1384
1429
  # @param [String] quota_user
@@ -1411,12 +1456,12 @@ module Google
1411
1456
  # and SOP Instance UID. See
1412
1457
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1413
1458
  # @param [String] parent
1414
- # The name of the DICOM store that is being accessed (for example,
1459
+ # The name of the DICOM store that is being accessed. For example,
1415
1460
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1416
- # dicomStores/`dicom_store_id``).
1461
+ # dicomStores/`dicom_store_id``.
1417
1462
  # @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``).
1463
+ # The path of the RetrieveInstance DICOMweb request. For example,
1464
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid``.
1420
1465
  # @param [String] fields
1421
1466
  # Selector specifying which fields to include in a partial response.
1422
1467
  # @param [String] quota_user
@@ -1450,12 +1495,12 @@ module Google
1450
1495
  # removed. See
1451
1496
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1452
1497
  # @param [String] parent
1453
- # The name of the DICOM store that is being accessed (for example,
1498
+ # The name of the DICOM store that is being accessed. For example,
1454
1499
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1455
- # dicomStores/`dicom_store_id``).
1500
+ # dicomStores/`dicom_store_id``.
1456
1501
  # @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`).
1502
+ # The path of the RetrieveInstanceMetadata DICOMweb request. For example,
1503
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/metadata`.
1459
1504
  # @param [String] fields
1460
1505
  # Selector specifying which fields to include in a partial response.
1461
1506
  # @param [String] quota_user
@@ -1488,12 +1533,12 @@ module Google
1488
1533
  # series, and SOP Instance UID in an acceptable Rendered Media Type. See
1489
1534
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1490
1535
  # @param [String] parent
1491
- # The name of the DICOM store that is being accessed (for example,
1536
+ # The name of the DICOM store that is being accessed. For example,
1492
1537
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1493
- # dicomStores/`dicom_store_id``).
1538
+ # dicomStores/`dicom_store_id``.
1494
1539
  # @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`).
1540
+ # The path of the RetrieveRenderedInstance DICOMweb request. For example,
1541
+ # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/rendered`.
1497
1542
  # @param [String] fields
1498
1543
  # Selector specifying which fields to include in a partial response.
1499
1544
  # @param [String] quota_user
@@ -1526,13 +1571,13 @@ module Google
1526
1571
  # SOP Instance UID and frame numbers. See
1527
1572
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1528
1573
  # @param [String] parent
1529
- # The name of the DICOM store that is being accessed (for example,
1574
+ # The name of the DICOM store that is being accessed. For example,
1530
1575
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1531
- # dicomStores/`dicom_store_id``).
1576
+ # dicomStores/`dicom_store_id``.
1532
1577
  # @param [String] dicom_web_path
1533
- # The path of the RetrieveFrames DICOMweb request (for example,
1578
+ # The path of the RetrieveFrames DICOMweb request. For example,
1534
1579
  # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
1535
- # frame_list``).
1580
+ # frame_list``.
1536
1581
  # @param [String] fields
1537
1582
  # Selector specifying which fields to include in a partial response.
1538
1583
  # @param [String] quota_user
@@ -1566,13 +1611,13 @@ module Google
1566
1611
  # Type. See
1567
1612
  # http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4.
1568
1613
  # @param [String] parent
1569
- # The name of the DICOM store that is being accessed (for example,
1614
+ # The name of the DICOM store that is being accessed. For example,
1570
1615
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1571
- # dicomStores/`dicom_store_id``).
1616
+ # dicomStores/`dicom_store_id``.
1572
1617
  # @param [String] dicom_web_path
1573
- # The path of the RetrieveRenderedFrames DICOMweb request (for example,
1618
+ # The path of the RetrieveRenderedFrames DICOMweb request. For example,
1574
1619
  # `studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/frames/`
1575
- # frame_list`/rendered`).
1620
+ # frame_list`/rendered`.
1576
1621
  # @param [String] fields
1577
1622
  # Selector specifying which fields to include in a partial response.
1578
1623
  # @param [String] quota_user
@@ -1638,6 +1683,51 @@ module Google
1638
1683
  execute_or_queue_command(command, &block)
1639
1684
  end
1640
1685
 
1686
+ # Creates a new FHIR store containing de-identified data from the source
1687
+ # store. The metadata field type
1688
+ # is OperationMetadata.
1689
+ # If the request is successful, the
1690
+ # response field type is
1691
+ # DeidentifyFhirStoreSummary. If errors occur,
1692
+ # error
1693
+ # details field type is
1694
+ # DeidentifyErrorDetails.
1695
+ # Errors are also logged to Stackdriver
1696
+ # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
1697
+ # @param [String] source_store
1698
+ # Source FHIR store resource name. For example,
1699
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1700
+ # fhirStores/`fhir_store_id``.
1701
+ # @param [Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest] deidentify_fhir_store_request_object
1702
+ # @param [String] fields
1703
+ # Selector specifying which fields to include in a partial response.
1704
+ # @param [String] quota_user
1705
+ # Available to use for quota purposes for server-side applications. Can be any
1706
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1707
+ # @param [Google::Apis::RequestOptions] options
1708
+ # Request-specific options
1709
+ #
1710
+ # @yield [result, err] Result & error if block supplied
1711
+ # @yieldparam result [Google::Apis::HealthcareV1beta1::Operation] parsed result object
1712
+ # @yieldparam err [StandardError] error object if request failed
1713
+ #
1714
+ # @return [Google::Apis::HealthcareV1beta1::Operation]
1715
+ #
1716
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1717
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1718
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1719
+ def deidentify_fhir_store(source_store, deidentify_fhir_store_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1720
+ command = make_simple_command(:post, 'v1beta1/{+sourceStore}:deidentify', options)
1721
+ command.request_representation = Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest::Representation
1722
+ command.request_object = deidentify_fhir_store_request_object
1723
+ command.response_representation = Google::Apis::HealthcareV1beta1::Operation::Representation
1724
+ command.response_class = Google::Apis::HealthcareV1beta1::Operation
1725
+ command.params['sourceStore'] = source_store unless source_store.nil?
1726
+ command.query['fields'] = fields unless fields.nil?
1727
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1728
+ execute_or_queue_command(command, &block)
1729
+ end
1730
+
1641
1731
  # Deletes the specified FHIR store and removes all resources within it.
1642
1732
  # @param [String] name
1643
1733
  # The resource name of the FHIR store to delete.
@@ -1968,6 +2058,7 @@ module Google
1968
2058
 
1969
2059
  # Sets the access control policy on the specified resource. Replaces any
1970
2060
  # existing policy.
2061
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
1971
2062
  # @param [String] resource
1972
2063
  # REQUIRED: The resource for which the policy is being specified.
1973
2064
  # See the operation documentation for the appropriate value for this field.
@@ -2047,9 +2138,19 @@ module Google
2047
2138
  # [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
2048
2139
  # operations.html#lastn).
2049
2140
  # 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.
2141
+ # the search method. The following search parameters must
2142
+ # be provided:
2143
+ # - `subject` or `patient` to specify a subject for the Observation.
2144
+ # - `code`, `category` or any of the composite parameters that include
2145
+ # `code`.
2146
+ # Any other valid Observation search parameters can also be provided. This
2147
+ # operation accepts an additional query parameter `max`, which specifies N,
2148
+ # the maximum number of Observations to return from each group, with a
2149
+ # default of 1.
2150
+ # Searches with over 1000 results are rejected. Results are counted before
2151
+ # grouping and limiting the results with `max`. To stay within the limit,
2152
+ # constrain these searches using Observation search parameters such as
2153
+ # `_lastUpdated` or `date`.
2053
2154
  # On success, the response body will contain a JSON-encoded representation
2054
2155
  # of a `Bundle` resource of type `searchset`, containing the results of the
2055
2156
  # operation.
@@ -2086,11 +2187,6 @@ module Google
2086
2187
  execute_or_queue_command(command, &block)
2087
2188
  end
2088
2189
 
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
2190
  # On success, the response body will contain a JSON-encoded representation
2095
2191
  # of a `Bundle` resource of type `searchset`, containing the results of the
2096
2192
  # operation.
@@ -2541,7 +2637,12 @@ module Google
2541
2637
  # @param [String] name
2542
2638
  # The name of the resource to retrieve.
2543
2639
  # @param [String] _page_token
2544
- # Same as `page`. Please use either `page` or `_page_token`.
2640
+ # Used to retrieve the first, previous, next, or last page of resource
2641
+ # versions when using pagination. Value should be set to the value of
2642
+ # `_page_token` set in next or previous page links' URLs. Next and previous
2643
+ # page are returned in the response bundle's links field, where
2644
+ # `link.relation` is "previous" or "next".
2645
+ # Omit `_page_token` if no previous request has been made.
2545
2646
  # @param [String] at
2546
2647
  # Only include resource versions that were current at some point during the
2547
2648
  # time period specified in the date time value. The date parameter format is
@@ -2554,12 +2655,7 @@ module Google
2554
2655
  # @param [Fixnum] count
2555
2656
  # The maximum number of search results on a page. Defaults to 1000.
2556
2657
  # @param [String] page
2557
- # Used to retrieve the first, previous, next, or last page of resource
2558
- # 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
2560
- # page are returned in the response bundle's links field, where
2561
- # `link.relation` is "previous" or "next".
2562
- # Omit `page` if no previous request has been made.
2658
+ # DEPRECATED! Use `_page_token`.
2563
2659
  # @param [String] since
2564
2660
  # Only include resource versions that were created at or after the given
2565
2661
  # instant in time. The instant in time uses the format
@@ -2706,9 +2802,10 @@ module Google
2706
2802
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2707
2803
  # GCP error might be returned instead.
2708
2804
  # The server's capability statement, retrieved through
2709
- # capabilities, indicates what search parameters
2710
- # 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
2805
+ # capabilities, indicates the search parameters
2806
+ # that are supported on each FHIR resource. For the list of search
2807
+ # parameters for STU3, see the
2808
+ # [STU3 FHIR Search Parameter
2712
2809
  # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
2713
2810
  # registry.html).
2714
2811
  # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
@@ -3068,6 +3165,7 @@ module Google
3068
3165
 
3069
3166
  # Sets the access control policy on the specified resource. Replaces any
3070
3167
  # existing policy.
3168
+ # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
3071
3169
  # @param [String] resource
3072
3170
  # REQUIRED: The resource for which the policy is being specified.
3073
3171
  # See the operation documentation for the appropriate value for this field.
@@ -3298,10 +3396,6 @@ module Google
3298
3396
  # `send_time < "2017-01-02T00:00:00-05:00"`.
3299
3397
  # * `send_facility`, the care center that the message came from, from the
3300
3398
  # 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
3399
  # * `PatientId(value, type)`, which matches if the message lists a patient
3306
3400
  # having an ID of the given value and type in the PID-2, PID-3, or PID-4
3307
3401
  # segments. For example, `PatientId("123456", "MRN")`.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190924'
28
+ REVISION = '20191021'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -663,7 +663,7 @@ module Google
663
663
  attr_accessor :severity
664
664
 
665
665
  # The validation unit name, for instance
666
- # lintValidationUnits/ConditionComplexityCheck”.
666
+ # "lintValidationUnits/ConditionComplexityCheck".
667
667
  # Corresponds to the JSON property `validationUnitName`
668
668
  # @return [String]
669
669
  attr_accessor :validation_unit_name
@@ -809,6 +809,7 @@ module Google
809
809
  attr_accessor :custom_roles_support_level
810
810
 
811
811
  # A brief description of what this Permission is used for.
812
+ # This permission can ONLY be used in predefined roles.
812
813
  # Corresponds to the JSON property `description`
813
814
  # @return [String]
814
815
  attr_accessor :description
@@ -818,7 +819,7 @@ module Google
818
819
  # @return [String]
819
820
  attr_accessor :name
820
821
 
821
- # This permission can ONLY be used in predefined roles.
822
+ #
822
823
  # Corresponds to the JSON property `onlyInPredefinedRoles`
823
824
  # @return [Boolean]
824
825
  attr_accessor :only_in_predefined_roles
@@ -1366,6 +1367,11 @@ module Google
1366
1367
  # @return [String]
1367
1368
  attr_accessor :key_origin
1368
1369
 
1370
+ # The key type.
1371
+ # Corresponds to the JSON property `keyType`
1372
+ # @return [String]
1373
+ attr_accessor :key_type
1374
+
1369
1375
  # The resource name of the service account key in the following format
1370
1376
  # `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
1371
1377
  # Corresponds to the JSON property `name`
@@ -1420,6 +1426,7 @@ module Google
1420
1426
  def update!(**args)
1421
1427
  @key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
1422
1428
  @key_origin = args[:key_origin] if args.key?(:key_origin)
1429
+ @key_type = args[:key_type] if args.key?(:key_type)
1423
1430
  @name = args[:name] if args.key?(:name)
1424
1431
  @private_key_data = args[:private_key_data] if args.key?(:private_key_data)
1425
1432
  @private_key_type = args[:private_key_type] if args.key?(:private_key_type)
@@ -604,6 +604,7 @@ module Google
604
604
  class Representation < Google::Apis::Core::JsonRepresentation
605
605
  property :key_algorithm, as: 'keyAlgorithm'
606
606
  property :key_origin, as: 'keyOrigin'
607
+ property :key_type, as: 'keyType'
607
608
  property :name, as: 'name'
608
609
  property :private_key_data, :base64 => true, as: 'privateKeyData'
609
610
  property :private_key_type, as: 'privateKeyType'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/iam/
28
28
  module IamV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190927'
30
+ REVISION = '20191025'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'