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

A MeasurementType configures a value that consists of a measurement. The expected value should have a number and a mid representing the unit. Note: this is currently only used for attribute answer value types. Configuration intent slot as measurement is yet to be supported (or instead we should universally use SemanticType).

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.
  • 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.KnowledgeAnswersMeasurementType{
  componentSpecificContracts:
    GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.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.