How often and when to update data profiles. New resources that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
How often and when to update data profiles. New resources that match both
the filter and conditions are scanned as quickly as possible depending on
system capacity.
How often and when to update data profiles. New resources that match both
the filter and conditions are scanned as quickly as possible depending on
system capacity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Data Loss Prevention V2 Client - Class OtherCloudDiscoveryTarget (2.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.1 (latest)](/php/docs/reference/cloud-dlp/latest/V2.OtherCloudDiscoveryTarget)\n- [2.6.0](/php/docs/reference/cloud-dlp/2.6.0/V2.OtherCloudDiscoveryTarget)\n- [2.4.1](/php/docs/reference/cloud-dlp/2.4.1/V2.OtherCloudDiscoveryTarget)\n- [2.3.0](/php/docs/reference/cloud-dlp/2.3.0/V2.OtherCloudDiscoveryTarget)\n- [2.2.3](/php/docs/reference/cloud-dlp/2.2.3/V2.OtherCloudDiscoveryTarget)\n- [2.1.0](/php/docs/reference/cloud-dlp/2.1.0/V2.OtherCloudDiscoveryTarget)\n- [2.0.0](/php/docs/reference/cloud-dlp/2.0.0/V2.OtherCloudDiscoveryTarget)\n- [1.19.0](/php/docs/reference/cloud-dlp/1.19.0/V2.OtherCloudDiscoveryTarget)\n- [1.18.0](/php/docs/reference/cloud-dlp/1.18.0/V2.OtherCloudDiscoveryTarget)\n- [1.17.0](/php/docs/reference/cloud-dlp/1.17.0/V2.OtherCloudDiscoveryTarget)\n- [1.16.0](/php/docs/reference/cloud-dlp/1.16.0/V2.OtherCloudDiscoveryTarget)\n- [1.15.1](/php/docs/reference/cloud-dlp/1.15.1/V2.OtherCloudDiscoveryTarget)\n- [1.14.0](/php/docs/reference/cloud-dlp/1.14.0/V2.OtherCloudDiscoveryTarget)\n- [1.13.2](/php/docs/reference/cloud-dlp/1.13.2/V2.OtherCloudDiscoveryTarget)\n- [1.12.0](/php/docs/reference/cloud-dlp/1.12.0/V2.OtherCloudDiscoveryTarget)\n- [1.11.0](/php/docs/reference/cloud-dlp/1.11.0/V2.OtherCloudDiscoveryTarget)\n- [1.10.2](/php/docs/reference/cloud-dlp/1.10.2/V2.OtherCloudDiscoveryTarget)\n- [1.9.0](/php/docs/reference/cloud-dlp/1.9.0/V2.OtherCloudDiscoveryTarget)\n- [1.8.6](/php/docs/reference/cloud-dlp/1.8.6/V2.OtherCloudDiscoveryTarget) \nReference documentation and code samples for the Data Loss Prevention V2 Client class OtherCloudDiscoveryTarget.\n\nTarget used to match against for discovery of resources from other clouds.\n\nAn [AWS connector in Security Command Center\n(Enterprise](https://cloud.google.com/security-command-center/docs/connect-scc-to-aws)\nis required to use this feature.\n\nGenerated from protobuf message `google.privacy.dlp.v2.OtherCloudDiscoveryTarget`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dlp \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDataSourceType\n\nRequired. The type of data profiles generated by this discovery target.\n\nSupported values are:\n\n- aws/s3/bucket\n\n### hasDataSourceType\n\n### clearDataSourceType\n\n### setDataSourceType\n\nRequired. The type of data profiles generated by this discovery target.\n\nSupported values are:\n\n- aws/s3/bucket\n\n### getFilter\n\nRequired. The resources that the discovery cadence applies to. The\nfirst target with a matching filter will be the one to apply to a resource.\n\n### hasFilter\n\n### clearFilter\n\n### setFilter\n\nRequired. The resources that the discovery cadence applies to. The\nfirst target with a matching filter will be the one to apply to a resource.\n\n### getConditions\n\nOptional. In addition to matching the filter, these conditions must be true\nbefore a profile is generated.\n\n### hasConditions\n\n### clearConditions\n\n### setConditions\n\nOptional. In addition to matching the filter, these conditions must be true\nbefore a profile is generated.\n\n### getGenerationCadence\n\nHow often and when to update data profiles. New resources that match both\nthe filter and conditions are scanned as quickly as possible depending on\nsystem capacity.\n\n### hasGenerationCadence\n\n### setGenerationCadence\n\nHow often and when to update data profiles. New resources that match both\nthe filter and conditions are scanned as quickly as possible depending on\nsystem capacity.\n\n### getDisabled\n\nDisable profiling for resources that match this filter.\n\n### hasDisabled\n\n### setDisabled\n\nDisable profiling for resources that match this filter.\n\n### getCadence"]]