Class: Google::Apis::HealthcareV1alpha2::Finding
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1alpha2::Finding
- 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
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 (e.g. HumanName, BirthDate, Address, etc.) Corresponds to the JSON property
infoType
. -
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Finding
Returns a new instance of Finding
1036 1037 1038 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1036 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
1023 1024 1025 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1023 def end @end end |
#info_type ⇒ String
The type of information stored in this text range (e.g. HumanName,
BirthDate, Address, etc.)
Corresponds to the JSON property infoType
1029 1030 1031 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1029 def info_type @info_type end |
#start ⇒ Fixnum
Zero-based starting index of the found text, inclusively.
Corresponds to the JSON property start
1034 1035 1036 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1034 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1041 1042 1043 1044 1045 |
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1041 def update!(**args) @end = args[:end] if args.key?(:end) @info_type = args[:info_type] if args.key?(:info_type) @start = args[:start] if args.key?(:start) end |