class Google::Apis::HealthcareV1::Attribute
An attribute value for a Consent
or User data mapping. Each Attribute
must have a corresponding AttributeDefinition
in the consent store that defines the default and allowed values.
Attributes
attribute_definition_id[RW]
Indicates the name of an attribute defined in the consent store. Corresponds to the JSON property `attributeDefinitionId` @return [String]
values[RW]
Required. The value of the attribute. Must be an acceptable value as defined in the consent store. For example, if the consent store defines “data type” with acceptable values “questionnaire” and “step-count”, when the attribute name is data type, this field must contain one of those values. Corresponds to the JSON property `values` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 169 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 174 def update!(**args) @attribute_definition_id = args[:attribute_definition_id] if args.key?(:attribute_definition_id) @values = args[:values] if args.key?(:values) end