Class FieldSchema (1.71.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.