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

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

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.


512
513
514
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 512

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


489
490
491
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 489

def annotation
  @annotation
end

#dicomGoogle::Apis::HealthcareV1beta1::DicomConfig

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


494
495
496
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 494

def dicom
  @dicom
end

#fhirGoogle::Apis::HealthcareV1beta1::FhirConfig

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


499
500
501
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 499

def fhir
  @fhir
end

#imageGoogle::Apis::HealthcareV1beta1::ImageConfig

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


504
505
506
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 504

def image
  @image
end

#textGoogle::Apis::HealthcareV1beta1::TextConfig

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


510
511
512
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 510

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


517
518
519
520
521
522
523
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 517

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