Class: Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::CheckDataAccessResponse
- 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
Checks if a particular data_id of a User data mapping in the given consent store is consented for a given use.
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 requested resource is consented for the given use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckDataAccessResponse
constructor
A new instance of CheckDataAccessResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckDataAccessResponse
Returns a new instance of CheckDataAccessResponse.
1043 1044 1045 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1043 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
1035 1036 1037 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1035 def @consent_details end |
#consented ⇒ Boolean Also known as: consented?
Whether the requested resource is consented for the given use.
Corresponds to the JSON property consented
1040 1041 1042 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1040 def @consented end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1048 1049 1050 1051 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1048 def update!(**args) @consent_details = args[:consent_details] if args.key?(:consent_details) @consented = args[:consented] if args.key?(:consented) end |