Creates a config for discovery to scan and profile storage.
Create DiscoveryConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def DiscoveryConfig(resource_name: str,
args: DiscoveryConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DiscoveryConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
status: Optional[DiscoveryConfigStatus] = None,
actions: Optional[Sequence[GooglePrivacyDlpV2DataProfileActionArgs]] = None,
config_id: Optional[str] = None,
display_name: Optional[str] = None,
inspect_templates: Optional[Sequence[str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
org_config: Optional[GooglePrivacyDlpV2OrgConfigArgs] = None,
project: Optional[str] = None,
targets: Optional[Sequence[GooglePrivacyDlpV2DiscoveryTargetArgs]] = None)
type: google-native:dlp/v2:DiscoveryConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_dlp_v2_discovery_config" "name" {
# resource properties
}
Parameters
- resource_name
str
- The unique name of the resource.
- args
DiscoveryConfigArgs
- The arguments to resource properties.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
DiscoveryConfigArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
DiscoveryConfigArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var discoveryConfigResource = new GoogleNative.DLP.V2.DiscoveryConfig("discoveryConfigResource", new()
{
Status = GoogleNative.DLP.V2.DiscoveryConfigStatus.StatusUnspecified,
Actions = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DataProfileActionArgs
{
ExportData = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2ExportArgs
{
ProfileTable = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryTableArgs
{
DatasetId = "string",
Project = "string",
TableId = "string",
},
},
PubSubNotification = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PubSubNotificationArgs
{
DetailOfMessage = GoogleNative.DLP.V2.GooglePrivacyDlpV2PubSubNotificationDetailOfMessage.DetailLevelUnspecified,
Event = GoogleNative.DLP.V2.GooglePrivacyDlpV2PubSubNotificationEvent.EventTypeUnspecified,
PubsubCondition = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DataProfilePubSubConditionArgs
{
Expressions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PubSubExpressionsArgs
{
Conditions = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2PubSubConditionArgs
{
MinimumRiskScore = GoogleNative.DLP.V2.GooglePrivacyDlpV2PubSubConditionMinimumRiskScore.ProfileScoreBucketUnspecified,
MinimumSensitivityScore = GoogleNative.DLP.V2.GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore.ProfileScoreBucketUnspecified,
},
},
LogicalOperator = GoogleNative.DLP.V2.GooglePrivacyDlpV2PubSubExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
Topic = "string",
},
},
},
ConfigId = "string",
DisplayName = "string",
InspectTemplates = new[]
{
"string",
},
Location = "string",
Name = "string",
OrgConfig = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2OrgConfigArgs
{
Location = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryStartingLocationArgs
{
FolderId = "string",
OrganizationId = "string",
},
Project = "string",
},
Project = "string",
Targets = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryTargetArgs
{
BigQueryTarget = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryDiscoveryTargetArgs
{
Filter = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryBigQueryFilterArgs
{
OtherTables = null,
Tables = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryTableCollectionArgs
{
IncludeRegexes = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryRegexesArgs
{
Patterns = new[]
{
new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryRegexArgs
{
DatasetIdRegex = "string",
ProjectIdRegex = "string",
TableIdRegex = "string",
},
},
},
},
},
Cadence = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryGenerationCadenceArgs
{
SchemaModifiedCadence = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceArgs
{
Frequency = GoogleNative.DLP.V2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency.UpdateFrequencyUnspecified,
Types = new[]
{
GoogleNative.DLP.V2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItem.SchemaModificationUnspecified,
},
},
TableModifiedCadence = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceArgs
{
Frequency = GoogleNative.DLP.V2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency.UpdateFrequencyUnspecified,
Types = new[]
{
GoogleNative.DLP.V2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItem.TableModificationUnspecified,
},
},
},
Conditions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryBigQueryConditionsArgs
{
CreatedAfter = "string",
OrConditions = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2OrConditionsArgs
{
MinAge = "string",
MinRowCount = 0,
},
TypeCollection = GoogleNative.DLP.V2.GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection.BigQueryCollectionUnspecified,
Types = new GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2BigQueryTableTypesArgs
{
Types = new[]
{
GoogleNative.DLP.V2.GooglePrivacyDlpV2BigQueryTableTypesTypesItem.BigQueryTableTypeUnspecified,
},
},
},
Disabled = null,
},
},
},
});
example, err := dlp.NewDiscoveryConfig(ctx, "discoveryConfigResource", &dlp.DiscoveryConfigArgs{
Status: dlp.DiscoveryConfigStatusStatusUnspecified,
Actions: dlp.GooglePrivacyDlpV2DataProfileActionArray{
&dlp.GooglePrivacyDlpV2DataProfileActionArgs{
ExportData: &dlp.GooglePrivacyDlpV2ExportArgs{
ProfileTable: &dlp.GooglePrivacyDlpV2BigQueryTableArgs{
DatasetId: pulumi.String("string"),
Project: pulumi.String("string"),
TableId: pulumi.String("string"),
},
},
PubSubNotification: &dlp.GooglePrivacyDlpV2PubSubNotificationArgs{
DetailOfMessage: dlp.GooglePrivacyDlpV2PubSubNotificationDetailOfMessageDetailLevelUnspecified,
Event: dlp.GooglePrivacyDlpV2PubSubNotificationEventEventTypeUnspecified,
PubsubCondition: &dlp.GooglePrivacyDlpV2DataProfilePubSubConditionArgs{
Expressions: &dlp.GooglePrivacyDlpV2PubSubExpressionsArgs{
Conditions: dlp.GooglePrivacyDlpV2PubSubConditionArray{
&dlp.GooglePrivacyDlpV2PubSubConditionArgs{
MinimumRiskScore: dlp.GooglePrivacyDlpV2PubSubConditionMinimumRiskScoreProfileScoreBucketUnspecified,
MinimumSensitivityScore: dlp.GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScoreProfileScoreBucketUnspecified,
},
},
LogicalOperator: dlp.GooglePrivacyDlpV2PubSubExpressionsLogicalOperatorLogicalOperatorUnspecified,
},
},
Topic: pulumi.String("string"),
},
},
},
ConfigId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
InspectTemplates: pulumi.StringArray{
pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
OrgConfig: &dlp.GooglePrivacyDlpV2OrgConfigArgs{
Location: &dlp.GooglePrivacyDlpV2DiscoveryStartingLocationArgs{
FolderId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
},
Project: pulumi.String("string"),
},
Project: pulumi.String("string"),
Targets: dlp.GooglePrivacyDlpV2DiscoveryTargetArray{
&dlp.GooglePrivacyDlpV2DiscoveryTargetArgs{
BigQueryTarget: &dlp.GooglePrivacyDlpV2BigQueryDiscoveryTargetArgs{
Filter: &dlp.GooglePrivacyDlpV2DiscoveryBigQueryFilterArgs{
OtherTables: &dlp.GooglePrivacyDlpV2AllOtherBigQueryTablesArgs{},
Tables: &dlp.GooglePrivacyDlpV2BigQueryTableCollectionArgs{
IncludeRegexes: &dlp.GooglePrivacyDlpV2BigQueryRegexesArgs{
Patterns: dlp.GooglePrivacyDlpV2BigQueryRegexArray{
&dlp.GooglePrivacyDlpV2BigQueryRegexArgs{
DatasetIdRegex: pulumi.String("string"),
ProjectIdRegex: pulumi.String("string"),
TableIdRegex: pulumi.String("string"),
},
},
},
},
},
Cadence: &dlp.GooglePrivacyDlpV2DiscoveryGenerationCadenceArgs{
SchemaModifiedCadence: &dlp.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceArgs{
Frequency: dlp.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequencyUpdateFrequencyUnspecified,
Types: dlp.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItemArray{
dlp.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItemSchemaModificationUnspecified,
},
},
TableModifiedCadence: &dlp.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceArgs{
Frequency: dlp.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequencyUpdateFrequencyUnspecified,
Types: dlp.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItemArray{
dlp.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItemTableModificationUnspecified,
},
},
},
Conditions: &dlp.GooglePrivacyDlpV2DiscoveryBigQueryConditionsArgs{
CreatedAfter: pulumi.String("string"),
OrConditions: &dlp.GooglePrivacyDlpV2OrConditionsArgs{
MinAge: pulumi.String("string"),
MinRowCount: pulumi.Int(0),
},
TypeCollection: dlp.GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollectionBigQueryCollectionUnspecified,
Types: &dlp.GooglePrivacyDlpV2BigQueryTableTypesArgs{
Types: dlp.GooglePrivacyDlpV2BigQueryTableTypesTypesItemArray{
dlp.GooglePrivacyDlpV2BigQueryTableTypesTypesItemBigQueryTableTypeUnspecified,
},
},
},
Disabled: &dlp.GooglePrivacyDlpV2DisabledArgs{},
},
},
},
})
resource "google-native_dlp_v2_discovery_config" "discoveryConfigResource" {
lifecycle {
create_before_destroy = true
}
status = "STATUS_UNSPECIFIED"
actions {
export_data = {
profile_table = {
dataset_id = "string"
project = "string"
table_id = "string"
}
}
pub_sub_notification = {
detail_of_message = "DETAIL_LEVEL_UNSPECIFIED"
event = "EVENT_TYPE_UNSPECIFIED"
pubsub_condition = {
expressions = {
conditions = [{
minimum_risk_score = "PROFILE_SCORE_BUCKET_UNSPECIFIED"
minimum_sensitivity_score = "PROFILE_SCORE_BUCKET_UNSPECIFIED"
}]
logical_operator = "LOGICAL_OPERATOR_UNSPECIFIED"
}
}
topic = "string"
}
}
config_id = "string"
display_name = "string"
inspect_templates = ["string"]
location = "string"
name = "string"
org_config = {
location = {
folder_id = "string"
organization_id = "string"
}
project = "string"
}
project = "string"
targets {
big_query_target = {
filter = {
other_tables = {}
tables = {
include_regexes = {
patterns = [{
dataset_id_regex = "string"
project_id_regex = "string"
table_id_regex = "string"
}]
}
}
}
cadence = {
schema_modified_cadence = {
frequency = "UPDATE_FREQUENCY_UNSPECIFIED"
types = ["SCHEMA_MODIFICATION_UNSPECIFIED"]
}
table_modified_cadence = {
frequency = "UPDATE_FREQUENCY_UNSPECIFIED"
types = ["TABLE_MODIFICATION_UNSPECIFIED"]
}
}
conditions = {
created_after = "string"
or_conditions = {
min_age = "string"
min_row_count = 0
}
type_collection = "BIG_QUERY_COLLECTION_UNSPECIFIED"
types = {
types = ["BIG_QUERY_TABLE_TYPE_UNSPECIFIED"]
}
}
disabled = {}
}
}
}
var discoveryConfigResource = new DiscoveryConfig("discoveryConfigResource", DiscoveryConfigArgs.builder()
.status(com.pulumi.googlenative.dlp_v2.enums.DiscoveryConfigStatus.StatusUnspecified)
.actions(GooglePrivacyDlpV2DataProfileActionArgs.builder()
.exportData(GooglePrivacyDlpV2ExportArgs.builder()
.profileTable(GooglePrivacyDlpV2BigQueryTableArgs.builder()
.datasetId("string")
.project("string")
.tableId("string")
.build())
.build())
.pubSubNotification(GooglePrivacyDlpV2PubSubNotificationArgs.builder()
.detailOfMessage(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2PubSubNotificationDetailOfMessage.DetailLevelUnspecified)
.event(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2PubSubNotificationEvent.EventTypeUnspecified)
.pubsubCondition(GooglePrivacyDlpV2DataProfilePubSubConditionArgs.builder()
.expressions(GooglePrivacyDlpV2PubSubExpressionsArgs.builder()
.conditions(GooglePrivacyDlpV2PubSubConditionArgs.builder()
.minimumRiskScore(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2PubSubConditionMinimumRiskScore.ProfileScoreBucketUnspecified)
.minimumSensitivityScore(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore.ProfileScoreBucketUnspecified)
.build())
.logicalOperator(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2PubSubExpressionsLogicalOperator.LogicalOperatorUnspecified)
.build())
.build())
.topic("string")
.build())
.build())
.configId("string")
.displayName("string")
.inspectTemplates("string")
.location("string")
.name("string")
.orgConfig(GooglePrivacyDlpV2OrgConfigArgs.builder()
.location(GooglePrivacyDlpV2DiscoveryStartingLocationArgs.builder()
.folderId("string")
.organizationId("string")
.build())
.project("string")
.build())
.project("string")
.targets(GooglePrivacyDlpV2DiscoveryTargetArgs.builder()
.bigQueryTarget(GooglePrivacyDlpV2BigQueryDiscoveryTargetArgs.builder()
.filter(GooglePrivacyDlpV2DiscoveryBigQueryFilterArgs.builder()
.otherTables(GooglePrivacyDlpV2AllOtherBigQueryTablesArgs.builder()
.build())
.tables(GooglePrivacyDlpV2BigQueryTableCollectionArgs.builder()
.includeRegexes(GooglePrivacyDlpV2BigQueryRegexesArgs.builder()
.patterns(GooglePrivacyDlpV2BigQueryRegexArgs.builder()
.datasetIdRegex("string")
.projectIdRegex("string")
.tableIdRegex("string")
.build())
.build())
.build())
.build())
.cadence(GooglePrivacyDlpV2DiscoveryGenerationCadenceArgs.builder()
.schemaModifiedCadence(GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceArgs.builder()
.frequency(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency.UpdateFrequencyUnspecified)
.types("SCHEMA_MODIFICATION_UNSPECIFIED")
.build())
.tableModifiedCadence(GooglePrivacyDlpV2DiscoveryTableModifiedCadenceArgs.builder()
.frequency(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency.UpdateFrequencyUnspecified)
.types("TABLE_MODIFICATION_UNSPECIFIED")
.build())
.build())
.conditions(GooglePrivacyDlpV2DiscoveryBigQueryConditionsArgs.builder()
.createdAfter("string")
.orConditions(GooglePrivacyDlpV2OrConditionsArgs.builder()
.minAge("string")
.minRowCount(0)
.build())
.typeCollection(com.pulumi.googlenative.dlp_v2.enums.GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection.BigQueryCollectionUnspecified)
.types(GooglePrivacyDlpV2BigQueryTableTypesArgs.builder()
.types("BIG_QUERY_TABLE_TYPE_UNSPECIFIED")
.build())
.build())
.disabled(GooglePrivacyDlpV2DisabledArgs.builder()
.build())
.build())
.build())
.build());
discovery_config_resource = google_native.dlp.v2.DiscoveryConfig("discoveryConfigResource",
status=google_native.dlp.v2.DiscoveryConfigStatus.STATUS_UNSPECIFIED,
actions=[{
"export_data": {
"profile_table": {
"dataset_id": "string",
"project": "string",
"table_id": "string",
},
},
"pub_sub_notification": {
"detail_of_message": google_native.dlp.v2.GooglePrivacyDlpV2PubSubNotificationDetailOfMessage.DETAIL_LEVEL_UNSPECIFIED,
"event": google_native.dlp.v2.GooglePrivacyDlpV2PubSubNotificationEvent.EVENT_TYPE_UNSPECIFIED,
"pubsub_condition": {
"expressions": {
"conditions": [{
"minimum_risk_score": google_native.dlp.v2.GooglePrivacyDlpV2PubSubConditionMinimumRiskScore.PROFILE_SCORE_BUCKET_UNSPECIFIED,
"minimum_sensitivity_score": google_native.dlp.v2.GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore.PROFILE_SCORE_BUCKET_UNSPECIFIED,
}],
"logical_operator": google_native.dlp.v2.GooglePrivacyDlpV2PubSubExpressionsLogicalOperator.LOGICAL_OPERATOR_UNSPECIFIED,
},
},
"topic": "string",
},
}],
config_id="string",
display_name="string",
inspect_templates=["string"],
location="string",
name="string",
org_config={
"location": {
"folder_id": "string",
"organization_id": "string",
},
"project": "string",
},
project="string",
targets=[{
"big_query_target": {
"filter": {
"other_tables": {},
"tables": {
"include_regexes": {
"patterns": [{
"dataset_id_regex": "string",
"project_id_regex": "string",
"table_id_regex": "string",
}],
},
},
},
"cadence": {
"schema_modified_cadence": {
"frequency": google_native.dlp.v2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency.UPDATE_FREQUENCY_UNSPECIFIED,
"types": [google_native.dlp.v2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItem.SCHEMA_MODIFICATION_UNSPECIFIED],
},
"table_modified_cadence": {
"frequency": google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency.UPDATE_FREQUENCY_UNSPECIFIED,
"types": [google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItem.TABLE_MODIFICATION_UNSPECIFIED],
},
},
"conditions": {
"created_after": "string",
"or_conditions": {
"min_age": "string",
"min_row_count": 0,
},
"type_collection": google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection.BIG_QUERY_COLLECTION_UNSPECIFIED,
"types": {
"types": [google_native.dlp.v2.GooglePrivacyDlpV2BigQueryTableTypesTypesItem.BIG_QUERY_TABLE_TYPE_UNSPECIFIED],
},
},
"disabled": {},
},
}])
const discoveryConfigResource = new google_native.dlp.v2.DiscoveryConfig("discoveryConfigResource", {
status: google_native.dlp.v2.DiscoveryConfigStatus.StatusUnspecified,
actions: [{
exportData: {
profileTable: {
datasetId: "string",
project: "string",
tableId: "string",
},
},
pubSubNotification: {
detailOfMessage: google_native.dlp.v2.GooglePrivacyDlpV2PubSubNotificationDetailOfMessage.DetailLevelUnspecified,
event: google_native.dlp.v2.GooglePrivacyDlpV2PubSubNotificationEvent.EventTypeUnspecified,
pubsubCondition: {
expressions: {
conditions: [{
minimumRiskScore: google_native.dlp.v2.GooglePrivacyDlpV2PubSubConditionMinimumRiskScore.ProfileScoreBucketUnspecified,
minimumSensitivityScore: google_native.dlp.v2.GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore.ProfileScoreBucketUnspecified,
}],
logicalOperator: google_native.dlp.v2.GooglePrivacyDlpV2PubSubExpressionsLogicalOperator.LogicalOperatorUnspecified,
},
},
topic: "string",
},
}],
configId: "string",
displayName: "string",
inspectTemplates: ["string"],
location: "string",
name: "string",
orgConfig: {
location: {
folderId: "string",
organizationId: "string",
},
project: "string",
},
project: "string",
targets: [{
bigQueryTarget: {
filter: {
otherTables: {},
tables: {
includeRegexes: {
patterns: [{
datasetIdRegex: "string",
projectIdRegex: "string",
tableIdRegex: "string",
}],
},
},
},
cadence: {
schemaModifiedCadence: {
frequency: google_native.dlp.v2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency.UpdateFrequencyUnspecified,
types: [google_native.dlp.v2.GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItem.SchemaModificationUnspecified],
},
tableModifiedCadence: {
frequency: google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency.UpdateFrequencyUnspecified,
types: [google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItem.TableModificationUnspecified],
},
},
conditions: {
createdAfter: "string",
orConditions: {
minAge: "string",
minRowCount: 0,
},
typeCollection: google_native.dlp.v2.GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection.BigQueryCollectionUnspecified,
types: {
types: [google_native.dlp.v2.GooglePrivacyDlpV2BigQueryTableTypesTypesItem.BigQueryTableTypeUnspecified],
},
},
disabled: {},
},
}],
});
type: google-native:dlp/v2:DiscoveryConfig
properties:
actions:
- exportData:
profileTable:
datasetId: string
project: string
tableId: string
pubSubNotification:
detailOfMessage: DETAIL_LEVEL_UNSPECIFIED
event: EVENT_TYPE_UNSPECIFIED
pubsubCondition:
expressions:
conditions:
- minimumRiskScore: PROFILE_SCORE_BUCKET_UNSPECIFIED
minimumSensitivityScore: PROFILE_SCORE_BUCKET_UNSPECIFIED
logicalOperator: LOGICAL_OPERATOR_UNSPECIFIED
topic: string
configId: string
displayName: string
inspectTemplates:
- string
location: string
name: string
orgConfig:
location:
folderId: string
organizationId: string
project: string
project: string
status: STATUS_UNSPECIFIED
targets:
- bigQueryTarget:
cadence:
schemaModifiedCadence:
frequency: UPDATE_FREQUENCY_UNSPECIFIED
types:
- SCHEMA_MODIFICATION_UNSPECIFIED
tableModifiedCadence:
frequency: UPDATE_FREQUENCY_UNSPECIFIED
types:
- TABLE_MODIFICATION_UNSPECIFIED
conditions:
createdAfter: string
orConditions:
minAge: string
minRowCount: 0
typeCollection: BIG_QUERY_COLLECTION_UNSPECIFIED
types:
types:
- BIG_QUERY_TABLE_TYPE_UNSPECIFIED
disabled: {}
filter:
otherTables: {}
tables:
includeRegexes:
patterns:
- datasetIdRegex: string
projectIdRegex: string
tableIdRegex: string
DiscoveryConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DiscoveryConfig resource accepts the following input properties:
- Status
Pulumi.GoogleNative.DLP.V2.DiscoveryConfigStatus
- A status for this configuration.
- Actions
List<Pulumi.GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DataProfileAction>
- Actions to execute at the completion of scanning.
- ConfigId
string
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - DisplayName
string
- Display name (max 100 chars)
- 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.
- Location
string
- 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. - OrgConfig
Pulumi.GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2OrgConfig
- Only set when the parent is an org.
- Project
string
- Targets
List<Pulumi.GoogleNative.DLP.V2.Inputs.GooglePrivacyDlpV2DiscoveryTarget>
- Target to match against for determining what to scan and how frequently.
- Status
DiscoveryConfigStatus
- A status for this configuration.
- Actions
[]GooglePrivacyDlpV2DataProfileActionArgs
- Actions to execute at the completion of scanning.
- ConfigId
string
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - DisplayName
string
- Display name (max 100 chars)
- InspectTemplates
[]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.
- Location
string
- 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. - OrgConfig
GooglePrivacyDlpV2OrgConfigArgs
- Only set when the parent is an org.
- Project
string
- Targets
[]GooglePrivacyDlpV2DiscoveryTargetArgs
- Target to match against for determining what to scan and how frequently.
- status
"STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED"
- A status for this configuration.
- actions
list(object)
- Actions to execute at the completion of scanning.
- config_id
string
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - display_name
string
- Display name (max 100 chars)
- inspect_templates
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.
- location
string
- 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. - org_config
object
- Only set when the parent is an org.
- project
string
- targets
list(object)
- Target to match against for determining what to scan and how frequently.
- status
DiscoveryConfigStatus
- A status for this configuration.
- actions
List<GooglePrivacyDlpV2DataProfileAction>
- Actions to execute at the completion of scanning.
- configId
String
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - displayName
String
- Display name (max 100 chars)
- 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.
- location
String
- 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. - orgConfig
GooglePrivacyDlpV2OrgConfig
- Only set when the parent is an org.
- project
String
- targets
List<GooglePrivacyDlpV2DiscoveryTarget>
- Target to match against for determining what to scan and how frequently.
- status
DiscoveryConfigStatus
- A status for this configuration.
- actions
GooglePrivacyDlpV2DataProfileAction[]
- Actions to execute at the completion of scanning.
- configId
string
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - displayName
string
- Display name (max 100 chars)
- inspectTemplates
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.
- location
string
- 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. - orgConfig
GooglePrivacyDlpV2OrgConfig
- Only set when the parent is an org.
- project
string
- targets
GooglePrivacyDlpV2DiscoveryTarget[]
- Target to match against for determining what to scan and how frequently.
- status
DiscoveryConfigStatus
- A status for this configuration.
- actions
Sequence[GooglePrivacyDlpV2DataProfileActionArgs]
- Actions to execute at the completion of scanning.
- config_id
str
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - display_name
str
- Display name (max 100 chars)
- inspect_templates
Sequence[str]
- 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.
- location
str
- name
str
- 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
GooglePrivacyDlpV2OrgConfigArgs
- Only set when the parent is an org.
- project
str
- targets
Sequence[GooglePrivacyDlpV2DiscoveryTargetArgs]
- Target to match against for determining what to scan and how frequently.
- status
"STATUS_UNSPECIFIED" | "RUNNING" | "PAUSED"
- A status for this configuration.
- actions
List<Property Map>
- Actions to execute at the completion of scanning.
- configId
String
- The config ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+. The maximum length is 100 characters. Can be empty to allow the system to generate one. - displayName
String
- Display name (max 100 chars)
- 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.
- location
String
- 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. - orgConfig
Property Map
- Only set when the parent is an org.
- project
String
- targets
List<Property Map>
- Target to match against for determining what to scan and how frequently.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiscoveryConfig resource produces the following output properties:
- CreateTime
string
- The creation timestamp of a DiscoveryConfig.
- Errors
List<Pulumi.GoogleNative.DLP.V2.Outputs.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.
- Id
string
- The provider-assigned unique ID for this managed resource.
- LastRunTime
string
- The timestamp of the last time this config was executed.
- UpdateTime
string
- The last update timestamp of a DiscoveryConfig.
- CreateTime
string
- The creation timestamp of a DiscoveryConfig.
- Errors
[]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.
- Id
string
- The provider-assigned unique ID for this managed resource.
- LastRunTime
string
- The timestamp of the last time this config was executed.
- UpdateTime
string
- The last update timestamp of a DiscoveryConfig.
- create_time
string
- The creation timestamp of a DiscoveryConfig.
- errors
list(object)
- 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.
- id
string
- The provider-assigned unique ID for this managed resource.
- last_run_time
string
- The timestamp of the last time this config was executed.
- update_time
string
- The last update timestamp of a DiscoveryConfig.
- createTime
String
- The creation timestamp of a DiscoveryConfig.
- 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.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastRunTime
String
- The timestamp of the last time this config was executed.
- updateTime
String
- The last update timestamp of a DiscoveryConfig.
- createTime
string
- The creation timestamp of a DiscoveryConfig.
- errors
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.
- id
string
- The provider-assigned unique ID for this managed resource.
- lastRunTime
string
- The timestamp of the last time this config was executed.
- updateTime
string
- The last update timestamp of a DiscoveryConfig.
- create_time
str
- The creation timestamp of a DiscoveryConfig.
- errors
Sequence[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.
- id
str
- The provider-assigned unique ID for this managed resource.
- last_run_time
str
- The timestamp of the last time this config was executed.
- update_time
str
- The last update timestamp of a DiscoveryConfig.
- createTime
String
- The creation timestamp of a DiscoveryConfig.
- errors
List<Property Map>
- 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.
- id
String
- The provider-assigned unique ID for this managed resource.
- lastRunTime
String
- The timestamp of the last time this config was executed.
- updateTime
String
- The last update timestamp of a DiscoveryConfig.
Look up Existing DiscoveryConfig Resource
Get an existing DiscoveryConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetDiscoveryConfig(ctx *Context, name string, id IDInput, state *DiscoveryConfigState, opts ...ResourceOption) (*DiscoveryConfig, error)
public static DiscoveryConfig get(String name, Output<String> id, CustomResourceOptions options)
resources: existingDiscoveryConfig: type: google-native:dlp/v2:DiscoveryConfig get: id: ${id}
import {
to = google-native_dlp_v2_discovery_config.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
DiscoveryConfigState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DiscoveryConfigStatus
Required. A status for this configuration.
| Name | Value | Description |
|---|
| StatusUnspecified | STATUS_UNSPECIFIED | Unused |
| Running | RUNNING | The discovery config is currently active. |
| Paused | PAUSED | The discovery config is paused temporarily. |
| Name | Value | Description |
|---|
| DiscoveryConfigStatusStatusUnspecified | STATUS_UNSPECIFIED | Unused |
| DiscoveryConfigStatusRunning | RUNNING | The discovery config is currently active. |
| DiscoveryConfigStatusPaused | PAUSED | The discovery config is paused temporarily. |
| Value | Description |
|---|
STATUS_UNSPECIFIED | Unused |
RUNNING | The discovery config is currently active. |
PAUSED | The discovery config is paused temporarily. |
| Name | Value | Description |
|---|
| StatusUnspecified | STATUS_UNSPECIFIED | Unused |
| Running | RUNNING | The discovery config is currently active. |
| Paused | PAUSED | The discovery config is paused temporarily. |
| Name | Value | Description |
|---|
| StatusUnspecified | STATUS_UNSPECIFIED | Unused |
| Running | RUNNING | The discovery config is currently active. |
| Paused | PAUSED | The discovery config is paused temporarily. |
| Name | Value | Description |
|---|
| STATUS_UNSPECIFIED | STATUS_UNSPECIFIED | Unused |
| RUNNING | RUNNING | The discovery config is currently active. |
| PAUSED | PAUSED | The discovery config is paused temporarily. |
| Value | Description |
|---|
STATUS_UNSPECIFIED | Unused |
RUNNING | The discovery config is currently active. |
PAUSED | The discovery config is paused temporarily. |
GooglePrivacyDlpV2BigQueryDiscoveryTarget, GooglePrivacyDlpV2BigQueryDiscoveryTargetArgs
Target used to match against for discovery with BigQuery tables
- filter
object
- The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
- cadence
object
- How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
- conditions
object
- In addition to matching the filter, these conditions must be true before a profile is generated.
- disabled
object
- Tables that match this filter will not have profiles created.
- filter
Property Map
- The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
- cadence
Property Map
- How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
- conditions
Property Map
- In addition to matching the filter, these conditions must be true before a profile is generated.
- disabled
Property Map
- Tables that match this filter will not have profiles created.
GooglePrivacyDlpV2BigQueryDiscoveryTargetResponse
Target used to match against for discovery with BigQuery tables
- cadence
object
- How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
- conditions
object
- In addition to matching the filter, these conditions must be true before a profile is generated.
- disabled
object
- Tables that match this filter will not have profiles created.
- filter
object
- The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
- cadence
Property Map
- How often and when to update profiles. New tables that match both the filter and conditions are scanned as quickly as possible depending on system capacity.
- conditions
Property Map
- In addition to matching the filter, these conditions must be true before a profile is generated.
- disabled
Property Map
- Tables that match this filter will not have profiles created.
- filter
Property Map
- The tables the discovery cadence applies to. The first target with a matching filter will be the one to apply to a table.
GooglePrivacyDlpV2BigQueryRegex, GooglePrivacyDlpV2BigQueryRegexArgs
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
- DatasetIdRegex
string
- If unset, this property matches all datasets.
- ProjectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- TableIdRegex
string
- If unset, this property matches all tables.
- DatasetIdRegex
string
- If unset, this property matches all datasets.
- ProjectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- TableIdRegex
string
- If unset, this property matches all tables.
- dataset_id_regex
string
- If unset, this property matches all datasets.
- project_id_regex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table_id_regex
string
- If unset, this property matches all tables.
- datasetIdRegex
String
- If unset, this property matches all datasets.
- projectIdRegex
String
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
String
- If unset, this property matches all tables.
- datasetIdRegex
string
- If unset, this property matches all datasets.
- projectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
string
- If unset, this property matches all tables.
- dataset_id_regex
str
- If unset, this property matches all datasets.
- project_id_regex
str
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table_id_regex
str
- If unset, this property matches all tables.
- datasetIdRegex
String
- If unset, this property matches all datasets.
- projectIdRegex
String
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
String
- If unset, this property matches all tables.
GooglePrivacyDlpV2BigQueryRegexResponse
A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.
- DatasetIdRegex
string
- If unset, this property matches all datasets.
- ProjectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- TableIdRegex
string
- If unset, this property matches all tables.
- DatasetIdRegex
string
- If unset, this property matches all datasets.
- ProjectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- TableIdRegex
string
- If unset, this property matches all tables.
- dataset_id_regex
string
- If unset, this property matches all datasets.
- project_id_regex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table_id_regex
string
- If unset, this property matches all tables.
- datasetIdRegex
String
- If unset, this property matches all datasets.
- projectIdRegex
String
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
String
- If unset, this property matches all tables.
- datasetIdRegex
string
- If unset, this property matches all datasets.
- projectIdRegex
string
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
string
- If unset, this property matches all tables.
- dataset_id_regex
str
- If unset, this property matches all datasets.
- project_id_regex
str
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- table_id_regex
str
- If unset, this property matches all tables.
- datasetIdRegex
String
- If unset, this property matches all datasets.
- projectIdRegex
String
- For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.
- tableIdRegex
String
- If unset, this property matches all tables.
GooglePrivacyDlpV2BigQueryRegexes, GooglePrivacyDlpV2BigQueryRegexesArgs
A collection of regular expressions to determine what tables to match against.
- patterns
list(object)
- A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
- patterns
List<Property Map>
- A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
GooglePrivacyDlpV2BigQueryRegexesResponse
A collection of regular expressions to determine what tables to match against.
- patterns
list(object)
- A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
- patterns
List<Property Map>
- A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.
GooglePrivacyDlpV2BigQueryTable, GooglePrivacyDlpV2BigQueryTableArgs
Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: :. or ...
- DatasetId
string
- Dataset ID of the table.
- Project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- TableId
string
- Name of the table.
- DatasetId
string
- Dataset ID of the table.
- Project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- TableId
string
- Name of the table.
- dataset_id
string
- Dataset ID of the table.
- project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- table_id
string
- Name of the table.
- datasetId
String
- Dataset ID of the table.
- project
String
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
String
- Name of the table.
- datasetId
string
- Dataset ID of the table.
- project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
string
- Name of the table.
- dataset_id
str
- Dataset ID of the table.
- project
str
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- table_id
str
- Name of the table.
- datasetId
String
- Dataset ID of the table.
- project
String
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
String
- Name of the table.
GooglePrivacyDlpV2BigQueryTableCollection, GooglePrivacyDlpV2BigQueryTableCollectionArgs
Specifies a collection of BigQuery tables. Used for Discovery.
GooglePrivacyDlpV2BigQueryTableCollectionResponse
Specifies a collection of BigQuery tables. Used for Discovery.
GooglePrivacyDlpV2BigQueryTableResponse
Message defining the location of a BigQuery table. A table is uniquely identified by its project_id, dataset_id, and table_name. Within a query a table is often referenced with a string in the format of: :. or ...
- DatasetId
string
- Dataset ID of the table.
- Project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- TableId
string
- Name of the table.
- DatasetId
string
- Dataset ID of the table.
- Project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- TableId
string
- Name of the table.
- dataset_id
string
- Dataset ID of the table.
- project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- table_id
string
- Name of the table.
- datasetId
String
- Dataset ID of the table.
- project
String
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
String
- Name of the table.
- datasetId
string
- Dataset ID of the table.
- project
string
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
string
- Name of the table.
- dataset_id
str
- Dataset ID of the table.
- project
str
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- table_id
str
- Name of the table.
- datasetId
String
- Dataset ID of the table.
- project
String
- The Google Cloud Platform project ID of the project containing the table. If omitted, project ID is inferred from the API call.
- tableId
String
- Name of the table.
GooglePrivacyDlpV2BigQueryTableTypes, GooglePrivacyDlpV2BigQueryTableTypesArgs
The types of BigQuery tables supported by Cloud DLP.
GooglePrivacyDlpV2BigQueryTableTypesResponse
The types of BigQuery tables supported by Cloud DLP.
- Types
List<string>
- A set of BigQuery table types.
- Types
[]string
- A set of BigQuery table types.
- types
list(string)
- A set of BigQuery table types.
- types
List<String>
- A set of BigQuery table types.
- types
string[]
- A set of BigQuery table types.
- types
Sequence[str]
- A set of BigQuery table types.
- types
List<String>
- A set of BigQuery table types.
GooglePrivacyDlpV2BigQueryTableTypesTypesItem
| Name | Value | Description |
|---|
| BigQueryTableTypeUnspecified | BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
| BigQueryTableTypeTable | BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
| BigQueryTableTypeExternalBigLake | BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2BigQueryTableTypesTypesItemBigQueryTableTypeUnspecified | BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2BigQueryTableTypesTypesItemBigQueryTableTypeTable | BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
| GooglePrivacyDlpV2BigQueryTableTypesTypesItemBigQueryTableTypeExternalBigLake | BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Value | Description |
|---|
BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Name | Value | Description |
|---|
| BigQueryTableTypeUnspecified | BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
| BigQueryTableTypeTable | BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
| BigQueryTableTypeExternalBigLake | BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Name | Value | Description |
|---|
| BigQueryTableTypeUnspecified | BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
| BigQueryTableTypeTable | BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
| BigQueryTableTypeExternalBigLake | BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Name | Value | Description |
|---|
| BIG_QUERY_TABLE_TYPE_UNSPECIFIED | BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
| BIG_QUERY_TABLE_TYPE_TABLE | BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
| BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
| Value | Description |
|---|
BIG_QUERY_TABLE_TYPE_UNSPECIFIED | Unused. |
BIG_QUERY_TABLE_TYPE_TABLE | A normal BigQuery table. |
BIG_QUERY_TABLE_TYPE_EXTERNAL_BIG_LAKE | A table that references data stored in Cloud Storage. |
GooglePrivacyDlpV2DataProfileAction, GooglePrivacyDlpV2DataProfileActionArgs
A task to execute when a data profile has been generated.
GooglePrivacyDlpV2DataProfileActionResponse
A task to execute when a data profile has been generated.
GooglePrivacyDlpV2DataProfilePubSubCondition, GooglePrivacyDlpV2DataProfilePubSubConditionArgs
A condition for determining whether a Pub/Sub should be triggered.
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
A condition for determining whether a Pub/Sub should be triggered.
GooglePrivacyDlpV2DiscoveryBigQueryConditions, GooglePrivacyDlpV2DiscoveryBigQueryConditionsArgs
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
GooglePrivacyDlpV2DiscoveryBigQueryConditionsResponse
Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).
- created_after
string
- BigQuery table must have been created after this date. Used to avoid backfilling.
- or_conditions
object
- At least one of the conditions must be true for a table to be scanned.
- type_collection
string
- Restrict discovery to categories of table types.
- types
object
- Restrict discovery to specific table types.
GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollection
Restrict discovery to categories of table types.
| Name | Value | Description |
|---|
| BigQueryCollectionUnspecified | BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
| BigQueryCollectionAllTypes | BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
| BigQueryCollectionOnlySupportedTypes | BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollectionBigQueryCollectionUnspecified | BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollectionBigQueryCollectionAllTypes | BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
| GooglePrivacyDlpV2DiscoveryBigQueryConditionsTypeCollectionBigQueryCollectionOnlySupportedTypes | BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Value | Description |
|---|
BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Name | Value | Description |
|---|
| BigQueryCollectionUnspecified | BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
| BigQueryCollectionAllTypes | BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
| BigQueryCollectionOnlySupportedTypes | BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Name | Value | Description |
|---|
| BigQueryCollectionUnspecified | BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
| BigQueryCollectionAllTypes | BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
| BigQueryCollectionOnlySupportedTypes | BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Name | Value | Description |
|---|
| BIG_QUERY_COLLECTION_UNSPECIFIED | BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
| BIG_QUERY_COLLECTION_ALL_TYPES | BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
| BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
| Value | Description |
|---|
BIG_QUERY_COLLECTION_UNSPECIFIED | Unused. |
BIG_QUERY_COLLECTION_ALL_TYPES | Automatically generate profiles for all tables, even if the table type is not yet fully supported for analysis. Profiles for unsupported tables will be generated with errors to indicate their partial support. When full support is added, the tables will automatically be profiled during the next scheduled run. |
BIG_QUERY_COLLECTION_ONLY_SUPPORTED_TYPES | Only those types fully supported will be profiled. Will expand automatically as Cloud DLP adds support for new table types. Unsupported table types will not have partial profiles generated. |
GooglePrivacyDlpV2DiscoveryBigQueryFilter, GooglePrivacyDlpV2DiscoveryBigQueryFilterArgs
Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.
- OtherTables
GooglePrivacyDlpV2AllOtherBigQueryTables
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- Tables
GooglePrivacyDlpV2BigQueryTableCollection
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- other_tables
object
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
object
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
GooglePrivacyDlpV2AllOtherBigQueryTables
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollection
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
GooglePrivacyDlpV2AllOtherBigQueryTables
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollection
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- other_tables
GooglePrivacyDlpV2AllOtherBigQueryTables
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollection
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
Property Map
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
Property Map
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
GooglePrivacyDlpV2DiscoveryBigQueryFilterResponse
Determines what tables will have profiles generated within an organization or project. Includes the ability to filter by regular expression patterns on project ID, dataset ID, and table ID.
- OtherTables
GooglePrivacyDlpV2AllOtherBigQueryTablesResponse
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- Tables
GooglePrivacyDlpV2BigQueryTableCollectionResponse
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- other_tables
object
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
object
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
GooglePrivacyDlpV2AllOtherBigQueryTablesResponse
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollectionResponse
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
GooglePrivacyDlpV2AllOtherBigQueryTablesResponse
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollectionResponse
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- other_tables
GooglePrivacyDlpV2AllOtherBigQueryTablesResponse
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
GooglePrivacyDlpV2BigQueryTableCollectionResponse
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
- otherTables
Property Map
- Catch-all. This should always be the last filter in the list because anything above it will apply first. Should only appear once in a configuration. If none is specified, a default one will be added automatically.
- tables
Property Map
- A specific set of tables for this filter to apply to. A table collection must be specified in only one filter per config. If a table id or dataset is empty, Cloud DLP assumes all tables in that collection must be profiled. Must specify a project ID.
GooglePrivacyDlpV2DiscoveryGenerationCadence, GooglePrivacyDlpV2DiscoveryGenerationCadenceArgs
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.
GooglePrivacyDlpV2DiscoveryGenerationCadenceResponse
What must take place for a profile to be updated and how frequently it should occur. New tables are scanned as quickly as possible depending on system capacity.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadence, GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceArgs
The cadence at which to update data profiles when a schema is modified.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequency
How frequently profiles may be updated when schemas are modified. Defaults to monthly.
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequencyUpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequencyUpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequencyUpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceFrequencyUpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Value | Description |
|---|
UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UPDATE_FREQUENCY_UNSPECIFIED | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UPDATE_FREQUENCY_NEVER | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UPDATE_FREQUENCY_DAILY | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UPDATE_FREQUENCY_MONTHLY | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Value | Description |
|---|
UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceResponse
The cadence at which to update data profiles when a schema is modified.
- Frequency
string
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- Types
List<string>
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- Frequency
string
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- Types
[]string
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- frequency
string
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- types
list(string)
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- frequency
String
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- types
List<String>
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- frequency
string
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- types
string[]
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- frequency
str
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- types
Sequence[str]
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
- frequency
String
- How frequently profiles may be updated when schemas are modified. Defaults to monthly.
- types
List<String>
- The type of events to consider when deciding if the table's schema has been modified and should have the profile updated. Defaults to NEW_COLUMNS.
GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItem
| Name | Value | Description |
|---|
| SchemaModificationUnspecified | SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
| SchemaNewColumns | SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
| SchemaRemovedColumns | SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItemSchemaModificationUnspecified | SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItemSchemaNewColumns | SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
| GooglePrivacyDlpV2DiscoverySchemaModifiedCadenceTypesItemSchemaRemovedColumns | SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Value | Description |
|---|
SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Name | Value | Description |
|---|
| SchemaModificationUnspecified | SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
| SchemaNewColumns | SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
| SchemaRemovedColumns | SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Name | Value | Description |
|---|
| SchemaModificationUnspecified | SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
| SchemaNewColumns | SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
| SchemaRemovedColumns | SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Name | Value | Description |
|---|
| SCHEMA_MODIFICATION_UNSPECIFIED | SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
| SCHEMA_NEW_COLUMNS | SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
| SCHEMA_REMOVED_COLUMNS | SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
| Value | Description |
|---|
SCHEMA_MODIFICATION_UNSPECIFIED | Unused |
SCHEMA_NEW_COLUMNS | Profiles should be regenerated when new columns are added to the table. Default. |
SCHEMA_REMOVED_COLUMNS | Profiles should be regenerated when columns are removed from the table. |
GooglePrivacyDlpV2DiscoveryStartingLocation, GooglePrivacyDlpV2DiscoveryStartingLocationArgs
The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
- FolderId
string
- The ID of the Folder within an organization to scan.
- OrganizationId
string
- The ID of an organization to scan.
- FolderId
string
- The ID of the Folder within an organization to scan.
- OrganizationId
string
- The ID of an organization to scan.
- folder_id
string
- The ID of the Folder within an organization to scan.
- organization_id
string
- The ID of an organization to scan.
- folderId
String
- The ID of the Folder within an organization to scan.
- organizationId
String
- The ID of an organization to scan.
- folderId
string
- The ID of the Folder within an organization to scan.
- organizationId
string
- The ID of an organization to scan.
- folderId
String
- The ID of the Folder within an organization to scan.
- organizationId
String
- The ID of an organization to scan.
GooglePrivacyDlpV2DiscoveryStartingLocationResponse
The location to begin a discovery scan. Denotes an organization ID or folder ID within an organization.
- FolderId
string
- The ID of the Folder within an organization to scan.
- OrganizationId
string
- The ID of an organization to scan.
- FolderId
string
- The ID of the Folder within an organization to scan.
- OrganizationId
string
- The ID of an organization to scan.
- folder_id
string
- The ID of the Folder within an organization to scan.
- organization_id
string
- The ID of an organization to scan.
- folderId
String
- The ID of the Folder within an organization to scan.
- organizationId
String
- The ID of an organization to scan.
- folderId
string
- The ID of the Folder within an organization to scan.
- organizationId
string
- The ID of an organization to scan.
- folderId
String
- The ID of the Folder within an organization to scan.
- organizationId
String
- The ID of an organization to scan.
GooglePrivacyDlpV2DiscoveryTableModifiedCadence, GooglePrivacyDlpV2DiscoveryTableModifiedCadenceArgs
The cadence at which to update data profiles when a table is modified.
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequency
How frequently data profiles can be updated when tables are modified. Defaults to never.
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequencyUpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequencyUpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequencyUpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceFrequencyUpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Value | Description |
|---|
UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UpdateFrequencyUnspecified | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UpdateFrequencyNever | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UpdateFrequencyDaily | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UpdateFrequencyMonthly | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Name | Value | Description |
|---|
| UPDATE_FREQUENCY_UNSPECIFIED | UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
| UPDATE_FREQUENCY_NEVER | UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
| UPDATE_FREQUENCY_DAILY | UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
| UPDATE_FREQUENCY_MONTHLY | UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
| Value | Description |
|---|
UPDATE_FREQUENCY_UNSPECIFIED | Unspecified. |
UPDATE_FREQUENCY_NEVER | After the data profile is created, it will never be updated. |
UPDATE_FREQUENCY_DAILY | The data profile can be updated up to once every 24 hours. |
UPDATE_FREQUENCY_MONTHLY | The data profile can be updated up to once every 30 days. Default. |
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceResponse
The cadence at which to update data profiles when a table is modified.
- Frequency
string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- Types
List<string>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- Frequency
string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- Types
[]string
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- frequency
string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- types
list(string)
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- frequency
String
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- types
List<String>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- frequency
string
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- types
string[]
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- frequency
str
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- types
Sequence[str]
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
- frequency
String
- How frequently data profiles can be updated when tables are modified. Defaults to never.
- types
List<String>
- The type of events to consider when deciding if the table has been modified and should have the profile updated. Defaults to MODIFIED_TIMESTAMP.
GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItem
| Name | Value | Description |
|---|
| TableModificationUnspecified | TABLE_MODIFICATION_UNSPECIFIED | Unused. |
| TableModifiedTimestamp | TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItemTableModificationUnspecified | TABLE_MODIFICATION_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2DiscoveryTableModifiedCadenceTypesItemTableModifiedTimestamp | TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Value | Description |
|---|
TABLE_MODIFICATION_UNSPECIFIED | Unused. |
TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Name | Value | Description |
|---|
| TableModificationUnspecified | TABLE_MODIFICATION_UNSPECIFIED | Unused. |
| TableModifiedTimestamp | TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Name | Value | Description |
|---|
| TableModificationUnspecified | TABLE_MODIFICATION_UNSPECIFIED | Unused. |
| TableModifiedTimestamp | TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Name | Value | Description |
|---|
| TABLE_MODIFICATION_UNSPECIFIED | TABLE_MODIFICATION_UNSPECIFIED | Unused. |
| TABLE_MODIFIED_TIMESTAMP | TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
| Value | Description |
|---|
TABLE_MODIFICATION_UNSPECIFIED | Unused. |
TABLE_MODIFIED_TIMESTAMP | A table will be considered modified when the last_modified_time from BigQuery has been updated. |
GooglePrivacyDlpV2DiscoveryTarget, GooglePrivacyDlpV2DiscoveryTargetArgs
Target used to match against for Discovery.
- big_query_target
object
- BigQuery target for Discovery. The first target to match a table will be the one applied.
GooglePrivacyDlpV2DiscoveryTargetResponse
Target used to match against for Discovery.
- big_query_target
object
- BigQuery target for Discovery. The first target to match a table will be the one applied.
GooglePrivacyDlpV2ErrorResponse
Details information about an error encountered during job execution or the results of an unsuccessful activation of the JobTrigger.
- details
object
- Detailed error codes and messages.
- timestamps
list(string)
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
- details
Property Map
- Detailed error codes and messages.
- timestamps
List<String>
- The times the error occurred. List includes the oldest timestamp and the last 9 timestamps.
GooglePrivacyDlpV2Export, GooglePrivacyDlpV2ExportArgs
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
- profile_table
object
- Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery.
- profileTable
Property Map
- Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery.
GooglePrivacyDlpV2ExportResponse
If set, the detailed data profiles will be persisted to the location of your choice whenever updated.
- profile_table
object
- Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery.
- profileTable
Property Map
- Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation will result in a new row in BigQuery.
GooglePrivacyDlpV2OrConditions, GooglePrivacyDlpV2OrConditionsArgs
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
- MinAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- MinRowCount
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- MinAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- MinRowCount
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- min_age
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- min_row_count
number
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
String
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
Integer
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
number
- Minimum number of rows that should be present before Cloud DLP profiles a table
- min_age
str
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- min_row_count
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
String
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
Number
- Minimum number of rows that should be present before Cloud DLP profiles a table
GooglePrivacyDlpV2OrConditionsResponse
There is an OR relationship between these attributes. They are used to determine if a table should be scanned or not in Discovery.
- MinAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- MinRowCount
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- MinAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- MinRowCount
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- min_age
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- min_row_count
number
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
String
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
Integer
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
string
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
number
- Minimum number of rows that should be present before Cloud DLP profiles a table
- min_age
str
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- min_row_count
int
- Minimum number of rows that should be present before Cloud DLP profiles a table
- minAge
String
- Minimum age a table must have before Cloud DLP can profile it. Value must be 1 hour or greater.
- minRowCount
Number
- Minimum number of rows that should be present before Cloud DLP profiles a table
GooglePrivacyDlpV2OrgConfig, GooglePrivacyDlpV2OrgConfigArgs
Project and scan location information. Only set when the parent is an org.
- Location
GooglePrivacyDlpV2DiscoveryStartingLocation
- The data to scan: folder, org, or project
- Project
string
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
- location
object
- The data to scan: folder, org, or project
- project
string
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
- location
GooglePrivacyDlpV2DiscoveryStartingLocation
- The data to scan: folder, org, or project
- project
String
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
- location
GooglePrivacyDlpV2DiscoveryStartingLocation
- The data to scan: folder, org, or project
- project
string
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
- location
Property Map
- The data to scan: folder, org, or project
- project
String
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
GooglePrivacyDlpV2OrgConfigResponse
Project and scan location information. Only set when the parent is an org.
- location
object
- The data to scan: folder, org, or project
- project
string
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
- location
Property Map
- The data to scan: folder, org, or project
- project
String
- The project that will run the scan. The DLP service account that exists within this project must have access to all resources that are profiled, and the Cloud DLP API must be enabled.
GooglePrivacyDlpV2PubSubCondition, GooglePrivacyDlpV2PubSubConditionArgs
A condition consisting of a value.
GooglePrivacyDlpV2PubSubConditionMinimumRiskScore
The minimum data risk score that triggers the condition.
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2PubSubConditionMinimumRiskScoreProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2PubSubConditionMinimumRiskScoreHigh | HIGH | High risk/sensitivity detected. |
| GooglePrivacyDlpV2PubSubConditionMinimumRiskScoreMediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Value | Description |
|---|
PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
HIGH | High risk/sensitivity detected. |
MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| PROFILE_SCORE_BUCKET_UNSPECIFIED | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| HIGH | HIGH | High risk/sensitivity detected. |
| MEDIUM_OR_HIGH | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Value | Description |
|---|
PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
HIGH | High risk/sensitivity detected. |
MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScore
The minimum sensitivity level that triggers the condition.
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScoreProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScoreHigh | HIGH | High risk/sensitivity detected. |
| GooglePrivacyDlpV2PubSubConditionMinimumSensitivityScoreMediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Value | Description |
|---|
PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
HIGH | High risk/sensitivity detected. |
MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| ProfileScoreBucketUnspecified | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| High | HIGH | High risk/sensitivity detected. |
| MediumOrHigh | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Name | Value | Description |
|---|
| PROFILE_SCORE_BUCKET_UNSPECIFIED | PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
| HIGH | HIGH | High risk/sensitivity detected. |
| MEDIUM_OR_HIGH | MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
| Value | Description |
|---|
PROFILE_SCORE_BUCKET_UNSPECIFIED | Unused. |
HIGH | High risk/sensitivity detected. |
MEDIUM_OR_HIGH | Medium or high risk/sensitivity detected. |
GooglePrivacyDlpV2PubSubConditionResponse
A condition consisting of a value.
GooglePrivacyDlpV2PubSubExpressions, GooglePrivacyDlpV2PubSubExpressionsArgs
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2PubSubExpressionsLogicalOperator
The operator to apply to the collection of conditions.
| Name | Value | Description |
|---|
| LogicalOperatorUnspecified | LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
| Or | OR | Conditional OR. |
| And | AND | Conditional AND. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2PubSubExpressionsLogicalOperatorLogicalOperatorUnspecified | LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2PubSubExpressionsLogicalOperatorOr | OR | Conditional OR. |
| GooglePrivacyDlpV2PubSubExpressionsLogicalOperatorAnd | AND | Conditional AND. |
| Value | Description |
|---|
LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
OR | Conditional OR. |
AND | Conditional AND. |
| Name | Value | Description |
|---|
| LogicalOperatorUnspecified | LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
| Or | OR | Conditional OR. |
| And | AND | Conditional AND. |
| Name | Value | Description |
|---|
| LogicalOperatorUnspecified | LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
| Or | OR | Conditional OR. |
| And | AND | Conditional AND. |
| Name | Value | Description |
|---|
| LOGICAL_OPERATOR_UNSPECIFIED | LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
| OR_ | OR | Conditional OR. |
| AND_ | AND | Conditional AND. |
| Value | Description |
|---|
LOGICAL_OPERATOR_UNSPECIFIED | Unused. |
OR | Conditional OR. |
AND | Conditional AND. |
GooglePrivacyDlpV2PubSubExpressionsResponse
An expression, consisting of an operator and conditions.
GooglePrivacyDlpV2PubSubNotification, GooglePrivacyDlpV2PubSubNotificationArgs
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.
GooglePrivacyDlpV2PubSubNotificationDetailOfMessage
How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
| Name | Value | Description |
|---|
| DetailLevelUnspecified | DETAIL_LEVEL_UNSPECIFIED | Unused. |
| TableProfile | TABLE_PROFILE | The full table data profile. |
| ResourceName | RESOURCE_NAME | The resource name of the table. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2PubSubNotificationDetailOfMessageDetailLevelUnspecified | DETAIL_LEVEL_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2PubSubNotificationDetailOfMessageTableProfile | TABLE_PROFILE | The full table data profile. |
| GooglePrivacyDlpV2PubSubNotificationDetailOfMessageResourceName | RESOURCE_NAME | The resource name of the table. |
| Value | Description |
|---|
DETAIL_LEVEL_UNSPECIFIED | Unused. |
TABLE_PROFILE | The full table data profile. |
RESOURCE_NAME | The resource name of the table. |
| Name | Value | Description |
|---|
| DetailLevelUnspecified | DETAIL_LEVEL_UNSPECIFIED | Unused. |
| TableProfile | TABLE_PROFILE | The full table data profile. |
| ResourceName | RESOURCE_NAME | The resource name of the table. |
| Name | Value | Description |
|---|
| DetailLevelUnspecified | DETAIL_LEVEL_UNSPECIFIED | Unused. |
| TableProfile | TABLE_PROFILE | The full table data profile. |
| ResourceName | RESOURCE_NAME | The resource name of the table. |
| Name | Value | Description |
|---|
| DETAIL_LEVEL_UNSPECIFIED | DETAIL_LEVEL_UNSPECIFIED | Unused. |
| TABLE_PROFILE | TABLE_PROFILE | The full table data profile. |
| RESOURCE_NAME | RESOURCE_NAME | The resource name of the table. |
| Value | Description |
|---|
DETAIL_LEVEL_UNSPECIFIED | Unused. |
TABLE_PROFILE | The full table data profile. |
RESOURCE_NAME | The resource name of the table. |
GooglePrivacyDlpV2PubSubNotificationEvent
The type of event that triggers a Pub/Sub. At most one PubSubNotification per EventType is permitted.
| Name | Value | Description |
|---|
| EventTypeUnspecified | EVENT_TYPE_UNSPECIFIED | Unused. |
| NewProfile | NEW_PROFILE | New profile (not a re-profile). |
| ChangedProfile | CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
| ScoreIncreased | SCORE_INCREASED | Table data risk score or sensitivity score increased. |
| ErrorChanged | ERROR_CHANGED | A user (non-internal) error occurred. |
| Name | Value | Description |
|---|
| GooglePrivacyDlpV2PubSubNotificationEventEventTypeUnspecified | EVENT_TYPE_UNSPECIFIED | Unused. |
| GooglePrivacyDlpV2PubSubNotificationEventNewProfile | NEW_PROFILE | New profile (not a re-profile). |
| GooglePrivacyDlpV2PubSubNotificationEventChangedProfile | CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
| GooglePrivacyDlpV2PubSubNotificationEventScoreIncreased | SCORE_INCREASED | Table data risk score or sensitivity score increased. |
| GooglePrivacyDlpV2PubSubNotificationEventErrorChanged | ERROR_CHANGED | A user (non-internal) error occurred. |
| Value | Description |
|---|
EVENT_TYPE_UNSPECIFIED | Unused. |
NEW_PROFILE | New profile (not a re-profile). |
CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
SCORE_INCREASED | Table data risk score or sensitivity score increased. |
ERROR_CHANGED | A user (non-internal) error occurred. |
| Name | Value | Description |
|---|
| EventTypeUnspecified | EVENT_TYPE_UNSPECIFIED | Unused. |
| NewProfile | NEW_PROFILE | New profile (not a re-profile). |
| ChangedProfile | CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
| ScoreIncreased | SCORE_INCREASED | Table data risk score or sensitivity score increased. |
| ErrorChanged | ERROR_CHANGED | A user (non-internal) error occurred. |
| Name | Value | Description |
|---|
| EventTypeUnspecified | EVENT_TYPE_UNSPECIFIED | Unused. |
| NewProfile | NEW_PROFILE | New profile (not a re-profile). |
| ChangedProfile | CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
| ScoreIncreased | SCORE_INCREASED | Table data risk score or sensitivity score increased. |
| ErrorChanged | ERROR_CHANGED | A user (non-internal) error occurred. |
| Name | Value | Description |
|---|
| EVENT_TYPE_UNSPECIFIED | EVENT_TYPE_UNSPECIFIED | Unused. |
| NEW_PROFILE | NEW_PROFILE | New profile (not a re-profile). |
| CHANGED_PROFILE | CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
| SCORE_INCREASED | SCORE_INCREASED | Table data risk score or sensitivity score increased. |
| ERROR_CHANGED | ERROR_CHANGED | A user (non-internal) error occurred. |
| Value | Description |
|---|
EVENT_TYPE_UNSPECIFIED | Unused. |
NEW_PROFILE | New profile (not a re-profile). |
CHANGED_PROFILE | Changed one of the following profile metrics: * Table data risk score * Table sensitivity score * Table resource visibility * Table encryption type * Table predicted infoTypes * Table other infoTypes |
SCORE_INCREASED | Table data risk score or sensitivity score increased. |
ERROR_CHANGED | A user (non-internal) error occurred. |
GooglePrivacyDlpV2PubSubNotificationResponse
Send a Pub/Sub message into the given Pub/Sub topic to connect other systems to data profile generation. The message payload data will be the byte serialization of DataProfilePubSubMessage.
- DetailOfMessage
string
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- Event
string
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - PubsubCondition
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- Topic
string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail_of_message
string
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- event
string
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - pubsub_condition
object
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- topic
string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detailOfMessage
String
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- event
String
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - pubsubCondition
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- topic
String
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detailOfMessage
string
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- event
string
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - pubsubCondition
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- topic
string
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detail_of_message
str
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- event
str
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - pubsub_condition
GooglePrivacyDlpV2DataProfilePubSubConditionResponse
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- topic
str
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
- detailOfMessage
String
- How much data to include in the Pub/Sub message. If the user wishes to limit the size of the message, they can use resource_name and fetch the profile fields they wish to. Per table profile (not per column).
- event
String
- The type of event that triggers a Pub/Sub. At most one
PubSubNotification per EventType is permitted. - pubsubCondition
Property Map
- Conditions (e.g., data risk or sensitivity level) for triggering a Pub/Sub.
- topic
String
- Cloud Pub/Sub topic to send notifications to. Format is projects/{project}/topics/{topic}.
GoogleRpcStatusResponse
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
- Code
int
- The status code, which should be an enum value of google.rpc.Code.
- Details
List<ImmutableDictionary<string, string>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code
int
- The status code, which should be an enum value of google.rpc.Code.
- Details
[]map[string]string
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
number
- The status code, which should be an enum value of google.rpc.Code.
- details
list(map(string))
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
Integer
- The status code, which should be an enum value of google.rpc.Code.
- details
List<Map<String,String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
number
- The status code, which should be an enum value of google.rpc.Code.
- details
{[key: string]: string}[]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
string
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
int
- The status code, which should be an enum value of google.rpc.Code.
- details
Sequence[Mapping[str, str]]
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
str
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code
Number
- The status code, which should be an enum value of google.rpc.Code.
- details
List<Map<String>>
- A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message
String
- A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0