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

A DurationType configures a value whose type is a duration.

Attributes

  • componentSpecificContracts (type: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.t, default: nil) - Contains data about the contracts that this ValueType level is available for. For more information see go/contract-based-conformance.
  • rangeConstraint (type: GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersRangeConstraint.t, default: nil) - Range constraint limits the set of durations accepted. The values of the range are in milliseconds. Currently, this constraint is only enforced in Loose Parser.
  • remodelings (type: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelings.t, default: nil) - Contains data about current schema remodelings at this ValueType level. For more information see go/meaning-remodeling-framework.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersDurationType{
  componentSpecificContracts:
    GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.t()
    | nil,
  rangeConstraint:
    GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersRangeConstraint.t()
    | nil,
  remodelings:
    GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelings.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.