Properties
| Name | Type | Description |
|---|---|---|
| routineReference | object | |
| routineType | string | The type of the routine |
| language | string | The language of the routine |
| definitionBody | string | The body of the routine |
| description | string | A user-friendly description of the routine |
| creationTime | string | The time when this routine was created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Routine",
"title": "Routine",
"type": "object",
"properties": {
"routineReference": {
"type": "object",
"properties": {
"projectId": {
"type": "string",
"description": "The ID of the project"
},
"datasetId": {
"type": "string",
"description": "The ID of the dataset"
},
"routineId": {
"type": "string",
"description": "The ID of the routine"
}
}
},
"routineType": {
"type": "string",
"description": "The type of the routine",
"enum": [
"SCALAR_FUNCTION",
"PROCEDURE",
"TABLE_VALUED_FUNCTION"
]
},
"language": {
"type": "string",
"description": "The language of the routine"
},
"definitionBody": {
"type": "string",
"description": "The body of the routine"
},
"description": {
"type": "string",
"description": "A user-friendly description of the routine"
},
"creationTime": {
"type": "string",
"description": "The time when this routine was created"
}
}
}