GoogleApi.HealthCare.V1beta1.Model.ActivateConsentRequest (google_api_health_care v0.30.0) View Source

Activates the latest revision of the specified Consent by committing a new revision with state updated to ACTIVE. If the latest revision of the given consent is in the ACTIVE state, no new revision is committed.

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 form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consentArtifacts/{consent_artifact_id}. If the draft consent had a consent artifact, this consent artifact overwrites it.
  • expireTime (type: DateTime.t, default: nil) - Timestamp in UTC of when this consent is considered expired.
  • ttl (type: String.t, default: nil) - The time to live for this consent from when it is marked as active.

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.ActivateConsentRequest{
  consentArtifact: String.t(),
  expireTime: DateTime.t(),
  ttl: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.