class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentEntityRelation

Relationship between Entities.

Attributes

object_id_prop[RW]

Object entity id. Corresponds to the JSON property `objectId` @return [String]

relation[RW]

Relationship description. Corresponds to the JSON property `relation` @return [String]

subject_id[RW]

Subject entity id. Corresponds to the JSON property `subjectId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 3109
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/documentai_v1beta3/classes.rb, line 3114
def update!(**args)
  @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
  @relation = args[:relation] if args.key?(:relation)
  @subject_id = args[:subject_id] if args.key?(:subject_id)
end