@maxim_mazurok/gapi.client.dlp-v2 0.0.20241110 → 0.0.20241117

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: 20241110
12
+ // Revision: 20241117
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[];
@@ -996,6 +1024,8 @@ declare namespace gapi.client {
996
1024
  interface GooglePrivacyDlpV2Export {
997
1025
  /** Store all table and column profiles in an existing table or a new table in an existing dataset. Each re-generation 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. 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. */
998
1026
  profileTable?: GooglePrivacyDlpV2BigQueryTable;
1027
+ /** 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. */
1028
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
999
1029
  }
1000
1030
  interface GooglePrivacyDlpV2Expressions {
1001
1031
  /** Conditions to apply to the expression. */
@@ -1096,6 +1126,8 @@ declare namespace gapi.client {
1096
1126
  resourceLabels?: {[P in string]: string};
1097
1127
  /** How broadly a resource has been shared. */
1098
1128
  resourceVisibility?: string;
1129
+ /** The BigQuery table to which the sample findings are written. */
1130
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
1099
1131
  /** The sensitivity score of this resource. */
1100
1132
  sensitivityScore?: GooglePrivacyDlpV2SensitivityScore;
1101
1133
  /** State of a profile. */
@@ -2132,6 +2164,8 @@ declare namespace gapi.client {
2132
2164
  resourceVisibility?: string;
2133
2165
  /** Number of rows in the table when the profile was generated. This will not be populated for BigLake tables. */
2134
2166
  rowCount?: string;
2167
+ /** The BigQuery table to which the sample findings are written. */
2168
+ sampleFindingsTable?: GooglePrivacyDlpV2BigQueryTable;
2135
2169
  /** The number of columns profiled in the table. */
2136
2170
  scannedColumnCount?: string;
2137
2171
  /** 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.20241110",
3
+ "version": "0.0.20241117",
4
4
  "description": "TypeScript typings for Sensitive Data Protection (DLP) v2",
5
5
  "repository": {
6
6
  "type": "git",