Interface protos.google.cloud.language.v1.IEntity (5.1.2)

Properties of an Entity.

Package

@google-cloud/language

Properties

mentions

mentions?: (google.cloud.language.v1.IEntityMention[]|null);

Entity mentions

metadata

metadata?: ({ [k: string]: string }|null);

Entity metadata

name

name?: (string|null);

Entity name

salience

salience?: (number|null);

Entity salience

sentiment

sentiment?: (google.cloud.language.v1.ISentiment|null);

Entity sentiment

type

type?: (google.cloud.language.v1.Entity.Type|keyof typeof google.cloud.language.v1.Entity.Type|null);

Entity type