Google Cloud Ai Platform V1 Client - Class ModelRoutingPreference (1.46.0)

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

The model routing preference.

Protobuf type google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference

Namespace

Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig \ RoutingConfig \ AutoRoutingMode

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNKNOWN

Value: 0

Unspecified model routing preference.

Generated from protobuf enum UNKNOWN = 0;

PRIORITIZE_QUALITY

Value: 1

Prefer higher quality over low cost.

Generated from protobuf enum PRIORITIZE_QUALITY = 1;

BALANCED

Value: 2

Balanced model routing preference.

Generated from protobuf enum BALANCED = 2;

PRIORITIZE_COST

Value: 3

Prefer lower cost over higher quality.

Generated from protobuf enum PRIORITIZE_COST = 3;

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年12月13日 UTC.