# CustomTask

A TrainingJob that trains a custom code Model.
Fields `inputs` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/CustomJobSpec`)`` The input parameters of this CustomTask.
`metadata` ``object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/CustomJobMetadata`)`` The metadata information.

| JSON representation |
|---|
| ``` { "inputs": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/CustomJobSpec`) }, "metadata": { object (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/Shared.Types/CustomJobMetadata`) } } ``` |