pub struct GooglePrivacyDlpV2DiscoveryConfig {
pub actions: Option<Vec<GooglePrivacyDlpV2DataProfileAction>>,
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub errors: Option<Vec<GooglePrivacyDlpV2Error>>,
pub inspect_templates: Option<Vec<String>>,
pub last_run_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub org_config: Option<GooglePrivacyDlpV2OrgConfig>,
pub status: Option<String>,
pub targets: Option<Vec<GooglePrivacyDlpV2DiscoveryTarget>>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
Configuration for discovery to scan resources for profile generation. Only one discovery configuration may exist per organization, folder, or project. The generated data profiles are retained according to the [data retention policy] (https://cloud.google.com/sensitive-data-protection/docs/data-profiles#retention).
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations discovery configs create organizations (response)
- locations discovery configs get organizations (response)
- locations discovery configs patch organizations (response)
- locations discovery configs create projects (response)
- locations discovery configs get projects (response)
- locations discovery configs patch projects (response)
Fields§
§actions: Option<Vec<GooglePrivacyDlpV2DataProfileAction>>
Actions to execute at the completion of scanning.
create_time: Option<DateTime<Utc>>
Output only. The creation timestamp of a DiscoveryConfig.
display_name: Option<String>
Display name (max 100 chars)
errors: Option<Vec<GooglePrivacyDlpV2Error>>
Output only. A stream of errors encountered when the config was activated. Repeated errors may result in the config automatically being paused. Output only field. Will return the last 100 errors. Whenever the config is modified this list will be cleared.
inspect_templates: Option<Vec<String>>
Detection logic for profile generation. Not all template features are used by Discovery. FindingLimits, include_quote and exclude_info_types have no impact on Discovery. Multiple templates may be provided if there is data in multiple regions. At most one template must be specified per-region (including “global”). Each region is scanned using the applicable template. If no region-specific template is specified, but a “global” template is specified, it will be copied to that region and used instead. If no global or region-specific template is provided for a region with data, that region’s data will not be scanned. For more information, see https://cloud.google.com/sensitive-data-protection/docs/data-profiles#data-residency.
last_run_time: Option<DateTime<Utc>>
Output only. The timestamp of the last time this config was executed.
name: Option<String>
Unique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example projects/dlp-test-project/locations/global/discoveryConfigs/53234423
.
org_config: Option<GooglePrivacyDlpV2OrgConfig>
Only set when the parent is an org.
status: Option<String>
Required. A status for this configuration.
targets: Option<Vec<GooglePrivacyDlpV2DiscoveryTarget>>
Target to match against for determining what to scan and how frequently.
update_time: Option<DateTime<Utc>>
Output only. The last update timestamp of a DiscoveryConfig.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2DiscoveryConfig
impl Clone for GooglePrivacyDlpV2DiscoveryConfig
source§fn clone(&self) -> GooglePrivacyDlpV2DiscoveryConfig
fn clone(&self) -> GooglePrivacyDlpV2DiscoveryConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more