google-api-client 0.30.9 → 0.30.10

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 (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesErrorDetails
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesResponse
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -868,6 +874,16 @@ module Google
868
874
  end
869
875
  end
870
876
 
877
+ class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesErrorDetails
878
+ # @private
879
+ class Representation < Google::Apis::Core::JsonRepresentation
880
+ property :error_count, :numeric_string => true, as: 'errorCount'
881
+ property :fhir_store, as: 'fhirStore'
882
+ property :resource_count, :numeric_string => true, as: 'resourceCount'
883
+ property :success_count, :numeric_string => true, as: 'successCount'
884
+ end
885
+ end
886
+
871
887
  class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesResponse
872
888
  # @private
873
889
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -169,6 +169,8 @@ module Google
169
169
  # If errors occur,
170
170
  # details field type is
171
171
  # DeidentifyErrorDetails.
172
+ # Errors are also logged to Stackdriver
173
+ # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
172
174
  # @param [String] source_dataset
173
175
  # Source dataset resource name. (e.g.,
174
176
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``).
@@ -2073,14 +2075,19 @@ module Google
2073
2075
  execute_or_queue_command(command, &block)
2074
2076
  end
2075
2077
 
2076
- # Gets the FHIR [capability
2077
- # statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
2078
- # html)
2079
- # for the store, which contains a description of functionality supported by
2080
- # the server.
2081
- # Implements the FHIR standard [capabilities
2082
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2083
- # capabilities).
2078
+ # Gets the FHIR capability statement
2079
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html))
2080
+ # ,
2081
+ # or the [conformance
2082
+ # statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
2083
+ # in the DSTU2 case for the store, which contains a description of
2084
+ # functionality supported by the server.
2085
+ # Implements the FHIR standard capabilities interaction
2086
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities)),
2087
+ # or the [conformance
2088
+ # interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
2089
+ # conformance)
2090
+ # in the DSTU2 case.
2084
2091
  # On success, the response body will contain a JSON-encoded representation
2085
2092
  # of a `CapabilityStatement` resource.
2086
2093
  # @param [String] name
@@ -2184,7 +2191,9 @@ module Google
2184
2191
  # be used to track the status of the export by calling
2185
2192
  # GetOperation.
2186
2193
  # Immediate fatal errors appear in the
2187
- # error field.
2194
+ # error field, errors are also logged
2195
+ # to Stackdriver (see [Viewing
2196
+ # logs](/healthcare/docs/how-tos/stackdriver-logging)).
2188
2197
  # Otherwise, when the operation finishes, a detailed response of type
2189
2198
  # ExportResourcesResponse is returned in the
2190
2199
  # response field.
@@ -2359,10 +2368,11 @@ module Google
2359
2368
  # be used to track the status of the import by calling
2360
2369
  # GetOperation.
2361
2370
  # Immediate fatal errors appear in the
2362
- # error field.
2363
- # Otherwise, when the operation finishes, a detailed response of type
2364
- # ImportResourcesResponse is returned in the
2365
- # response field.
2371
+ # error field, errors are also logged
2372
+ # to Stackdriver (see [Viewing
2373
+ # logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
2374
+ # operation finishes, a detailed response of type ImportResourcesResponse
2375
+ # is returned in the response field.
2366
2376
  # The metadata field type for this
2367
2377
  # operation is OperationMetadata.
2368
2378
  # @param [String] name
@@ -2559,9 +2569,11 @@ module Google
2559
2569
  # Retrieves the N most recent `Observation` resources for a subject matching
2560
2570
  # search criteria specified as query parameters, grouped by
2561
2571
  # `Observation.code`, sorted from most recent to oldest.
2562
- # Implements the FHIR extended operation
2563
- # [Observation-lastn](http://hl7.org/implement/standards/fhir/STU3/observation-
2564
- # operations.html#lastn).
2572
+ # Implements the FHIR extended operation Observation-lastn
2573
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/observation-operations.
2574
+ # html#lastn)).
2575
+ # DSTU2 doesn't define the Observation-lastn method, but the server supports
2576
+ # it the same way it supports STU3.
2565
2577
  # Search terms are provided as query parameters following the same pattern as
