Class: Google::Apis::HealthcareV1beta1::Finding
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::Finding
- 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
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
Zero-based ending index of the found text, exclusively.
-
#info_type ⇒ String
The type of information stored in this text range.
-
#quote ⇒ String
The snippet of the sensitive text.
-
#start ⇒ Fixnum
Zero-based starting index of the found text, inclusively.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Finding
constructor
A new instance of Finding.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Finding
Returns a new instance of Finding.
2743 2744 2745 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
Zero-based ending index of the found text, exclusively.
Corresponds to the JSON property end
2724 2725 2726 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2724 def end @end end |
#info_type ⇒ String
The type of information stored in this text range. For example, HumanName,
BirthDate, or Address.
Corresponds to the JSON property infoType
2730 2731 2732 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2730 def info_type @info_type end |
#quote ⇒ String
The snippet of the sensitive text. This field is only populated during
deidentification if store_quote is set to true in DeidentifyConfig.
Corresponds to the JSON property quote
2736 2737 2738 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2736 def quote @quote end |
#start ⇒ Fixnum
Zero-based starting index of the found text, inclusively.
Corresponds to the JSON property start
2741 2742 2743 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2741 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2748 2749 2750 2751 2752 2753 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 2748 def update!(**args) @end = args[:end] if args.key?(:end) @info_type = args[:info_type] if args.key?(:info_type) @quote = args[:quote] if args.key?(:quote) @start = args[:start] if args.key?(:start) end |