supportedOutputStorageFormats property
Output only. The formats this Model supports in
BatchPredictionJob.output_config.
If both
PredictSchemata.instance_schema_uri
and
PredictSchemata.prediction_schema_uri
exist, the predictions are returned together with their instances. In other
words, the prediction has the original instance data first, followed by the
actual prediction content (as per the schema).
The possible formats are:
-
jsonlThe JSON Lines format, where each prediction is a single line. UsesGcsDestination. -
csvThe CSV format, where each prediction is a single comma-separated line. The first line in the file is the header, containing comma-separated field names. UsesGcsDestination. -
bigqueryEach prediction is a single row in a BigQuery table, usesBigQueryDestination.
If this Model doesn't support any of these formats it means it cannot be
used with a
BatchPredictionJob.
However, if it has
supported_deployment_resources_types,
it could serve online predictions by using
PredictionService.Predict
or
PredictionService.Explain.
Implementation
final List<String> supportedOutputStorageFormats;