google-apis-healthcare_v1beta1 0.37.0 → 0.38.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c29bf68f599ebfbfc5beee1befccb5f02dec55b9b15583e15c2aeaf6a26d5630
4
- data.tar.gz: e2951bcd84e0a1449cd2693456d6106233b86c069093073445661c38e6163f03
3
+ metadata.gz: '08e2170ff2ca75f060ca4c6ca0384e52040ddc7310dedf784dff267d8f6a8d48'
4
+ data.tar.gz: 51eba73aca72ebafca034922407573dea6394ae70ec28dd04afe609c76d0af40
5
5
  SHA512:
6
- metadata.gz: f0b6cabd38c052d779956be479be53756723ac7009b7c3e7a44835b1140b5897f5fe6e817fd9b1a02878c9c0442da19d70ac7e672fee972a88734c34083d0357
7
- data.tar.gz: 7509044ffc5a87991dad6508cef7c24ac040cddd16c5bf1e59fff8a1256a7707e73b7ac33a4156b997a76f1a87506d7002844e594ee88d62b9ab4debb1552805
6
+ metadata.gz: d7d1e34ef4e7731f5b5ad5f2e99e3c554321a715604c7822c545fe8a0470a85ebf2c1c2c63a5db370cbad55e9dce5a892da6bbfd1f711f0363cfadc90150b95a
7
+ data.tar.gz: 5500e0f7267be5bc857ab5e37127fed5df4bdaf85e03830025d420bff258b104795f5ae075b52e5233ce182d3c8ac5ade4913e84be1abf26ef166cef56cdb82d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.38.0 (2022-11-04)
4
+
5
+ * Regenerated from discovery document revision 20221025
6
+
3
7
  ### v0.37.0 (2022-10-20)
4
8
 
5
9
  * Regenerated using generator version 0.11.0
@@ -22,6 +22,81 @@ module Google
22
22
  module Apis
23
23
  module HealthcareV1beta1
24
24
 
25
+ # Specifies a selection of tags and an `Action` to apply to each one.
26
+ class Action
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Specifies how to handle de-identification of image pixels.
30
+ # Corresponds to the JSON property `cleanImageTag`
31
+ # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
32
+ attr_accessor :clean_image_tag
33
+
34
+ # Inspect text and transform sensitive text. Configurable using `TextConfig`.
35
+ # Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/
36
+ # output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT,
37
+ # DA, DT, AS
38
+ # Corresponds to the JSON property `cleanTextTag`
39
+ # @return [Google::Apis::HealthcareV1beta1::CleanTextTag]
40
+ attr_accessor :clean_text_tag
41
+
42
+ # Delete tag.
43
+ # Corresponds to the JSON property `deleteTag`
44
+ # @return [Google::Apis::HealthcareV1beta1::DeleteTag]
45
+ attr_accessor :delete_tag
46
+
47
+ # Keep tag unchanged.
48
+ # Corresponds to the JSON property `keepTag`
49
+ # @return [Google::Apis::HealthcareV1beta1::KeepTag]
50
+ attr_accessor :keep_tag
51
+
52
+ # Select all tags with the listed tag IDs, names, or Value Representations (VRs).
53
+ # Examples: ID: "00100010" Keyword: "PatientName" VR: "PN"
54
+ # Corresponds to the JSON property `queries`
55
+ # @return [Array<String>]
56
+ attr_accessor :queries
57
+
58
+ # Recursively apply DICOM de-id to tags nested in a sequence. Supported [Value
59
+ # Representation] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/
60
+ # sect_6.2.html#table_6.2-1): SQ
61
+ # Corresponds to the JSON property `recurseTag`
62
+ # @return [Google::Apis::HealthcareV1beta1::RecurseTag]
63
+ attr_accessor :recurse_tag
64
+
65
+ # Replace UID with a new generated UID. Supported [Value Representation] (http://
66
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-
67
+ # 1): UI
68
+ # Corresponds to the JSON property `regenUidTag`
69
+ # @return [Google::Apis::HealthcareV1beta1::RegenUidTag]
70
+ attr_accessor :regen_uid_tag
71
+
72
+ # Replace with empty tag.
73
+ # Corresponds to the JSON property `removeTag`
74
+ # @return [Google::Apis::HealthcareV1beta1::RemoveTag]
75
+ attr_accessor :remove_tag
76
+
77
+ # Reset tag to a placeholder value.
78
+ # Corresponds to the JSON property `resetTag`
79
+ # @return [Google::Apis::HealthcareV1beta1::ResetTag]
80
+ attr_accessor :reset_tag
81
+
82
+ def initialize(**args)
83
+ update!(**args)
84
+ end
85
+
86
+ # Update properties of this object
87
+ def update!(**args)
88
+ @clean_image_tag = args[:clean_image_tag] if args.key?(:clean_image_tag)
89
+ @clean_text_tag = args[:clean_text_tag] if args.key?(:clean_text_tag)
90
+ @delete_tag = args[:delete_tag] if args.key?(:delete_tag)
91
+ @keep_tag = args[:keep_tag] if args.key?(:keep_tag)
92
+ @queries = args[:queries] if args.key?(:queries)
93
+ @recurse_tag = args[:recurse_tag] if args.key?(:recurse_tag)
94
+ @regen_uid_tag = args[:regen_uid_tag] if args.key?(:regen_uid_tag)
95
+ @remove_tag = args[:remove_tag] if args.key?(:remove_tag)
96
+ @reset_tag = args[:reset_tag] if args.key?(:reset_tag)
97
+ end
98
+ end
99
+
25
100
  # Activates the latest revision of the specified Consent by committing a new
26
101
  # revision with `state` updated to `ACTIVE`. If the latest revision of the given
27
102
  # Consent is in the `ACTIVE` state, no new revision is committed. A
@@ -596,6 +671,21 @@ module Google
596
671
  end
597
672
  end
598
673
 
674
+ # Replace field value with masking character. Supported [types](https://www.hl7.
675
+ # org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown,
676
+ # Oid, String, Uri, Uuid, Xhtml
677
+ class CharacterMaskField
678
+ include Google::Apis::Core::Hashable
679
+
680
+ def initialize(**args)
681
+ update!(**args)
682
+ end
683
+
684
+ # Update properties of this object
685
+ def update!(**args)
686
+ end
687
+ end
688
+
599
689
  # Checks if a particular data_id of a User data mapping in the given consent
600
690
  # store is consented for a given use.
601
691
  class CheckDataAccessRequest
@@ -663,6 +753,58 @@ module Google
663
753
  end
664
754
  end
665
755
 
