google-apis-healthcare_v1beta1 0.22.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bd15544e93b1e70273dba492959ffe9a0a2af3338886d062212b23fb32ed035
4
- data.tar.gz: 95db0191a6857ef95479870e4370c226c850b4a2c81dc95305786ba1a63bb191
3
+ metadata.gz: 60c9ba72d97e10fc6abee31051c732fe53ea6f3cdb694ec878e812cd6d4e5ed1
4
+ data.tar.gz: 56684f0ea54fac5a1f9fa4248b3ce7bf56d8c304b8a08967ef14b5c1fa3f3fe4
5
5
  SHA512:
6
- metadata.gz: 6258711ac08b8b657f40098dd9d938acdb12f7d52623311df25bf4c3b4a07ce8a9cfd458b1d2b81d63947ea5ccbd9e564f373ef4d75772b7e09c95f5c8951782
7
- data.tar.gz: 6f4eea3b9eff7fa0764f98ca62d33c51e972519676ae1761f9f144eae4bacf6a3eb79332edf6ab4ed52f714a5e1a149d796057d3ce5388fe4ecd3b8dd89853be
6
+ metadata.gz: 6edd813fd4e4e4fc8a3a49c86e608088a0bd0ec19984c783e63ec468a1a033409cd7b79d86bbe943ddc5f9aeaa02aa3e95ff5496017655d8bdc85ec289920f90
7
+ data.tar.gz: 82ec0c823c4b68791646fcb38eee8af678c4aad60b268c72395f908e75fe611de28097cf2b076a2d3d097b7a1f713bedd6ccb27a6948363afc8f95b88c8dcfc5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.25.0 (2022-03-29)
4
+
5
+ * Regenerated from discovery document revision 20220317
6
+
7
+ ### v0.24.0 (2022-03-10)
8
+
9
+ * Regenerated from discovery document revision 20220224
10
+
11
+ ### v0.23.0 (2022-03-03)
12
+
13
+ * Regenerated from discovery document revision 20220223
14
+
3
15
  ### v0.22.0 (2022-02-23)
4
16
 
5
17
  * Regenerated from discovery document revision 20220211
@@ -1098,6 +1098,11 @@ module Google
1098
1098
  # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
1099
1099
  attr_accessor :image
1100
1100
 
1101
+ # Details about the work the de-identify operation performed.
1102
+ # Corresponds to the JSON property `operationMetadata`
1103
+ # @return [Google::Apis::HealthcareV1beta1::DeidentifyOperationMetadata]
1104
+ attr_accessor :operation_metadata
1105
+
1101
1106
  # Configures de-identification of text wherever it is found in the
1102
1107
  # source_dataset.
1103
1108
  # Corresponds to the JSON property `text`
@@ -1114,6 +1119,7 @@ module Google
1114
1119
  @dicom = args[:dicom] if args.key?(:dicom)
1115
1120
  @fhir = args[:fhir] if args.key?(:fhir)
1116
1121
  @image = args[:image] if args.key?(:image)
1122
+ @operation_metadata = args[:operation_metadata] if args.key?(:operation_metadata)
1117
1123
  @text = args[:text] if args.key?(:text)
1118
1124
  end
1119
1125
  end
@@ -1137,6 +1143,16 @@ module Google
1137
1143
  # @return [String]
1138
1144
  attr_accessor :destination_dataset
1139
1145
 
1146
+ # Cloud Storage location to read the JSON cloud.healthcare.deidentify.
1147
+ # DeidentifyConfig from, overriding the default config. Must be of the form `gs:/
1148
+ # /`bucket_id`/path/to/object`. The Cloud Storage location must grant the Cloud
1149
+ # IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare
1150
+ # Service Agent service account. Only one of `config` and `gcs_config_uri` can
1151
+ # be specified.
1152
+ # Corresponds to the JSON property `gcsConfigUri`
1153
+ # @return [String]
1154
+ attr_accessor :gcs_config_uri
1155
+
1140
1156
  def initialize(**args)
1141
1157
  update!(**args)
1142
1158
  end
@@ -1145,6 +1161,7 @@ module Google
1145
1161
  def update!(**args)
1146
1162
  @config = args[:config] if args.key?(:config)
1147
1163
  @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
1164
+ @gcs_config_uri = args[:gcs_config_uri] if args.key?(:gcs_config_uri)
1148
1165
  end
1149
1166
  end
1150
1167
 
