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

An attribute type configures a value whose type is intended to be a attribute defined in the schema.

Attributes

  • attribute (type: list(String.t), default: nil) - Use in parsing: the value filled with must be in the list of this. If no attribute ids are specified, this value can be filled with any attribute.
  • 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.
  • pivotEntitySlot (type: String.t, default: nil) - If exist, the attribute will be applied on the given pivot slot. This helps type checking when qrewrite constructs function calls with an attribute-typed slot.
  • 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.KnowledgeAnswersAttributeType{
  attribute: [String.t()] | nil,
  componentSpecificContracts:
    GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.t()
    | nil,
  pivotEntitySlot: String.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.