756
+ # This option is based on the DICOM Standard's [Clean Descriptors Option](http://
757
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html), and
758
+ # the `CleanText` `Action` is applied to all the specified fields. When cleaning
759
+ # text, the process attempts to transform phrases matching any of the tags
760
+ # marked for removal (action codes D, Z, X, and U) in the [Basic Profile](http://
761
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These
762
+ # contextual phrases are replaced with the token "[CTX]". This option uses an
763
+ # additional `InfoType` during inspection.
764
+ class CleanDescriptorsOption
765
+ include Google::Apis::Core::Hashable
766
+
767
+ def initialize(**args)
768
+ update!(**args)
769
+ end
770
+
771
+ # Update properties of this object
772
+ def update!(**args)
773
+ end
774
+ end
775
+
776
+ # Inspect text and transform sensitive text. Configure using `TextConfig`.
777
+ # Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date,
778
+ # DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri,
779
+ # Uuid, Xhtml
780
+ class CleanTextField
781
+ include Google::Apis::Core::Hashable
782
+
783
+ def initialize(**args)
784
+ update!(**args)
785
+ end
786
+
787
+ # Update properties of this object
788
+ def update!(**args)
789
+ end
790
+ end
791
+
792
+ # Inspect text and transform sensitive text. Configurable using `TextConfig`.
793
+ # Supported [Value Representations] (http://dicom.nema.org/medical/dicom/2018e/
794
+ # output/chtml/part05/sect_6.2.html#table_6.2-1): AE, LO, LT, PN, SH, ST, UC, UT,
795
+ # DA, DT, AS
796
+ class CleanTextTag
797
+ include Google::Apis::Core::Hashable
798
+
799
+ def initialize(**args)
800
+ update!(**args)
801
+ end
802
+
803
+ # Update properties of this object
804
+ def update!(**args)
805
+ end
806
+ end
807
+
666
808
  # Cloud Healthcare API resource.
667
809
  class CloudHealthcareSource
668
810
  include Google::Apis::Core::Hashable
@@ -956,6 +1098,23 @@ module Google
956
1098
  end
957
1099
  end
958
1100
 
1101
+ # The fields that aren't marked `Keep` or `CleanText` in the `BASIC` profile are
1102
+ # collected into a contextual phrase list. For fields marked `CleanText`, the
1103
+ # process attempts to transform phrases matching these contextual entries. These
1104
+ # contextual phrases are replaced with the token "[CTX]". This feature uses an
1105
+ # additional InfoType during inspection.
1106
+ class ContextualDeidConfig
1107
+ include Google::Apis::Core::Hashable
1108
+
1109
+ def initialize(**args)
1110
+ update!(**args)
1111
+ end
1112
+
1113
+ # Update properties of this object
1114
+ def update!(**args)
1115
+ end
1116
+ end
1117
+
959
1118
  # Creates a new message.
960
1119
  class CreateMessageRequest
961
1120
  include Google::Apis::Core::Hashable
@@ -1011,6 +1170,21 @@ module Google
1011
1170
  end
1012
1171
  end
1013
1172
 
1173
+ # Replace field value with a hash of that value. Supported [types](https://www.
1174
+ # hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode,
1175
+ # Markdown, Oid, String, Uri, Uuid, Xhtml
1176
+ class CryptoHashField
1177
+ include Google::Apis::Core::Hashable
1178
+
1179
+ def initialize(**args)
1180
+ update!(**args)
1181
+ end
1182
+
1183
+ # Update properties of this object
1184
+ def update!(**args)
1185
+ end
1186
+ end
1187
+
1014
1188
  # A message representing a health dataset. A health dataset represents a
1015
1189
  # collection of healthcare data pertaining to one or more patients. This may
1016
1190
  # include multiple modalities of healthcare data, such as electronic medical
@@ -1077,6 +1251,21 @@ module Google
1077
1251
  end
1078
1252
  end
1079
1253
 
1254
+ # Shift the date by a randomized number of days. See [date shifting](https://
1255
+ # cloud.google.com/dlp/docs/concepts-date-shifting) for more information.
1256
+ # Supported [types](https://www.hl7.org/fhir/datatypes.html): Date, DateTime
1257
+ class DateShiftField
1258
+ include Google::Apis::Core::Hashable
1259
+
1260
+ def initialize(**args)
1261
+ update!(**args)
1262
+ end
1263
+
1264
+ # Update properties of this object
1265
+ def update!(**args)
1266
+ end
1267
+ end
1268
+
1080
1269
  # Contains configuration for streaming de-identified FHIR export.
1081
1270
  class DeidentifiedStoreDestination
1082
1271
  include Google::Apis::Core::Hashable
@@ -1122,11 +1311,21 @@ module Google
1122
1311
  # @return [Google::Apis::HealthcareV1beta1::DicomConfig]
1123
1312
  attr_accessor :dicom
1124
1313
 
1314
+ # Specifies the parameters needed for the de-identification of DICOM stores.
1315
+ # Corresponds to the JSON property `dicomTagConfig`
1316
+ # @return [Google::Apis::HealthcareV1beta1::DicomTagConfig]
1317
+ attr_accessor :dicom_tag_config
1318
+
1125
1319
  # Specifies how to handle de-identification of a FHIR store.
1126
1320
  # Corresponds to the JSON property `fhir`
1127
1321
  # @return [Google::Apis::HealthcareV1beta1::FhirConfig]
1128
1322
  attr_accessor :fhir
1129
1323
 
1324
+ # Specifies how to handle the de-identification of a FHIR store.
1325
+ # Corresponds to the JSON property `fhirFieldConfig`
1326
+ # @return [Google::Apis::HealthcareV1beta1::FhirFieldConfig]
1327
+ attr_accessor :fhir_field_config
1328
+
1130
1329
  # Specifies how to handle de-identification of image pixels.
1131
1330
  # Corresponds to the JSON property `image`
1132
1331
  # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
@@ -1150,7 +1349,9 @@ module Google
1150
1349
  def update!(**args)
1151
1350
  @annotation = args[:annotation] if args.key?(:annotation)
1152
1351
  @dicom = args[:dicom] if args.key?(:dicom)
1352
+ @dicom_tag_config = args[:dicom_tag_config] if args.key?(:dicom_tag_config)
1153
1353
  @fhir = args[:fhir] if args.key?(:fhir)
1354
+ @fhir_field_config = args[:fhir_field_config] if args.key?(:fhir_field_config)
1154
1355
  @image = args[:image] if args.key?(:image)
1155
1356
  @operation_metadata = args[:operation_metadata] if args.key?(:operation_metadata)
1156
1357
  @text = args[:text] if args.key?(:text)
@@ -1338,6 +1539,19 @@ module Google
1338
1539
  end
1339
1540
  end
1340
1541
 
1542
+ # Delete tag.
1543
+ class DeleteTag
1544
+ include Google::Apis::Core::Hashable
1545
+
1546
+ def initialize(**args)
1547
+ update!(**args)
1548
+ end
1549
+
1550
+ # Update properties of this object
1551
+ def update!(**args)
1552
+ end
1553
+ end
1554
+
1341
1555
  # Contains multiple sensitive information findings for each resource slice.
1342
1556
  class Detail
1343
1557
  include Google::Apis::Core::Hashable
@@ -1476,6 +1690,38 @@ module Google
1476
1690
  end
1477
1691
  end
1478
1692
 
