Class: Google::Apis::HealthcareV1alpha2::Finding

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Finding

Returns a new instance of Finding



1024
1025
1026
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1024

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

Instance Attribute Details

#endFixnum

Zero-based ending index of the found text, exclusively. Corresponds to the JSON property end

Returns:

  • (Fixnum)


1011
1012
1013
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1011

def end
  @end
end

#info_typeString

The type of information stored in this text range (e.g. HumanName, BirthDate, Address, etc.) Corresponds to the JSON property infoType

Returns:

  • (String)


1017
1018
1019
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1017

def info_type
  @info_type
end

#startFixnum

Zero-based starting index of the found text, inclusively. Corresponds to the JSON property start

Returns:

  • (Fixnum)


1022
1023
1024
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1022

def start
  @start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1029
1030
1031
1032
1033
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1029

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