Stay organized with collections
Save and categorize content based on your preferences.
Creates a model which will later contain one or more versions. You must
add at least one version before you can request predictions from the
model. Add versions by calling projects.models.versions.create.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[],[],null,["# Method: googleapis.ml.v1.projects.models.create\n\nCreates a model which will later contain one or more versions. You must\nadd at least one version before you can request predictions from the\nmodel. Add versions by calling projects.models.versions.create.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`GoogleCloudMlV1__Model`](https://cloud.google.com/workflows/docs/reference/googleapis/ml/v1/Overview#GoogleCloudMlV1__Model).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://cloud.google.com/ai-platform/training/docs/reference/rest/v1/projects.models/create). \n\n### YAML\n\n```yaml\n- create:\n call: googleapis.ml.v1.projects.models.create\n args:\n parent: ...\n body:\n description: ...\n etag: ...\n labels: ...\n name: ...\n onlinePredictionConsoleLogging: ...\n onlinePredictionLogging: ...\n regions: ...\n result: createResult\n```\n\n### JSON\n\n```json\n[\n {\n \"create\": {\n \"call\": \"googleapis.ml.v1.projects.models.create\",\n \"args\": {\n \"parent\": \"...\",\n \"body\": {\n \"description\": \"...\",\n \"etag\": \"...\",\n \"labels\": \"...\",\n \"name\": \"...\",\n \"onlinePredictionConsoleLogging\": \"...\",\n \"onlinePredictionLogging\": \"...\",\n \"regions\": \"...\"\n }\n },\n \"result\": \"createResult\"\n }\n }\n]\n```"]]