1693
+ # Specifies the parameters needed for the de-identification of DICOM stores.
1694
+ class DicomTagConfig
1695
+ include Google::Apis::Core::Hashable
1696
+
1697
+ # Specifies custom tag selections and `Actions` to apply to them. Overrides `
1698
+ # options` and `profile`. Conflicting `Actions` are applied in the order given.
1699
+ # Corresponds to the JSON property `actions`
1700
+ # @return [Array<Google::Apis::HealthcareV1beta1::Action>]
1701
+ attr_accessor :actions
1702
+
1703
+ # Specifies additional options to apply to the base profile.
1704
+ # Corresponds to the JSON property `options`
1705
+ # @return [Google::Apis::HealthcareV1beta1::Options]
1706
+ attr_accessor :options
1707
+
1708
+ # Base profile type for handling DICOM tags.
1709
+ # Corresponds to the JSON property `profileType`
1710
+ # @return [String]
1711
+ attr_accessor :profile_type
1712
+
1713
+ def initialize(**args)
1714
+ update!(**args)
1715
+ end
1716
+
1717
+ # Update properties of this object
1718
+ def update!(**args)
1719
+ @actions = args[:actions] if args.key?(:actions)
1720
+ @options = args[:options] if args.key?(:options)
1721
+ @profile_type = args[:profile_type] if args.key?(:profile_type)
1722
+ end
1723
+ end
1724
+
1479
1725
  # A generic empty message that you can re-use to avoid defining duplicated empty
1480
1726
  # messages in your APIs. A typical example is to use it as the request or the
1481
1727
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
@@ -2087,6 +2333,41 @@ module Google
2087
2333
  end
2088
2334
  end
2089
2335
 
2336
+ # Specifies how to handle the de-identification of a FHIR store.
2337
+ class FhirFieldConfig
2338
+ include Google::Apis::Core::Hashable
2339
+
2340
+ # Specifies FHIR paths to match and how to transform them. Any field that is not
2341
+ # matched by a `FieldMetadata` is passed through to the output dataset
2342
+ # unmodified. All extensions will be processed according to `keep_extensions`.
2343
+ # If a field can be matched by more than one `FieldMetadata`, the first `
2344
+ # FieldMetadata.Action` is applied. Overrides `options` and `profile`.
2345
+ # Corresponds to the JSON property `fieldMetadataList`
2346
+ # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata>]
2347
+ attr_accessor :field_metadata_list
2348
+
2349
+ # Specifies additional options to apply to the base `profile`.
2350
+ # Corresponds to the JSON property `options`
2351
+ # @return [Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyOptions]
2352
+ attr_accessor :options
2353
+
2354
+ # Base profile type for handling FHIR fields.
2355
+ # Corresponds to the JSON property `profileType`
2356
+ # @return [String]
2357
+ attr_accessor :profile_type
2358
+
2359
+ def initialize(**args)
2360
+ update!(**args)
2361
+ end
2362
+
2363
+ # Update properties of this object
2364
+ def update!(**args)
2365
+ @field_metadata_list = args[:field_metadata_list] if args.key?(:field_metadata_list)
2366
+ @options = args[:options] if args.key?(:options)
2367
+ @profile_type = args[:profile_type] if args.key?(:profile_type)
2368
+ end
2369
+ end
2370
+
2090
2371
  # Filter configuration.
2091
2372
  class FhirFilter
2092
2373
  include Google::Apis::Core::Hashable
@@ -2721,6 +3002,138 @@ module Google
2721
3002
  end
2722
3003
  end
2723
3004
 
