GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1SequentialSegment (google_api_data_labeling v0.4.1)

View Source

Start and end position in a sequence (e.g. text segment).

Attributes

  • end (type: integer(), default: nil) - End position (exclusive).
  • start (type: integer(), default: nil) - Start position (inclusive).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1SequentialSegment{
    end: integer() | nil,
    start: integer() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.