@@ -1175,6 +1192,16 @@ module Google
1175
1192
  # @return [Google::Apis::HealthcareV1beta1::DicomFilterConfig]
1176
1193
  attr_accessor :filter_config
1177
1194
 
1195
+ # Cloud Storage location to read the JSON cloud.healthcare.deidentify.
1196
+ # DeidentifyConfig from, overriding the default config. Must be of the form `gs:/
1197
+ # /`bucket_id`/path/to/object`. The Cloud Storage location must grant the Cloud
1198
+ # IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare
1199
+ # Service Agent service account. Only one of `config` and `gcs_config_uri` can
1200
+ # be specified.
1201
+ # Corresponds to the JSON property `gcsConfigUri`
1202
+ # @return [String]
1203
+ attr_accessor :gcs_config_uri
1204
+
1178
1205
  def initialize(**args)
1179
1206
  update!(**args)
1180
1207
  end
@@ -1184,6 +1211,7 @@ module Google
1184
1211
  @config = args[:config] if args.key?(:config)
1185
1212
  @destination_store = args[:destination_store] if args.key?(:destination_store)
1186
1213
  @filter_config = args[:filter_config] if args.key?(:filter_config)
1214
+ @gcs_config_uri = args[:gcs_config_uri] if args.key?(:gcs_config_uri)
1187
1215
  end
1188
1216
  end
1189
1217
 
@@ -1209,6 +1237,16 @@ module Google
1209
1237
  # @return [String]
1210
1238
  attr_accessor :destination_store
1211
1239
 
1240
+ # Cloud Storage location to read the JSON cloud.healthcare.deidentify.
1241
+ # DeidentifyConfig from, overriding the default config. Must be of the form `gs:/
1242
+ # /`bucket_id`/path/to/object`. The Cloud Storage location must grant the Cloud
1243
+ # IAM role `roles/storage.objectViewer` to the project's Cloud Healthcare
1244
+ # Service Agent service account. Only one of `config` and `gcs_config_uri` can
1245
+ # be specified.
1246
+ # Corresponds to the JSON property `gcsConfigUri`
1247
+ # @return [String]
1248
+ attr_accessor :gcs_config_uri
1249
+
1212
1250
  # Filter configuration.
1213
1251
  # Corresponds to the JSON property `resourceFilter`
1214
1252
  # @return [Google::Apis::HealthcareV1beta1::FhirFilter]
@@ -1222,10 +1260,30 @@ module Google
1222
1260
  def update!(**args)
1223
1261
  @config = args[:config] if args.key?(:config)
1224
1262
  @destination_store = args[:destination_store] if args.key?(:destination_store)
1263
+ @gcs_config_uri = args[:gcs_config_uri] if args.key?(:gcs_config_uri)
1225
1264
  @resource_filter = args[:resource_filter] if args.key?(:resource_filter)
1226
1265
  end
1227
1266
  end
1228
1267
 
1268
+ # Details about the work the de-identify operation performed.
1269
+ class DeidentifyOperationMetadata
1270
+ include Google::Apis::Core::Hashable
1271
+
1272
+ # Details about the FHIR store to write the output to.
1273
+ # Corresponds to the JSON property `fhirOutput`
1274
+ # @return [Google::Apis::HealthcareV1beta1::FhirOutput]
1275
+ attr_accessor :fhir_output
1276
+
1277
+ def initialize(**args)
1278
+ update!(**args)
1279
+ end
1280
+
1281
+ # Update properties of this object
1282
+ def update!(**args)
1283
+ @fhir_output = args[:fhir_output] if args.key?(:fhir_output)
1284
+ end
1285
+ end
1286
+
1229
1287
  # Contains a detailed summary of the Deidentify operation.
1230
1288
  class DeidentifySummary
1231
1289
  include Google::Apis::Core::Hashable
@@ -2008,6 +2066,33 @@ module Google
2008
2066
  end
2009
2067
  end
2010
2068
 
2069
+ # Details about the FHIR store to write the output to.
2070
+ class FhirOutput
2071
+ include Google::Apis::Core::Hashable
2072
+
2073
+ # Name of the output FHIR store, which must already exist. You must grant the
2074
+ # healthcare.fhirResources.update permission on the destination store to your
2075
+ # project's **Cloud Healthcare Service Agent** [service account](https://cloud.
2076
+ # google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#
2077
+ # the_cloud_healthcare_service_agent). The destination store must set `
2078
+ # enable_update_create` to true. The destination store must use FHIR version R4.
2079
+ # Writing these resources will consume FHIR operations quota from the project
2080
+ # containing the source data. De-identify operation metadata is only generated
2081
+ # for DICOM de-identification operations.
2082
+ # Corresponds to the JSON property `fhirStore`
2083
+ # @return [String]
2084
+ attr_accessor :fhir_store
2085
+
2086
+ def initialize(**args)
2087
+ update!(**args)
2088
+ end
2089
+
2090
+ # Update properties of this object
2091
+ def update!(**args)
2092
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
2093
+ end
2094
+ end
2095
+
2011
2096
  # Represents a FHIR store.
