class Google::Apis::HealthcareV1::AnalyzeEntitiesResponse

Includes recognized entity mentions and relationships between them.

Attributes

entities[RW]

The union of all the candidate entities that the entity_mentions in this response could link to. These are UMLS concepts or normalized mention content. Corresponds to the JSON property `entities` @return [Array<Google::Apis::HealthcareV1::Entity>]

entity_mentions[RW]

entity_mentions contains all the annotated medical entities that were mentioned in the provided document. Corresponds to the JSON property `entityMentions` @return [Array<Google::Apis::HealthcareV1::EntityMention>]

relationships[RW]

relationships contains all the binary relationships that were identified between entity mentions within the provided document. Corresponds to the JSON property `relationships` @return [Array<Google::Apis::HealthcareV1::EntityMentionRelationship>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/healthcare_v1/classes.rb, line 112
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 117
def update!(**args)
  @entities = args[:entities] if args.key?(:entities)
  @entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
  @relationships = args[:relationships] if args.key?(:relationships)
end