View Source GoogleApi.HealthCare.V1.Model.ConsentArtifact (google_api_health_care v0.50.1)

Documentation of a user's consent.

Attributes

  • consentContentScreenshots (type: list(GoogleApi.HealthCare.V1.Model.Image.t), default: nil) - Optional. Screenshots, PDFs, or other binary information documenting the user's consent.
  • consentContentVersion (type: String.t, default: nil) - Optional. An string indicating the version of the consent information shown to the user.
  • guardianSignature (type: GoogleApi.HealthCare.V1.Model.Signature.t, default: nil) - Optional. A signature from a guardian.
  • metadata (type: map(), default: nil) - Optional. Metadata associated with the Consent artifact. For example, the consent locale or user agent version.
  • name (type: String.t, default: nil) - Identifier. Resource name of the Consent artifact, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}. Cannot be changed after creation.
  • userId (type: String.t, default: nil) - Required. User's UUID provided by the client.
  • userSignature (type: GoogleApi.HealthCare.V1.Model.Signature.t, default: nil) - Optional. User's signature.
  • witnessSignature (type: GoogleApi.HealthCare.V1.Model.Signature.t, default: nil) - Optional. A signature from a witness.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1.Model.ConsentArtifact{
  consentContentScreenshots: [GoogleApi.HealthCare.V1.Model.Image.t()] | nil,
  consentContentVersion: String.t() | nil,
  guardianSignature: GoogleApi.HealthCare.V1.Model.Signature.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  userId: String.t() | nil,
  userSignature: GoogleApi.HealthCare.V1.Model.Signature.t() | nil,
  witnessSignature: GoogleApi.HealthCare.V1.Model.Signature.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.