Voting helps other researchers find interesting modules.
Each SupportTransferRule proto represents a single STBR (go/stbr) rule. These rules are attached to entities (called STBR sources). Each rule attached to an STBR source talks about a single entity (called STBR target). If an STBR source gets annotated, its attached rules result in creation of annotations for corresponding STBR targets. An STBR source might have more than one STBR rule attached to it. STBR rules allow us to address cases where otherwise annotations for what people say do not match what people mean. For example, a query [france vs spain] uses names of countries while in sports context the query would actually be about national sports teams of those countries. In other words, STBR rules have meaning of "in this particular context (see domain + target_collection fields below) a mention of this particular STBR source (the entity this rule is attached to) actually should be treated as that STBR target (see the target field below)". To describe the meaning of STBR settings (proto fields below), we are going to use a hypothetical example of an STBR rule making Search stack treat annotations for /m/France as annotations for /m/Louis_XIV, since he was the one saying "I am the state". In this example /m/France is going to be the STBR source. NOTICE: When adding new fields also update client::support_transfer::SortDeterministically to ensure deterministic sorting of the SupportTransferRule objects. Next available tag: 11. LINT.IfChange
allowWildcardIntents
boolean()
nil
domain
String.t
isReverseLink
mentionsOnly
supportShare
target
targetCollection
GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefKGCollection.t
userCountry
userLanguage
Unwrap a decoded JSON object into its complex fields.
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefSupportTransferRule{ allowWildcardIntents: boolean() | nil, domain: String.t() | nil, isReverseLink: boolean() | nil, mentionsOnly: boolean() | nil, supportShare: boolean() | nil, target: String.t() | nil, targetCollection: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefKGCollection.t() | nil, userCountry: String.t() | nil, userLanguage: String.t() | nil }
@spec decode(struct(), keyword()) :: struct()