Method: datasets.deidentify

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. If errors occur, error google.rpc.Status.error field type is DeidentifyErrorDetails. Errors are also logged to Stackdriver Logging. For more information, see Viewing logs.

HTTP request

POST https://healthcare.googleapis.com/v1beta1/{sourceDataset=projects/*/locations/*/datasets/*}:deidentify

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
sourceDataset

string

Source dataset resource name. For example, projects/{projectId}/locations/{locationId}/datasets/{datasetId}.

Request body

The request body contains data with the following structure:

JSON representation
{
  "destinationDataset": string,
  "config": {
    object(DeidentifyConfig)
  }
}
Fields
destinationDataset

string

The name of the dataset resource to create and write the redacted data to.

  • The destination dataset must not exist.
  • The destination dataset must be in the same project as the source dataset. De-identifying data across multiple projects is not supported.

config

object(DeidentifyConfig)

Deidentify configuration.

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-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

หน้านี้มีประโยชน์ไหม โปรดแสดงความคิดเห็น