google.ai.generativelanguage.Type

Type contains the list of OpenAPI data types as defined by https://spec.openapis.org/oas/v3.0.3#data-types

TYPE_UNSPECIFIED 0

Not specified, should not be used.

STRING 1

String type.

NUMBER 2

Number type.

INTEGER 3

Integer type.

BOOLEAN 4

Boolean type.

ARRAY 5

Array type.

OBJECT 6

Object type.

ARRAY <Type.ARRAY: 5>
BOOLEAN <Type.BOOLEAN: 4>
INTEGER <Type.INTEGER: 3>
NUMBER <Type.NUMBER: 2>
OBJECT <Type.OBJECT: 6>
STRING <Type.STRING: 1>
TYPE_UNSPECIFIED <Type.TYPE_UNSPECIFIED: 0>