3005
+ # Specifies the FHIR paths to match and how to handle the de-identification of
3006
+ # matching fields.
3007
+ class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata
3008
+ include Google::Apis::Core::Hashable
3009
+
3010
+ # Replace field value with masking character. Supported [types](https://www.hl7.
3011
+ # org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode, Markdown,
3012
+ # Oid, String, Uri, Uuid, Xhtml
3013
+ # Corresponds to the JSON property `characterMaskField`
3014
+ # @return [Google::Apis::HealthcareV1beta1::CharacterMaskField]
3015
+ attr_accessor :character_mask_field
3016
+
3017
+ # Inspect text and transform sensitive text. Configure using `TextConfig`.
3018
+ # Supported [types](https://www.hl7.org/fhir/datatypes.html): Code, Date,
3019
+ # DateTime, Decimal, HumanName, Id, LanguageCode, Markdown, Oid, String, Uri,
3020
+ # Uuid, Xhtml
3021
+ # Corresponds to the JSON property `cleanTextField`
3022
+ # @return [Google::Apis::HealthcareV1beta1::CleanTextField]
3023
+ attr_accessor :clean_text_field
3024
+
3025
+ # Replace field value with a hash of that value. Supported [types](https://www.
3026
+ # hl7.org/fhir/datatypes.html): Code, Decimal, HumanName, Id, LanguageCode,
3027
+ # Markdown, Oid, String, Uri, Uuid, Xhtml
3028
+ # Corresponds to the JSON property `cryptoHashField`
3029
+ # @return [Google::Apis::HealthcareV1beta1::CryptoHashField]
3030
+ attr_accessor :crypto_hash_field
3031
+
3032
+ # Shift the date by a randomized number of days. See [date shifting](https://
3033
+ # cloud.google.com/dlp/docs/concepts-date-shifting) for more information.
3034
+ # Supported [types](https://www.hl7.org/fhir/datatypes.html): Date, DateTime
3035
+ # Corresponds to the JSON property `dateShiftField`
3036
+ # @return [Google::Apis::HealthcareV1beta1::DateShiftField]
3037
+ attr_accessor :date_shift_field
3038
+
3039
+ # Keep field unchanged.
3040
+ # Corresponds to the JSON property `keepField`
3041
+ # @return [Google::Apis::HealthcareV1beta1::KeepField]
3042
+ attr_accessor :keep_field
3043
+
3044
+ # List of paths to FHIR fields to redact. Each path is a period-separated list
3045
+ # where each component is either a field name or FHIR type name. All types begin
3046
+ # with an upper case letter. For example, the resource field "Patient.Address.
3047
+ # city", which uses a string type, can be matched by "Patient.Address.String".
3048
+ # Path also supports partialkk matching. For example, "Patient.Address.city" can
3049
+ # be matched by "Address.city" (Patient omitted). Partial matching and type
3050
+ # matching can be combined, for example "Patient.Address.city" can be matched by
3051
+ # "Address.String". For "choice" types (those defined in the FHIR spec with the
3052
+ # form: field[x]), use two separate components. For example, "deceasedAge.unit"
3053
+ # is matched by "Deceased.Age.unit". Supported [types](https://www.hl7.org/fhir/
3054
+ # datatypes.html) are: AdministrativeGenderCode, Base64Binary, Boolean, Code,
3055
+ # Date, DateTime, Decimal, HumanName, Id, Instant, Integer, LanguageCode,
3056
+ # Markdown, Oid, PositiveInt, String, UnsignedInt, Uri, Uuid, Xhtml. The sub-
3057
+ # type for HumanName (for example HumanName.given, HumanName.family) can be
3058
+ # omitted.
3059
+ # Corresponds to the JSON property `paths`
3060
+ # @return [Array<String>]
3061
+ attr_accessor :paths
3062
+
3063
+ # Remove field.
3064
+ # Corresponds to the JSON property `removeField`
3065
+ # @return [Google::Apis::HealthcareV1beta1::RemoveField]
3066
+ attr_accessor :remove_field
3067
+
3068
+ def initialize(**args)
3069
+ update!(**args)
3070
+ end
3071
+
3072
+ # Update properties of this object
3073
+ def update!(**args)
3074
+ @character_mask_field = args[:character_mask_field] if args.key?(:character_mask_field)
3075
+ @clean_text_field = args[:clean_text_field] if args.key?(:clean_text_field)
3076
+ @crypto_hash_field = args[:crypto_hash_field] if args.key?(:crypto_hash_field)
3077
+ @date_shift_field = args[:date_shift_field] if args.key?(:date_shift_field)
3078
+ @keep_field = args[:keep_field] if args.key?(:keep_field)
3079
+ @paths = args[:paths] if args.key?(:paths)
3080
+ @remove_field = args[:remove_field] if args.key?(:remove_field)
3081
+ end
3082
+ end
3083
+
3084
+ # Specifies additional options to apply to the base `profile`.
3085
+ class GoogleCloudHealthcareV1beta1DeidentifyOptions
3086
+ include Google::Apis::Core::Hashable
3087
+
3088
+ # Mask a string by replacing its characters with a fixed character.
3089
+ # Corresponds to the JSON property `characterMaskConfig`
3090
+ # @return [Google::Apis::HealthcareV1beta1::CharacterMaskConfig]
3091
+ attr_accessor :character_mask_config
3092
+
3093
+ # The fields that aren't marked `Keep` or `CleanText` in the `BASIC` profile are
3094
+ # collected into a contextual phrase list. For fields marked `CleanText`, the
3095
+ # process attempts to transform phrases matching these contextual entries. These
3096
+ # contextual phrases are replaced with the token "[CTX]". This feature uses an
3097
+ # additional InfoType during inspection.
3098
+ # Corresponds to the JSON property `contextualDeid`
3099
+ # @return [Google::Apis::HealthcareV1beta1::ContextualDeidConfig]
3100
+ attr_accessor :contextual_deid
3101
+
3102
+ # Pseudonymization method that generates surrogates via cryptographic hashing.
3103
+ # Uses SHA-256. Outputs a base64-encoded representation of the hashed output.
3104
+ # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
3105
+ # Corresponds to the JSON property `cryptoHashConfig`
3106
+ # @return [Google::Apis::HealthcareV1beta1::CryptoHashConfig]
3107
+ attr_accessor :crypto_hash_config
3108
+
3109
+ # Shift a date forward or backward in time by a random amount which is
3110
+ # consistent for a given patient and crypto key combination.
3111
+ # Corresponds to the JSON property `dateShiftConfig`
3112
+ # @return [Google::Apis::HealthcareV1beta1::DateShiftConfig]
3113
+ attr_accessor :date_shift_config
3114
+
3115
+ # The behaviour for handling FHIR extensions that aren't otherwise specified for
3116
+ # de-identification. If provided, all extensions are preserved during de-
3117
+ # identification by default. If unspecified, all extensions are removed during
3118
+ # de-identification by default.
3119
+ # Corresponds to the JSON property `keepExtensions`
3120
+ # @return [Google::Apis::HealthcareV1beta1::KeepExtensionsConfig]
3121
+ attr_accessor :keep_extensions
3122
+
3123
+ def initialize(**args)
3124
+ update!(**args)
3125
+ end
3126
+
3127
+ # Update properties of this object
3128
+ def update!(**args)
3129
+ @character_mask_config = args[:character_mask_config] if args.key?(:character_mask_config)
3130
+ @contextual_deid = args[:contextual_deid] if args.key?(:contextual_deid)
3131
+ @crypto_hash_config = args[:crypto_hash_config] if args.key?(:crypto_hash_config)
3132
+ @date_shift_config = args[:date_shift_config] if args.key?(:date_shift_config)
3133
+ @keep_extensions = args[:keep_extensions] if args.key?(:keep_extensions)
3134
+ end
3135
+ end
3136
+
2724
3137
  # The BigQuery table where the server writes output.
2725
3138
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
2726
3139
  include Google::Apis::Core::Hashable
@@ -3314,6 +3727,21 @@ module Google
3314
3727
  class ImageConfig
3315
3728
  include Google::Apis::Core::Hashable
3316
3729
 
3730
+ # Additional InfoTypes to redact in the images in addition to those used by `
3731
+ # text_redaction_mode`. Can only be used when `text_redaction_mode` is set to `
3732
+ # REDACT_SENSITIVE_TEXT`, `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS` or `
3733
+ # TEXT_REDACTION_MODE_UNSPECIFIED`.
3734
+ # Corresponds to the JSON property `additionalInfoTypes`
3735
+ # @return [Array<String>]
3736
+ attr_accessor :additional_info_types
3737
+
3738
+ # InfoTypes to skip redacting, overriding those used by `text_redaction_mode`.
3739
+ # Can only be used when `text_redaction_mode` is set to `REDACT_SENSITIVE_TEXT`
3740
+ # or `REDACT_SENSITIVE_TEXT_CLEAN_DESCRIPTORS`.
3741
+ # Corresponds to the JSON property `excludeInfoTypes`
3742
+ # @return [Array<String>]
3743
+ attr_accessor :exclude_info_types
3744
+
3317
3745
  # Determines how to redact text from image.
3318
3746
  # Corresponds to the JSON property `textRedactionMode`
3319
3747
  # @return [String]
@@ -3325,6 +3753,8 @@ module Google
3325
3753
 
3326
3754
  # Update properties of this object
3327
3755
  def update!(**args)
3756
+ @additional_info_types = args[:additional_info_types] if args.key?(:additional_info_types)
3757
+ @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
3328
3758
  @text_redaction_mode = args[:text_redaction_mode] if args.key?(:text_redaction_mode)
3329
3759
  end
3330
3760
  end
@@ -3604,6 +4034,48 @@ module Google
3604
4034
  end
3605
4035
  end
3606
4036
 
4037
+ # The behaviour for handling FHIR extensions that aren't otherwise specified for
4038
+ # de-identification. If provided, all extensions are preserved during de-
4039
+ # identification by default. If unspecified, all extensions are removed during
4040
+ # de-identification by default.
4041
+ class KeepExtensionsConfig
4042
+ include Google::Apis::Core::Hashable
4043
+
4044
+ def initialize(**args)
4045
+ update!(**args)
4046
+ end
4047
+
4048
+ # Update properties of this object
4049
+ def update!(**args)
4050
+ end
4051
+ end
4052
+
4053
+ # Keep field unchanged.
4054
+ class KeepField
4055
+ include Google::Apis::Core::Hashable
4056
+
4057
+ def initialize(**args)
4058
+ update!(**args)
4059
+ end
4060
+
4061
+ # Update properties of this object
4062
+ def update!(**args)
4063
+ end
4064
+ end
4065
+
4066
+ # Keep tag unchanged.
4067
+ class KeepTag
4068
+ include Google::Apis::Core::Hashable
4069
+
4070
+ def initialize(**args)
4071
+ update!(**args)
4072
+ end
4073
+
4074
+ # Update properties of this object
4075
+ def update!(**args)
4076
+ end
4077
+ end
4078
+
3607
4079
  # Include to use an existing data crypto key wrapped by KMS. The wrapped key
