Input prediksi. Mendukung header HTTP dan payload data arbitrer.
DeployedModel dapat memiliki batas atas jumlah instance yang didukung per permintaan. Jika batas ini terlampaui untuk model AutoML, metode RawPredict akan menampilkan error. Jika batas ini terlampaui untuk model yang dilatih khusus, perilakunya akan bervariasi bergantung pada modelnya.
Anda dapat menentukan skema untuk setiap instance di kolom PredictSchemata saat membuat Model. Skema ini berlaku saat Anda men-deploy Model sebagai DeployedModel ke Endpoint dan menggunakan metode RawPredict.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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`."]]