Google Cloud Ai Platform V1 Client - Class Query (1.21.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Query.

Preset option controlling parameters for query speed-precision trade-off

Protobuf type google.cloud.aiplatform.v1.Presets.Query

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Presets

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

PRECISE

Value: 0

More precise neighbors as a trade-off against slower response.

Generated from protobuf enum PRECISE = 0;

FAST

Value: 1

Faster response as a trade-off against less precise neighbors.

Generated from protobuf enum FAST = 1;

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.