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- (::String) — Full raw ID.
#id=
def id=(value) -> ::String- value (::String) — Full raw ID.
- (::String) — Full raw ID.
#namespace
def namespace() -> ::Google::Backstory::Id::Namespace- (::Google::Backstory::Id::Namespace) — Namespace the id belongs to.
#namespace=
def namespace=(value) -> ::Google::Backstory::Id::Namespace- value (::Google::Backstory::Id::Namespace) — Namespace the id belongs to.
- (::Google::Backstory::Id::Namespace) — Namespace the id belongs to.
#string_id
def string_id() -> ::String- (::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- 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...
- (::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...