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

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

Attributes

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.