Class: Google::Apis::HealthcareV1beta1::AnnotationConfig

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

Specifies how to store annotations during de-identification operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnnotationConfig

Returns a new instance of AnnotationConfig.



334
335
336
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 334

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

Instance Attribute Details

#annotation_store_nameString

The name of the annotation store, in the form projects/project_id/locations/ location_id/datasets/dataset_id/annotationStores/annotation_store_id`). * The destination annotation store must be in the same project as the source data. De-identifying data across multiple projects is not supported. * The destination annotation store must exist when using DeidentifyDicomStore or DeidentifyFhirStore. DeidentifyDataset automatically creates the destination annotation store. Corresponds to the JSON propertyannotationStoreName`

Returns:

  • (String)


325
326
327
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 325

def annotation_store_name
  @annotation_store_name
end

#store_quoteBoolean Also known as: store_quote?

If set to true, the sensitive texts are included in SensitiveTextAnnotation of Annotation. Corresponds to the JSON property storeQuote

Returns:

  • (Boolean)


331
332
333
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 331

def store_quote
  @store_quote
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



339
340
341
342
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 339

def update!(**args)
  @annotation_store_name = args[:annotation_store_name] if args.key?(:annotation_store_name)
  @store_quote = args[:store_quote] if args.key?(:store_quote)
end