GoogleApi.HealthCare.V1beta1.Model.GoogleCloudHealthcareV1beta1ConsentPolicy (google_api_health_care v0.32.0) View Source

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

Attributes

  • authorizationRule (type: GoogleApi.HealthCare.V1beta1.Model.Expr.t, default: nil) - 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.V1beta1.Model.Attribute.t), default: nil) - The data resources that this policy applies to. A data resource is a match if it matches all the attributes listed here.

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.GoogleCloudHealthcareV1beta1ConsentPolicy{
    authorizationRule: GoogleApi.HealthCare.V1beta1.Model.Expr.t(),
    resourceAttributes: [GoogleApi.HealthCare.V1beta1.Model.Attribute.t()]
  }

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.