View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint (google_api_content_warehouse v0.3.0)

Example: "latest" would constrain the episode to a certain ordinal.

Attributes

  • absoluteIndex (type: integer(), default: nil) - The absolute index of the episode. 1 is the first element and -1 is the last element in the sequence, -2 is the second-to-last element, and so on. Examples: "first episode" => 1 "3rd episode" => 3 "last episode" => -1
  • dateTime (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t, default: nil) - Date/time of the message. This could be an absolute date/time (e.g. find my message from monday) or a date/time range (e.g. find my message in the past four hours). This constrains when the episode came out.
  • description (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDescription.t, default: nil) - A description of the episode. Example: For the query: [listen to this american life about cars] the description would be "cars"
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • rawText (type: String.t, default: nil) -
  • relativeIndex (type: integer(), default: nil) - The relative index of the episode. Examples: "previous episode" => -1 "current episode" => 0 "next episode" => 1

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint{
    absoluteIndex: integer() | nil,
    dateTime:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t()
      | nil,
    description:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDescription.t()
      | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    rawText: String.t() | nil,
    relativeIndex: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.