GetDiscoveryConfigResult constructor

const GetDiscoveryConfigResult({
  1. required List<GooglePrivacyDlpV2DataProfileActionResponse> actions,
  2. required String createTime,
  3. required String displayName,
  4. required List<GooglePrivacyDlpV2ErrorResponse> errors,
  5. required List<String> inspectTemplates,
  6. required String lastRunTime,
  7. required String name,
  8. required GooglePrivacyDlpV2OrgConfigResponse orgConfig,
  9. required String status,
  10. required List<GooglePrivacyDlpV2DiscoveryTargetResponse> targets,
  11. required String updateTime,
})

Creates a new GetDiscoveryConfigResult. actions Actions to execute at the completion of scanning. createTime The creation timestamp of a DiscoveryConfig. displayName Display name (max 100 chars) errors 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. inspectTemplates 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/dlp/docs/data-profiles#data-residency. lastRunTime The timestamp of the last time this config was executed. name 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. orgConfig Only set when the parent is an org. status A status for this configuration. targets Target to match against for determining what to scan and how frequently. updateTime The last update timestamp of a DiscoveryConfig.

Implementation

const GetDiscoveryConfigResult({
  required this.actions,
  required this.createTime,
  required this.displayName,
  required this.errors,
  required this.inspectTemplates,
  required this.lastRunTime,
  required this.name,
  required this.orgConfig,
  required this.status,
  required this.targets,
  required this.updateTime,
});