# BigQueryAuditMetadata.RoutineCreation.Reason

Describes how the routine was created.

| Enums ||
|---|---|
| `REASON_UNSPECIFIED` | Unknown. |
| `QUERY` | Routine was created using a DDL query. |
| `ROUTINE_INSERT_REQUEST` | Routine was created using the routines.create API. |