GetConsentResult

data class GetConsentResult(val consentArtifact: String, val expireTime: String, val metadata: Map<String, String>, val name: String, val policies: List<GoogleCloudHealthcareV1ConsentPolicyResponse>, val revisionCreateTime: String, val revisionId: String, val state: String, val ttl: String, val userId: String)

Constructors

Link copied to clipboard
fun GetConsentResult(consentArtifact: String, expireTime: String, metadata: Map<String, String>, name: String, policies: List<GoogleCloudHealthcareV1ConsentPolicyResponse>, revisionCreateTime: String, revisionId: String, state: String, ttl: String, userId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Timestamp in UTC of when this Consent is considered expired.

Link copied to clipboard

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

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

The timestamp that the revision was created.

Link copied to clipboard

The revision ID of the Consent. The format is an 8-character hexadecimal string. Refer to a specific revision of a Consent by appending @{revision_id} to the Consent's resource name.

Link copied to clipboard

Indicates the current state of this Consent.

Link copied to clipboard
val ttl: String

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

Link copied to clipboard

User's UUID provided by the client.