Class: Google::Apis::HealthcareV1beta1::AnnotationConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::AnnotationConfig
- 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
-
#annotation_store_name ⇒ String
The name of the annotation store, in the form
projects/
project_id/locations/
location_id/datasets/
dataset_id/annotationStores/
annotation_store_id``). -
#store_quote ⇒ Boolean
(also: #store_quote?)
If set to true, the sensitive texts are included in SensitiveTextAnnotation of Annotation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnnotationConfig
constructor
A new instance of AnnotationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_name ⇒ String
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 property
annotationStoreName`
325 326 327 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 325 def annotation_store_name @annotation_store_name end |
#store_quote ⇒ Boolean Also known as: store_quote?
If set to true, the sensitive texts are included in SensitiveTextAnnotation of
Annotation.
Corresponds to the JSON property storeQuote
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 |