Stay organized with collections
Save and categorize content based on your preferences.
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
Deidentify configuration. Only one of config and gcsConfigUri can be specified.
gcsConfigUri
string
Cloud Storage location to read the JSON cloud.healthcare.deidentify.DeidentifyConfig from, overriding the default config. Must be of the form gs://{bucket_id}/path/to/object. The Cloud Storage location must grant the Cloud IAM role roles/storage.objectViewer to the project's Cloud Healthcare Service Agent service account. Only one of config and gcsConfigUri can be specified.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["This API operation creates a new dataset containing de-identified data derived from a specified source dataset."],["The destination dataset for the de-identified data must be new and located in the same region as the source dataset."],["You can specify the de-identification configuration either directly in the request body or by referencing a Cloud Storage location containing the JSON configuration."],["The API call is an asynchronous operation, and the success of de-identification for each resource within the dataset is tracked and logged, with any failed resources not being included in the final de-identified dataset."],["The operation requires specific OAuth scopes for authorization, including `https://www.googleapis.com/auth/cloud-healthcare` or `https://www.googleapis.com/auth/cloud-platform`."]]],[]]