Class: Google::Apis::HealthcareV1::DeidentifyConfig

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

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.

[View source]

1402
1403
1404
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1402

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

Instance Attribute Details

#dicomGoogle::Apis::HealthcareV1::DicomConfig

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


1374
1375
1376
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1374

def dicom
  @dicom
end

#fhirGoogle::Apis::HealthcareV1::FhirConfig

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


1379
1380
1381
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1379

def fhir
  @fhir
end

#imageGoogle::Apis::HealthcareV1::ImageConfig

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


1384
1385
1386
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1384

def image
  @image
end

#textGoogle::Apis::HealthcareV1::TextConfig

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


1390
1391
1392
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1390

def text
  @text
end

#use_regional_data_processingBoolean Also known as: use_regional_data_processing?

Optional. Ensures in-flight data remains in the region of origin during de- identification. The default value is false. 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

Returns:

  • (Boolean)

1399
1400
1401
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1399

def use_regional_data_processing
  @use_regional_data_processing
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1407
1408
1409
1410
1411
1412
1413
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1407

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