google-apis-healthcare_v1beta1 0.23.0 → 0.26.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/healthcare_v1beta1/classes.rb +86 -2
- data/lib/google/apis/healthcare_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1beta1/representations.rb +32 -0
- data/lib/google/apis/healthcare_v1beta1/service.rb +14 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 342e2f3c912c6ac9652f81c1fcd6a93ceea2e9ba28b194b3c870c47ab0037b44
|
4
|
+
data.tar.gz: '034778f113b917e4d873716aeca997e43987ebd2a6314fe78cd940348035862b'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be455a65673fac05275bb1613be24fb80bf04dc468289f6603d4f8f581e6418025812366cebe1d207e84a046b25bbddd246293025cab20c5e646d178ec0670f3
|
7
|
+
data.tar.gz: f1ae934f52af16ac5b609581b499885e76c179e38478dc827ba0d9fb4e76bf421bdd4c1565d077a36626bf0484d471b1ebb02dc32cf3967f4751d7cba77750eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1beta1
|
2
2
|
|
3
|
+
### v0.26.0 (2022-04-14)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220404
|
6
|
+
|
7
|
+
### v0.25.0 (2022-03-29)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220317
|
10
|
+
|
11
|
+
### v0.24.0 (2022-03-10)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220224
|
14
|
+
|
3
15
|
### v0.23.0 (2022-03-03)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220223
|
@@ -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
|
@@ -1380,8 +1438,7 @@ module Google
|
|
1380
1438
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
1381
1439
|
# messages in your APIs. A typical example is to use it as the request or the
|
1382
1440
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
1383
|
-
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1384
|
-
# `Empty` is empty JSON object ````.
|
1441
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
1385
1442
|
class Empty
|
1386
1443
|
include Google::Apis::Core::Hashable
|
1387
1444
|
|
@@ -2008,6 +2065,33 @@ module Google
|
|
2008
2065
|
end
|
2009
2066
|
end
|
2010
2067
|
|
2068
|
+
# Details about the FHIR store to write the output to.
|
2069
|
+
class FhirOutput
|
2070
|
+
include Google::Apis::Core::Hashable
|
2071
|
+
|
2072
|
+
# Name of the output FHIR store, which must already exist. You must grant the
|
2073
|
+
# healthcare.fhirResources.update permission on the destination store to your
|
2074
|
+
# project's **Cloud Healthcare Service Agent** [service account](https://cloud.
|
2075
|
+
# google.com/healthcare/docs/how-tos/permissions-healthcare-api-gcp-products#
|
2076
|
+
# the_cloud_healthcare_service_agent). The destination store must set `
|
2077
|
+
# enable_update_create` to true. The destination store must use FHIR version R4.
|
2078
|
+
# Writing these resources will consume FHIR operations quota from the project
|
2079
|
+
# containing the source data. De-identify operation metadata is only generated
|
2080
|
+
# for DICOM de-identification operations.
|
2081
|
+
# Corresponds to the JSON property `fhirStore`
|
2082
|
+
# @return [String]
|
2083
|
+
attr_accessor :fhir_store
|
2084
|
+
|
2085
|
+
def initialize(**args)
|
2086
|
+
update!(**args)
|
2087
|
+
end
|
2088
|
+
|
2089
|
+
# Update properties of this object
|
2090
|
+
def update!(**args)
|
2091
|
+
@fhir_store = args[:fhir_store] if args.key?(:fhir_store)
|
2092
|
+
end
|
2093
|
+
end
|
2094
|
+
|
2011
2095
|
# Represents a FHIR store.
|
2012
2096
|
class FhirStore
|
2013
2097
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.26.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 = "
|
25
|
+
REVISION = "20220404"
|
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
|
@@ -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.
|
4773
|
-
#
|
4774
|
-
#
|
4775
|
-
#
|
4776
|
-
#
|
4777
|
-
#
|
4778
|
-
#
|
4779
|
-
#
|
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.
|
4
|
+
version: 0.26.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-
|
11
|
+
date: 2022-04-18 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.26.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: []
|