Method: userDataMappings.patch

Full name: projects.locations.datasets.consentStores.userDataMappings.patch

Updates the specified User data mapping.

HTTP request

PATCH https://healthcare.googleapis.com/v1/{userDataMapping.name=projects/*/locations/*/datasets/*/consentStores/*/userDataMappings/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
userDataMapping.name

string

Resource name of the User data mapping, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/userDataMappings/{user_data_mapping_id}.

Query parameters

Parameters
updateMask

string(FieldMask format)

Required. The update mask that applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask. Only the dataId, userId and resourceAttributes fields can be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of UserDataMapping.

Response body

If successful, the response body contains an instance of UserDataMapping.

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.