View Source GoogleApi.HealthCare.V1beta1.Model.CheckDataAccessRequest (google_api_health_care v0.50.1)

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.V1beta1.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.