Class: Google::Apis::HealthcareV1beta1::ExplainDataAccessConsentInfo
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::ExplainDataAccessConsentInfo
- 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 enforcing consent's metadata.
Instance Attribute Summary collapse
-
#cascade_origins ⇒ Array<String>
The compartment base resources that matched a cascading policy.
-
#consent_resource ⇒ String
The resource name of this consent resource, in the format:
projects/
project_id/locations/
location/datasets/
dataset_id/fhirStores/
fhir_store_id/fhir/Consent/
resource_id``. -
#enforcement_time ⇒ String
Last enforcement timestamp of this consent resource.
-
#matching_accessor_scopes ⇒ Array<Google::Apis::HealthcareV1beta1::ConsentAccessorScope>
A list of all the matching accessor scopes of this consent policy that enforced ExplainDataAccessConsentScope.accessor_scope.
-
#patient_consent_owner ⇒ String
The patient owning the consent (only applicable for patient consents), in the format:
projects/
project_id/locations/
location_id/datasets/
dataset_id/ fhirStores/
fhir_store_id/fhir/Patient/
patient_id`Corresponds to the JSON property
patientConsentOwner`. -
#type ⇒ String
The policy type of consent resource (e.g. PATIENT, ADMIN).
-
#variants ⇒ Array<String>
The consent's variant combinations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExplainDataAccessConsentInfo
constructor
A new instance of ExplainDataAccessConsentInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExplainDataAccessConsentInfo
Returns a new instance of ExplainDataAccessConsentInfo.
2575 2576 2577 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cascade_origins ⇒ Array<String>
The compartment base resources that matched a cascading policy. Each resource
has the following format: projects/
project_id/locations/
location_id/
datasets/
dataset_id/fhirStores/
fhir_store_id/fhir/
resource_type/
resource_id`
Corresponds to the JSON property
cascadeOrigins`
2537 2538 2539 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2537 def cascade_origins @cascade_origins end |
#consent_resource ⇒ String
The resource name of this consent resource, in the format: projects/
project_id/locations/
location/datasets/
dataset_id/fhirStores/
fhir_store_id/fhir/Consent/
resource_id`.
Corresponds to the JSON property
consentResource`
2544 2545 2546 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2544 def @consent_resource end |
#enforcement_time ⇒ String
Last enforcement timestamp of this consent resource.
Corresponds to the JSON property enforcementTime
2549 2550 2551 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2549 def enforcement_time @enforcement_time end |
#matching_accessor_scopes ⇒ Array<Google::Apis::HealthcareV1beta1::ConsentAccessorScope>
A list of all the matching accessor scopes of this consent policy that
enforced ExplainDataAccessConsentScope.accessor_scope.
Corresponds to the JSON property matchingAccessorScopes
2555 2556 2557 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2555 def matching_accessor_scopes @matching_accessor_scopes end |
#patient_consent_owner ⇒ String
The patient owning the consent (only applicable for patient consents), in the
format: projects/
project_id/locations/
location_id/datasets/
dataset_id/
fhirStores/
fhir_store_id/fhir/Patient/
patient_id`
Corresponds to the JSON property
patientConsentOwner`
2562 2563 2564 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2562 def @patient_consent_owner end |
#type ⇒ String
The policy type of consent resource (e.g. PATIENT, ADMIN).
Corresponds to the JSON property type
2567 2568 2569 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2567 def type @type end |
#variants ⇒ Array<String>
The consent's variant combinations. A single consent may have multiple
variants.
Corresponds to the JSON property variants
2573 2574 2575 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2573 def variants @variants end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2580 2581 2582 2583 2584 2585 2586 2587 2588 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2580 def update!(**args) @cascade_origins = args[:cascade_origins] if args.key?(:cascade_origins) @consent_resource = args[:consent_resource] if args.key?(:consent_resource) @enforcement_time = args[:enforcement_time] if args.key?(:enforcement_time) @matching_accessor_scopes = args[:matching_accessor_scopes] if args.key?(:matching_accessor_scopes) @patient_consent_owner = args[:patient_consent_owner] if args.key?(:patient_consent_owner) @type = args[:type] if args.key?(:type) @variants = args[:variants] if args.key?(:variants) end |