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

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

Identifier to identify a UDM object like a UDM event, Entity, Collection. The full identifier for persistence is created by setting the 32 most significant bits as the Id.Namespace enum This is a convenience wrapper to define the id space enum values and provide an easy interface for RPCs, most persistence use cases should use a denormalized form.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#id

def id() -> ::String
Returns
  • (::String) — Full raw ID.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Full raw ID.
Returns
  • (::String) — Full raw ID.

#namespace

def namespace() -> ::Google::Backstory::Id::Namespace
Returns

#namespace=

def namespace=(value) -> ::Google::Backstory::Id::Namespace
Parameter
Returns

#string_id

def string_id() -> ::String
Returns
  • (::String) — Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...

#string_id=

def string_id=(value) -> ::String
Parameter
  • value (::String) — Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...
Returns
  • (::String) — Some ids are stored as strings that are not able to be translated to bytes, so store these separately. Ex. detection id of the form de_aaaaaaaa-aaaa...