Class: Google::Apis::HealthcareV1beta1::AnnotationConfig
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::AnnotationConfig
- 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
-
#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.
189 190 191 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 189 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`
180 181 182 |
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 180 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
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 |