Class: Google::Apis::HealthcareV1beta1::DeidentifyConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeidentifyConfig

Returns a new instance of DeidentifyConfig.



1112
1113
1114
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1112

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#annotationGoogle::Apis::HealthcareV1beta1::AnnotationConfig

Specifies how to store annotations during de-identification operation. Corresponds to the JSON property annotation



1084
1085
1086
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1084

def annotation
  @annotation
end

#dicomGoogle::Apis::HealthcareV1beta1::DicomConfig

Specifies the parameters needed for de-identification of DICOM stores. Corresponds to the JSON property dicom



1089
1090
1091
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1089

def dicom
  @dicom
end

#fhirGoogle::Apis::HealthcareV1beta1::FhirConfig

Specifies how to handle de-identification of a FHIR store. Corresponds to the JSON property fhir



1094
1095
1096
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1094

def fhir
  @fhir
end

#imageGoogle::Apis::HealthcareV1beta1::ImageConfig

Specifies how to handle de-identification of image pixels. Corresponds to the JSON property image



1099
1100
1101
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1099

def image
  @image
end

#operation_metadataGoogle::Apis::HealthcareV1beta1::DeidentifyOperationMetadata

Details about the work the de-identify operation performed. Corresponds to the JSON property operationMetadata



1104
1105
1106
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1104

def 
  @operation_metadata
end

#textGoogle::Apis::HealthcareV1beta1::TextConfig

Configures de-identification of text wherever it is found in the source_dataset. Corresponds to the JSON property text



1110
1111
1112
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1110

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1117
1118
1119
1120
1121
1122
1123
1124
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1117

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)
  @operation_metadata = args[:operation_metadata] if args.key?(:operation_metadata)
  @text = args[:text] if args.key?(:text)
end