Google Cloud Ai Platform V1 Client - Class Modality (0.37.1)

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

Preset option controlling parameters for different modalities

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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ Presets

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

MODALITY_UNSPECIFIED

Value: 0

Should not be set. Added as a recommended best practice for enums

Generated from protobuf enum MODALITY_UNSPECIFIED = 0;

IMAGE

Value: 1

IMAGE modality

Generated from protobuf enum IMAGE = 1;

TEXT

Value: 2

TEXT modality

Generated from protobuf enum TEXT = 2;

TABULAR

Value: 3

TABULAR modality

Generated from protobuf enum TABULAR = 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年11月08日 UTC.