Interface DiscoveryConfigOrBuilder (3.36.0)

public interface DiscoveryConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActions(int index)

public abstract DataProfileAction getActions(int index)

Actions to execute at the completion of scanning.

repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfileAction

getActionsCount()

public abstract int getActionsCount()

Actions to execute at the completion of scanning.

repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;

Returns
TypeDescription
int

getActionsList()

public abstract List<DataProfileAction> getActionsList()

Actions to execute at the completion of scanning.

repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;

Returns
TypeDescription
List<DataProfileAction>

getActionsOrBuilder(int index)

public abstract DataProfileActionOrBuilder getActionsOrBuilder(int index)

Actions to execute at the completion of scanning.

repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfileActionOrBuilder

getActionsOrBuilderList()

public abstract List<? extends DataProfileActionOrBuilder> getActionsOrBuilderList()

Actions to execute at the completion of scanning.

repeated .google.privacy.dlp.v2.DataProfileAction actions = 4;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.DataProfileActionOrBuilder>

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDisplayName()

public abstract String getDisplayName()

Display name (max 100 chars)

string display_name = 11;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display name (max 100 chars)

string display_name = 11;

Returns
TypeDescription
ByteString

The bytes for displayName.

getErrors(int index)

public abstract Error getErrors(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsCount()

public abstract 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];

Returns
TypeDescription
int

getErrorsList()

public abstract List<Error> 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];

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public abstract ErrorOrBuilder getErrorsOrBuilder(int index)

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];

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract 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];

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getInspectTemplates(int index)

public abstract String getInspectTemplates(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/dlp/docs/data-profiles#data-residency.

repeated string inspect_templates = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The inspectTemplates at the given index.

getInspectTemplatesBytes(int index)

public abstract 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/dlp/docs/data-profiles#data-residency.

repeated string inspect_templates = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the inspectTemplates at the given index.

getInspectTemplatesCount()

public abstract 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/dlp/docs/data-profiles#data-residency.

repeated string inspect_templates = 3;

Returns
TypeDescription
int

The count of inspectTemplates.

getInspectTemplatesList()

public abstract List<String> 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/dlp/docs/data-profiles#data-residency.

repeated string inspect_templates = 3;

Returns
TypeDescription
List<String>

A list containing the inspectTemplates.

getLastRunTime()

public abstract 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
TypeDescription
Timestamp

The lastRunTime.

getLastRunTimeOrBuilder()

public abstract 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];

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getOrgConfig()

public abstract DiscoveryConfig.OrgConfig getOrgConfig()

Only set when the parent is an org.

.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;

Returns
TypeDescription
DiscoveryConfig.OrgConfig

The orgConfig.

getOrgConfigOrBuilder()

public abstract DiscoveryConfig.OrgConfigOrBuilder getOrgConfigOrBuilder()

Only set when the parent is an org.

.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;

Returns
TypeDescription
DiscoveryConfig.OrgConfigOrBuilder

getStatus()

public abstract DiscoveryConfig.Status getStatus()

Required. A status for this configuration.

.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DiscoveryConfig.Status

The status.

getStatusValue()

public abstract int getStatusValue()

Required. A status for this configuration.

.google.privacy.dlp.v2.DiscoveryConfig.Status status = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getTargets(int index)

public abstract DiscoveryTarget getTargets(int index)

Target to match against for determining what to scan and how frequently.

repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
DiscoveryTarget

getTargetsCount()

public abstract int getTargetsCount()

Target to match against for determining what to scan and how frequently.

repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;

Returns
TypeDescription
int

getTargetsList()

public abstract List<DiscoveryTarget> getTargetsList()

Target to match against for determining what to scan and how frequently.

repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;

Returns
TypeDescription
List<DiscoveryTarget>

getTargetsOrBuilder(int index)

public abstract DiscoveryTargetOrBuilder getTargetsOrBuilder(int index)

Target to match against for determining what to scan and how frequently.

repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
DiscoveryTargetOrBuilder

getTargetsOrBuilderList()

public abstract List<? extends DiscoveryTargetOrBuilder> getTargetsOrBuilderList()

Target to match against for determining what to scan and how frequently.

repeated .google.privacy.dlp.v2.DiscoveryTarget targets = 5;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.DiscoveryTargetOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last update timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasLastRunTime()

public abstract 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
TypeDescription
boolean

Whether the lastRunTime field is set.

hasOrgConfig()

public abstract boolean hasOrgConfig()

Only set when the parent is an org.

.google.privacy.dlp.v2.DiscoveryConfig.OrgConfig org_config = 2;

Returns
TypeDescription
boolean

Whether the orgConfig field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last update timestamp of a DiscoveryConfig.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.