REST Resource: projects.locations.datasets.consentStores

Resource: ConsentStore

Represents a consent store.

JSON representation
{
  "name": string,
  "defaultConsentTtl": string,
  "labels": {
    string: string,
    ...
  },
  "enableConsentCreateOnUpdate": boolean
}
Fields
name

string

Identifier. Resource name of the consent store, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}. Cannot be changed after creation.

labels

map (key: string, value: string)

Optional. User-supplied key-value pairs used to organize consent stores.

Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-]{0,62}.

Label values must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63}.

No more than 64 labels can be associated with a given store. For more information: https://cloud.google.com/healthcare/docs/how-tos/labeling-resources

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Methods

checkDataAccess

Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.

create

Creates a new consent store in the parent dataset.

delete

Deletes the specified consent store and removes all the consent store's data.

evaluateUserConsents

Evaluates the user's Consents for all matching User data mappings.

get

Gets the specified consent store.

getIamPolicy

Gets the access control policy for a resource.

list

Lists the consent stores in the specified dataset.

patch

Updates the specified consent store.

queryAccessibleData

Queries all data_ids that are consented for a specified use in the given consent store and writes them to a specified destination.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.