Class: Google::Apis::HealthcareV1beta1::CheckDataAccessRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::CheckDataAccessRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/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_list ⇒ Google::Apis::HealthcareV1beta1::ConsentList
List of resource names of Consent resources.
-
#data_id ⇒ String
The unique identifier of the data to check access for.
-
#request_attributes ⇒ Hash<String,String>
The values of request attributes associated with this access request.
-
#response_view ⇒ String
The view for CheckDataAccessResponse.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckDataAccessRequest
constructor
A new instance of CheckDataAccessRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CheckDataAccessRequest
Returns a new instance of CheckDataAccessRequest.
592 593 594 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 592 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consent_list ⇒ Google::Apis::HealthcareV1beta1::ConsentList
List of resource names of Consent resources.
Corresponds to the JSON property consentList
573 574 575 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 573 def @consent_list end |
#data_id ⇒ String
The unique identifier of the data to check access for. It must exist in the
given consent_store
.
Corresponds to the JSON property dataId
579 580 581 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 579 def data_id @data_id end |
#request_attributes ⇒ Hash<String,String>
The values of request attributes associated with this access request.
Corresponds to the JSON property requestAttributes
584 585 586 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 584 def request_attributes @request_attributes end |
#response_view ⇒ String
The view for CheckDataAccessResponse. If unspecified, defaults to BASIC
and
returns consented
as TRUE
or FALSE
.
Corresponds to the JSON property responseView
590 591 592 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 590 def response_view @response_view end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
597 598 599 600 601 602 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 597 def update!(**args) @consent_list = args[:consent_list] if args.key?(:consent_list) @data_id = args[:data_id] if args.key?(:data_id) @request_attributes = args[:request_attributes] if args.key?(:request_attributes) @response_view = args[:response_view] if args.key?(:response_view) end |