Full name: projects.locations.datasets.deidentify
Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifySummary. The LRO result may still be successful if de-identification fails for some resources. The new de-identified dataset will not contain these failed resources. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging.
HTTP request
POST https://healthcare.googleapis.com/v1beta1/{sourceDataset=projects/*/locations/*/datasets/*}:deidentify
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
sourceDataset |
Required. Source dataset resource name. For example, R5 FHIR stores are not supported and will be skipped. |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"destinationDataset": string,
"config": {
object( |
| Fields | |
|---|---|
destinationDataset |
Required. The name of the dataset resource to create and write the redacted data to.
|
config |
Deidentify configuration. Only one of |
gcsConfigUri |
Cloud Storage location to read the JSON |
Response body
If successful, the response body contains an instance of Operation.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-healthcarehttps://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.