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

View Source

A time period inside of an example that has a time dimension (e.g. video).

Attributes

  • endTimeOffset (type: String.t, default: nil) - End of the time segment (exclusive), represented as the duration since the example start.
  • startTimeOffset (type: String.t, default: nil) - Start of the time segment (inclusive), represented as the duration since the example start.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1TimeSegment{
    endTimeOffset: String.t() | nil,
    startTimeOffset: String.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.