2566
2578
  # the search method. This operation accepts an additional
2567
2579
  # query parameter `max`, which specifies N, the maximum number of
@@ -2604,9 +2616,11 @@ module Google
2604
2616
 
2605
2617
  # Retrieves all the resources directly referenced by a patient, as well as
2606
2618
  # all of the resources in the patient compartment.
2607
- # Implements the FHIR extended operation
2608
- # [Patient-everything](http://hl7.org/implement/standards/fhir/STU3/patient-
2609
- # operations.html#everything).
2619
+ # Implements the FHIR extended operation Patient-everything
2620
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#
2621
+ # everything),
2622
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/patient-operations.html#
2623
+ # everything)).
2610
2624
  # On success, the response body will contain a JSON-encoded representation
2611
2625
  # of a `Bundle` resource of type `searchset`, containing the results of the
2612
2626
  # operation.
@@ -2695,14 +2709,19 @@ module Google
2695
2709
  execute_or_queue_command(command, &block)
2696
2710
  end
2697
2711
 
2698
- # Gets the FHIR [capability
2699
- # statement](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.
2700
- # html)
2701
- # for the store, which contains a description of functionality supported by
2702
- # the server.
2703
- # Implements the FHIR standard [capabilities
2704
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2705
- # capabilities).
2712
+ # Gets the FHIR capability statement
2713
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/capabilitystatement.html))
2714
+ # ,
2715
+ # or the [conformance
2716
+ # statement](http://hl7.org/implement/standards/fhir/DSTU2/conformance.html)
2717
+ # in the DSTU2 case for the store, which contains a description of
2718
+ # functionality supported by the server.
2719
+ # Implements the FHIR standard capabilities interaction
2720
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#capabilities)),
2721
+ # or the [conformance
2722
+ # interaction](http://hl7.org/implement/standards/fhir/DSTU2/http.html#
2723
+ # conformance)
2724
+ # in the DSTU2 case.
2706
2725
  # On success, the response body will contain a JSON-encoded representation
2707
2726
  # of a `CapabilityStatement` resource.
2708
2727
  # @param [String] name
@@ -2735,9 +2754,9 @@ module Google
2735
2754
  end
2736
2755
 
2737
2756
  # Deletes FHIR resources that match a search query.
2738
- # Implements the FHIR standard [conditional delete
2739
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.
2740
- # 1).
2757
+ # Implements the FHIR standard conditional delete interaction
2758
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.12.1),
2759
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.13.1)).
2741
2760
  # If multiple resources match, all of them will be deleted.
2742
2761
  # Search terms are provided as query parameters following the same pattern as
2743
2762
  # the search method.
@@ -2751,8 +2770,9 @@ module Google
2751
2770
  # The name of the FHIR store this resource belongs to.
2752
2771
  # @param [String] type
2753
2772
  # The FHIR resource type to delete, such as Patient or Observation. For a
2754
- # complete list, see the [FHIR Resource
2755
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2773
+ # complete list, see the FHIR Resource Index
2774
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2775
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2756
2776
  # @param [String] fields
2757
2777
  # Selector specifying which fields to include in a partial response.
2758
2778
  # @param [String] quota_user
@@ -2784,8 +2804,10 @@ module Google
2784
2804
  # If a resource is found based on the search criteria specified in the query
2785
2805
  # parameters, updates part of that resource by applying the operations
2786
2806
  # specified in a [JSON Patch](http://jsonpatch.com/) document.
2787
- # Implements the FHIR standard [conditional patch
2788
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
2807
+ # Implements the FHIR standard conditional patch interaction
2808
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
2809
+ # DSTU2 doesn't define a conditional patch method, but the server supports it
2810
+ # in the same way it supports STU3.
2789
2811
  # Search terms are provided as query parameters following the same pattern as
2790
2812
  # the search method.
2791
2813
  # If the search criteria identify more than one match, the request will
@@ -2802,8 +2824,9 @@ module Google
2802
2824
  # The name of the FHIR store this resource belongs to.
2803
2825
  # @param [String] type
