Class: Google::Apis::HealthcareV1beta1::DeidentifyConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::DeidentifyConfig
- 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
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
-
#annotation ⇒ Google::Apis::HealthcareV1beta1::AnnotationConfig
Specifies how to store annotations during de-identification operation.
-
#dicom ⇒ Google::Apis::HealthcareV1beta1::DicomConfig
Specifies the parameters needed for de-identification of DICOM stores.
-
#fhir ⇒ Google::Apis::HealthcareV1beta1::FhirConfig
Specifies how to handle de-identification of a FHIR store.
-
#image ⇒ Google::Apis::HealthcareV1beta1::ImageConfig
Specifies how to handle de-identification of image pixels.
-
#text ⇒ Google::Apis::HealthcareV1beta1::TextConfig
Configures de-identification of text wherever it is found in the source_dataset.
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.
1085 1086 1087 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotation ⇒ Google::Apis::HealthcareV1beta1::AnnotationConfig
Specifies how to store annotations during de-identification operation.
Corresponds to the JSON property annotation
1062 1063 1064 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1062 def annotation @annotation end |
#dicom ⇒ Google::Apis::HealthcareV1beta1::DicomConfig
Specifies the parameters needed for de-identification of DICOM stores.
Corresponds to the JSON property dicom
1067 1068 1069 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1067 def dicom @dicom end |
#fhir ⇒ Google::Apis::HealthcareV1beta1::FhirConfig
Specifies how to handle de-identification of a FHIR store.
Corresponds to the JSON property fhir
1072 1073 1074 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1072 def fhir @fhir end |
#image ⇒ Google::Apis::HealthcareV1beta1::ImageConfig
Specifies how to handle de-identification of image pixels.
Corresponds to the JSON property image
1077 1078 1079 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1077 def image @image end |
#text ⇒ Google::Apis::HealthcareV1beta1::TextConfig
Configures de-identification of text wherever it is found in the
source_dataset.
Corresponds to the JSON property text
1083 1084 1085 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1083 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1090 1091 1092 1093 1094 1095 1096 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1090 def update!(**args) @annotation = args[:annotation] if args.key?(:annotation) @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) end |