PredictSchemata

Contains the schemata used in Model's predictions and explanations viaPredictionService.Predict,PredictionService.Explain andBatchPredictionJob.

Fields
instanceSchemaUristring

Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single instance, which are used inPredictRequest.instances,ExplainRequest.instances andBatchPredictionJob.input_config. The schema is defined as an OpenAPI 3.0.2Schema Object. AutoML Models always have this field populated by Vertex AI. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.

parametersSchemaUristring

Immutable. Points to a YAML file stored on Google Cloud Storage describing the parameters of prediction and explanation viaPredictRequest.parameters,ExplainRequest.parameters andBatchPredictionJob.model_parameters. The schema is defined as an OpenAPI 3.0.2Schema Object. AutoML Models always have this field populated by Vertex AI, if no parameters are supported, then it is set to an empty string. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.

predictionSchemaUristring

Immutable. Points to a YAML file stored on Google Cloud Storage describing the format of a single prediction produced by this Model, which are returned viaPredictResponse.predictions,ExplainResponse.explanations, andBatchPredictionJob.output_config. The schema is defined as an OpenAPI 3.0.2Schema Object. AutoML Models always have this field populated by Vertex AI. Note: The URI given on output will be immutable and probably different, including the URI scheme, than the one given on input. The output URI will point to a location where the user only has a read access.

JSON representation
{"instanceSchemaUri":string,"parametersSchemaUri":string,"predictionSchemaUri":string}

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-27 UTC.