# Class FileDiff (0.6.0)

0.6.0 (latest) 0.5.0 0.4.0 0.3.0 0.2.0 0.1.17

    FileDiff(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Metadata of a FileDiff. FileDiff represents a single file
diff in a pull request.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The name of the file. |
| `action` | `https://docs.cloud.google.com/python/docs/reference/securesourcemanager/latest/google.cloud.securesourcemanager_v1.types.FileDiff.Action` Output only. The action taken on the file (eg. added, modified, deleted). |
| `sha` | `str` Output only. The commit pointing to the file changes. |
| `patch` | `str` Output only. The git patch containing the file changes. |

## Classes

### Action

    Action(value)

Action taken on the file.