You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/healthcare_v1.projects.locations.datasets.dicomStores.html
+32Lines changed: 32 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -215,6 +215,37 @@ <h3>Method Details</h3>
215
215
"textRedactionMode": "A String", # Determines how to redact text from image.
216
216
},
217
217
"text": { # Configures de-identification of text wherever it is found in the source_dataset.
218
+
"additionalTransformations": [ # Transformations to apply to the detected data, overridden by `exclude_info_types`.
219
+
{ # A transformation to apply to text that is identified as a specific info_type.
220
+
"characterMaskConfig": { # Mask a string by replacing its characters with a fixed character. # Config for character mask.
221
+
"maskingCharacter": "A String", # Character to mask the sensitive values. If not supplied, defaults to "*".
222
+
},
223
+
"cryptoHashConfig": { # Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`). # Config for crypto hash.
224
+
"cryptoKey": "A String", # An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
225
+
"kmsWrapped": { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
226
+
"cryptoKey": "A String", # Required. The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`.
227
+
"wrappedKey": "A String", # Required. The wrapped data crypto key.
228
+
},
229
+
},
230
+
"dateShiftConfig": { # Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. # Config for date shift.
231
+
"cryptoKey": "A String", # An AES 128/192/256 bit key. The date shift is computed based on this key and the patient ID. If the patient ID is empty for a DICOM resource, the date shift is computed based on this key and the study instance UID. If `crypto_key` is not set, then `kms_wrapped` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `kms_wrapped` is set.
232
+
"kmsWrapped": { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. If `kms_wrapped` is not set, then `crypto_key` is used to calculate the date shift. If neither is set, a default key is generated for each de-identify operation. Must not be set if `crypto_key` is set.
233
+
"cryptoKey": "A String", # Required. The resource name of the KMS CryptoKey to use for unwrapping. For example, `projects/{project_id}/locations/{location_id}/keyRings/{keyring}/cryptoKeys/{key}`.
234
+
"wrappedKey": "A String", # Required. The wrapped data crypto key.
235
+
},
236
+
},
237
+
"infoTypes": [ # InfoTypes to apply this transformation to. If this is not specified, the transformation applies to any info_type.
238
+
"A String",
239
+
],
240
+
"redactConfig": { # Define how to redact sensitive values. Default behaviour is erase. For example, "My name is Jane." becomes "My name is ." # Config for text redaction.
241
+
},
242
+
"replaceWithInfoTypeConfig": { # When using the INSPECT_AND_TRANSFORM action, each match is replaced with the name of the info_type. For example, "My name is Jane" becomes "My name is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting. # Config for replace with InfoType.
243
+
},
244
+
},
245
+
],
246
+
"excludeInfoTypes": [ # InfoTypes to skip transforming, overriding `additional_transformations`.
247
+
"A String",
248
+
],
218
249
"transformations": [ # The transformations to apply to the detected data. Deprecated. Use `additional_transformations` instead.
219
250
{ # A transformation to apply to text that is identified as a specific info_type.
220
251
"characterMaskConfig": { # Mask a string by replacing its characters with a fixed character. # Config for character mask.
@@ -244,6 +275,7 @@ <h3>Method Details</h3>
244
275
},
245
276
],
246
277
},
278
+
"useRegionalDataProcessing": True or False, # Ensures in-flight data remains in the region of origin during de-identification. Using this option results in a significant reduction of throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` infoTypes. `LOCATION` must be excluded within `TextConfig`, and must also be excluded within `ImageConfig` if image redaction is required.
247
279
},
248
280
"destinationStore": "A String", # The name of the DICOM store to create and write the redacted data to. For example, `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}`. * The destination dataset must exist. * The source dataset and destination dataset must both reside in the same location. De-identifying data across multiple locations is not supported. * The destination DICOM store must not exist. * The caller must have the necessary permissions to create the destination DICOM store.
249
281
"filterConfig": { # Specifies the filter configuration for DICOM resources. # Filter configuration.
0 commit comments