Package com.google.privacy.dlp.v2
Interface DiscoveryConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DiscoveryConfig,DiscoveryConfig.Builder
@Generated
public interface DiscoveryConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActions(int index) Actions to execute at the completion of scanning.intActions to execute at the completion of scanning.Actions to execute at the completion of scanning.getActionsOrBuilder(int index) Actions to execute at the completion of scanning.List<? extends DataProfileActionOrBuilder>Actions to execute at the completion of scanning.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Display name (max 100 chars)com.google.protobuf.ByteStringDisplay name (max 100 chars)getErrors(int index) Output only.intOutput only.Output only.getErrorsOrBuilder(int index) Output only.List<? extends ErrorOrBuilder>Output only.getInspectTemplates(int index) Detection logic for profile generation.com.google.protobuf.ByteStringgetInspectTemplatesBytes(int index) Detection logic for profile generation.intDetection logic for profile generation.Detection logic for profile generation.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getName()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`.com.google.protobuf.ByteStringUnique resource name for the DiscoveryConfig, assigned by the service when the DiscoveryConfig is created, for example `projects/dlp-test-project/locations/global/discoveryConfigs/53234423`.Only set when the parent is an org.Only set when the parent is an org.Must be set only when scanning other clouds.Must be set only when scanning other clouds.Optional.Optional.Required.intRequired.getTargets(int index) Target to match against for determining what to scan and how frequently.intTarget to match against for determining what to scan and how frequently.Target to match against for determining what to scan and how frequently.getTargetsOrBuilder(int index) Target to match against for determining what to scan and how frequently.List<? extends DiscoveryTargetOrBuilder>Target to match against for determining what to scan and how frequently.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOnly set when the parent is an org.booleanMust be set only when scanning other clouds.booleanOptional.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()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`.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()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`.
string name = 1;- Returns:
- The bytes for name.
-
getDisplayName
String getDisplayName()Display name (max 100 chars)
string display_name = 11;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Display name (max 100 chars)
string display_name = 11;- Returns:
- The bytes for displayName.
-
hasOrgConfig
boolean hasOrgConfig()Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;- Returns:
- Whether the orgConfig field is set.
-
getOrgConfig
DiscoveryConfig.OrgConfig getOrgConfig()Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;- Returns:
- The orgConfig.
-
getOrgConfigOrBuilder
DiscoveryConfig.OrgConfigOrBuilder getOrgConfigOrBuilder()Only set when the parent is an org.
.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2; -
hasOtherCloudStartingLocation
boolean hasOtherCloudStartingLocation()Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;- Returns:
- Whether the otherCloudStartingLocation field is set.
-
getOtherCloudStartingLocation
OtherCloudDiscoveryStartingLocation getOtherCloudStartingLocation()Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12;- Returns:
- The otherCloudStartingLocation.
-
getOtherCloudStartingLocationOrBuilder
OtherCloudDiscoveryStartingLocationOrBuilder getOtherCloudStartingLocationOrBuilder()Must be set only when scanning other clouds.
.google.privacy.dlp.v2.OtherCloudDiscoveryStartingLocation other_cloud_starting_location = 12; -
getInspectTemplatesList
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.
repeated string inspect_templates = 3;- Returns:
- A list containing the inspectTemplates.
-
getInspectTemplatesCount
int getInspectTemplatesCount()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.
repeated string inspect_templates = 3;- Returns:
- The count of inspectTemplates.
-
getInspectTemplates
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.
repeated string inspect_templates = 3;- Parameters:
index- The index of the element to return.- Returns:
- The inspectTemplates at the given index.
-
getInspectTemplatesBytes
com.google.protobuf.ByteString getInspectTemplatesBytes(int index) 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.
repeated string inspect_templates = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inspectTemplates at the given index.
-
getActionsList
List<DataProfileAction> getActionsList()Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; -
getActions
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; -
getActionsCount
int getActionsCount()Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; -
getActionsOrBuilderList
List<? extends DataProfileActionOrBuilder> getActionsOrBuilderList()Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; -
getActionsOrBuilder
Actions to execute at the completion of scanning.
repeated .google.privacy.dlp.v2.DataProfileAction actions = 4; -
getTargetsList
List<DiscoveryTarget> getTargetsList()Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; -
getTargets
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; -
getTargetsCount
int getTargetsCount()Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; -
getTargetsOrBuilderList
List<? extends DiscoveryTargetOrBuilder> getTargetsOrBuilderList()Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; -
getTargetsOrBuilder
Target to match against for determining what to scan and how frequently.
repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5; -
getErrorsList
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.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrors
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.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsCount
int getErrorsCount()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.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsOrBuilderList
List<? extends ErrorOrBuilder> getErrorsOrBuilderList()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.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getErrorsOrBuilder
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.
repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
boolean hasCreateTime()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. The creation timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. The last update timestamp of a DiscoveryConfig.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasLastRunTime
boolean hasLastRunTime()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the lastRunTime field is set.
-
getLastRunTime
com.google.protobuf.Timestamp getLastRunTime()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The lastRunTime.
-
getLastRunTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()Output only. The timestamp of the last time this config was executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusValue
int getStatusValue()Required. A status for this configuration.
.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for status.
-
getStatus
DiscoveryConfig.Status getStatus()Required. A status for this configuration.
.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The status.
-
hasProcessingLocation
boolean hasProcessingLocation()Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the processingLocation field is set.
-
getProcessingLocation
ProcessingLocation getProcessingLocation()Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The processingLocation.
-
getProcessingLocationOrBuilder
ProcessingLocationOrBuilder getProcessingLocationOrBuilder()Optional. Processing location configuration. Vertex AI dataset scanning will set processing_location.image_fallback_type to MultiRegionProcessing by default.
.google.privacy.dlp.v2.ProcessingLocation processing_location = 13 [(.google.api.field_behavior) = OPTIONAL];
-