Erforderlich. Der Name des Endpunkts, der für die Vorhersageanfrage verwendet wurde. Format: projects/{project}/locations/{location}/endpoints/{endpoint}
Die Eingabe für die Vorhersage. Unterstützt HTTP-Header und beliebige Daten-Payloads.
Für ein DeployedModel kann eine Obergrenze für die Anzahl der Instanzen gelten, die pro Anfrage unterstützt werden. Wenn dieses Limit für ein AutoML-Modell überschritten wird, gibt die RawPredict-Methode einen Fehler zurück. Wenn dieses Limit für ein benutzerdefiniertes Modell überschritten wird, variiert das Verhalten je nach Modell.
Sie können das Schema für jede Instanz beim Erstellen eines Modells im Feld „PredictSchemata“ angeben. Dieses Schema wird angewendet, wenn Sie Model als DeployedModel für einen Endpunkt bereitstellen und die Methode RawPredict verwenden.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-31 (UTC)."],[[["\u003cp\u003eThe \u003ccode\u003ePredictionService.RawPredict\u003c/code\u003e method utilizes a JSON request message for making predictions.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires an \u003ccode\u003eendpoint\u003c/code\u003e string, specifying the target endpoint's name in the format \u003ccode\u003eprojects/{project}/locations/{location}/endpoints/{endpoint}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehttpBody\u003c/code\u003e field, which is of the type \u003ccode\u003eHttpBody\u003c/code\u003e, carries the prediction input, including headers and the data payload.\u003c/p\u003e\n"],["\u003cp\u003eThe number of instances a DeployedModel supports per request has limits, varying between AutoML and custom-trained models, and has specific behaviors if exceeded.\u003c/p\u003e\n"],["\u003cp\u003eEach instance's schema can be defined when creating the model, applicable when deployed to an endpoint and utilized with \u003ccode\u003eRawPredict\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# RawPredictRequest\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequest message for `PredictionService.RawPredict`."]]