---
schema_version: "1"
id: 38ed875a4dfddf906d9de415f4231b1df2be94adeb517ba38ca1d2b836f8e36b
title: DataDetectPolicyObject
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_datadetectpolicyobject.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_datadetectpolicyobject.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 33778ec1aa77a1dcbfa3e9c3bdf2571f28b1fd9f38d1ccec773693b6b68f7a6c
description: Represents an object of the DataDetect scan policy to be scanned. This object is available in API version 62.0 and later.
---
# DataDetectPolicyObject

Represents an object of the DataDetect scan policy to be scanned. This object is available in API version 62.0 and later.

## Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| DataDetectPolicyId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the scan policy associated with this scan policy object.

This field is a relationship field.

Relationship Name

DataDetectPolicy

Relationship Type

Master-Detail

Refers To

DataDetectPolicy



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Name of the scan policy object.



 |
| ObjectReference | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Name of the scan policy object to be scanned.



 |

#### See Also

- [_Salesforce Help_: Data Detect](https://help.salesforce.com/s/articleView?id=xcloud.einstein_data_detect.htm&type=5&language=en_US)