# Types.UpdateResourceInput

Input describing a SharePoint resource and the column values to update on it.

> Kind: Apex type · Updated: 2026-07-01

Specifies a SharePoint Resource (file or folder) and the column values to set on it. Consumed by Client.setResourceProperty() and Client.updateResources() — both accept the same input shape.

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| resourceToUpdate | <a href="#/apex-type-resource">Resource</a> | required | The Resource parameter is used to specify the SharePoint Resource (File or Folder) whose column values are to be updated. |
| payload | Map&lt;String, String&gt; | required | A map containing the column names as keys and their corresponding new values as a value. |

## Constructors

```apex
global UpdateResourceInput(
   Resource resourceToUpdate,
   Map<String, String> payload
)
```
