GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersAttributeType
Table of Contents ▼
Jump to a specific part of the page:
Description
An attribute type configures a value whose type is intended to be a attribute defined in the schema.
Attributes List
This module has the following attributes (case-insensitive ascending order):
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
, 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
, default:nil
)
- Contains data about current schema remodelings at this ValueType level. For more information see go/meaning-remodeling-framework.
Type
@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
}
attribute: [String.t()] | nil,
componentSpecificContracts: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningComponentSpecificContracts.t() | nil,
pivotEntitySlot: String.t() | nil,
remodelings: GoogleApi.ContentWarehouse.V1.Model.NlpMeaningMeaningRemodelings.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersAttributeType