Class: Google::Apis::HealthcareV1alpha2::SensitiveTextAnnotation
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::SensitiveTextAnnotation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/healthcare_v1alpha2/classes.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb,
generated/google/apis/healthcare_v1alpha2/representations.rb
Overview
A TextAnnotation specifies a text range that includes sensitive information.
Instance Attribute Summary collapse
-
#details ⇒ Hash<String,Google::Apis::HealthcareV1alpha2::Detail>
Maps from a resource slice (e.g. FHIR resource field path) to a set of sensitive text findings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SensitiveTextAnnotation
constructor
A new instance of SensitiveTextAnnotation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SensitiveTextAnnotation
Returns a new instance of SensitiveTextAnnotation
2579 2580 2581 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#details ⇒ Hash<String,Google::Apis::HealthcareV1alpha2::Detail>
Maps from a resource slice (e.g. FHIR resource field path) to a set of
sensitive text findings. For example,
Appointment.Narrative text1 --> findings_1, findings_2, findings_3
Corresponds to the JSON property details
2577 2578 2579 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2577 def details @details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2584 2585 2586 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 2584 def update!(**args) @details = args[:details] if args.key?(:details) end |