3608
4080
  # must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM
3609
4081
  # permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud
@@ -4347,6 +4819,46 @@ module Google
4347
4819
  end
4348
4820
  end
4349
4821
 
4822
+ # Specifies additional options to apply to the base profile.
4823
+ class Options
4824
+ include Google::Apis::Core::Hashable
4825
+
4826
+ # This option is based on the DICOM Standard's [Clean Descriptors Option](http://
4827
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part15/sect_E.3.5.html), and
4828
+ # the `CleanText` `Action` is applied to all the specified fields. When cleaning
4829
+ # text, the process attempts to transform phrases matching any of the tags
4830
+ # marked for removal (action codes D, Z, X, and U) in the [Basic Profile](http://
4831
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part15/chapter_E.html). These
4832
+ # contextual phrases are replaced with the token "[CTX]". This option uses an
4833
+ # additional `InfoType` during inspection.
4834
+ # Corresponds to the JSON property `cleanDescriptors`
4835
+ # @return [Google::Apis::HealthcareV1beta1::CleanDescriptorsOption]
4836
+ attr_accessor :clean_descriptors
4837
+
4838
+ # Specifies how to handle de-identification of image pixels.
4839
+ # Corresponds to the JSON property `cleanImage`
4840
+ # @return [Google::Apis::HealthcareV1beta1::ImageConfig]
4841
+ attr_accessor :clean_image
4842
+
4843
+ # Set `Action` for [`StudyInstanceUID`, `SeriesInstanceUID`, `SOPInstanceUID`,
4844
+ # and `MediaStorageSOPInstanceUID`](http://dicom.nema.org/medical/dicom/2018e/
4845
+ # output/chtml/part06/chapter_6.html).
4846
+ # Corresponds to the JSON property `primaryIds`
4847
+ # @return [String]
4848
+ attr_accessor :primary_ids
4849
+
4850
+ def initialize(**args)
4851
+ update!(**args)
4852
+ end
4853
+
4854
+ # Update properties of this object
4855
+ def update!(**args)
4856
+ @clean_descriptors = args[:clean_descriptors] if args.key?(:clean_descriptors)
4857
+ @clean_image = args[:clean_image] if args.key?(:clean_image)
4858
+ @primary_ids = args[:primary_ids] if args.key?(:primary_ids)
4859
+ end
4860
+ end
4861
+
4350
4862
  # The content of an HL7v2 message in a structured format.
4351
4863
  class ParsedData
4352
4864
  include Google::Apis::Core::Hashable
@@ -4619,6 +5131,21 @@ module Google
4619
5131
  end
4620
5132
  end
4621
5133
 
5134
+ # Recursively apply DICOM de-id to tags nested in a sequence. Supported [Value
5135
+ # Representation] (http://dicom.nema.org/medical/dicom/2018e/output/chtml/part05/
5136
+ # sect_6.2.html#table_6.2-1): SQ
5137
+ class RecurseTag
5138
+ include Google::Apis::Core::Hashable
5139
+
5140
+ def initialize(**args)
5141
+ update!(**args)
5142
+ end
5143
+
5144
+ # Update properties of this object
5145
+ def update!(**args)
5146
+ end
5147
+ end
5148
+
4622
5149
  # Define how to redact sensitive values. Default behaviour is erase. For example,
4623
5150
  # "My name is Jane." becomes "My name is ."
4624
5151
  class RedactConfig
@@ -4633,6 +5160,21 @@ module Google
4633
5160
  end
4634
5161
  end
4635
5162
 
5163
+ # Replace UID with a new generated UID. Supported [Value Representation] (http://
5164
+ # dicom.nema.org/medical/dicom/2018e/output/chtml/part05/sect_6.2.html#table_6.2-
5165
+ # 1): UI
5166
+ class RegenUidTag
5167
+ include Google::Apis::Core::Hashable
5168
+
5169
+ def initialize(**args)
5170
+ update!(**args)
5171
+ end
5172
+
5173
+ # Update properties of this object
5174
+ def update!(**args)
5175
+ end
5176
+ end
5177
+
4636
5178
  # Rejects the latest revision of the specified Consent by committing a new
4637
5179
  # revision with `state` updated to `REJECTED`. If the latest revision of the
4638
5180
  # given Consent is in the `REJECTED` state, no new revision is committed.
@@ -4658,6 +5200,32 @@ module Google
4658
5200
  end
4659
5201
  end
4660
5202
 
5203
+ # Remove field.
5204
+ class RemoveField
5205
+ include Google::Apis::Core::Hashable
5206
+
5207
+ def initialize(**args)
5208
+ update!(**args)
5209
+ end
5210
+
5211
+ # Update properties of this object
5212
+ def update!(**args)
5213
+ end
5214
+ end
5215
+
5216
+ # Replace with empty tag.
5217
+ class RemoveTag
5218
+ include Google::Apis::Core::Hashable
5219
+
5220
+ def initialize(**args)
5221
+ update!(**args)
5222
+ end
5223
+
5224
+ # Update properties of this object
5225
+ def update!(**args)
5226
+ end
5227
+ end
5228
+
4661
5229
  # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the
4662
5230
  # name of the info_type. For example, "My name is Jane" becomes "My name is [
4663
5231
  # PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
@@ -4673,6 +5241,19 @@ module Google
4673
5241
  end
4674
5242
  end
4675
5243
 
5244
+ # Reset tag to a placeholder value.
5245
+ class ResetTag
5246
+ include Google::Apis::Core::Hashable
5247
+
5248
+ def initialize(**args)
5249
+ update!(**args)
5250
+ end
5251
+
5252
+ # Update properties of this object
5253
+ def update!(**args)
5254
+ end
5255
+ end
5256
+
4676
5257
  # Resource level annotation.
4677
5258
  class ResourceAnnotation
4678
5259
  include Google::Apis::Core::Hashable
@@ -5318,6 +5899,21 @@ module Google
5318
5899
  class TextConfig
5319
5900
  include Google::Apis::Core::Hashable
5320
5901
 
5902
+ # Additional transformations to apply to the detected data, overriding `profile`.
5903
+ # Corresponds to the JSON property `additionalTransformations`
5904
+ # @return [Array<Google::Apis::HealthcareV1beta1::InfoTypeTransformation>]
5905
+ attr_accessor :additional_transformations
5906
+
5907
+ # InfoTypes to skip transforming, overriding `profile`.
5908
+ # Corresponds to the JSON property `excludeInfoTypes`
5909
+ # @return [Array<String>]
5910
+ attr_accessor :exclude_info_types
5911
+
5912
+ # Base profile type for text transformation.
5913
+ # Corresponds to the JSON property `profileType`
5914
+ # @return [String]
5915
+ attr_accessor :profile_type
5916
+
5321
5917
  # The transformations to apply to the detected data. Deprecated. Use `
