Chronicle V1 API - Class Google::Backstory::Relation (v1.4.0)

Reference documentation and code samples for the Chronicle V1 API class Google::Backstory::Relation.

Defines the relationship between the entity (a) and another entity (b).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#direction

def direction() -> ::Google::Backstory::Relation::Directionality
Returns

#direction=

def direction=(value) -> ::Google::Backstory::Relation::Directionality
Parameter
Returns

#entity

def entity() -> ::Google::Backstory::Noun
Returns

#entity=

def entity=(value) -> ::Google::Backstory::Noun
Parameter
Returns

#entity_label

def entity_label() -> ::Google::Backstory::Relation::EntityLabel
Returns

#entity_label=

def entity_label=(value) -> ::Google::Backstory::Relation::EntityLabel
Parameter
Returns

#entity_type

def entity_type() -> ::Google::Backstory::EntityMetadata::EntityType
Returns

#entity_type=

def entity_type=(value) -> ::Google::Backstory::EntityMetadata::EntityType
Parameter
Returns

#relationship

def relationship() -> ::Google::Backstory::Relation::Relationship
Returns

#relationship=

def relationship=(value) -> ::Google::Backstory::Relation::Relationship
Parameter
Returns

#uid

def uid() -> ::String
Returns
  • (::String) — UID of the relationship.

#uid=

def uid=(value) -> ::String
Parameter
  • value (::String) — UID of the relationship.
Returns
  • (::String) — UID of the relationship.