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.



1344
1345
1346
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1344

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



1307
1308
1309
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1307

def annotation
  @annotation
end

#dicomGoogle::Apis::HealthcareV1beta1::DicomConfig

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



1312
1313
1314
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1312

def dicom
  @dicom
end

#dicom_tag_configGoogle::Apis::HealthcareV1beta1::DicomTagConfig

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



1317
1318
1319
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1317

def dicom_tag_config
  @dicom_tag_config
end

#fhirGoogle::Apis::HealthcareV1beta1::FhirConfig

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



1322
1323
1324
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1322

def fhir
  @fhir
end

#fhir_field_configGoogle::Apis::HealthcareV1beta1::FhirFieldConfig

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



1327
1328
1329
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1327

def fhir_field_config
  @fhir_field_config
end

#imageGoogle::Apis::HealthcareV1beta1::ImageConfig

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



1332
1333
1334
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1332

def image
  @image
end

#operation_metadataGoogle::Apis::HealthcareV1beta1::DeidentifyOperationMetadata

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



1337
1338
1339
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1337

def 
  @operation_metadata
end

#textGoogle::Apis::HealthcareV1beta1::TextConfig

Configures how to transform sensitive text InfoTypes. Corresponds to the JSON property text



1342
1343
1344
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1342

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1349

def update!(**args)
  @annotation = args[:annotation] if args.key?(:annotation)
  @dicom = args[:dicom] if args.key?(:dicom)
  @dicom_tag_config = args[:dicom_tag_config] if args.key?(:dicom_tag_config)
  @fhir = args[:fhir] if args.key?(:fhir)
  @fhir_field_config = args[:fhir_field_config] if args.key?(:fhir_field_config)
  @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