GoogleApi.ContentWarehouse.V1.Model.ResearchScamV3Restrict
Table of Contents ▼
Jump to a specific part of the page:
Description
//////////////////////////////////////////////////////////////////////////// Note that: Your overall query is an AND across namespaces across types. Namespaces names are independent across different restrict types (token, numeric and custom).
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
customNamespaces
(type:list(GoogleApi.ContentWarehouse.V1.Model.ResearchScamCustomRestrictNamespace)
, default:nil
)
- This field allows custom restrict extension. - It is up to the extension to decide whether OK to specify the same custom namespace more than once per instance of the V3Restrict proto. - Unrecorgniazed (in |V3RestrictsConfig.custom_restrict_namespace_configs|) and unregistered (in factory function registry) custom namespace name will fail dataset loading (instead of being ignored silently). See go/scam-restrict-plugin for more details. -
namespaces
(type:list(GoogleApi.ContentWarehouse.V1.Model.ResearchScamTokenNamespace)
, default:nil
)
- A repeating field, where each entry specifies the set of tokens, within a single namespace, that apply to the query, or database point, on which this V3Restrict proto is defined. Explicitly specifying a namespace with 0 tokens is identical to omitting that namespace. ie, "{ns:}" == "". It is an error to specify the same namespace more than once per instance of the V3Restrict proto. -
numericNamespaces
(type:list(GoogleApi.ContentWarehouse.V1.Model.ResearchScamNumericRestrictNamespace)
, default:nil
)
- This field allows restricts to be based on numeric comparisons rather than categorical tokens. HINT: To allow a range of values in a namespace (e.g. 42 <= x < 128), specify the same namespace twice in the query, e.g.: {namespace: "x" op: LESS value_int: 128 } {namespace: "x" op: GREATER_EQUAL value_int: 42 }
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ResearchScamV3Restrict{
customNamespaces: [ GoogleApi.ContentWarehouse.V1.Model.ResearchScamCustomRestrictNamespace.t() ] | nil,
namespaces: [GoogleApi.ContentWarehouse.V1.Model.ResearchScamTokenNamespace.t()] | nil,
numericNamespaces: [ GoogleApi.ContentWarehouse.V1.Model.ResearchScamNumericRestrictNamespace.t() ] | nil
}
customNamespaces: [ GoogleApi.ContentWarehouse.V1.Model.ResearchScamCustomRestrictNamespace.t() ] | nil,
namespaces: [GoogleApi.ContentWarehouse.V1.Model.ResearchScamTokenNamespace.t()] | nil,
numericNamespaces: [ GoogleApi.ContentWarehouse.V1.Model.ResearchScamNumericRestrictNamespace.t() ] | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ResearchScamV3Restrict