Google Cloud Ai Platform V1 Client - Class Modality (1.63.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Modality.
The modalities of the response.
Protobuf type google.cloud.aiplatform.v1.GenerationConfig.Modality
Namespace
Google \ Cloud \ AIPlatform \ V1 \ GenerationConfig
Methods
| Parameter |
| Name |
Description |
value |
mixed
|
| Parameter |
| Name |
Description |
name |
mixed
|
Constants
Unspecified modality. Will be processed as text.
Generated from protobuf enum MODALITY_UNSPECIFIED = 0;
TEXT
Text modality.
Generated from protobuf enum TEXT = 1;
Image modality.
Generated from protobuf enum IMAGE = 2;
Audio modality.
Generated from protobuf enum AUDIO = 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 2026-08-01 UTC.
[null,null,["Last updated 2026-08-01 UTC."],[],[]]