View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborQueryStringFilter (google_api_ai_platform v0.12.0)

String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.

Attributes

  • allowTokens (type: list(String.t), default: nil) - Optional. The allowed tokens.
  • denyTokens (type: list(String.t), default: nil) - Optional. The denied tokens.
  • name (type: String.t, default: nil) - Required. Column names in BigQuery that used as filters.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1NearestNeighborQueryStringFilter{
    allowTokens: [String.t()] | nil,
    denyTokens: [String.t()] | nil,
    name: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.