ConsentArgs

data class ConsentArgs(val consentArtifact: Output<String>? = null, val consentStoreId: Output<String>? = null, val datasetId: Output<String>? = null, val expireTime: Output<String>? = null, val location: Output<String>? = null, val metadata: Output<Map<String, String>>? = null, val name: Output<String>? = null, val policies: Output<List<GoogleCloudHealthcareV1beta1ConsentPolicyArgs>>? = null, val project: Output<String>? = null, val state: Output<ConsentState>? = null, val ttl: Output<String>? = null, val userId: Output<String>? = null) : ConvertibleToJava<ConsentArgs>

Creates a new Consent in the parent consent store.

Constructors

Link copied to clipboard
fun ConsentArgs(consentArtifact: Output<String>? = null, consentStoreId: Output<String>? = null, datasetId: Output<String>? = null, expireTime: Output<String>? = null, location: Output<String>? = null, metadata: Output<Map<String, String>>? = null, name: Output<String>? = null, policies: Output<List<GoogleCloudHealthcareV1beta1ConsentPolicyArgs>>? = null, project: Output<String>? = null, state: Output<ConsentState>? = null, ttl: Output<String>? = null, userId: Output<String>? = null)

Functions

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

Properties

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

The resource name of the Consent artifact that contains proof of the end user's consent, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}.

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

Timestamp in UTC of when this Consent is considered expired.

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

Optional. User-supplied key-value pairs used to organize Consent resources. Metadata keys must: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - begin with a letter - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes Metadata values must be: - be between 1 and 63 characters long - have a UTF-8 encoding of maximum 128 bytes - consist of up to 63 characters including lowercase letters, numeric characters, underscores, and dashes No more than 64 metadata entries can be associated with a given consent.

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

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

Link copied to clipboard

Optional. Represents a user's consent in terms of the resources that can be accessed and under what conditions.

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

Indicates the current state of this Consent.

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

Input only. The time to live for this Consent from when it is created.

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

User's UUID provided by the client.