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

Represents a user's consent in terms of the resources that can be accessed and under what conditions.


  • authorizationRule (type: GoogleApi.HealthCare.V1.Model.Expr.t, default: nil) - Required. The request conditions to meet to grant access. In addition to any supported comparison operators, authorization rules may have IN operator as well as at most 10 logical operators that are limited to AND (&&), OR (||).
  • resourceAttributes (type: list(GoogleApi.HealthCare.V1.Model.Attribute.t), default: nil) - The resources that this policy applies to. A resource is a match if it matches all the attributes listed here. If empty, this policy applies to all User data mappings for the given user.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.HealthCare.V1.Model.GoogleCloudHealthcareV1ConsentPolicy{
  authorizationRule: GoogleApi.HealthCare.V1.Model.Expr.t() | nil,
  resourceAttributes: [GoogleApi.HealthCare.V1.Model.Attribute.t()] | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.