error_message = "Datascan data must specify one of 'entity', 'resource'."
}
}
variable"data_profile_spec"{
description = "DataProfileScan related setting. Variable descriptions are provided in https://cloud.google.com/dataplex/docs/reference/rest/v1/DataProfileSpec."
default = null
type = object({
sampling_percent = optional(number)
row_filter = optional(string)
})
}
variable"data_quality_spec"{
description = "DataQualityScan related setting. Variable descriptions are provided in https://cloud.google.com/dataplex/docs/reference/rest/v1/DataQualitySpec."
description = "Schedule DataScan to run periodically based on a cron schedule expression. If not specified, the DataScan is created with `on_demand` schedule, which means it will not run until the user calls `dataScans.run` API."
description = "The unnested field (of type Date or Timestamp) that contains values which monotonically increase over time. If not specified, a data scan will run for all data in the table."
type = string
default = null
}
variable"labels"{
description = "Resource labels."
type = map(string)
default = {}
nullable = false
}
variable"name"{
description = "Name of Dataplex Scan."
type = string
}
variable"prefix"{
description = "Optional prefix used to generate Dataplex DataScan ID."
type = string
default = null
}
variable"project_id"{
description = "The ID of the project where the Dataplex DataScan will be created."