2804
2826
  # The FHIR resource type to update, such as Patient or Observation. For a
2805
- # complete list, see the [FHIR Resource
2806
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2827
+ # complete list, see the FHIR Resource Index
2828
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2829
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2807
2830
  # @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object
2808
2831
  # @param [String] fields
2809
2832
  # Selector specifying which fields to include in a partial response.
@@ -2837,9 +2860,9 @@ module Google
2837
2860
 
2838
2861
  # If a resource is found based on the search criteria specified in the query
2839
2862
  # parameters, updates the entire contents of that resource.
2840
- # Implements the FHIR standard [conditional update
2841
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-
2842
- # update).
2863
+ # Implements the FHIR standard conditional update interaction
2864
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.10.2),
2865
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cond-update)).
2843
2866
  # Search terms are provided as query parameters following the same pattern as
2844
2867
  # the search method.
2845
2868
  # If the search criteria identify more than one match, the request will
@@ -2863,8 +2886,9 @@ module Google
2863
2886
  # The name of the FHIR store this resource belongs to.
2864
2887
  # @param [String] type
2865
2888
  # The FHIR resource type to update, such as Patient or Observation. For a
2866
- # complete list, see the [FHIR Resource
2867
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2889
+ # complete list, see the FHIR Resource Index
2890
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2891
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2868
2892
  # Must match the resource type in the provided content.
2869
2893
  # @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object
2870
2894
  # @param [String] fields
@@ -2898,11 +2922,13 @@ module Google
2898
2922
  end
2899
2923
 
2900
2924
  # Creates a FHIR resource.
2901
- # Implements the FHIR standard [create
2902
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#create),
2925
+ # Implements the FHIR standard create interaction
2926
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#create),
2927
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#create)),
2903
2928
  # which creates a new resource with a server-assigned resource ID.
2904
- # Also supports the FHIR standard [conditional create
2905
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate),
2929
+ # Also supports the FHIR standard conditional create interaction
2930
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#ccreate),
2931
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#ccreate)),
2906
2932
  # specified by supplying an `If-None-Exist` header containing a FHIR search
2907
2933
  # query. If no resources match this search query, the server processes the
2908
2934
  # create operation as normal.
@@ -2919,8 +2945,9 @@ module Google
2919
2945
  # The name of the FHIR store this resource belongs to.
2920
2946
  # @param [String] type
2921
2947
  # The FHIR resource type to create, such as Patient or Observation. For a
2922
- # complete list, see the [FHIR Resource
2923
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2948
+ # complete list, see the FHIR Resource Index
2949
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2950
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2924
2951
  # Must match the resource type in the provided content.
2925
2952
  # @param [Google::Apis::HealthcareV1alpha2::HttpBody] http_body_object
2926
2953
  # @param [String] fields
@@ -2954,8 +2981,9 @@ module Google
2954
2981
  end
2955
2982
 
2956
2983
  # Deletes a FHIR resource.
2957
- # Implements the FHIR standard [delete
2958
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#delete).
2984
+ # Implements the FHIR standard delete interaction
2985
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#delete),
2986
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#delete)).
2959
2987
  # Note: Unless resource versioning is disabled by setting the
2960
2988
  # disable_resource_versioning flag
2961
2989
  # on the FHIR store, the deleted resources will be moved to a history
@@ -2992,15 +3020,17 @@ module Google
2992
3020
  end
2993
3021
 
2994
3022
  # Executes all the requests in the given Bundle.
2995
- # Implements the FHIR standard [batch/transaction
2996
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#
2997
- # transaction).
3023
+ # Implements the FHIR standard batch/transaction interaction
3024
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#transaction),
3025
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#transaction)).
2998
3026
  # Supports all interactions within a bundle, except search. This method
2999
3027
  # accepts Bundles of type `batch` and `transaction`, processing them
3000
- # according to the [batch processing
3001
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1)
3002
- # and [transaction processing
3003
- # rules](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2).
3028
+ # according to the batch processing rules
3029
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.1),
3030
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.1))
3031
+ # and transaction processing rules
3032
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#2.1.0.16.2),
3033
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#2.21.0.17.2)).
3004
3034
  # The request body must contain a JSON-encoded FHIR `Bundle` resource, and