5322
5918
  # additional_transformations` instead.
5323
5919
  # Corresponds to the JSON property `transformations`
@@ -5330,6 +5926,9 @@ module Google
5330
5926
 
5331
5927
  # Update properties of this object
5332
5928
  def update!(**args)
5929
+ @additional_transformations = args[:additional_transformations] if args.key?(:additional_transformations)
5930
+ @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
5931
+ @profile_type = args[:profile_type] if args.key?(:profile_type)
5333
5932
  @transformations = args[:transformations] if args.key?(:transformations)
5334
5933
  end
5335
5934
  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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220929"
25
+ REVISION = "20221025"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module HealthcareV1beta1
24
24
 
25
+ class Action
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class ActivateConsentRequest
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -130,6 +136,12 @@ module Google
130
136
  include Google::Apis::Core::JsonObjectSupport
131
137
  end
132
138
 
139
+ class CharacterMaskField
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
133
145
  class CheckDataAccessRequest
134
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
147
 
@@ -142,6 +154,24 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class CleanDescriptorsOption
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class CleanTextField
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class CleanTextTag
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
145
175
  class CloudHealthcareSource
146
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
177
 
@@ -184,6 +214,12 @@ module Google
184
214
  include Google::Apis::Core::JsonObjectSupport
185
215
  end
186
216
 
217
+ class ContextualDeidConfig
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
187
223
  class CreateMessageRequest
188
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
225
 
@@ -196,6 +232,12 @@ module Google
196
232
  include Google::Apis::Core::JsonObjectSupport
197
233
  end
198
234
 
235
+ class CryptoHashField
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
199
241
  class Dataset
200
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
243
 
@@ -208,6 +250,12 @@ module Google
208
250
  include Google::Apis::Core::JsonObjectSupport
209
251
  end
210
252
 
253
+ class DateShiftField
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
211
259
  class DeidentifiedStoreDestination
212
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
261
 
@@ -250,6 +298,12 @@ module Google
250
298
  include Google::Apis::Core::JsonObjectSupport
251
299
  end
252
300
 
301
+ class DeleteTag
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
253
307
  class Detail
254
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
255
309
 
@@ -274,6 +328,12 @@ module Google
274
328
  include Google::Apis::Core::JsonObjectSupport
275
329
  end
276
330
 
331
+ class DicomTagConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
277
337
  class Empty
278
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
339
 
@@ -382,6 +442,12 @@ module Google
382
442
  include Google::Apis::Core::JsonObjectSupport
383
443
  end
384
444
 
445
+ class FhirFieldConfig
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
385
451
  class FhirFilter
386
452
  class Representation < Google::Apis::Core::JsonRepresentation; end
387
453
 
@@ -484,6 +550,18 @@ module Google
484
550
  include Google::Apis::Core::JsonObjectSupport
485
551
  end
486
552
 
553
+ class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata
554
+ class Representation < Google::Apis::Core::JsonRepresentation; end
555
+
556
+ include Google::Apis::Core::JsonObjectSupport
557
+ end
558
+
559
+ class GoogleCloudHealthcareV1beta1DeidentifyOptions
560
+ class Representation < Google::Apis::Core::JsonRepresentation; end
561
+
562
+ include Google::Apis::Core::JsonObjectSupport
563
+ end
564
+
487
565
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
488
566
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
567
 
@@ -658,6 +736,24 @@ module Google
658
736
  include Google::Apis::Core::JsonObjectSupport
659
737
  end
660
738
 
739
+ class KeepExtensionsConfig
740
+ class Representation < Google::Apis::Core::JsonRepresentation; end
741
+
742
+ include Google::Apis::Core::JsonObjectSupport
743
+ end
744
+
745
+ class KeepField
746
+ class Representation < Google::Apis::Core::JsonRepresentation; end
747
+
748
+ include Google::Apis::Core::JsonObjectSupport
749
+ end
750
+
751
+ class KeepTag
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
661
757
  class KmsWrappedCryptoKey
662
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
759
 
@@ -790,6 +886,12 @@ module Google
790
886
  include Google::Apis::Core::JsonObjectSupport
791
887
  end
792
888
 
889
+ class Options
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
793
895
  class ParsedData
794
896
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
897
 
@@ -832,24 +934,54 @@ module Google
832
934
  include Google::Apis::Core::JsonObjectSupport
833
935
  end
834
936
 
937
+ class RecurseTag
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
835
943
  class RedactConfig
836
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
837
945
 
838
946
  include Google::Apis::Core::JsonObjectSupport
839
947
  end
840
948
 
949
+ class RegenUidTag
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
841
955
  class RejectConsentRequest
842
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
957
 
844
958
  include Google::Apis::Core::JsonObjectSupport
845
959
  end
846
960
 
961
+ class RemoveField
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
967
+ class RemoveTag
968
+ class Representation < Google::Apis::Core::JsonRepresentation; end
969
+
970
+ include Google::Apis::Core::JsonObjectSupport
971
+ end
972
+
847
973
  class ReplaceWithInfoTypeConfig
848
974
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
975
 
850
976
  include Google::Apis::Core::JsonObjectSupport
851
977
  end
852
978
 
979
+ class ResetTag
980
+ class Representation < Google::Apis::Core::JsonRepresentation; end
981
+
982
+ include Google::Apis::Core::JsonObjectSupport
983
+ end
984
+
853
985
  class ResourceAnnotation
854
986
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
987
 
@@ -1018,6 +1150,29 @@ module Google
1018
1150
  include Google::Apis::Core::JsonObjectSupport
1019
1151
  end
1020
1152
 
1153
+ class Action
1154
+ # @private
1155
+ class Representation < Google::Apis::Core::JsonRepresentation
1156
+ property :clean_image_tag, as: 'cleanImageTag', class: Google::Apis::HealthcareV1beta1::ImageConfig, decorator: Google::Apis::HealthcareV1beta1::ImageConfig::Representation
1157
+
1158
+ property :clean_text_tag, as: 'cleanTextTag', class: Google::Apis::HealthcareV1beta1::CleanTextTag, decorator: Google::Apis::HealthcareV1beta1::CleanTextTag::Representation
1159
+
1160
+ property :delete_tag, as: 'deleteTag', class: Google::Apis::HealthcareV1beta1::DeleteTag, decorator: Google::Apis::HealthcareV1beta1::DeleteTag::Representation
1161
+
1162
+ property :keep_tag, as: 'keepTag', class: Google::Apis::HealthcareV1beta1::KeepTag, decorator: Google::Apis::HealthcareV1beta1::KeepTag::Representation
1163
+
1164
+ collection :queries, as: 'queries'
1165
+ property :recurse_tag, as: 'recurseTag', class: Google::Apis::HealthcareV1beta1::RecurseTag, decorator: Google::Apis::HealthcareV1beta1::RecurseTag::Representation
1166
+
1167
+ property :regen_uid_tag, as: 'regenUidTag', class: Google::Apis::HealthcareV1beta1::RegenUidTag, decorator: Google::Apis::HealthcareV1beta1::RegenUidTag::Representation
1168
+
1169
+ property :remove_tag, as: 'removeTag', class: Google::Apis::HealthcareV1beta1::RemoveTag, decorator: Google::Apis::HealthcareV1beta1::RemoveTag::Representation
1170
+
1171
+ property :reset_tag, as: 'resetTag', class: Google::Apis::HealthcareV1beta1::ResetTag, decorator: Google::Apis::HealthcareV1beta1::ResetTag::Representation
1172
+
1173
+ end
1174
+ end
1175
+
1021
1176
  class ActivateConsentRequest
