Class: Google::Apis::HealthcareV1::DeidentifyConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::DeidentifyConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
Overview
Configures de-id options specific to different types of content. Each submessage customizes the handling of an https://tools.ietf.org/html/rfc6838 media type or subtype. Configs are applied in a nested manner at runtime.
Instance Attribute Summary collapse
-
#dicom ⇒ Google::Apis::HealthcareV1::DicomConfig
Specifies the parameters needed for de-identification of DICOM stores.
-
#fhir ⇒ Google::Apis::HealthcareV1::FhirConfig
Specifies how to handle de-identification of a FHIR store.
-
#image ⇒ Google::Apis::HealthcareV1::ImageConfig
Specifies how to handle de-identification of image pixels.
-
#text ⇒ Google::Apis::HealthcareV1::TextConfig
Configures de-identification of text wherever it is found in the source_dataset.
-
#use_regional_data_processing ⇒ Boolean
(also: #use_regional_data_processing?)
Ensures in-flight data remains in the region of origin during de- identification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeidentifyConfig
constructor
A new instance of DeidentifyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeidentifyConfig
Returns a new instance of DeidentifyConfig.
931 932 933 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dicom ⇒ Google::Apis::HealthcareV1::DicomConfig
Specifies the parameters needed for de-identification of DICOM stores.
Corresponds to the JSON property dicom
903 904 905 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 903 def dicom @dicom end |
#fhir ⇒ Google::Apis::HealthcareV1::FhirConfig
Specifies how to handle de-identification of a FHIR store.
Corresponds to the JSON property fhir
908 909 910 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 908 def fhir @fhir end |
#image ⇒ Google::Apis::HealthcareV1::ImageConfig
Specifies how to handle de-identification of image pixels.
Corresponds to the JSON property image
913 914 915 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 913 def image @image end |
#text ⇒ Google::Apis::HealthcareV1::TextConfig
Configures de-identification of text wherever it is found in the
source_dataset.
Corresponds to the JSON property text
919 920 921 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 919 def text @text end |
#use_regional_data_processing ⇒ Boolean Also known as: use_regional_data_processing?
Ensures in-flight data remains in the region of origin during de-
identification. Using this option results in a significant reduction of
throughput, and is not compatible with LOCATION
or ORGANIZATION_NAME
infoTypes. LOCATION
must be excluded within TextConfig
, and must also be
excluded within ImageConfig
if image redaction is required.
Corresponds to the JSON property useRegionalDataProcessing
928 929 930 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 928 def use_regional_data_processing @use_regional_data_processing end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
936 937 938 939 940 941 942 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 936 def update!(**args) @dicom = args[:dicom] if args.key?(:dicom) @fhir = args[:fhir] if args.key?(:fhir) @image = args[:image] if args.key?(:image) @text = args[:text] if args.key?(:text) @use_regional_data_processing = args[:use_regional_data_processing] if args.key?(:use_regional_data_processing) end |