ConsentStoreArgs

data class ConsentStoreArgs(val consentStoreId: Output<String>? = null, val datasetId: Output<String>? = null, val defaultConsentTtl: Output<String>? = null, val enableConsentCreateOnUpdate: Output<Boolean>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<ConsentStoreArgs>

Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.

Constructors

Link copied to clipboard
fun ConsentStoreArgs(consentStoreId: Output<String>? = null, datasetId: Output<String>? = null, defaultConsentTtl: Output<String>? = null, enableConsentCreateOnUpdate: Output<Boolean>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ConsentStoreArgs

Properties

Link copied to clipboard
val consentStoreId: Output<String>? = null

Required. The ID of the consent store to create. The string must match the following regex: [\p{L}\p{N}_\-\&#46;]{1,256}. Cannot be changed after creation.

Link copied to clipboard
val datasetId: Output<String>? = null
Link copied to clipboard
val defaultConsentTtl: Output<String>? = null

Optional. Default time to live for Consents created in this store. Must be at least 24 hours. Updating this field will not affect the expiration time of existing consents.

Link copied to clipboard

Optional. If true, UpdateConsent creates the Consent if it does not already exist. If unspecified, defaults to false.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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}{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

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

Resource name of the consent store, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}. Cannot be changed after creation.

Link copied to clipboard
val project: Output<String>? = null