1022
1177
  # @private
1023
1178
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1176,6 +1331,12 @@ module Google
1176
1331
  end
1177
1332
  end
1178
1333
 
1334
+ class CharacterMaskField
1335
+ # @private
1336
+ class Representation < Google::Apis::Core::JsonRepresentation
1337
+ end
1338
+ end
1339
+
1179
1340
  class CheckDataAccessRequest
1180
1341
  # @private
1181
1342
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1196,6 +1357,24 @@ module Google
1196
1357
  end
1197
1358
  end
1198
1359
 
1360
+ class CleanDescriptorsOption
1361
+ # @private
1362
+ class Representation < Google::Apis::Core::JsonRepresentation
1363
+ end
1364
+ end
1365
+
1366
+ class CleanTextField
1367
+ # @private
1368
+ class Representation < Google::Apis::Core::JsonRepresentation
1369
+ end
1370
+ end
1371
+
1372
+ class CleanTextTag
1373
+ # @private
1374
+ class Representation < Google::Apis::Core::JsonRepresentation
1375
+ end
1376
+ end
1377
+
1199
1378
  class CloudHealthcareSource
1200
1379
  # @private
1201
1380
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1270,6 +1449,12 @@ module Google
1270
1449
  end
1271
1450
  end
1272
1451
 
1452
+ class ContextualDeidConfig
1453
+ # @private
1454
+ class Representation < Google::Apis::Core::JsonRepresentation
1455
+ end
1456
+ end
1457
+
1273
1458
  class CreateMessageRequest
1274
1459
  # @private
1275
1460
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1287,6 +1472,12 @@ module Google
1287
1472
  end
1288
1473
  end
1289
1474
 
1475
+ class CryptoHashField
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ end
1479
+ end
1480
+
1290
1481
  class Dataset
1291
1482
  # @private
1292
1483
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1304,6 +1495,12 @@ module Google
1304
1495
  end
1305
1496
  end
1306
1497
 
1498
+ class DateShiftField
1499
+ # @private
1500
+ class Representation < Google::Apis::Core::JsonRepresentation
1501
+ end
1502
+ end
1503
+
1307
1504
  class DeidentifiedStoreDestination
1308
1505
  # @private
1309
1506
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1320,8 +1517,12 @@ module Google
1320
1517
 
1321
1518
  property :dicom, as: 'dicom', class: Google::Apis::HealthcareV1beta1::DicomConfig, decorator: Google::Apis::HealthcareV1beta1::DicomConfig::Representation
1322
1519
 
1520
+ property :dicom_tag_config, as: 'dicomTagConfig', class: Google::Apis::HealthcareV1beta1::DicomTagConfig, decorator: Google::Apis::HealthcareV1beta1::DicomTagConfig::Representation
1521
+
1323
1522
  property :fhir, as: 'fhir', class: Google::Apis::HealthcareV1beta1::FhirConfig, decorator: Google::Apis::HealthcareV1beta1::FhirConfig::Representation
1324
1523
 
1524
+ property :fhir_field_config, as: 'fhirFieldConfig', class: Google::Apis::HealthcareV1beta1::FhirFieldConfig, decorator: Google::Apis::HealthcareV1beta1::FhirFieldConfig::Representation
1525
+
1325
1526
  property :image, as: 'image', class: Google::Apis::HealthcareV1beta1::ImageConfig, decorator: Google::Apis::HealthcareV1beta1::ImageConfig::Representation
1326
1527
 
1327
1528
  property :operation_metadata, as: 'operationMetadata', class: Google::Apis::HealthcareV1beta1::DeidentifyOperationMetadata, decorator: Google::Apis::HealthcareV1beta1::DeidentifyOperationMetadata::Representation
@@ -1380,6 +1581,12 @@ module Google
1380
1581
  end
1381
1582
  end
1382
1583
 
1584
+ class DeleteTag
1585
+ # @private
1586
+ class Representation < Google::Apis::Core::JsonRepresentation
1587
+ end
1588
+ end
1589
+
1383
1590
  class Detail
1384
1591
  # @private
1385
1592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1419,6 +1626,17 @@ module Google
1419
1626
  end
1420
1627
  end
1421
1628
 
1629
+ class DicomTagConfig
1630
+ # @private
1631
+ class Representation < Google::Apis::Core::JsonRepresentation
1632
+ collection :actions, as: 'actions', class: Google::Apis::HealthcareV1beta1::Action, decorator: Google::Apis::HealthcareV1beta1::Action::Representation
1633
+
1634
+ property :options, as: 'options', class: Google::Apis::HealthcareV1beta1::Options, decorator: Google::Apis::HealthcareV1beta1::Options::Representation
1635
+
1636
+ property :profile_type, as: 'profileType'
1637
+ end
1638
+ end
1639
+
1422
1640
  class Empty
1423
1641
  # @private
1424
1642
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1593,6 +1811,17 @@ module Google
1593
1811
  end
1594
1812
  end
1595
1813
 
1814
+ class FhirFieldConfig
1815
+ # @private
1816
+ class Representation < Google::Apis::Core::JsonRepresentation
1817
+ collection :field_metadata_list, as: 'fieldMetadataList', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata::Representation
1818
+
1819
+ property :options, as: 'options', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyOptions, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DeidentifyOptions::Representation
1820
+
1821
+ property :profile_type, as: 'profileType'
1822
+ end
1823
+ end
1824
+
1596
1825
  class FhirFilter
1597
1826
  # @private
1598
1827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1745,6 +1974,41 @@ module Google
1745
1974
  end
1746
1975
  end
1747
1976
 
