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

The byte offset and text of a span.

Attributes

  • numBytes (type: integer(), default: nil) -
  • startByte (type: integer(), default: nil) - 0-based start byte offset of the span.
  • text (type: String.t, default: nil) - The text of the span: a substring of ParserInput's canonical_input.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeSpan{
  numBytes: integer() | nil,
  startByte: integer() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.