3005
3035
  # the request headers must contain `Content-Type: application/fhir+json`.
3006
3036
  # For a batch bundle or a successful transaction the response body will
@@ -3045,8 +3075,9 @@ module Google
3045
3075
 
3046
3076
  # Lists all the versions of a resource (including the current version and
3047
3077
  # deleted versions) from the FHIR store.
3048
- # Implements the per-resource form of the FHIR standard [history
3049
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#history).
3078
+ # Implements the per-resource form of the FHIR standard history interaction
3079
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#history),
3080
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#history)).
3050
3081
  # On success, the response body will contain a JSON-encoded representation
3051
3082
  # of a `Bundle` resource of type `history`, containing the version history
3052
3083
  # sorted from most recent to oldest versions.
@@ -3112,8 +3143,10 @@ module Google
3112
3143
 
3113
3144
  # Updates part of an existing resource by applying the operations specified
3114
3145
  # in a [JSON Patch](http://jsonpatch.com/) document.
3115
- # Implements the FHIR standard [patch
3116
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#patch).
3146
+ # Implements the FHIR standard patch interaction
3147
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#patch)).
3148
+ # DSTU2 doesn't define a patch method, but the server supports it in the same
3149
+ # way it supports STU3.
3117
3150
  # The request body must contain a JSON Patch document, and the request
3118
3151
  # headers must contain `Content-Type: application/json-patch+json`.
3119
3152
  # On success, the response body will contain a JSON-encoded representation
@@ -3155,10 +3188,12 @@ module Google
3155
3188
  end
3156
3189
 
3157
3190
  # Gets the contents of a FHIR resource.
3158
- # Implements the FHIR standard [read
3159
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#read).
3160
- # Also supports the FHIR standard [conditional read
3161
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#cread)
3191
+ # Implements the FHIR standard read interaction
3192
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#read),
3193
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#read)).
3194
+ # Also supports the FHIR standard conditional read interaction
3195
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#cread),
3196
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#cread))
3162
3197
  # specified by supplying an `If-Modified-Since` header with a date/time value
3163
3198
  # or an `If-None-Match` header with an ETag value.
3164
3199
  # On success, the response body will contain a JSON-encoded representation
@@ -3198,10 +3233,12 @@ module Google
3198
3233
 
3199
3234
  # Searches for resources in the given FHIR store according to criteria
3200
3235
  # specified as query parameters.
3201
- # Implements the FHIR standard [search
3202
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#search)
3203
- # using the search semantics described in the [FHIR Search
3204
- # specification](http://hl7.org/implement/standards/fhir/STU3/search.html).
3236
+ # Implements the FHIR standard search interaction
3237
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
3238
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search))
3239
+ # using the search semantics described in the FHIR Search specification
3240
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
3241
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html)).
3205
3242
  # Supports three methods of search defined by the specification:
3206
3243
  # * `GET [base]?[parameters]` to search across all resources.
3207
3244
  # * `GET [base]/[type]?[parameters]` to search resources of a specified
@@ -3220,9 +3257,12 @@ module Google
3220
3257
  # The server's capability statement, retrieved through
3221
3258
  # capabilities, indicates what search parameters
3222
3259
  # are supported on each FHIR resource. A list of all search parameters
3223
- # defined by the specification can be found in the [FHIR Search Parameter
3224
- # Registry](http://hl7.org/implement/standards/fhir/STU3/searchparameter-
3225
- # registry.html).
3260
+ # defined by the specification can be found in the FHIR Search Parameter
3261
+ # Registry
3262
+ # ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
3263
+ # html)).
3264
+ # FHIR search parameters for DSTU2 can be found on each resource's definition
3265
+ # page.
3226
3266
  # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
3227
3267
  # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
3228
3268
  # Supported search result parameters: `_sort`, `_count`, `_include`,
@@ -3270,8 +3310,9 @@ module Google
3270
3310
  end
3271
3311
 
3272
3312
  # Updates the entire contents of a resource.
