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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1/classes.rb,
generated/google/apis/healthcare_v1/representations.rb,
generated/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeidentifyConfig

Returns a new instance of DeidentifyConfig.



325
326
327
# File 'generated/google/apis/healthcare_v1/classes.rb', line 325

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



307
308
309
# File 'generated/google/apis/healthcare_v1/classes.rb', line 307

def dicom
  @dicom
end

#fhirGoogle::Apis::HealthcareV1::FhirConfig

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



312
313
314
# File 'generated/google/apis/healthcare_v1/classes.rb', line 312

def fhir
  @fhir
end

#imageGoogle::Apis::HealthcareV1::ImageConfig

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



317
318
319
# File 'generated/google/apis/healthcare_v1/classes.rb', line 317

def image
  @image
end

#textGoogle::Apis::HealthcareV1::TextConfig

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



323
324
325
# File 'generated/google/apis/healthcare_v1/classes.rb', line 323

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



330
331
332
333
334
335
# File 'generated/google/apis/healthcare_v1/classes.rb', line 330

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)
end