pub struct GooglePrivacyDlpV2beta1OutputStorageConfig {
pub storage_path: Option<GooglePrivacyDlpV2beta1CloudStoragePath>,
pub table: Option<GooglePrivacyDlpV2beta1BigQueryTable>,
}
Expand description
Cloud repository for storing output.
This type is not used in any activity, and only used as part of another schema.
Fields§
§storage_path: Option<GooglePrivacyDlpV2beta1CloudStoragePath>
The path to a Google Cloud Storage location to store output.
The bucket must already exist and
the Google APIs service account for DLP must have write permission to
write to the given bucket.
Results are split over multiple csv files with each file name matching
the pattern “[operation_id]_[count].csv”, for example
3094877188788974909_1.csv
. The operation_id
matches the
identifier for the Operation, and the count
is a counter used for
tracking the number of files written.
The CSV file(s) contain the following columns regardless of storage type scanned:
- id
- info_type
- likelihood
- byte size of finding
- quote
- timestamp
For Cloud Storage the next columns are:
- file_path
- start_offset
For Cloud Datastore the next columns are:
- project_id
- namespace_id
- path
- column_name
- offset
For BigQuery the next columns are:
- row_number
- project_id
- dataset_id
- table_id
table: Option<GooglePrivacyDlpV2beta1BigQueryTable>
Store findings in a new table in the dataset.
Trait Implementations§
source§impl Clone for GooglePrivacyDlpV2beta1OutputStorageConfig
impl Clone for GooglePrivacyDlpV2beta1OutputStorageConfig
source§fn clone(&self) -> GooglePrivacyDlpV2beta1OutputStorageConfig
fn clone(&self) -> GooglePrivacyDlpV2beta1OutputStorageConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more