View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObj (google_api_content_warehouse v0.4.0)

Attributes

  • boolValue (type: boolean(), default: nil) -
  • datetimeValue (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphDateTimeProto.t, default: nil) -
  • doubleValue (type: float(), default: nil) -
  • durationValue (type: String.t, default: nil) - seconds
  • idValue (type: String.t, default: nil) - An id representing an entity (mid or hrid)
  • int64Value (type: String.t, default: nil) -
  • locale (type: String.t, default: nil) - The language code for the object value. It must be a BCP 47-compliant language tag (b/10005172). See also go/kg-data-l10n.
  • nestedStructValue (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphNestedStruct.t, default: nil) -
  • protoValue (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObjProto.t, default: nil) -
  • s2cellId (type: String.t, default: nil) -
  • stringValue (type: String.t, default: nil) - A UTF-8 string value to be used for the following expected schema types: - /type/rawstring - /type/text - /type/key
  • uint64Value (type: String.t, default: nil) -
  • uriValue (type: String.t, default: nil) - A UTF-8 string value to be used for expected type /type/uri - b/68760994.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObj{
  boolValue: boolean() | nil,
  datetimeValue:
    GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphDateTimeProto.t() | nil,
  doubleValue: float() | nil,
  durationValue: String.t() | nil,
  idValue: String.t() | nil,
  int64Value: String.t() | nil,
  locale: String.t() | nil,
  nestedStructValue:
    GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphNestedStruct.t() | nil,
  protoValue:
    GoogleApi.ContentWarehouse.V1.Model.KnowledgeGraphTripleObjProto.t() | nil,
  s2cellId: String.t() | nil,
  stringValue: String.t() | nil,
  uint64Value: String.t() | nil,
  uriValue: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.