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



1036
1037
1038
# File 'generated/google/apis/healthcare_v1alpha2/classes.rb', line 1036

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)


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

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)


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

def info_type
  @info_type
end

#startFixnum

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

Returns:

  • (Fixnum)


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