1977
+ class GoogleCloudHealthcareV1beta1DeidentifyFieldMetadata
1978
+ # @private
1979
+ class Representation < Google::Apis::Core::JsonRepresentation
1980
+ property :character_mask_field, as: 'characterMaskField', class: Google::Apis::HealthcareV1beta1::CharacterMaskField, decorator: Google::Apis::HealthcareV1beta1::CharacterMaskField::Representation
1981
+
1982
+ property :clean_text_field, as: 'cleanTextField', class: Google::Apis::HealthcareV1beta1::CleanTextField, decorator: Google::Apis::HealthcareV1beta1::CleanTextField::Representation
1983
+
1984
+ property :crypto_hash_field, as: 'cryptoHashField', class: Google::Apis::HealthcareV1beta1::CryptoHashField, decorator: Google::Apis::HealthcareV1beta1::CryptoHashField::Representation
1985
+
1986
+ property :date_shift_field, as: 'dateShiftField', class: Google::Apis::HealthcareV1beta1::DateShiftField, decorator: Google::Apis::HealthcareV1beta1::DateShiftField::Representation
1987
+
1988
+ property :keep_field, as: 'keepField', class: Google::Apis::HealthcareV1beta1::KeepField, decorator: Google::Apis::HealthcareV1beta1::KeepField::Representation
1989
+
1990
+ collection :paths, as: 'paths'
1991
+ property :remove_field, as: 'removeField', class: Google::Apis::HealthcareV1beta1::RemoveField, decorator: Google::Apis::HealthcareV1beta1::RemoveField::Representation
1992
+
1993
+ end
1994
+ end
1995
+
1996
+ class GoogleCloudHealthcareV1beta1DeidentifyOptions
1997
+ # @private
1998
+ class Representation < Google::Apis::Core::JsonRepresentation
1999
+ property :character_mask_config, as: 'characterMaskConfig', class: Google::Apis::HealthcareV1beta1::CharacterMaskConfig, decorator: Google::Apis::HealthcareV1beta1::CharacterMaskConfig::Representation
2000
+
2001
+ property :contextual_deid, as: 'contextualDeid', class: Google::Apis::HealthcareV1beta1::ContextualDeidConfig, decorator: Google::Apis::HealthcareV1beta1::ContextualDeidConfig::Representation
2002
+
2003
+ property :crypto_hash_config, as: 'cryptoHashConfig', class: Google::Apis::HealthcareV1beta1::CryptoHashConfig, decorator: Google::Apis::HealthcareV1beta1::CryptoHashConfig::Representation
2004
+
2005
+ property :date_shift_config, as: 'dateShiftConfig', class: Google::Apis::HealthcareV1beta1::DateShiftConfig, decorator: Google::Apis::HealthcareV1beta1::DateShiftConfig::Representation
2006
+
2007
+ property :keep_extensions, as: 'keepExtensions', class: Google::Apis::HealthcareV1beta1::KeepExtensionsConfig, decorator: Google::Apis::HealthcareV1beta1::KeepExtensionsConfig::Representation
2008
+
2009
+ end
2010
+ end
2011
+
1748
2012
  class GoogleCloudHealthcareV1beta1DicomBigQueryDestination
1749
2013
  # @private
1750
2014
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1896,6 +2160,8 @@ module Google
1896
2160
  class ImageConfig
1897
2161
  # @private
1898
2162
  class Representation < Google::Apis::Core::JsonRepresentation
2163
+ collection :additional_info_types, as: 'additionalInfoTypes'
2164
+ collection :exclude_info_types, as: 'excludeInfoTypes'
1899
2165
  property :text_redaction_mode, as: 'textRedactionMode'
1900
2166
  end
1901
2167
  end
@@ -1996,6 +2262,24 @@ module Google
1996
2262
  end
1997
2263
  end
1998
2264
 
2265
+ class KeepExtensionsConfig
2266
+ # @private
2267
+ class Representation < Google::Apis::Core::JsonRepresentation
2268
+ end
2269
+ end
2270
+
2271
+ class KeepField
2272
+ # @private
2273
+ class Representation < Google::Apis::Core::JsonRepresentation
2274
+ end
2275
+ end
2276
+
2277
+ class KeepTag
2278
+ # @private
2279
+ class Representation < Google::Apis::Core::JsonRepresentation
2280
+ end
2281
+ end
2282
+
1999
2283
  class KmsWrappedCryptoKey
2000
2284
  # @private
2001
2285
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2209,6 +2493,17 @@ module Google
2209
2493
  end
2210
2494
  end
2211
2495
 
2496
+ class Options
2497
+ # @private
2498
+ class Representation < Google::Apis::Core::JsonRepresentation
2499
+ property :clean_descriptors, as: 'cleanDescriptors', class: Google::Apis::HealthcareV1beta1::CleanDescriptorsOption, decorator: Google::Apis::HealthcareV1beta1::CleanDescriptorsOption::Representation
2500
+
2501
+ property :clean_image, as: 'cleanImage', class: Google::Apis::HealthcareV1beta1::ImageConfig, decorator: Google::Apis::HealthcareV1beta1::ImageConfig::Representation
2502
+
2503
+ property :primary_ids, as: 'primaryIds'
2504
+ end
2505
+ end
2506
+
2212
2507
  class ParsedData
2213
2508
  # @private
2214
2509
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2274,12 +2569,24 @@ module Google
2274
2569
  end
2275
2570
  end
2276
2571
 
2572
+ class RecurseTag
2573
+ # @private
2574
+ class Representation < Google::Apis::Core::JsonRepresentation
2575
+ end
2576
+ end
2577
+
2277
2578
  class RedactConfig
2278
2579
  # @private
2279
2580
  class Representation < Google::Apis::Core::JsonRepresentation
2280
2581
  end
2281
2582
  end
2282
2583
 
2584
+ class RegenUidTag
2585
+ # @private
2586
+ class Representation < Google::Apis::Core::JsonRepresentation
2587
+ end
2588
+ end
2589
+
2283
2590
  class RejectConsentRequest
2284
2591
  # @private
2285
2592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2287,12 +2594,30 @@ module Google
2287
2594
  end
2288
2595
  end
2289
2596
 
2597
+ class RemoveField
2598
+ # @private
2599
+ class Representation < Google::Apis::Core::JsonRepresentation
2600
+ end
2601
+ end
2602
+
2603
+ class RemoveTag
2604
+ # @private
2605
+ class Representation < Google::Apis::Core::JsonRepresentation
2606
+ end
2607
+ end
2608
+
2290
2609
  class ReplaceWithInfoTypeConfig
2291
2610
  # @private
2292
2611
  class Representation < Google::Apis::Core::JsonRepresentation
2293
2612
  end
2294
2613
  end
2295
2614
 
2615
+ class ResetTag
2616
+ # @private
2617
+ class Representation < Google::Apis::Core::JsonRepresentation
2618
+ end
2619
+ end
2620
+
2296
2621
  class ResourceAnnotation
2297
2622
  # @private
2298
2623
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2478,6 +2803,10 @@ module Google
2478
2803
  class TextConfig
2479
2804
  # @private
2480
2805
  class Representation < Google::Apis::Core::JsonRepresentation
2806
+ collection :additional_transformations, as: 'additionalTransformations', class: Google::Apis::HealthcareV1beta1::InfoTypeTransformation, decorator: Google::Apis::HealthcareV1beta1::InfoTypeTransformation::Representation
2807
+
2808
+ collection :exclude_info_types, as: 'excludeInfoTypes'
2809
+ property :profile_type, as: 'profileType'
2481
2810
  collection :transformations, as: 'transformations', class: Google::Apis::HealthcareV1beta1::InfoTypeTransformation, decorator: Google::Apis::HealthcareV1beta1::InfoTypeTransformation::Representation
2482
2811
 
2483
2812
  end
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.37.0
4
+ version: 0.38.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-10-21 00:00:00.000000000 Z
11
+ date: 2022-11-07 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.38.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: []