2012
2097
  class FhirStore
2013
2098
  include Google::Apis::Core::Hashable
@@ -4817,26 +4902,6 @@ module Google
4817
4902
  class SearchResourcesRequest
4818
4903
  include Google::Apis::Core::Hashable
4819
4904
 
4820
- # Message that represents an arbitrary HTTP body. It should only be used for
4821
- # payload formats that can't be represented as JSON, such as raw binary or an
4822
- # HTML page. This message can be used both in streaming and non-streaming API
4823
- # methods in the request as well as the response. It can be used as a top-level
4824
- # request field, which is convenient if one wants to extract parameters from
4825
- # either the URL or HTTP template into the request fields and also want access
4826
- # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
4827
- # request id. string request_id = 1; // The raw HTTP body is bound to this field.
4828
- # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
4829
- # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
4830
- # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
4831
- # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
4832
- # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
4833
- # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
4834
- # only changes how the request and response bodies are handled, all other
4835
- # features will continue to work unchanged.
4836
- # Corresponds to the JSON property `requestBody`
4837
- # @return [Google::Apis::HealthcareV1beta1::HttpBody]
4838
- attr_accessor :request_body
4839
-
4840
4905
  # The FHIR resource type to search, such as Patient or Observation. For a
4841
4906
  # complete list, see the FHIR Resource Index ([DSTU2](https://hl7.org/implement/
4842
4907
  # standards/fhir/DSTU2/resourcelist.html), [STU3](https://hl7.org/implement/
@@ -4852,7 +4917,6 @@ module Google
4852
4917
 
4853
4918
  # Update properties of this object
4854
4919
  def update!(**args)
4855
- @request_body = args[:request_body] if args.key?(:request_body)
4856
4920
  @resource_type = args[:resource_type] if args.key?(:resource_type)
4857
4921
  end
4858
4922
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220211"
25
+ REVISION = "20220317"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class DeidentifyOperationMetadata
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class DeidentifySummary
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -376,6 +382,12 @@ module Google
376
382
  include Google::Apis::Core::JsonObjectSupport
377
383
  end
378
384
 
385
+ class FhirOutput
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
379
391
  class FhirStore
380
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
393
 
@@ -1291,6 +1303,8 @@ module Google
1291
1303
 
1292
1304
  property :image, as: 'image', class: Google::Apis::HealthcareV1beta1::ImageConfig, decorator: Google::Apis::HealthcareV1beta1::ImageConfig::Representation
1293
1305
 
1306
+ property :operation_metadata, as: 'operationMetadata', class: Google::Apis::HealthcareV1beta1::DeidentifyOperationMetadata, decorator: Google::Apis::HealthcareV1beta1::DeidentifyOperationMetadata::Representation
1307
+
1294
1308
  property :text, as: 'text', class: Google::Apis::HealthcareV1beta1::TextConfig, decorator: Google::Apis::HealthcareV1beta1::TextConfig::Representation
1295
1309
 
1296
1310
  end
@@ -1302,6 +1316,7 @@ module Google
1302
1316
  property :config, as: 'config', class: Google::Apis::HealthcareV1beta1::DeidentifyConfig, decorator: Google::Apis::HealthcareV1beta1::DeidentifyConfig::Representation
1303
1317
 
1304
1318
  property :destination_dataset, as: 'destinationDataset'
1319
+ property :gcs_config_uri, as: 'gcsConfigUri'
1305
1320
  end
1306
1321
  end
1307
1322
 
@@ -1313,6 +1328,7 @@ module Google
1313
1328
  property :destination_store, as: 'destinationStore'
1314
1329
  property :filter_config, as: 'filterConfig', class: Google::Apis::HealthcareV1beta1::DicomFilterConfig, decorator: Google::Apis::HealthcareV1beta1::DicomFilterConfig::Representation
1315
1330
 
1331
+ property :gcs_config_uri, as: 'gcsConfigUri'
1316
1332
  end
