# RecalculateJob

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.RecalculateJob/

Struct for a property recalculation job.

- **Full name:** `MFiles.RecalculateJob`
- **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. |
| <a id="f-property_def"></a>`property_def` | `int32` | 2 | Specifies the property that is updated. |
| <a id="f-only_empty_values"></a>`only_empty_values` | `bool` | 3 | True to recalculate unset values only. |
| <a id="f-source_property_def"></a>`source_property_def` | `int32` | 4 | If lPropertyDef is PROPERTYDEF_TITLE, specifies the source property (the name property of the class). Otherwise must be -1. |
| <a id="f-class_filter"></a>`class_filter` | `int32` | 5 | Specifies the class the objects of which are updated. Specify PROFILE_UNINITIALIZED to updates all objects regardless of their class. |

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

## Used in fields

- [`JobDataUnion.recalculate_property`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.JobDataUnion/index.md#f-recalculate_property): Recalculate a property.
