# Types.SearchByPropertyInput

Input describing a metadata property and value to search external storage against.

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

Describes a single metadata property/value pair to match against external storage. Consumed by Client.searchByResourceMetadata().

## Fields

### Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| property | String | required | String property of SharePoint column to search against. |
| value | String | required | String value to search for. |
| driveId | String | required | Drive Id in external storage. Only applicable for SharePoint & Google Drive. You can get this value from the Content Library. |
| payload | Map&lt;String, String&gt; | optional | Property/value pairs to match against, used by the payload-based constructor in place of a single property and value. |
| conditionString | String | optional | Condition expression combining the payload entries, used by the payload-based constructor. |

## Constructors

```apex
global SearchByPropertyInput(
  String property,
  String value,
  String driveId
)
```

```apex
global SearchByPropertyInput(
  String driveId,
  Map<String, String> payload,
  String conditionString
)
```
