Class: Google::Apis::HealthcareV1beta1::SensitiveTextAnnotation

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

A TextAnnotation specifies a text range that includes sensitive information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SensitiveTextAnnotation

Returns a new instance of SensitiveTextAnnotation.



6758
6759
6760
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6758

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

Instance Attribute Details

#detailsHash<String,Google::Apis::HealthcareV1beta1::Detail>

Maps from a resource slice. For example, 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

Returns:



6756
6757
6758
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6756

def details
  @details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6763
6764
6765
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 6763

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