View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointNumericRestriction (google_api_ai_platform v0.13.0)

This field allows restricts to be based on numeric comparisons rather than categorical tokens.

Attributes

  • namespace (type: String.t, default: nil) - The namespace of this restriction. e.g.: cost.
  • op (type: String.t, default: nil) - This MUST be specified for queries and must NOT be specified for datapoints.
  • valueDouble (type: float(), default: nil) - Represents 64 bit float.
  • valueFloat (type: number(), default: nil) - Represents 32 bit float.
  • valueInt (type: String.t, default: nil) - Represents 64 bit integer.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1IndexDatapointNumericRestriction{
    namespace: String.t() | nil,
    op: String.t() | nil,
    valueDouble: float() | nil,
    valueFloat: number() | nil,
    valueInt: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.