REST Resource: projects.locations.datasets.consentStores.userDataMappings

Resource: UserDataMapping

Maps a resource to the associated user and Attributes.

JSON representation
{
  "name": string,
  "dataId": string,
  "userId": string,
  "resourceAttributes": [
    {
      object(Attribute)
    }
  ],
  "archived": boolean,
  "archiveTime": string
}
Fields
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}.

dataId

string

Required. A unique identifier for the mapped resource.

userId

string

Required. User's UUID provided by the client.

resourceAttributes[]

object(Attribute)

Attributes of the resource. Only explicitly set attributes are displayed here. Attribute definitions with defaults set implicitly apply to these [User data mappings] [google.cloud.healthcare.v1beta1.consent.UserDataMappings]. Attributes listed here must be single valued, that is, exactly one value is specified for the field "values" in each Attribute.

archived

boolean

Output only. Indicates whether this mapping is archived.

archiveTime

string(Timestamp format)

Output only. Indicates the time when this mapping was archived.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

Methods

archive

Archives the specified User data mapping.

create

Creates a new User data mapping in the parent consent store.

delete

Deletes the specified User data mapping.

get

Gets the specified User data mapping.

list

Lists the User data mappings in the specified consent store.

patch

Updates the specified User data mapping.