class Google::Apis::HealthcareV1::EntityMentionRelationship
Defines directed relationship from one entity mention to another.
Attributes
confidence[RW]
The model's confidence in this annotation. A number between 0 and 1. Corresponds to the JSON property `confidence` @return [Float]
object_id_prop[RW]
object_id is the id of the object entity mention. Corresponds to the JSON property `objectId` @return [String]
subject_id[RW]
subject_id
is the id of the subject entity mention. Corresponds to the JSON property `subjectId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 1235 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/healthcare_v1/classes.rb, line 1240 def update!(**args) @confidence = args[:confidence] if args.key?(:confidence) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @subject_id = args[:subject_id] if args.key?(:subject_id) end