GetDiscoveryConfigResult class
Result data returned by getDiscoveryConfig.
Constructors
-
GetDiscoveryConfigResult({required List<
GooglePrivacyDlpV2DataProfileActionResponse> actions, required String createTime, required String displayName, required List<GooglePrivacyDlpV2ErrorResponse> errors, required List<String> inspectTemplates, required String lastRunTime, required String name, required GooglePrivacyDlpV2OrgConfigResponse orgConfig, required String status, required List<GooglePrivacyDlpV2DiscoveryTargetResponse> targets, required String updateTime}) -
Creates a new GetDiscoveryConfigResult.
actionsActions to execute at the completion of scanning.createTimeThe creation timestamp of a DiscoveryConfig.displayNameDisplay name (max 100 chars)errorsA 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.inspectTemplatesDetection 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.lastRunTimeThe timestamp of the last time this config was executed.nameUnique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for exampleprojects/dlp-test-project/locations/global/discoveryConfigs/53234423.orgConfigOnly set when the parent is an org.statusA status for this configuration.targetsTarget to match against for determining what to scan and how frequently.updateTimeThe last update timestamp of a DiscoveryConfig.const -
GetDiscoveryConfigResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
actions
→ List<
GooglePrivacyDlpV2DataProfileActionResponse> -
Actions to execute at the completion of scanning.
final
- createTime → String
-
The creation timestamp of a DiscoveryConfig.
final
- displayName → String
-
Display name (max 100 chars)
final
-
errors
→ List<
GooglePrivacyDlpV2ErrorResponse> -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inspectTemplates
→ List<
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/dlp/docs/data-profiles#data-residency.
final
- lastRunTime → String
-
The timestamp of the last time this config was executed.
final
- name → 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.final - orgConfig → GooglePrivacyDlpV2OrgConfigResponse
-
Only set when the parent is an org.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
A status for this configuration.
final
-
targets
→ List<
GooglePrivacyDlpV2DiscoveryTargetResponse> -
Target to match against for determining what to scan and how frequently.
final
- updateTime → String
-
The last update timestamp of a DiscoveryConfig.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited