GoogleApi.HealthCare.V1beta1.Model.Consent (google_api_health_care v0.30.0) View Source
Represents an end user's consent.
Attributes
-
consentArtifact(type:String.t, default:nil) - Required. The resource name of the consent artifact that contains proof of the end user's consent, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}. -
expireTime(type:DateTime.t, default:nil) - Timestamp in UTC of when this consent is considered expired. -
metadata(type:map(), default:nil) - 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. -
name(type:String.t, default:nil) - Resource name of the Consent, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. -
policies(type:list(GoogleApi.HealthCare.V1beta1.Model.GoogleCloudHealthcareV1beta1ConsentPolicy.t), default:nil) - Represents an end user's consent in terms of the resources that can be accessed and under what conditions. -
revisionCreateTime(type:DateTime.t, default:nil) - Output only. The timestamp that the revision was created. -
revisionId(type:String.t, default:nil) - Output only. 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. -
state(type:String.t, default:nil) - Indicates the current state of this consent. -
ttl(type:String.t, default:nil) - Input only. The time to live for this consent from when it is created. -
userId(type:String.t, default:nil) - Required. User's UUID provided by the client.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.HealthCare.V1beta1.Model.Consent{
consentArtifact: String.t(),
expireTime: DateTime.t(),
metadata: map(),
name: String.t(),
policies: [
GoogleApi.HealthCare.V1beta1.Model.GoogleCloudHealthcareV1beta1ConsentPolicy.t()
],
revisionCreateTime: DateTime.t(),
revisionId: String.t(),
state: String.t(),
ttl: String.t(),
userId: String.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.