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

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

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.



189
190
191
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 189

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)


180
181
182
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 180

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)


186
187
188
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 186

def store_quote
  @store_quote
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



194
195
196
197
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 194

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