class Google::Apis::HealthcareV1::GoogleCloudHealthcareV1ConsentPolicy
Represents a user's consent in terms of the resources that can be accessed and under what conditions.
Attributes
resource_attributes[RW]
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. Corresponds to the JSON property `resourceAttributes` @return [Array<Google::Apis::HealthcareV1::Attribute>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 1787 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/healthcare_v1/classes.rb, line 1792 def update!(**args) @authorization_rule = args[:authorization_rule] if args.key?(:authorization_rule) @resource_attributes = args[:resource_attributes] if args.key?(:resource_attributes) end