@maxim_mazurok/gapi.client.dlp-v2 0.0.20250226 → 0.0.20250302

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +35 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://dlp.googleapis.com/$discovery/rest?version=v2
12
- // Revision: 20250226
12
+ // Revision: 20250302
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -594,6 +594,34 @@ declare namespace gapi.client {
594
594
  /** Name of the inspection template used to generate this profile */
595
595
  inspectTemplateName?: string;
596
596
  }
597
+ interface GooglePrivacyDlpV2DataProfileFinding {
598
+ /** Resource name of the data profile associated with the finding. */
599
+ dataProfileResourceName?: string;
600
+ /** A unique identifier for the finding. */
601
+ findingId?: string;
602
+ /** The [type of content](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference) that might have been found. */
603
+ infotype?: GooglePrivacyDlpV2InfoType;
604
+ /** Where the content was found. */
605
+ location?: GooglePrivacyDlpV2DataProfileFindingLocation;
606
+ /** The content that was found. Even if the content is not textual, it may be converted to a textual representation here. If the finding exceeds 4096 bytes in length, the quote may be omitted. */
607
+ quote?: string;
608
+ /** Contains data parsed from quotes. Currently supported infoTypes: DATE, DATE_OF_BIRTH, and TIME. */
609
+ quoteInfo?: GooglePrivacyDlpV2QuoteInfo;
610
+ /** How broadly a resource has been shared. */
611
+ resourceVisibility?: string;
612
+ /** Timestamp when the finding was detected. */
613
+ timestamp?: string;
614
+ }
615
+ interface GooglePrivacyDlpV2DataProfileFindingLocation {
616
+ /** Name of the container where the finding is located. The top-level name is the source file name or table name. Names of some common storage containers are formatted as follows: * BigQuery tables: `{project_id}:{dataset_id}.{table_id}` * Cloud Storage files: `gs://{bucket}/{path}` */
617
+ containerName?: string;
618
+ /** Location of a finding within a resource that produces a table data profile. */
619
+ dataProfileFindingRecordLocation?: GooglePrivacyDlpV2DataProfileFindingRecordLocation;
620
+ }
621
+ interface GooglePrivacyDlpV2DataProfileFindingRecordLocation {
622
+ /** Field ID of the column containing the finding. */
623
+ field?: GooglePrivacyDlpV2FieldId;
624
+ }
597
625
  interface GooglePrivacyDlpV2DataProfileJobConfig {
598
626
  /** Actions to execute at the completion of the job. */
599
627
  dataProfileActions?: GooglePrivacyDlpV2DataProfileAction[];
@@ -1020,6 +1048,8 @@ declare namespace gapi.client {
1020
1048
  interface GooglePrivacyDlpV2Export {
1021
1049
  /** Store all profiles to BigQuery. * The system will create a new dataset and table for you if none are are provided. The dataset will be named `sensitive_data_protection_discovery` and table will be named `discovery_profiles`. This table will be placed in the same project as the container project running the scan. After the first profile is generated and the dataset and table are created, the discovery scan configuration will be updated with the dataset and table names. * See [Analyze data profiles stored in BigQuery](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles). * See [Sample queries for your BigQuery table](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#sample_sql_queries). * Data is inserted using [streaming insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) and so data may be in the buffer for a period of time after the profile has finished. * The Pub/Sub notification is sent before the streaming buffer is guaranteed to be written, so data may not be instantly visible to queries by the time your topic receives the Pub/Sub notification. * The best practice is to use the same table for an entire organization so that you can take advantage of the [provided Looker reports](https://cloud.google.com/sensitive-data-protection/docs/analyze-data-profiles#use_a_premade_report). If you use VPC Service Controls to define security perimeters, then you must use a separate table for each boundary. */
1022
1050
  profileTable?: GooglePrivacyDlpV2BigQueryTable;
1051
+ /** Store sample data profile findings in an existing table or a new table in an existing dataset. Each regeneration will result in new rows in BigQuery. Data is inserted using [streaming insert](https://cloud.google.com/blog/products/bigquery/life-of-a-bigquery-streaming-insert) and so data may be in the buffer for a period of time after the profile has finished. */
1052
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
1023
1053
  }
1024
1054
  interface GooglePrivacyDlpV2Expressions {
1025
1055
  /** Conditions to apply to the expression. */
@@ -1122,6 +1152,8 @@ declare namespace gapi.client {
1122
1152
  resourceLabels?: {[P in string]: string};
1123
1153
  /** How broadly a resource has been shared. */
1124
1154
  resourceVisibility?: string;
1155
+ /** The BigQuery table to which the sample findings are written. */
1156
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
1125
1157
  /** The sensitivity score of this resource. */
1126
1158
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1127
1159
  /** State of a profile. */
@@ -2178,6 +2210,8 @@ declare namespace gapi.client {
2178
2210
  resourceVisibility?: string;
2179
2211
  /** Number of rows in the table when the profile was generated. This will not be populated for BigLake tables. */
2180
2212
  rowCount?: string;
2213
+ /** The BigQuery table to which the sample findings are written. */
2214
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
2181
2215
  /** The number of columns profiled in the table. */
2182
2216
  scannedColumnCount?: string;
2183
2217
  /** The sensitivity score of this table. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dlp-v2",
3
- "version": "0.0.20250226",
3
+ "version": "0.0.20250302",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",