GoogleApi.HealthCare.V1.Model.CheckDataAccessRequest (google_api_health_care v0.38.2) View Source

Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.

Attributes

  • consentList (type: GoogleApi.HealthCare.V1.Model.ConsentList.t, default: nil) - Optional. Specific Consents to evaluate the access request against. These Consents must have the same user_id as the evaluated User data mapping, must exist in the current consent_store, and have a state of either ACTIVE or DRAFT. A maximum of 100 Consents can be provided here. If no selection is specified, the access request is evaluated against all ACTIVE unexpired Consents with the same user_id as the evaluated User data mapping.
  • dataId (type: String.t, default: nil) - Required. The unique identifier of the resource to check access for. This identifier must correspond to a User data mapping in the given consent store.
  • requestAttributes (type: map(), default: nil) - The values of request attributes associated with this access request.
  • responseView (type: String.t, default: nil) - Optional. The view for CheckDataAccessResponse. If unspecified, defaults to BASIC and returns consented as TRUE or FALSE.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.HealthCare.V1.Model.CheckDataAccessRequest{
  consentList: GoogleApi.HealthCare.V1.Model.ConsentList.t() | nil,
  dataId: String.t() | nil,
  requestAttributes: map() | nil,
  responseView: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.