3273
- # Implements the FHIR standard [update
3274
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#update).
3313
+ # Implements the FHIR standard update interaction
3314
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#update),
3315
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#update)).
3275
3316
  # If the specified resource does
3276
3317
  # not exist and the FHIR store has
3277
3318
  # enable_update_create set, creates the
@@ -3320,8 +3361,9 @@ module Google
3320
3361
 
3321
3362
  # Gets the contents of a version (current or historical) of a FHIR resource
3322
3363
  # by version ID.
3323
- # Implements the FHIR standard [vread
3324
- # interaction](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
3364
+ # Implements the FHIR standard vread interaction
3365
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#vread),
3366
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#vread).
3325
3367
  # On success, the response body will contain a JSON-encoded representation
3326
3368
  # of the resource.
3327
3369
  # Errors generated by the FHIR store will contain a JSON-encoded
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190809'
28
+ REVISION = '20190901'
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'
@@ -948,6 +948,14 @@ module Google
948
948
  # @return [String]
949
949
  attr_accessor :dataset_uri
950
950
 
951
+ # If this flag is `TRUE`, all tables will be deleted from the dataset before
952
+ # the new exported tables are written. If the flag is not set and the
953
+ # destination dataset contains tables, the export call returns an error.
954
+ # Corresponds to the JSON property `force`
955
+ # @return [Boolean]
956
+ attr_accessor :force
957
+ alias_method :force?, :force
958
+
951
959
  # Configuration for the FHIR BigQuery schema. Determines how the server
952
960
  # generates the schema.
953
961
  # Corresponds to the JSON property `schemaConfig`
@@ -961,14 +969,60 @@ module Google
961
969
  # Update properties of this object
962
970
  def update!(**args)
963
971
  @dataset_uri = args[:dataset_uri] if args.key?(:dataset_uri)
972
+ @force = args[:force] if args.key?(:force)
964
973
  @schema_config = args[:schema_config] if args.key?(:schema_config)
965
974
  end
966
975
  end
967
976
 
968
- # Final response of exporting resources.
977
+ # Response when errors occur while exporting resources.
978
+ # This structure is included in the
979
+ # error details to describe the
980
+ # detailed outcome. It is only included when the operation finishes with
981
+ # errors.
982
+ class GoogleCloudHealthcareV1beta1FhirRestExportResourcesErrorDetails
983
+ include Google::Apis::Core::Hashable
984
+
985
+ # The number of resources that had errors.
986
+ # Corresponds to the JSON property `errorCount`
987
+ # @return [Fixnum]
988
+ attr_accessor :error_count
989
+
990
+ # The name of the FHIR store where resources have been exported, in the
991
+ # format
992
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
993
+ # fhirStores/`fhir_store_id``.
994
+ # Corresponds to the JSON property `fhirStore`
995
+ # @return [String]
996
+ attr_accessor :fhir_store
997
+
998
+ # The total number of resources included in the export operation. This is
999
+ # the sum of the success and error counts.
1000
+ # Corresponds to the JSON property `resourceCount`
1001
+ # @return [Fixnum]
1002
+ attr_accessor :resource_count
1003
+
1004
+ # The number of resources that were exported.
1005
+ # Corresponds to the JSON property `successCount`
1006
+ # @return [Fixnum]
1007
+ attr_accessor :success_count
1008
+
1009
+ def initialize(**args)
1010
+ update!(**args)
1011
+ end
1012
+
1013
+ # Update properties of this object
1014
+ def update!(**args)
1015
+ @error_count = args[:error_count] if args.key?(:error_count)
1016
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1017
+ @resource_count = args[:resource_count] if args.key?(:resource_count)
1018
+ @success_count = args[:success_count] if args.key?(:success_count)
1019
+ end
1020
+ end
1021
+
1022
+ # Response when all resources export successfully.
969
1023
  # This structure will be included in the
970
1024
  # response to describe the detailed
971
- # outcome. It will only be included when the operation finishes.
1025
+ # outcome. It will only be included when the operation finishes successfully.
972
1026
  class GoogleCloudHealthcareV1beta1FhirRestExportResourcesResponse
973
1027
  include Google::Apis::Core::Hashable
974
1028