Class: Google::Apis::HealthcareV1alpha2::DeidentifyConfig

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeidentifyConfig

Returns a new instance of DeidentifyConfig



481
482
483
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 481

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

Instance Attribute Details

#dicomGoogle::Apis::HealthcareV1alpha2::DicomConfig

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



463
464
465
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 463

def dicom
  @dicom
end

#fhirGoogle::Apis::HealthcareV1alpha2::FhirConfig

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



468
469
470
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 468

def fhir
  @fhir
end

#imageGoogle::Apis::HealthcareV1alpha2::ImageConfig

Specifies how de-identification of image pixel should be handled. Corresponds to the JSON property image



473
474
475
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 473

def image
  @image
end

#textGoogle::Apis::HealthcareV1alpha2::TextConfig

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



479
480
481
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 479

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



486
487
488
489
490
491
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 486

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