- [JSON representation](https://docs.cloud.google.com/developer-connect/docs/api/reference/rest/v1/SCMCommit#SCHEMA_REPRESENTATION)

SCMCommit represents commit metadata.

| JSON representation |
|---|
| ``` { "sha": string, "message": string, "author": string, "authorEmail": string, "commitTime": string, "url": string } ``` |

| Fields ||
|---|---|
| `sha` | `string` Full 40-character SCM commit SHA. |
| `message` | `string` Commit message text. |
| `author` | `string` The author's display name. |
| `authorEmail` | `string` The author's email address. |
| `commitTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Timestamp when the commit was authored. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `url` | `string` The SCM provider's HTML URL link for this commit. |