# CustomObjectIndexerTarget

> Represents a descriptor for the object that is about to be indexed. It stores a reference to the object itself as well as an already set up SerializedObject.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.Search](/engine/6000.7/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public struct CustomObjectIndexerTarget
```

## Fields

| Value                                                                                                                | Description                                                                       |
| -------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| [documentIndex](/engine/6000.7/script-reference/unityeditor/search/customobjectindexertarget/documentindex.md)       | Document Index which owns the object to index.                                    |
| [id](/engine/6000.7/script-reference/unityeditor/search/customobjectindexertarget/id.md)                             | Object Id. The object path for an asset or the GlobalObjectId for a scene object. |
| [serializedObject](/engine/6000.7/script-reference/unityeditor/search/customobjectindexertarget/serializedobject.md) | Serialized representation of the object to be indexed.                            |
| [target](/engine/6000.7/script-reference/unityeditor/search/customobjectindexertarget/target.md)                     | Object to index.                                                                  |
| [targetType](/engine/6000.7/script-reference/unityeditor/search/customobjectindexertarget/targettype.md)             | Object type to index.                                                             |