1317
1333
  end
1318
1334
 
@@ -1322,11 +1338,20 @@ module Google
1322
1338
  property :config, as: 'config', class: Google::Apis::HealthcareV1beta1::DeidentifyConfig, decorator: Google::Apis::HealthcareV1beta1::DeidentifyConfig::Representation
1323
1339
 
1324
1340
  property :destination_store, as: 'destinationStore'
1341
+ property :gcs_config_uri, as: 'gcsConfigUri'
1325
1342
  property :resource_filter, as: 'resourceFilter', class: Google::Apis::HealthcareV1beta1::FhirFilter, decorator: Google::Apis::HealthcareV1beta1::FhirFilter::Representation
1326
1343
 
1327
1344
  end
1328
1345
  end
1329
1346
 
1347
+ class DeidentifyOperationMetadata
1348
+ # @private
1349
+ class Representation < Google::Apis::Core::JsonRepresentation
1350
+ property :fhir_output, as: 'fhirOutput', class: Google::Apis::HealthcareV1beta1::FhirOutput, decorator: Google::Apis::HealthcareV1beta1::FhirOutput::Representation
1351
+
1352
+ end
1353
+ end
1354
+
1330
1355
  class DeidentifySummary
1331
1356
  # @private
1332
1357
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1554,6 +1579,13 @@ module Google
1554
1579
  end
1555
1580
  end
1556
1581
 
1582
+ class FhirOutput
1583
+ # @private
1584
+ class Representation < Google::Apis::Core::JsonRepresentation
1585
+ property :fhir_store, as: 'fhirStore'
1586
+ end
1587
+ end
1588
+
1557
1589
  class FhirStore
1558
1590
  # @private
1559
1591
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2328,8 +2360,6 @@ module Google
2328
2360
  class SearchResourcesRequest
2329
2361
  # @private
2330
2362
  class Representation < Google::Apis::Core::JsonRepresentation
2331
- property :request_body, as: 'requestBody', class: Google::Apis::HealthcareV1beta1::HttpBody, decorator: Google::Apis::HealthcareV1beta1::HttpBody::Representation
2332
-
2333
2363
  property :resource_type, as: 'resourceType'
2334
2364
  end
2335
2365
  end
@@ -4769,14 +4769,20 @@ module Google
4769
4769
  # fhir/STU3/http.html#2.21.0.13.1), [R4](https://hl7.org/implement/standards/
4770
4770
  # fhir/R4/http.html#3.1.0.7.1)). If multiple resources match, all matching
4771
4771
  # resources are deleted. Search terms are provided as query parameters following
4772
- # the same pattern as the search method. Note: Unless resource versioning is
4773
- # disabled by setting the disable_resource_versioning flag on the FHIR store,
4774
- # the deleted resources are moved to a history repository that can still be
4775
- # retrieved through vread and related methods, unless they are removed by the
4776
- # purge method. This method requires the`healthcare.fhirStores.searchResources`
4777
- # and `healthcare.fhirResources.delete` permissions on the parent FHIR store.
4778
- # For samples that show how to call `conditionalDelete`, see [Conditionally
4779
- # deleting a FHIR resource](/healthcare/docs/how-tos/fhir-resources#
4772
+ # the same pattern as the search method. Not all FHIR resources that match the
4773
+ # search query might be deleted because, by default, a maximum of 100 FHIR
4774
+ # resources can be deleted. The number of FHIR resources that can be deleted
4775
+ # depends on the page size of the returned resources, which you can control
4776
+ # using the `_count` query parameter. Even when using `_count`, you can delete a
4777
+ # maximum 1,000 FHIR resources per each call of `conditionalDelete`. Note:
4778
+ # Unless resource versioning is disabled by setting the
4779
+ # disable_resource_versioning flag on the FHIR store, the deleted resources are
4780
+ # moved to a history repository that can still be retrieved through vread and
4781
+ # related methods, unless they are removed by the purge method. This method
4782
+ # requires the`healthcare.fhirStores.searchResources` and `healthcare.
4783
+ # fhirResources.delete` permissions on the parent FHIR store. For samples that
4784
+ # show how to call `conditionalDelete`, see [Conditionally deleting a FHIR
4785
+ # resource](/healthcare/docs/how-tos/fhir-resources#
4780
4786
  # conditionally_deleting_a_fhir_resource).
4781
4787
  # @param [String] parent
4782
4788
  # The name of the FHIR store this resource belongs to.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.25.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []