Class: Google::Apis::HealthcareV1beta1::Result
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::Result
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
The consent evaluation result for a single data_id.
Instance Attribute Summary collapse
-
#consent_details ⇒ Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>
The resource names of all evaluated Consents mapped to their evaluation.
-
#consented ⇒ Boolean
(also: #consented?)
Whether the resource is consented for the given use.
-
#data_id ⇒ String
The unique identifier of the evaluated resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Result
constructor
A new instance of Result.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Result
Returns a new instance of Result.
6208 6209 6210 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent_details ⇒ Hash<String,Google::Apis::HealthcareV1beta1::ConsentEvaluation>
The resource names of all evaluated Consents mapped to their evaluation.
Corresponds to the JSON property consentDetails
6195 6196 6197 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6195 def @consent_details end |
#consented ⇒ Boolean Also known as: consented?
Whether the resource is consented for the given use.
Corresponds to the JSON property consented
6200 6201 6202 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6200 def @consented end |
#data_id ⇒ String
The unique identifier of the evaluated resource.
Corresponds to the JSON property dataId
6206 6207 6208 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6206 def data_id @data_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6213 6214 6215 6216 6217 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6213 def update!(**args) @consent_details = args[:consent_details] if args.key?(:consent_details) @consented = args[:consented] if args.key?(:consented) @data_id = args[:data_id] if args.key?(:data_id) end |