# VerifyVaultJob

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.VerifyVaultJob/

Struct for a vault verifying job.

- **Full name:** `MFiles.VerifyVaultJob`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-vault_guid"></a>`vault_guid` | `string` | 1 | The GUID of the vault to verify. |
| <a id="f-fix_errors"></a>`fix_errors` | `bool` | 2 | True to fix detected errors. |
| <a id="f-verify_file_contents"></a>`verify_file_contents` | `bool` | 3 | True to verify the integrity of the data files on disk. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCVaultAdmin.VerifyVault](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/VerifyVault/index.md): Verifies the consistency of a vault's database and optionally of its file data, and optionally fixes the problems it finds (M-Files Admin's "Verify and Repair").

<a id="used-in-fields"></a>

## Used in fields

- [`JobDataUnion.verify_vault`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.JobDataUnion/index.md#f-verify_vault): Vault verifying job.
- [`VerifyVaultRequest.verifyvaultjob`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCVaultAdmin/VerifyVault/index.md#request): What to verify: the vault (`vault_guid`), whether to fix the problems found (`fix_errors`) and whether to also check the contents of the files on disk (`verify_file_contents`).
