Class FieldSchema (1.88.0)

FieldSchema(name: str, data_type: str, repeated: typing.Optional[bool] = False)

Field Schema.

The class identifies the data type of a single feature, which combines together to form the Schema for different fields in ModelMonitoringSchema.

Attributes

Name Description
name str
Required. Field name.
data_type str
Required. Supported data types are: float, integer boolean, string, categorical.
repeated bool
Optional. Describes if the schema field is an array of given data type.

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年10月30日 UTC.